UNPKG

@knapsack/app

Version:

Build Design Systems on top of knapsack, by Basalt

28 lines (26 loc) • 43 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~main~0efdf0b8"],{"../node_modules/scheduler/cjs/scheduler.production.min.js":function(e,r,n){var o,s,a,i,u;if( /** @license React v0.18.0 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ Object.defineProperty(r,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,t=function(){if(null!==l)try{var e=r.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(t,0),e}},p=Date.now();r.unstable_now=function(){return Date.now()-p},o=function(e){null!==l?setTimeout(o,0,e):(l=e,setTimeout(t,0))},s=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},i=function(){return!1},u=r.unstable_forceFrameRate=function(){}}else{var h=window.performance,f=window.Date,d=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var b=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof h&&"function"==typeof h.now)r.unstable_now=function(){return h.now()};else{var v=f.now();r.unstable_now=function(){return f.now()-v}}var y=!1,_=null,g=-1,x=5,w=0;i=function(){return r.unstable_now()>=w},u=function(){},r.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):x=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,E=C.port2;C.port1.onmessage=function(){if(null!==_){var e=r.unstable_now();w=e+x;try{_(!0,e)?E.postMessage(null):(y=!1,_=null)}catch(e){throw E.postMessage(null),e}}else y=!1},o=function(e){_=e,y||(y=!0,E.postMessage(null))},s=function(e,t){g=d((function(){e(r.unstable_now())}),t)},a=function(){m(g),g=-1}}function J(e,t){var r=e.length;e.push(t);e:for(;;){var n=Math.floor((r-1)/2),o=e[n];if(!(void 0!==o&&0<K(o,t)))break e;e[n]=t,e[r]=o,r=n}}function L(e){return void 0===(e=e[0])?null:e}function M(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length;n<o;){var s=2*(n+1)-1,a=e[s],i=s+1,u=e[i];if(void 0!==a&&0>K(a,r))void 0!==u&&0>K(u,a)?(e[n]=u,e[i]=r,n=i):(e[n]=a,e[s]=r,n=s);else{if(!(void 0!==u&&0>K(u,r)))break e;e[n]=u,e[i]=r,n=i}}}return t}return null}function K(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var O=[],j=[],S=1,P=null,A=3,D=!1,I=!1,T=!1;function V(e){for(var t=L(j);null!==t;){if(null===t.callback)M(j);else{if(!(t.startTime<=e))break;M(j),t.sortIndex=t.expirationTime,J(O,t)}t=L(j)}}function W(e){if(T=!1,V(e),!I)if(null!==L(O))I=!0,o(X);else{var t=L(j);null!==t&&s(W,t.startTime-e)}}function X(e,t){I=!1,T&&(T=!1,a()),D=!0;var n=A;try{for(V(t),P=L(O);null!==P&&(!(P.expirationTime>t)||e&&!i());){var o=P.callback;if(null!==o){P.callback=null,A=P.priorityLevel;var u=o(P.expirationTime<=t);t=r.unstable_now(),"function"==typeof u?P.callback=u:P===L(O)&&M(O),V(t)}else M(O);P=L(O)}if(null!==P)var l=!0;else{var c=L(j);null!==c&&s(W,c.startTime-t),l=!1}return l}finally{P=null,A=n,D=!1}}function Y(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=u;r.unstable_ImmediatePriority=1,r.unstable_UserBlockingPriority=2,r.unstable_NormalPriority=3,r.unstable_IdlePriority=5,r.unstable_LowPriority=4,r.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=A;A=e;try{return t()}finally{A=r}},r.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var r=A;A=t;try{return e()}finally{A=r}},r.unstable_scheduleCallback=function(e,t,n){var i=r.unstable_now();if("object"==typeof n&&null!==n){var u=n.delay;u="number"==typeof u&&0<u?i+u:i,n="number"==typeof n.timeout?n.timeout:Y(e)}else n=Y(e),u=i;return e={id:S++,callback:t,priorityLevel:e,startTime:u,expirationTime:n=u+n,sortIndex:-1},u>i?(e.sortIndex=u,J(j,e),null===L(O)&&e===L(j)&&(T?a():T=!0,s(W,u-i))):(e.sortIndex=n,J(O,e),I||D||(I=!0,o(X))),e},r.unstable_cancelCallback=function(e){e.callback=null},r.unstable_wrapCallback=function(e){var t=A;return function(){var r=A;A=t;try{return e.apply(this,arguments)}finally{A=r}}},r.unstable_getCurrentPriorityLevel=function(){return A},r.unstable_shouldYield=function(){var e=r.unstable_now();V(e);var t=L(O);return t!==P&&null!==P&&null!==t&&null!==t.callback&&t.startTime<=e&&t.expirationTime<P.expirationTime||i()},r.unstable_requestPaint=U,r.unstable_continueExecution=function(){I||D||(I=!0,o(X))},r.unstable_pauseExecution=function(){},r.unstable_getFirstCallbackNode=function(){return L(O)},r.unstable_Profiling=null},"../node_modules/scheduler/index.js":function(e,t,r){e.exports=r("../node_modules/scheduler/cjs/scheduler.production.min.js")},"../node_modules/sentence-case/dist.es2015/index.js":function(e,t,r){r.d(t,"b",(function(){return sentenceCaseTransform})),r.d(t,"a",(function(){return sentenceCase}));var n=r("../node_modules/tslib/tslib.es6.js"),o=r("../node_modules/no-case/dist.es2015/index.js"),s=r("../node_modules/upper-case-first/dist.es2015/index.js");function sentenceCaseTransform(e,t){var r=e.toLowerCase();return 0===t?Object(s.a)(r):r}function sentenceCase(e,t){return void 0===t&&(t={}),Object(o.a)(e,Object(n.__assign)({delimiter:" ",transform:sentenceCaseTransform},t))}},"../node_modules/snake-case/dist.es2015/index.js":function(e,t,r){r.d(t,"a",(function(){return snakeCase}));var n=r("../node_modules/tslib/tslib.es6.js"),o=r("../node_modules/dot-case/dist.es2015/index.js");function snakeCase(e,t){return void 0===t&&(t={}),Object(o.a)(e,Object(n.__assign)({delimiter:"_"},t))}},"../node_modules/symbol-observable/es/index.js":function(e,t,r){(function(e,n){var o,s=r("../node_modules/symbol-observable/es/ponyfill.js");o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(s.a)(o);t.a=a}).call(this,r("../node_modules/webpack/buildin/global.js"),r("../node_modules/webpack/buildin/harmony-module.js")(e))},"../node_modules/symbol-observable/es/ponyfill.js":function(e,t,r){function symbolObservablePonyfill(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return symbolObservablePonyfill}))},"../node_modules/tslib/tslib.es6.js":function(e,t,r){r.r(t),r.d(t,"__extends",(function(){return __extends})),r.d(t,"__assign",(function(){return __assign})),r.d(t,"__rest",(function(){return __rest})),r.d(t,"__decorate",(function(){return __decorate})),r.d(t,"__param",(function(){return __param})),r.d(t,"__metadata",(function(){return __metadata})),r.d(t,"__awaiter",(function(){return __awaiter})),r.d(t,"__generator",(function(){return __generator})),r.d(t,"__exportStar",(function(){return __exportStar})),r.d(t,"__values",(function(){return __values})),r.d(t,"__read",(function(){return __read})),r.d(t,"__spread",(function(){return __spread})),r.d(t,"__spreadArrays",(function(){return __spreadArrays})),r.d(t,"__await",(function(){return __await})),r.d(t,"__asyncGenerator",(function(){return __asyncGenerator})),r.d(t,"__asyncDelegator",(function(){return __asyncDelegator})),r.d(t,"__asyncValues",(function(){return __asyncValues})),r.d(t,"__makeTemplateObject",(function(){return __makeTemplateObject})),r.d(t,"__importStar",(function(){return __importStar})),r.d(t,"__importDefault",(function(){return __importDefault})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function __extends(e,t){function __(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var __assign=function(){return(__assign=Object.assign||function __assign(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function __rest(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function __decorate(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a}function __param(e,t){return function(r,n){t(r,n,e)}}function __metadata(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function __awaiter(e,t,r,n){return new(r||(r=Promise))((function(o,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n.throw(e))}catch(e){s(e)}}function step(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))}function __generator(e,t){var r,n,o,s,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function verb(s){return function(i){return function step(s){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,i])}}}function __exportStar(e,t){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}function __values(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function __read(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return a}function __spread(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e}function __spreadArrays(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var s=arguments[t],a=0,i=s.length;a<i;a++,o++)n[o]=s[a];return n}function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}function __asyncGenerator(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),s=[];return n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n;function verb(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||resume(e,t)}))})}function resume(e,t){try{!function step(e){e.value instanceof __await?Promise.resolve(e.value.v).then(fulfill,reject):settle(s[0][2],e)}(o[e](t))}catch(e){settle(s[0][3],e)}}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){e(t),s.shift(),s.length&&resume(s[0][0],s[0][1])}}function __asyncDelegator(e){var t,r;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:"return"===n}:o?o(t):t}:o}}function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=__values(e),t={},verb("next"),verb("throw"),verb("return"),t[Symbol.asyncIterator]=function(){return this},t);function verb(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function __makeTemplateObject(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function __importStar(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function __importDefault(e){return e&&e.__esModule?e:{default:e}}},"../node_modules/upper-case-first/dist.es2015/index.js":function(e,t,r){function upperCaseFirst(e){return e.charAt(0).toUpperCase()+e.substr(1)}r.d(t,"a",(function(){return upperCaseFirst}))},"../node_modules/upper-case/dist.es2015/index.js":function(e,t,r){r.d(t,"a",(function(){return upperCase}));function upperCase(e){return e.toUpperCase()}},"../node_modules/uri-js/dist/es5/uri.all.js":function(e,t,r){ /** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ !function(e){function merge(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,o=1;o<n;++o)t[o]=t[o].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function subexp(e){return"(?:"+e+")"}function typeOf(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(e){return e.toUpperCase()}function buildExps(e){var t=merge("[0-9]","[A-Fa-f]"),r=subexp(subexp("%[EFef]"+t+"%"+t+t+"%"+t+t)+"|"+subexp("%[89A-Fa-f]"+t+"%"+t+t)+"|"+subexp("%"+t+t)),n="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",o=merge("[\\:\\/\\?\\#\\[\\]\\@]",n),s=e?"[\\uE000-\\uF8FF]":"[]",a=merge("[A-Za-z]","[0-9]","[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),i=subexp("[A-Za-z]"+merge("[A-Za-z]","[0-9]","[\\+\\-\\.]")+"*"),u=subexp(subexp(r+"|"+merge(a,n,"[\\:]"))+"*"),l=(subexp(subexp("25[0-5]")+"|"+subexp("2[0-4][0-9]")+"|"+subexp("1[0-9][0-9]")+"|"+subexp("[1-9][0-9]")+"|[0-9]"),subexp(subexp("25[0-5]")+"|"+subexp("2[0-4][0-9]")+"|"+subexp("1[0-9][0-9]")+"|"+subexp("0?[1-9][0-9]")+"|0?0?[0-9]")),c=subexp(l+"\\."+l+"\\."+l+"\\."+l),p=subexp(t+"{1,4}"),h=subexp(subexp(p+"\\:"+p)+"|"+c),f=subexp(subexp(p+"\\:")+"{6}"+h),d=subexp("\\:\\:"+subexp(p+"\\:")+"{5}"+h),m=subexp(subexp(p)+"?\\:\\:"+subexp(p+"\\:")+"{4}"+h),b=subexp(subexp(subexp(p+"\\:")+"{0,1}"+p)+"?\\:\\:"+subexp(p+"\\:")+"{3}"+h),v=subexp(subexp(subexp(p+"\\:")+"{0,2}"+p)+"?\\:\\:"+subexp(p+"\\:")+"{2}"+h),y=subexp(subexp(subexp(p+"\\:")+"{0,3}"+p)+"?\\:\\:"+p+"\\:"+h),_=subexp(subexp(subexp(p+"\\:")+"{0,4}"+p)+"?\\:\\:"+h),g=subexp(subexp(subexp(p+"\\:")+"{0,5}"+p)+"?\\:\\:"+p),x=subexp(subexp(subexp(p+"\\:")+"{0,6}"+p)+"?\\:\\:"),w=subexp([f,d,m,b,v,y,_,g,x].join("|")),C=subexp(subexp(a+"|"+r)+"+"),E=(subexp(w+"\\%25"+C),subexp(w+subexp("\\%25|\\%(?!"+t+"{2})")+C)),O=subexp("[vV]"+t+"+\\."+merge(a,n,"[\\:]")+"+"),j=subexp("\\["+subexp(E+"|"+w+"|"+O)+"\\]"),S=subexp(subexp(r+"|"+merge(a,n))+"*"),P=subexp(j+"|"+c+"(?!"+S+")|"+S),A=subexp("[0-9]*"),D=subexp(subexp(u+"@")+"?"+P+subexp("\\:"+A)+"?"),I=subexp(r+"|"+merge(a,n,"[\\:\\@]")),T=subexp(I+"*"),U=subexp(I+"+"),F=subexp(subexp(r+"|"+merge(a,n,"[\\@]"))+"+"),R=subexp(subexp("\\/"+T)+"*"),N=subexp("\\/"+subexp(U+R)+"?"),k=subexp(F+R),q=subexp(U+R),z="(?!"+I+")",L=(subexp(R+"|"+N+"|"+k+"|"+q+"|"+z),subexp(subexp(I+"|"+merge("[\\/\\?]",s))+"*")),$=subexp(subexp(I+"|[\\/\\?]")+"*"),M=subexp(subexp("\\/\\/"+D+R)+"|"+N+"|"+q+"|"+z),H=subexp(i+"\\:"+M+subexp("\\?"+L)+"?"+subexp("\\#"+$)+"?"),V=subexp(subexp("\\/\\/"+D+R)+"|"+N+"|"+k+"|"+z),Z=subexp(V+subexp("\\?"+L)+"?"+subexp("\\#"+$)+"?");return subexp(H+"|"+Z),subexp(i+"\\:"+M+subexp("\\?"+L)+"?"),subexp(subexp("\\/\\/("+subexp("("+u+")@")+"?("+P+")"+subexp("\\:("+A+")")+"?)")+"?("+R+"|"+N+"|"+q+"|"+z+")"),subexp("\\?("+L+")"),subexp("\\#("+$+")"),subexp(subexp("\\/\\/("+subexp("("+u+")@")+"?("+P+")"+subexp("\\:("+A+")")+"?)")+"?("+R+"|"+N+"|"+k+"|"+z+")"),subexp("\\?("+L+")"),subexp("\\#("+$+")"),subexp(subexp("\\/\\/("+subexp("("+u+")@")+"?("+P+")"+subexp("\\:("+A+")")+"?)")+"?("+R+"|"+N+"|"+q+"|"+z+")"),subexp("\\?("+L+")"),subexp("\\#("+$+")"),subexp("("+u+")@"),subexp("\\:("+A+")"),{NOT_SCHEME:new RegExp(merge("[^]","[A-Za-z]","[0-9]","[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",a,n),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",a,n),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",a,n),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",a,n),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",a,n,"[\\:\\@\\/\\?]",s),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",a,n,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",a,n),"g"),UNRESERVED:new RegExp(a,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",a,o),"g"),PCT_ENCODED:new RegExp(r,"g"),IPV4ADDRESS:new RegExp("^("+c+")$"),IPV6ADDRESS:new RegExp("^\\[?("+w+")"+subexp(subexp("\\%25|\\%(?!"+t+"{2})")+"("+C+")")+"?\\]?$")}}var t=buildExps(!1),r=buildExps(!0),slicedToArray=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function sliceIterator(e,t){var r=[],n=!0,o=!1,s=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,s=e}finally{try{!n&&i.return&&i.return()}finally{if(o)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=2147483647,o=/^xn--/,s=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,i={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,l=String.fromCharCode;function error$1(e){throw new RangeError(i[e])}function mapDomain(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var o=function map(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(a,".")).split("."),t).join(".");return n+o}function ucs2decode(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var s=e.charCodeAt(r++);56320==(64512&s)?t.push(((1023&o)<<10)+(1023&s)+65536):(t.push(o),r--)}else t.push(o)}return t}var c=function basicToDigit(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:36},p=function digitToBasic(e,t){return e+22+75*(e<26)-((0!=t)<<5)},h=function adapt(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;n+=36)e=u(e/35);return u(n+36*e/(e+38))},f=function decode(e){var t=[],r=e.length,o=0,s=128,a=72,i=e.lastIndexOf("-");i<0&&(i=0);for(var l=0;l<i;++l)e.charCodeAt(l)>=128&&error$1("not-basic"),t.push(e.charCodeAt(l));for(var p=i>0?i+1:0;p<r;){for(var f=o,d=1,m=36;;m+=36){p>=r&&error$1("invalid-input");var b=c(e.charCodeAt(p++));(b>=36||b>u((n-o)/d))&&error$1("overflow"),o+=b*d;var v=m<=a?1:m>=a+26?26:m-a;if(b<v)break;var y=36-v;d>u(n/y)&&error$1("overflow"),d*=y}var _=t.length+1;a=h(o-f,_,0==f),u(o/_)>n-s&&error$1("overflow"),s+=u(o/_),o%=_,t.splice(o++,0,s)}return String.fromCodePoint.apply(String,t)},d=function encode(e){var t=[],r=(e=ucs2decode(e)).length,o=128,s=0,a=72,i=!0,c=!1,f=void 0;try{for(var d,m=e[Symbol.iterator]();!(i=(d=m.next()).done);i=!0){var b=d.value;b<128&&t.push(l(b))}}catch(e){c=!0,f=e}finally{try{!i&&m.return&&m.return()}finally{if(c)throw f}}var v=t.length,y=v;for(v&&t.push("-");y<r;){var _=n,g=!0,x=!1,w=void 0;try{for(var C,E=e[Symbol.iterator]();!(g=(C=E.next()).done);g=!0){var O=C.value;O>=o&&O<_&&(_=O)}}catch(e){x=!0,w=e}finally{try{!g&&E.return&&E.return()}finally{if(x)throw w}}var j=y+1;_-o>u((n-s)/j)&&error$1("overflow"),s+=(_-o)*j,o=_;var S=!0,P=!1,A=void 0;try{for(var D,I=e[Symbol.iterator]();!(S=(D=I.next()).done);S=!0){var T=D.value;if(T<o&&++s>n&&error$1("overflow"),T==o){for(var U=s,F=36;;F+=36){var R=F<=a?1:F>=a+26?26:F-a;if(U<R)break;var N=U-R,k=36-R;t.push(l(p(R+N%k,0))),U=u(N/k)}t.push(l(p(U,0))),a=h(s,j,y==v),s=0,++y}}}catch(e){P=!0,A=e}finally{try{!S&&I.return&&I.return()}finally{if(P)throw A}}++s,++o}return t.join("")},m={version:"2.1.0",ucs2:{decode:ucs2decode,encode:function ucs2encode(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(e))}},decode:f,encode:d,toASCII:function toASCII(e){return mapDomain(e,(function(e){return s.test(e)?"xn--"+d(e):e}))},toUnicode:function toUnicode(e){return mapDomain(e,(function(e){return o.test(e)?f(e.slice(4).toLowerCase()):e}))}},b={};function pctEncChar(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function pctDecChars(e){for(var t="",r=0,n=e.length;r<n;){var o=parseInt(e.substr(r+1,2),16);if(o<128)t+=String.fromCharCode(o),r+=3;else if(o>=194&&o<224){if(n-r>=6){var s=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&o)<<6|63&s)}else t+=e.substr(r,6);r+=6}else if(o>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),i=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&i)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var r=pctDecChars(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase)),e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=slicedToArray(r,2)[1];return n?n.split(".").map(_stripLeadingZeros).join("."):e}function _normalizeIPv6(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=slicedToArray(r,3),o=n[1],s=n[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),i=slicedToArray(a,2),u=i[0],l=i[1],c=l?l.split(":").map(_stripLeadingZeros):[],p=u.split(":").map(_stripLeadingZeros),h=t.IPV4ADDRESS.test(p[p.length-1]),f=h?7:8,d=p.length-f,m=Array(f),b=0;b<f;++b)m[b]=c[b]||p[d+b]||"";h&&(m[f-1]=_normalizeIPv4(m[f-1],t));var v=m.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],y=void 0;if(v&&v.length>1){var _=m.slice(0,v.index),g=m.slice(v.index+v.length);y=_.join(":")+"::"+g.join(":")}else y=m.join(":");return s&&(y+="%"+s),y}return e}var v=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,y=void 0==="".match(/(){0}/)[1];function parse(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o={},s=!1!==n.iri?r:t;"suffix"===n.reference&&(e=(n.scheme?n.scheme+":":"")+"//"+e);var a=e.match(v);if(a){y?(o.scheme=a[1],o.userinfo=a[3],o.host=a[4],o.port=parseInt(a[5],10),o.path=a[6]||"",o.query=a[7],o.fragment=a[8],isNaN(o.port)&&(o.port=a[5])):(o.scheme=a[1]||void 0,o.userinfo=-1!==e.indexOf("@")?a[3]:void 0,o.host=-1!==e.indexOf("//")?a[4]:void 0,o.port=parseInt(a[5],10),o.path=a[6]||"",o.query=-1!==e.indexOf("?")?a[7]:void 0,o.fragment=-1!==e.indexOf("#")?a[8]:void 0,isNaN(o.port)&&(o.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?a[4]:void 0)),o.host&&(o.host=_normalizeIPv6(_normalizeIPv4(o.host,s),s)),void 0!==o.scheme||void 0!==o.userinfo||void 0!==o.host||void 0!==o.port||o.path||void 0!==o.query?void 0===o.scheme?o.reference="relative":void 0===o.fragment?o.reference="absolute":o.reference="uri":o.reference="same-document",n.reference&&"suffix"!==n.reference&&n.reference!==o.reference&&(o.error=o.error||"URI is not a "+n.reference+" reference.");var i=b[(n.scheme||o.scheme||"").toLowerCase()];if(n.unicodeSupport||i&&i.unicodeSupport)_normalizeComponentEncoding(o,s);else{if(o.host&&(n.domainHost||i&&i.domainHost))try{o.host=m.toASCII(o.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){o.error=o.error||"Host's domain name can not be converted to ASCII via punycode: "+e}_normalizeComponentEncoding(o,t)}i&&i.parse&&i.parse(o,n)}else o.error=o.error||"URI can not be parsed.";return o}var _=/^\.\.?\//,g=/^\/\.(\/|$)/,x=/^\/\.\.(\/|$)/,w=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){for(var t=[];e.length;)if(e.match(_))e=e.replace(_,"");else if(e.match(g))e=e.replace(g,"/");else if(e.match(x))e=e.replace(x,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(w);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function serialize(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.iri?r:t,s=[],a=b[(n.scheme||e.scheme||"").toLowerCase()];if(a&&a.serialize&&a.serialize(e,n),e.host)if(o.IPV6ADDRESS.test(e.host));else if(n.domainHost||a&&a.domainHost)try{e.host=n.iri?m.toUnicode(e.host):m.toASCII(e.host.replace(o.PCT_ENCODED,pctDecChars).toLowerCase())}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(n.iri?"Unicode":"ASCII")+" via punycode: "+t}_normalizeComponentEncoding(e,o),"suffix"!==n.reference&&e.scheme&&(s.push(e.scheme),s.push(":"));var i=function _recomposeAuthority(e,n){var o=!1!==n.iri?r:t,s=[];return void 0!==e.userinfo&&(s.push(e.userinfo),s.push("@")),void 0!==e.host&&s.push(_normalizeIPv6(_normalizeIPv4(String(e.host),o),o).replace(o.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"==typeof e.port&&(s.push(":"),s.push(e.port.toString(10))),s.length?s.join(""):void 0}(e,n);if(void 0!==i&&("suffix"!==n.reference&&s.push("//"),s.push(i),e.path&&"/"!==e.path.charAt(0)&&s.push("/")),void 0!==e.path){var u=e.path;n.absolutePath||a&&a.absolutePath||(u=removeDotSegments(u)),void 0===i&&(u=u.replace(/^\/\//,"/%2F")),s.push(u)}return void 0!==e.query&&(s.push("?"),s.push(e.query)),void 0!==e.fragment&&(s.push("#"),s.push(e.fragment)),s.join("")}function resolveComponents(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=parse(serialize(e,r),r),t=parse(serialize(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=removeDotSegments(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=removeDotSegments(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=removeDotSegments(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=removeDotSegments(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function unescapeComponent(e,n){return e&&e.toString().replace(n&&n.iri?r.PCT_ENCODED:t.PCT_ENCODED,pctDecChars)}var C={scheme:"http",domainHost:!0,parse:function parse(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function serialize(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},E={scheme:"https",domainHost:C.domainHost,parse:C.parse,serialize:C.serialize},O={},j="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",S="[0-9A-Fa-f]",P=subexp(subexp("%[EFef][0-9A-Fa-f]%"+S+S+"%"+S+S)+"|"+subexp("%[89A-Fa-f][0-9A-Fa-f]%"+S+S)+"|"+subexp("%"+S+S)),A=merge("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),D=new RegExp(j,"g"),I=new RegExp(P,"g"),T=new RegExp(merge("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',A),"g"),U=new RegExp(merge("[^]",j,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),F=U;function decodeUnreserved(e){var t=pctDecChars(e);return t.match(D)?t:e}var R={scheme:"mailto",parse:function parse$$1(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var o=!1,s={},a=r.query.split("&"),i=0,u=a.length;i<u;++i){var l=a[i].split("=");switch(l[0]){case"to":for(var c=l[1].split(","),p=0,h=c.length;p<h;++p)n.push(c[p]);break;case"subject":r.subject=unescapeComponent(l[1],t);break;case"body":r.body=unescapeComponent(l[1],t);break;default:o=!0,s[unescapeComponent(l[0],t)]=unescapeComponent(l[1],t)}}o&&(r.headers=s)}r.query=void 0;for(var f=0,d=n.length;f<d;++f){var b=n[f].split("@");if(b[0]=unescapeComponent(b[0]),t.unicodeSupport)b[1]=unescapeComponent(b[1],t).toLowerCase();else try{b[1]=m.toASCII(unescapeComponent(b[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[f]=b.join("@")}return r},serialize:function serialize$$1(e,t){var r=e,n=function toArray(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}(e.to);if(n){for(var o=0,s=n.length;o<s;++o){var a=String(n[o]),i=a.lastIndexOf("@"),u=a.slice(0,i).replace(I,decodeUnreserved).replace(I,toUpperCase).replace(T,pctEncChar),l=a.slice(i+1);try{l=t.iri?m.toUnicode(l):m.toASCII(unescapeComponent(l,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[o]=u+"@"+l}r.path=n.join(",")}var c=e.headers=e.headers||{};e.subject&&(c.subject=e.subject),e.body&&(c.body=e.body);var p=[];for(var h in c)c[h]!==O[h]&&p.push(h.replace(I,decodeUnreserved).replace(I,toUpperCase).replace(U,pctEncChar)+"="+c[h].replace(I,decodeUnreserved).replace(I,toUpperCase).replace(F,pctEncChar));return p.length&&(r.query=p.join("&")),r}},N=/^([^\:]+)\:(.*)/,k={scheme:"urn",parse:function parse$$1(e,t){var r=e.path&&e.path.match(N),n=e;if(r){var o=t.scheme||n.scheme||"urn",s=r[1].toLowerCase(),a=r[2],i=o+":"+(t.nid||s),u=b[i];n.nid=s,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function serialize$$1(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,o=r+":"+(t.nid||n),s=b[o];s&&(e=s.serialize(e,t));var a=e,i=e.nss;return a.path=(n||t.nid)+":"+i,a}},q=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,z={scheme:"urn:uuid",parse:function parse(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(q)||(r.error=r.error||"UUID is not valid."),r},serialize:function serialize(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};b[C.scheme]=C,b[E.scheme]=E,b[R.scheme]=R,b[k.scheme]=k,b[z.scheme]=z,e.SCHEMES=b,e.pctEncChar=pctEncChar,e.pctDecChars=pctDecChars,e.parse=parse,e.removeDotSegments=removeDotSegments,e.serialize=serialize,e.resolveComponents=resolveComponents,e.resolve=function resolve(e,t,r){var n=function assign(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}({scheme:"null"},r);return serialize(resolveComponents(parse(e,n),parse(t,n),n,!0),n)},e.normalize=function normalize(e,t){return"string"==typeof e?e=serialize(parse(e,t),t):"object"===typeOf(e)&&(e=parse(serialize(e,t),t)),e},e.equal=function equal(e,t,r){return"string"==typeof e?e=serialize(parse(e,r),r):"object"===typeOf(e)&&(e=serialize(e,r)),"string"==typeof t?t=serialize(parse(t,r),r):"object"===typeOf(t)&&(t=serialize(t,r)),e===t},e.escapeComponent=function escapeComponent(e,n){return e&&e.toString().replace(n&&n.iri?r.ESCAPE:t.ESCAPE,pctEncChar)},e.unescapeComponent=unescapeComponent,Object.defineProperty(e,"__esModule",{value:!0})}(t)},"../node_modules/url/url.js":function(e,t,r){var n=r("../node_modules/node-libs-browser/node_modules/punycode/punycode.js"),o=r("../node_modules/url/util.js");function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=urlParse,t.resolve=function urlResolve(e,t){return urlParse(e,!1,!0).resolve(t)},t.resolveObject=function urlResolveObject(e,t){return e?urlParse(e,!1,!0).resolveObject(t):t},t.format=function urlFormat(e){o.isString(e)&&(e=urlParse(e));return e instanceof Url?e.format():Url.prototype.format.call(e)},t.Url=Url;var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),c=["%","/","?",";","#"].concat(l),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r("../node_modules/querystring-es3/index.js");function urlParse(e,t,r){if(e&&o.isObject(e)&&e instanceof Url)return e;var n=new Url;return n.parse(e,t,r),n}Url.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),u=-1!==a&&a<e.indexOf("#")?"?":"#",y=e.split(u);y[0]=y[0].replace(/\\/g,"/");var _=e=y.join(u);if(_=_.trim(),!r&&1===e.split("#").length){var g=i.exec(_);if(g)return this.path=_,this.href=_,this.pathname=g[1],g[2]?(this.search=g[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var x=s.exec(_);if(x){var w=(x=x[0]).toLowerCase();this.protocol=w,_=_.substr(x.length)}if(r||x||_.match(/^\/\/[^@\/]+@[^@\/]+/)){var C="//"===_.substr(0,2);!C||x&&m[x]||(_=_.substr(2),this.slashes=!0)}if(!m[x]&&(C||x&&!b[x])){for(var E,O,j=-1,S=0;S<p.length;S++){-1!==(P=_.indexOf(p[S]))&&(-1===j||P<j)&&(j=P)}-1!==(O=-1===j?_.lastIndexOf("@"):_.lastIndexOf("@",j))&&(E=_.slice(0,O),_=_.slice(O+1),this.auth=decodeURIComponent(E)),j=-1;for(S=0;S<c.length;S++){var P;-1!==(P=_.indexOf(c[S]))&&(-1===j||P<j)&&(j=P)}-1===j&&(j=_.length),this.host=_.slice(0,j),_=_.slice(j),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var D=this.hostname.split(/\./),I=(S=0,D.length);S<I;S++){var T=D[S];if(T&&!T.match(h)){for(var U="",F=0,R=T.length;F<R;F++)T.charCodeAt(F)>127?U+="x":U+=T[F];if(!U.match(h)){var N=D.slice(0,S),k=D.slice(S+1),q=T.match(f);q&&(N.push(q[1]),k.unshift(q[2])),k.length&&(_="/"+k.join(".")+_),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=n.toASCII(this.hostname));var z=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+z,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!d[w])for(S=0,I=l.length;S<I;S++){var $=l[S];if(-1!==_.indexOf($)){var M=encodeURIComponent($);M===$&&(M=escape($)),_=_.split($).join(M)}}var H=_.indexOf("#");-1!==H&&(this.hash=_.substr(H),_=_.slice(0,H));var V=_.indexOf("?");if(-1!==V?(this.search=_.substr(V),this.query=_.substr(V+1),t&&(this.query=v.parse(this.query)),_=_.slice(0,V)):t&&(this.search="",this.query={}),_&&(this.pathname=_),b[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){z=this.pathname||"";var Z=this.search||"";this.path=z+Z}return this.href=this.format(),this},Url.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",s=!1,a="";this.host?s=e+this.host:this.hostname&&(s=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var i=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==s?(s="//"+(s||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):s||(s=""),n&&"#"!==n.charAt(0)&&(n="#"+n),i&&"?"!==i.charAt(0)&&(i="?"+i),t+s+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(i=i.replace("#","%23"))+n},Url.prototype.resolve=function(e){return this.resolveObject(urlParse(e,!1,!0)).format()},Url.prototype.resolveObject=function(e){if(o.isString(e)){var t=new Url;t.parse(e,!1,!0),e=t}for(var r=new Url,n=Object.keys(this),s=0;s<n.length;s++){var a=n[s];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var i=Object.keys(e),u=0;u<i.length;u++){var l=i[u];"protocol"!==l&&(r[l]=e[l])}return b[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!b[e.protocol]){for(var c=Object.keys(e),p=0;p<c.length;p++){var h=c[p];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||m[e.protocol])r.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var d=r.pathname||"",v=r.search||"";r.path=d+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),g=_||y||r.host&&e.pathname,x=g,w=r.pathname&&r.pathname.split("/")||[],C=(f=e.pathname&&e.pathname.split("/")||[],r.protocol&&!b[r.protocol]);if(C&&(r.hostname="",r.port=null,r.host&&(""===w[0]?w[0]=r.host:w.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),g=g&&(""===f[0]||""===w[0])),_)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,w=f;else if(f.length)w||(w=[]),w.pop(),w=w.concat(f),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(C)r.hostname=r.host=w.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!w.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=w.slice(-1)[0],O=(r.host||e.host||w.length>1)&&("."===E||".."===E)||""===E,j=0,S=w.length;S>=0;S--)"."===(E=w[S])?w.splice(S,1):".."===E?(w.splice(S,1),j++):j&&(w.splice(S,1),j--);if(!g&&!x)for(;j--;j)w.unshift("..");!g||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),O&&"/"!==w.join("/").substr(-1)&&w.push("");var P,A=""===w[0]||w[0]&&"/"===w[0].charAt(0);C&&(r.hostname=r.host=A?"":w.length?w.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(g=g||r.host&&w.length)&&!A&&w.unshift(""),w.length?r.pathname=w.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},Url.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"../node_modules/url/util.js":function(e,t,r){e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},"../node_modules/webpack/buildin/global.js":function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},"../node_modules/webpack/buildin/harmony-module.js":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"../node_modules/webpack/buildin/module.js":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}}}]); //# sourceMappingURL=vendors~main~0efdf0b8.chunk.eaa5497fb7f7db0479e3.js.map