@knapsack/app
Version:
Build Design Systems on top of knapsack, by Basalt
2 lines • 46.8 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~custom-page-KXWAf~pattern-view-page-WE7TE~0efdf0b8"],{"../node_modules/state-toggle/index.js":function(e,n,t){e.exports=function factory(e,n,t){return function enter(){var r=t||this,o=r[e];return r[e]=!n,function exit(){r[e]=o}}}},"../node_modules/strip-ansi/index.js":function(e,n,t){const r=t("../node_modules/strip-ansi/node_modules/ansi-regex/index.js"),stripAnsi=e=>"string"==typeof e?e.replace(r(),""):e;e.exports=stripAnsi,e.exports.default=stripAnsi},"../node_modules/strip-ansi/node_modules/ansi-regex/index.js":function(e,n,t){e.exports=e=>{e=Object.assign({onlyFirst:!1},e);const n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,e.onlyFirst?void 0:"g")}},"../node_modules/supports-color/index.js":function(e,n,t){(function(n){const r=t("../node_modules/os-browserify/browser.js"),o=t("../node_modules/supports-color/node_modules/has-flag/index.js"),i=Object({NODE_ENV:"production"});let s;function getSupportLevel(e){return function translateLevel(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function supportsColor(e){if(!1===s)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==s)return 0;const t=s?1:0;if("win32"===n.platform){const e=r.release().split(".");return Number(n.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in i)||"codeship"===i.CI_NAME?1:t;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)?1:"COLORTERM"in i?1:(i.TERM,t)}(e))}o("no-color")||o("no-colors")||o("color=false")?s=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=!0),"FORCE_COLOR"in i&&(s=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(n.stdout),stderr:getSupportLevel(n.stderr)}}).call(this,t("../node_modules/process/browser.js"))},"../node_modules/supports-color/node_modules/has-flag/index.js":function(e,n,t){(function(n){e.exports=(e,t)=>{t=t||n.argv;const r=e.startsWith("-")?"":1===e.length?"-":"--",o=t.indexOf(r+e),i=t.indexOf("--");return-1!==o&&(-1===i||o<i)}}).call(this,t("../node_modules/process/browser.js"))},"../node_modules/to-fast-properties/index.js":function(e,n,t){let r=null;function FastObject(e){if(null!==r&&(r.property,1)){const e=r;return r=FastObject.prototype=null,e}return r=FastObject.prototype=null==e?Object.create(null):e,new FastObject}FastObject(),e.exports=function toFastproperties(e){return FastObject(e)}},"../node_modules/trim-trailing-lines/index.js":function(e,n,t){e.exports=function trimTrailingLines(e){var n=String(e),t=n.length;for(;n.charAt(--t)===r;);return n.slice(0,t+1)};var r="\n"},"../node_modules/trim/index.js":function(e,n){(n=e.exports=function trim(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},n.right=function(e){return e.replace(/\s*$/,"")}},"../node_modules/trough/index.js":function(e,n,t){var r=t("../node_modules/trough/wrap.js");e.exports=trough,trough.wrap=r;var o=[].slice;function trough(){var e=[],n={run:function run(){var n=-1,t=o.call(arguments,0,-1),i=arguments[arguments.length-1];if("function"!=typeof i)throw new Error("Expected function as last argument, not "+i);(function next(s){var u=e[++n],a=o.call(arguments,0).slice(1),l=t.length,c=-1;if(s)i(s);else{for(;++c<l;)null!==a[c]&&void 0!==a[c]||(a[c]=t[c]);t=a,u?r(u,next).apply(null,t):i.apply(null,[null].concat(t))}}).apply(null,[null].concat(t))},use:function use(t){if("function"!=typeof t)throw new Error("Expected `fn` to be a function, not "+t);return e.push(t),n}};return n}},"../node_modules/trough/wrap.js":function(e,n,t){var r=[].slice;e.exports=function wrap(e,n){var t;return function wrapped(){var n,o=r.call(arguments,0),i=e.length>o.length;i&&o.push(done);try{n=e.apply(null,o)}catch(e){if(i&&t)throw e;return done(e)}i||(n&&"function"==typeof n.then?n.then(then,done):n instanceof Error?done(n):then(n))};function done(){t||(t=!0,n.apply(null,arguments))}function then(e){done(null,e)}}},"../node_modules/tty-browserify/index.js":function(e,n){n.isatty=function(){return!1},n.ReadStream=function ReadStream(){throw new Error("tty.ReadStream is not implemented")},n.WriteStream=function WriteStream(){throw new Error("tty.ReadStream is not implemented")}},"../node_modules/underscore/underscore.js":function(e,n,t){(function(e,t){var r;!function(){var o="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},i=o._,s=Array.prototype,u=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,l=s.push,c=s.slice,f=u.toString,d=u.hasOwnProperty,p=Array.isArray,h=Object.keys,m=Object.create,Ctor=function(){},_=function(e){return e instanceof _?e:this instanceof _?void(this._wrapped=e):new _(e)};n.nodeType?o._=_:(!t.nodeType&&t.exports&&(n=t.exports=_),n._=_),_.VERSION="1.9.1";var v,optimizeCb=function(e,n,t){if(void 0===n)return e;switch(null==t?3:t){case 1:return function(t){return e.call(n,t)};case 3:return function(t,r,o){return e.call(n,t,r,o)};case 4:return function(t,r,o,i){return e.call(n,t,r,o,i)}}return function(){return e.apply(n,arguments)}},cb=function(e,n,t){return _.iteratee!==v?_.iteratee(e,n):null==e?_.identity:_.isFunction(e)?optimizeCb(e,n,t):_.isObject(e)&&!_.isArray(e)?_.matcher(e):_.property(e)};_.iteratee=v=function(e,n){return cb(e,n,1/0)};var restArguments=function(e,n){return n=null==n?e.length-1:+n,function(){for(var t=Math.max(arguments.length-n,0),r=Array(t),o=0;o<t;o++)r[o]=arguments[o+n];switch(n){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(n+1);for(o=0;o<n;o++)i[o]=arguments[o];return i[n]=r,e.apply(this,i)}},baseCreate=function(e){if(!_.isObject(e))return{};if(m)return m(e);Ctor.prototype=e;var n=new Ctor;return Ctor.prototype=null,n},shallowProperty=function(e){return function(n){return null==n?void 0:n[e]}},has=function(e,n){return null!=e&&d.call(e,n)},deepGet=function(e,n){for(var t=n.length,r=0;r<t;r++){if(null==e)return;e=e[n[r]]}return t?e:void 0},y=Math.pow(2,53)-1,b=shallowProperty("length"),isArrayLike=function(e){var n=b(e);return"number"==typeof n&&n>=0&&n<=y};_.each=_.forEach=function(e,n,t){var r,o;if(n=optimizeCb(n,t),isArrayLike(e))for(r=0,o=e.length;r<o;r++)n(e[r],r,e);else{var i=_.keys(e);for(r=0,o=i.length;r<o;r++)n(e[i[r]],i[r],e)}return e},_.map=_.collect=function(e,n,t){n=cb(n,t);for(var r=!isArrayLike(e)&&_.keys(e),o=(r||e).length,i=Array(o),s=0;s<o;s++){var u=r?r[s]:s;i[s]=n(e[u],u,e)}return i};var createReduce=function(e){var reducer=function(n,t,r,o){var i=!isArrayLike(n)&&_.keys(n),s=(i||n).length,u=e>0?0:s-1;for(o||(r=n[i?i[u]:u],u+=e);u>=0&&u<s;u+=e){var a=i?i[u]:u;r=t(r,n[a],a,n)}return r};return function(e,n,t,r){var o=arguments.length>=3;return reducer(e,optimizeCb(n,r,4),t,o)}};_.reduce=_.foldl=_.inject=createReduce(1),_.reduceRight=_.foldr=createReduce(-1),_.find=_.detect=function(e,n,t){var r=(isArrayLike(e)?_.findIndex:_.findKey)(e,n,t);if(void 0!==r&&-1!==r)return e[r]},_.filter=_.select=function(e,n,t){var r=[];return n=cb(n,t),_.each(e,(function(e,t,o){n(e,t,o)&&r.push(e)})),r},_.reject=function(e,n,t){return _.filter(e,_.negate(cb(n)),t)},_.every=_.all=function(e,n,t){n=cb(n,t);for(var r=!isArrayLike(e)&&_.keys(e),o=(r||e).length,i=0;i<o;i++){var s=r?r[i]:i;if(!n(e[s],s,e))return!1}return!0},_.some=_.any=function(e,n,t){n=cb(n,t);for(var r=!isArrayLike(e)&&_.keys(e),o=(r||e).length,i=0;i<o;i++){var s=r?r[i]:i;if(n(e[s],s,e))return!0}return!1},_.contains=_.includes=_.include=function(e,n,t,r){return isArrayLike(e)||(e=_.values(e)),("number"!=typeof t||r)&&(t=0),_.indexOf(e,n,t)>=0},_.invoke=restArguments((function(e,n,t){var r,o;return _.isFunction(n)?o=n:_.isArray(n)&&(r=n.slice(0,-1),n=n[n.length-1]),_.map(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=deepGet(e,r)),null==e)return;i=e[n]}return null==i?i:i.apply(e,t)}))})),_.pluck=function(e,n){return _.map(e,_.property(n))},_.where=function(e,n){return _.filter(e,_.matcher(n))},_.findWhere=function(e,n){return _.find(e,_.matcher(n))},_.max=function(e,n,t){var r,o,i=-1/0,s=-1/0;if(null==n||"number"==typeof n&&"object"!=typeof e[0]&&null!=e)for(var u=0,a=(e=isArrayLike(e)?e:_.values(e)).length;u<a;u++)null!=(r=e[u])&&r>i&&(i=r);else n=cb(n,t),_.each(e,(function(e,t,r){((o=n(e,t,r))>s||o===-1/0&&i===-1/0)&&(i=e,s=o)}));return i},_.min=function(e,n,t){var r,o,i=1/0,s=1/0;if(null==n||"number"==typeof n&&"object"!=typeof e[0]&&null!=e)for(var u=0,a=(e=isArrayLike(e)?e:_.values(e)).length;u<a;u++)null!=(r=e[u])&&r<i&&(i=r);else n=cb(n,t),_.each(e,(function(e,t,r){((o=n(e,t,r))<s||o===1/0&&i===1/0)&&(i=e,s=o)}));return i},_.shuffle=function(e){return _.sample(e,1/0)},_.sample=function(e,n,t){if(null==n||t)return isArrayLike(e)||(e=_.values(e)),e[_.random(e.length-1)];var r=isArrayLike(e)?_.clone(e):_.values(e),o=b(r);n=Math.max(Math.min(n,o),0);for(var i=o-1,s=0;s<n;s++){var u=_.random(s,i),a=r[s];r[s]=r[u],r[u]=a}return r.slice(0,n)},_.sortBy=function(e,n,t){var r=0;return n=cb(n,t),_.pluck(_.map(e,(function(e,t,o){return{value:e,index:r++,criteria:n(e,t,o)}})).sort((function(e,n){var t=e.criteria,r=n.criteria;if(t!==r){if(t>r||void 0===t)return 1;if(t<r||void 0===r)return-1}return e.index-n.index})),"value")};var group=function(e,n){return function(t,r,o){var i=n?[[],[]]:{};return r=cb(r,o),_.each(t,(function(n,o){var s=r(n,o,t);e(i,n,s)})),i}};_.groupBy=group((function(e,n,t){has(e,t)?e[t].push(n):e[t]=[n]})),_.indexBy=group((function(e,n,t){e[t]=n})),_.countBy=group((function(e,n,t){has(e,t)?e[t]++:e[t]=1}));var g=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;_.toArray=function(e){return e?_.isArray(e)?c.call(e):_.isString(e)?e.match(g):isArrayLike(e)?_.map(e,_.identity):_.values(e):[]},_.size=function(e){return null==e?0:isArrayLike(e)?e.length:_.keys(e).length},_.partition=group((function(e,n,t){e[t?0:1].push(n)}),!0),_.first=_.head=_.take=function(e,n,t){return null==e||e.length<1?null==n?void 0:[]:null==n||t?e[0]:_.initial(e,e.length-n)},_.initial=function(e,n,t){return c.call(e,0,Math.max(0,e.length-(null==n||t?1:n)))},_.last=function(e,n,t){return null==e||e.length<1?null==n?void 0:[]:null==n||t?e[e.length-1]:_.rest(e,Math.max(0,e.length-n))},_.rest=_.tail=_.drop=function(e,n,t){return c.call(e,null==n||t?1:n)},_.compact=function(e){return _.filter(e,Boolean)};var flatten=function(e,n,t,r){for(var o=(r=r||[]).length,i=0,s=b(e);i<s;i++){var u=e[i];if(isArrayLike(u)&&(_.isArray(u)||_.isArguments(u)))if(n)for(var a=0,l=u.length;a<l;)r[o++]=u[a++];else flatten(u,n,t,r),o=r.length;else t||(r[o++]=u)}return r};_.flatten=function(e,n){return flatten(e,n,!1)},_.without=restArguments((function(e,n){return _.difference(e,n)})),_.uniq=_.unique=function(e,n,t,r){_.isBoolean(n)||(r=t,t=n,n=!1),null!=t&&(t=cb(t,r));for(var o=[],i=[],s=0,u=b(e);s<u;s++){var a=e[s],l=t?t(a,s,e):a;n&&!t?(s&&i===l||o.push(a),i=l):t?_.contains(i,l)||(i.push(l),o.push(a)):_.contains(o,a)||o.push(a)}return o},_.union=restArguments((function(e){return _.uniq(flatten(e,!0,!0))})),_.intersection=function(e){for(var n=[],t=arguments.length,r=0,o=b(e);r<o;r++){var i=e[r];if(!_.contains(n,i)){var s;for(s=1;s<t&&_.contains(arguments[s],i);s++);s===t&&n.push(i)}}return n},_.difference=restArguments((function(e,n){return n=flatten(n,!0,!0),_.filter(e,(function(e){return!_.contains(n,e)}))})),_.unzip=function(e){for(var n=e&&_.max(e,b).length||0,t=Array(n),r=0;r<n;r++)t[r]=_.pluck(e,r);return t},_.zip=restArguments(_.unzip),_.object=function(e,n){for(var t={},r=0,o=b(e);r<o;r++)n?t[e[r]]=n[r]:t[e[r][0]]=e[r][1];return t};var createPredicateIndexFinder=function(e){return function(n,t,r){t=cb(t,r);for(var o=b(n),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(t(n[i],i,n))return i;return-1}};_.findIndex=createPredicateIndexFinder(1),_.findLastIndex=createPredicateIndexFinder(-1),_.sortedIndex=function(e,n,t,r){for(var o=(t=cb(t,r,1))(n),i=0,s=b(e);i<s;){var u=Math.floor((i+s)/2);t(e[u])<o?i=u+1:s=u}return i};var createIndexFinder=function(e,n,t){return function(r,o,i){var s=0,u=b(r);if("number"==typeof i)e>0?s=i>=0?i:Math.max(i+u,s):u=i>=0?Math.min(i+1,u):i+u+1;else if(t&&i&&u)return r[i=t(r,o)]===o?i:-1;if(o!=o)return(i=n(c.call(r,s,u),_.isNaN))>=0?i+s:-1;for(i=e>0?s:u-1;i>=0&&i<u;i+=e)if(r[i]===o)return i;return-1}};_.indexOf=createIndexFinder(1,_.findIndex,_.sortedIndex),_.lastIndexOf=createIndexFinder(-1,_.findLastIndex),_.range=function(e,n,t){null==n&&(n=e||0,e=0),t||(t=n<e?-1:1);for(var r=Math.max(Math.ceil((n-e)/t),0),o=Array(r),i=0;i<r;i++,e+=t)o[i]=e;return o},_.chunk=function(e,n){if(null==n||n<1)return[];for(var t=[],r=0,o=e.length;r<o;)t.push(c.call(e,r,r+=n));return t};var executeBound=function(e,n,t,r,o){if(!(r instanceof n))return e.apply(t,o);var i=baseCreate(e.prototype),s=e.apply(i,o);return _.isObject(s)?s:i};_.bind=restArguments((function(e,n,t){if(!_.isFunction(e))throw new TypeError("Bind must be called on a function");var r=restArguments((function(o){return executeBound(e,r,n,this,t.concat(o))}));return r})),_.partial=restArguments((function(e,n){var t=_.partial.placeholder,bound=function(){for(var r=0,o=n.length,i=Array(o),s=0;s<o;s++)i[s]=n[s]===t?arguments[r++]:n[s];for(;r<arguments.length;)i.push(arguments[r++]);return executeBound(e,bound,this,this,i)};return bound})),_.partial.placeholder=_,_.bindAll=restArguments((function(e,n){var t=(n=flatten(n,!1,!1)).length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var r=n[t];e[r]=_.bind(e[r],e)}})),_.memoize=function(e,n){var memoize=function(t){var r=memoize.cache,o=""+(n?n.apply(this,arguments):t);return has(r,o)||(r[o]=e.apply(this,arguments)),r[o]};return memoize.cache={},memoize},_.delay=restArguments((function(e,n,t){return setTimeout((function(){return e.apply(null,t)}),n)})),_.defer=_.partial(_.delay,_,1),_.throttle=function(e,n,t){var r,o,i,s,u=0;t||(t={});var later=function(){u=!1===t.leading?0:_.now(),r=null,s=e.apply(o,i),r||(o=i=null)},throttled=function(){var a=_.now();u||!1!==t.leading||(u=a);var l=n-(a-u);return o=this,i=arguments,l<=0||l>n?(r&&(clearTimeout(r),r=null),u=a,s=e.apply(o,i),r||(o=i=null)):r||!1===t.trailing||(r=setTimeout(later,l)),s};return throttled.cancel=function(){clearTimeout(r),u=0,r=o=i=null},throttled},_.debounce=function(e,n,t){var r,o,later=function(n,t){r=null,t&&(o=e.apply(n,t))},i=restArguments((function(i){if(r&&clearTimeout(r),t){var s=!r;r=setTimeout(later,n),s&&(o=e.apply(this,i))}else r=_.delay(later,n,this,i);return o}));return i.cancel=function(){clearTimeout(r),r=null},i},_.wrap=function(e,n){return _.partial(n,e)},_.negate=function(e){return function(){return!e.apply(this,arguments)}},_.compose=function(){var e=arguments,n=e.length-1;return function(){for(var t=n,r=e[n].apply(this,arguments);t--;)r=e[t].call(this,r);return r}},_.after=function(e,n){return function(){if(--e<1)return n.apply(this,arguments)}},_.before=function(e,n){var t;return function(){return--e>0&&(t=n.apply(this,arguments)),e<=1&&(n=null),t}},_.once=_.partial(_.before,2),_.restArguments=restArguments;var j=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],collectNonEnumProps=function(e,n){var t=x.length,r=e.constructor,o=_.isFunction(r)&&r.prototype||u,i="constructor";for(has(e,i)&&!_.contains(n,i)&&n.push(i);t--;)(i=x[t])in e&&e[i]!==o[i]&&!_.contains(n,i)&&n.push(i)};_.keys=function(e){if(!_.isObject(e))return[];if(h)return h(e);var n=[];for(var t in e)has(e,t)&&n.push(t);return j&&collectNonEnumProps(e,n),n},_.allKeys=function(e){if(!_.isObject(e))return[];var n=[];for(var t in e)n.push(t);return j&&collectNonEnumProps(e,n),n},_.values=function(e){for(var n=_.keys(e),t=n.length,r=Array(t),o=0;o<t;o++)r[o]=e[n[o]];return r},_.mapObject=function(e,n,t){n=cb(n,t);for(var r=_.keys(e),o=r.length,i={},s=0;s<o;s++){var u=r[s];i[u]=n(e[u],u,e)}return i},_.pairs=function(e){for(var n=_.keys(e),t=n.length,r=Array(t),o=0;o<t;o++)r[o]=[n[o],e[n[o]]];return r},_.invert=function(e){for(var n={},t=_.keys(e),r=0,o=t.length;r<o;r++)n[e[t[r]]]=t[r];return n},_.functions=_.methods=function(e){var n=[];for(var t in e)_.isFunction(e[t])&&n.push(t);return n.sort()};var createAssigner=function(e,n){return function(t){var r=arguments.length;if(n&&(t=Object(t)),r<2||null==t)return t;for(var o=1;o<r;o++)for(var i=arguments[o],s=e(i),u=s.length,a=0;a<u;a++){var l=s[a];n&&void 0!==t[l]||(t[l]=i[l])}return t}};_.extend=createAssigner(_.allKeys),_.extendOwn=_.assign=createAssigner(_.keys),_.findKey=function(e,n,t){n=cb(n,t);for(var r,o=_.keys(e),i=0,s=o.length;i<s;i++)if(n(e[r=o[i]],r,e))return r};var w,O,keyInObj=function(e,n,t){return n in t};_.pick=restArguments((function(e,n){var t={},r=n[0];if(null==e)return t;_.isFunction(r)?(n.length>1&&(r=optimizeCb(r,n[1])),n=_.allKeys(e)):(r=keyInObj,n=flatten(n,!1,!1),e=Object(e));for(var o=0,i=n.length;o<i;o++){var s=n[o],u=e[s];r(u,s,e)&&(t[s]=u)}return t})),_.omit=restArguments((function(e,n){var t,r=n[0];return _.isFunction(r)?(r=_.negate(r),n.length>1&&(t=n[1])):(n=_.map(flatten(n,!1,!1),String),r=function(e,t){return!_.contains(n,t)}),_.pick(e,r,t)})),_.defaults=createAssigner(_.allKeys,!0),_.create=function(e,n){var t=baseCreate(e);return n&&_.extendOwn(t,n),t},_.clone=function(e){return _.isObject(e)?_.isArray(e)?e.slice():_.extend({},e):e},_.tap=function(e,n){return n(e),e},_.isMatch=function(e,n){var t=_.keys(n),r=t.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var s=t[i];if(n[s]!==o[s]||!(s in o))return!1}return!0},w=function(e,n,t,r){if(e===n)return 0!==e||1/e==1/n;if(null==e||null==n)return!1;if(e!=e)return n!=n;var o=typeof e;return("function"===o||"object"===o||"object"==typeof n)&&O(e,n,t,r)},O=function(e,n,t,r){e instanceof _&&(e=e._wrapped),n instanceof _&&(n=n._wrapped);var o=f.call(e);if(o!==f.call(n))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+n;case"[object Number]":return+e!=+e?+n!=+n:0==+e?1/+e==1/n:+e==+n;case"[object Date]":case"[object Boolean]":return+e==+n;case"[object Symbol]":return a.valueOf.call(e)===a.valueOf.call(n)}var i="[object Array]"===o;if(!i){if("object"!=typeof e||"object"!=typeof n)return!1;var s=e.constructor,u=n.constructor;if(s!==u&&!(_.isFunction(s)&&s instanceof s&&_.isFunction(u)&&u instanceof u)&&"constructor"in e&&"constructor"in n)return!1}r=r||[];for(var l=(t=t||[]).length;l--;)if(t[l]===e)return r[l]===n;if(t.push(e),r.push(n),i){if((l=e.length)!==n.length)return!1;for(;l--;)if(!w(e[l],n[l],t,r))return!1}else{var c,d=_.keys(e);if(l=d.length,_.keys(n).length!==l)return!1;for(;l--;)if(c=d[l],!has(n,c)||!w(e[c],n[c],t,r))return!1}return t.pop(),r.pop(),!0},_.isEqual=function(e,n){return w(e,n)},_.isEmpty=function(e){return null==e||(isArrayLike(e)&&(_.isArray(e)||_.isString(e)||_.isArguments(e))?0===e.length:0===_.keys(e).length)},_.isElement=function(e){return!(!e||1!==e.nodeType)},_.isArray=p||function(e){return"[object Array]"===f.call(e)},_.isObject=function(e){var n=typeof e;return"function"===n||"object"===n&&!!e},_.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],(function(e){_["is"+e]=function(n){return f.call(n)==="[object "+e+"]"}})),_.isArguments(arguments)||(_.isArguments=function(e){return has(e,"callee")});var S=o.document&&o.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof S&&(_.isFunction=function(e){return"function"==typeof e||!1}),_.isFinite=function(e){return!_.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},_.isNaN=function(e){return _.isNumber(e)&&isNaN(e)},_.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===f.call(e)},_.isNull=function(e){return null===e},_.isUndefined=function(e){return void 0===e},_.has=function(e,n){if(!_.isArray(n))return has(e,n);for(var t=n.length,r=0;r<t;r++){var o=n[r];if(null==e||!d.call(e,o))return!1;e=e[o]}return!!t},_.noConflict=function(){return o._=i,this},_.identity=function(e){return e},_.constant=function(e){return function(){return e}},_.noop=function(){},_.property=function(e){return _.isArray(e)?function(n){return deepGet(n,e)}:shallowProperty(e)},_.propertyOf=function(e){return null==e?function(){}:function(n){return _.isArray(n)?deepGet(e,n):e[n]}},_.matcher=_.matches=function(e){return e=_.extendOwn({},e),function(n){return _.isMatch(n,e)}},_.times=function(e,n,t){var r=Array(Math.max(0,e));n=optimizeCb(n,t,1);for(var o=0;o<e;o++)r[o]=n(o);return r},_.random=function(e,n){return null==n&&(n=e,e=0),e+Math.floor(Math.random()*(n-e+1))},_.now=Date.now||function(){return(new Date).getTime()};var R={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},A=_.invert(R),createEscaper=function(e){var escaper=function(n){return e[n]},n="(?:"+_.keys(e).join("|")+")",t=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,t.test(e)?e.replace(r,escaper):e}};_.escape=createEscaper(R),_.unescape=createEscaper(A),_.result=function(e,n,t){_.isArray(n)||(n=[n]);var r=n.length;if(!r)return _.isFunction(t)?t.call(e):t;for(var o=0;o<r;o++){var i=null==e?void 0:e[n[o]];void 0===i&&(i=t,o=r),e=_.isFunction(i)?i.call(e):i}return e};var k=0;_.uniqueId=function(e){var n=++k+"";return e?e+n:n},_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var E=/(.)^/,P={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},M=/\\|'|\r|\n|\u2028|\u2029/g,escapeChar=function(e){return"\\"+P[e]};_.template=function(e,n,t){!n&&t&&(n=t),n=_.defaults({},n,_.templateSettings);var r,o=RegExp([(n.escape||E).source,(n.interpolate||E).source,(n.evaluate||E).source].join("|")+"|$","g"),i=0,s="__p+='";e.replace(o,(function(n,t,r,o,u){return s+=e.slice(i,u).replace(M,escapeChar),i=u+n.length,t?s+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?s+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(s+="';\n"+o+"\n__p+='"),n})),s+="';\n",n.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{r=new Function(n.variable||"obj","_",s)}catch(e){throw e.source=s,e}var template=function(e){return r.call(this,e,_)},u=n.variable||"obj";return template.source="function("+u+"){\n"+s+"}",template},_.chain=function(e){var n=_(e);return n._chain=!0,n};var chainResult=function(e,n){return e._chain?_(n).chain():n};_.mixin=function(e){return _.each(_.functions(e),(function(n){var t=_[n]=e[n];_.prototype[n]=function(){var e=[this._wrapped];return l.apply(e,arguments),chainResult(this,t.apply(_,e))}})),_},_.mixin(_),_.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var n=s[e];_.prototype[e]=function(){var t=this._wrapped;return n.apply(t,arguments),"shift"!==e&&"splice"!==e||0!==t.length||delete t[0],chainResult(this,t)}})),_.each(["concat","join","slice"],(function(e){var n=s[e];_.prototype[e]=function(){return chainResult(this,n.apply(this._wrapped,arguments))}})),_.prototype.value=function(){return this._wrapped},_.prototype.valueOf=_.prototype.toJSON=_.prototype.value,_.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return _}.apply(n,[]))||(t.exports=r)}()}).call(this,t("../node_modules/webpack/buildin/global.js"),t("../node_modules/webpack/buildin/module.js")(e))},"../node_modules/unherit/index.js":function(e,n,t){var r=t("../node_modules/xtend/immutable.js"),o=t("../node_modules/inherits/inherits.js");e.exports=function unherit(e){var n,t,i;for(t in o(Of,e),o(From,Of),n=Of.prototype)(i=n[t])&&"object"==typeof i&&(n[t]="concat"in i?i.concat():r(i));return Of;function From(n){return e.apply(this,n)}function Of(){return this instanceof Of?e.apply(this,arguments):new From(arguments)}}},"../node_modules/unist-util-is/convert.js":function(e,n,t){function convert(e){if("string"==typeof e)return function typeFactory(e){return function type(n){return Boolean(n&&n.type===e)}}(e);if(null==e)return ok;if("object"==typeof e)return("length"in e?anyFactory:matchesFactory)(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function matchesFactory(e){return function matches(n){var t;for(t in e)if(n[t]!==e[t])return!1;return!0}}function anyFactory(e){var n=function convertAll(e){for(var n=[],t=e.length,r=-1;++r<t;)n[r]=convert(e[r]);return n}(e),t=n.length;return function matches(){var e=-1;for(;++e<t;)if(n[e].apply(this,arguments))return!0;return!1}}function ok(){return!0}e.exports=convert},"../node_modules/unist-util-remove-position/index.js":function(e,n,t){var r=t("../node_modules/unist-util-visit/index.js");function hard(e){delete e.position}function soft(e){e.position=void 0}e.exports=function removePosition(e,n){return r(e,n?hard:soft),e}},"../node_modules/unist-util-stringify-position/index.js":function(e,n,t){var r={}.hasOwnProperty;function point(e){return e&&"object"==typeof e||(e={}),index(e.line)+":"+index(e.column)}function position(e){return e&&"object"==typeof e||(e={}),point(e.start)+"-"+point(e.end)}function index(e){return e&&"number"==typeof e?e:1}e.exports=function stringify(e){if(!e||"object"!=typeof e)return null;if(r.call(e,"position")||r.call(e,"type"))return position(e.position);if(r.call(e,"start")||r.call(e,"end"))return position(e);if(r.call(e,"line")||r.call(e,"column"))return point(e);return null}},"../node_modules/unist-util-visit/index.js":function(e,n,t){e.exports=visit;var r=t("../node_modules/unist-util-visit/node_modules/unist-util-visit-parents/index.js"),o=r.CONTINUE,i=r.SKIP,s=r.EXIT;function visit(e,n,t,o){"function"==typeof n&&"function"!=typeof t&&(o=t,t=n,n=null),r(e,n,(function overload(e,n){var r=n[n.length-1],o=r?r.children.indexOf(e):null;return t(e,o,r)}),o)}visit.CONTINUE=o,visit.SKIP=i,visit.EXIT=s},"../node_modules/unist-util-visit/node_modules/unist-util-visit-parents/index.js":function(e,n,t){e.exports=visitParents;var r=t("../node_modules/unist-util-is/convert.js"),o=!0,i="skip",s=!1;function visitParents(e,n,t,o){var u;function one(e,r,a){var l,c=[];return(n&&!u(e,r,a[a.length-1]||null)||(c=toResult(t(e,a)))[0]!==s)&&e.children&&c[0]!==i&&(l=toResult(function all(e,n){var t,r=o?-1:1,i=(o?e.length:-1)+r;for(;i>-1&&i<e.length;){if((t=one(e[i],i,n))[0]===s)return t;i="number"==typeof t[1]?t[1]:i+r}}(e.children,a.concat(e))))[0]===s?l:c}"function"==typeof n&&"function"!=typeof t&&(o=t,t=n,n=null),u=r(n),one(e,null,[])}function toResult(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[o,e]:[e]}visitParents.CONTINUE=o,visitParents.SKIP=i,visitParents.EXIT=s},"../node_modules/vfile-location/index.js":function(e,n,t){function offsetToPositionFactory(e){return function offsetToPosition(n){var t=-1,r=e.length;if(n<0)return{};for(;++t<r;)if(e[t]>n)return{line:t+1,column:n-(e[t-1]||0)+1,offset:n};return{}}}function positionToOffsetFactory(e){return function positionToOffset(n){var t=n&&n.line,r=n&&n.column;if(!isNaN(t)&&!isNaN(r)&&t-1 in e)return(e[t-2]||0)+r-1||0;return-1}}e.exports=function factory(e){var n=function indices(e){var n=[],t=e.indexOf("\n");for(;-1!==t;)n.push(t+1),t=e.indexOf("\n",t+1);return n.push(e.length+1),n}(String(e));return{toPosition:offsetToPositionFactory(n),toOffset:positionToOffsetFactory(n)}}},"../node_modules/vfile-message/index.js":function(e,n,t){var r=t("../node_modules/unist-util-stringify-position/index.js");function VMessagePrototype(){}e.exports=VMessage,VMessagePrototype.prototype=Error.prototype,VMessage.prototype=new VMessagePrototype;var o=VMessage.prototype;function VMessage(e,n,t){var o,i,s;"string"==typeof n&&(t=n,n=null),o=function parseOrigin(e){var n,t=[null,null];"string"==typeof e&&(-1===(n=e.indexOf(":"))?t[1]=e:(t[0]=e.slice(0,n),t[1]=e.slice(n+1)));return t}(t),i=r(n)||"1:1",s={start:{line:null,column:null},end:{line:null,column:null}},n&&n.position&&(n=n.position),n&&(n.start?(s=n,n=n.start):s.start=n),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=n?n.line:null,this.column=n?n.column:null,this.location=s,this.source=o[0],this.ruleId=o[1]}o.file="",o.name="",o.reason="",o.message="",o.stack="",o.fatal=null,o.column=null,o.line=null},"../node_modules/vfile/core.js":function(e,n,t){(function(n){var r=t("../node_modules/path-browserify/index.js"),o=t("../node_modules/replace-ext/index.js"),i=t("../node_modules/is-buffer/index.js");e.exports=VFile;var s={}.hasOwnProperty,u=VFile.prototype;u.toString=function toString(e){var n=this.contents||"";return i(n)?n.toString(e):String(n)};var a=["history","path","basename","stem","extname","dirname"];function VFile(e){var t,r,o;if(e){if("string"==typeof e||i(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof VFile))return new VFile(e);for(this.data={},this.messages=[],this.history=[],this.cwd=n.cwd(),r=-1,o=a.length;++r<o;)t=a[r],s.call(e,t)&&(this[t]=e[t]);for(t in e)-1===a.indexOf(t)&&(this[t]=e[t])}function assertPart(e,n){if(-1!==e.indexOf(r.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+r.sep+"`")}function assertNonEmpty(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function assertPath(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}Object.defineProperty(u,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){assertNonEmpty(e,"path"),e!==this.path&&this.history.push(e)}}),Object.defineProperty(u,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){assertPath(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(u,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(u,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){var n=e||"";if(assertPart(n,"extname"),assertPath(this.path,"extname"),n){if("."!==n.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==n.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=o(this.path,n)}}),Object.defineProperty(u,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})}).call(this,t("../node_modules/process/browser.js"))},"../node_modules/vfile/index.js":function(e,n,t){var r=t("../node_modules/vfile-message/index.js"),o=t("../node_modules/vfile/core.js");e.exports=o;var i=o.prototype;function message(e,n,t){var o=this.path,i=new r(e,n,t);return o&&(i.name=o+":"+i.name,i.file=o),i.fatal=!1,this.messages.push(i),i}i.message=message,i.info=function info(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.fail=function fail(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e},i.warn=message},"../node_modules/vnopts/lib/defaults.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/descriptors/api.js"),o=t("../node_modules/vnopts/lib/handlers/deprecated/common.js"),i=t("../node_modules/vnopts/lib/handlers/invalid/index.js"),s=t("../node_modules/vnopts/lib/handlers/unknown/leven.js");n.defaultDescriptor=r.apiDescriptor,n.defaultUnknownHandler=s.levenUnknownHandler,n.defaultInvalidHandler=i.commonInvalidHandler,n.defaultDeprecatedHandler=o.commonDeprecatedHandler},"../node_modules/vnopts/lib/descriptors/api.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),n.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(e=>n.apiDescriptor.value(e)).join(", ")}]`;const t=Object.keys(e);return 0===t.length?"{}":`{ ${t.map(t=>`${n.apiDescriptor.key(t)}: ${n.apiDescriptor.value(e[t])}`).join(", ")} }`},pair:({key:e,value:t})=>n.apiDescriptor.value({[e]:t})}},"../node_modules/vnopts/lib/descriptors/index.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),t("../node_modules/tslib/tslib.es6.js").__exportStar(t("../node_modules/vnopts/lib/descriptors/api.js"),n)},"../node_modules/vnopts/lib/handlers/deprecated/common.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/chalk/index.js");n.commonDeprecatedHandler=(e,n,{descriptor:t})=>{const o=[`${r.default.yellow("string"==typeof e?t.key(e):t.pair(e))} is deprecated`];return n&&o.push(`we now treat it as ${r.default.blue("string"==typeof n?t.key(n):t.pair(n))}`),o.join("; ")+"."}},"../node_modules/vnopts/lib/handlers/deprecated/index.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),t("../node_modules/tslib/tslib.es6.js").__exportStar(t("../node_modules/vnopts/lib/handlers/deprecated/common.js"),n)},"../node_modules/vnopts/lib/handlers/index.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/tslib/tslib.es6.js");r.__exportStar(t("../node_modules/vnopts/lib/handlers/deprecated/index.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/handlers/invalid/index.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/handlers/unknown/index.js"),n)},"../node_modules/vnopts/lib/handlers/invalid/common.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/chalk/index.js");n.commonInvalidHandler=(e,n,t)=>[`Invalid ${r.default.red(t.descriptor.key(e))} value.`,`Expected ${r.default.blue(t.schemas[e].expected(t))},`,`but received ${r.default.red(t.descriptor.value(n))}.`].join(" ")},"../node_modules/vnopts/lib/handlers/invalid/index.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),t("../node_modules/tslib/tslib.es6.js").__exportStar(t("../node_modules/vnopts/lib/handlers/invalid/common.js"),n)},"../node_modules/vnopts/lib/handlers/unknown/index.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),t("../node_modules/tslib/tslib.es6.js").__exportStar(t("../node_modules/vnopts/lib/handlers/unknown/leven.js"),n)},"../node_modules/vnopts/lib/handlers/unknown/leven.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/chalk/index.js"),o=t("../node_modules/leven/index.js");n.levenUnknownHandler=(e,n,{descriptor:t,logger:i,schemas:s})=>{const u=[`Ignored unknown option ${r.default.yellow(t.pair({key:e,value:n}))}.`],a=Object.keys(s).sort().find(n=>o(e,n)<3);a&&u.push(`Did you mean ${r.default.blue(t.key(a))}?`),i.warn(u.join(" "))}},"../node_modules/vnopts/lib/index.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/tslib/tslib.es6.js");r.__exportStar(t("../node_modules/vnopts/lib/descriptors/index.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/handlers/index.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schemas/index.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/normalize.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schema.js"),n)},"../node_modules/vnopts/lib/normalize.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/defaults.js"),o=t("../node_modules/vnopts/lib/utils.js");n.normalize=(e,n,t)=>new Normalizer(n,t).normalize(e);class Normalizer{constructor(e,n){const{logger:t=console,descriptor:i=r.defaultDescriptor,unknown:s=r.defaultUnknownHandler,invalid:u=r.defaultInvalidHandler,deprecated:a=r.defaultDeprecatedHandler}=n||{};this._utils={descriptor:i,logger:t||{warn:()=>{}},schemas:o.recordFromArray(e,"name"),normalizeDefaultResult:o.normalizeDefaultResult,normalizeDeprecatedResult:o.normalizeDeprecatedResult,normalizeForwardResult:o.normalizeForwardResult,normalizeRedirectResult:o.normalizeRedirectResult,normalizeValidateResult:o.normalizeValidateResult},this._unknownHandler=s,this._invalidHandler=u,this._deprecatedHandler=a,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=o.createAutoChecklist()}normalize(e){const n={},t=[e],applyNormalization=()=>{for(;0!==t.length;){const e=t.shift(),r=this._applyNormalization(e,n);t.push(...r)}};applyNormalization();for(const e of Object.keys(this._utils.schemas)){const r=this._utils.schemas[e];if(!(e in n)){const n=o.normalizeDefaultResult(r.default(this._utils));"value"in n&&t.push({[e]:n.value})}}applyNormalization();for(const e of Object.keys(this._utils.schemas)){const t=this._utils.schemas[e];e in n&&(n[e]=t.postprocess(n[e],this._utils))}return n}_applyNormalization(e,n){const t=[],[r,i]=o.partition(Object.keys(e),e=>e in this._utils.schemas);for(const i of r){const r=this._utils.schemas[i],s=r.preprocess(e[i],this._utils),u=o.normalizeValidateResult(r.validate(s,this._utils),s);if(!0!==u){const{value:e}=u,n=this._invalidHandler(i,e,this._utils);throw"string"==typeof n?new Error(n):n}const appendTransferredOptions=({from:e,to:n})=>{t.push("string"==typeof n?{[n]:e}:{[n.key]:n.value})},warnDeprecated=({value:e,redirectTo:n})=>{const t=o.normalizeDeprecatedResult(r.deprecated(e,this._utils),s,!0);if(!1!==t)if(!0===t)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,n,this._utils));else for(const{value:e}of t){const t={key:i,value:e};if(!this._hasDeprecationWarned(t)){const r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};o.normalizeForwardResult(r.forward(s,this._utils),s).forEach(appendTransferredOptions);const a=o.normalizeRedirectResult(r.redirect(s,this._utils),s);if(a.redirect.forEach(appendTransferredOptions),"remain"in a){const e=a.remain;n[i]=i in n?r.overlap(n[i],e,this._utils):e,warnDeprecated({value:e})}for(const{from:e,to:n}of a.redirect)warnDeprecated({value:e,redirectTo:n})}for(const r of i){const o=e[r],i=this._unknownHandler(r,o,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?t.push(r):Object.assign(n,r)}}return t}}n.Normalizer=Normalizer},"../node_modules/vnopts/lib/schema.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function createSchema(e,n){const t=new e(n),o=Object.create(t);for(const e of r)e in n&&(o[e]=normalizeHandler(n[e],t,Schema.prototype[e].length));return o}n.createSchema=createSchema;class Schema{constructor(e){this.name=e.name}static create(e){return createSchema(this,e)}default(e){}expected(e){return"nothing"}validate(e,n){return!1}deprecated(e,n){return!1}forward(e,n){}redirect(e,n){}overlap(e,n,t){return e}preprocess(e,n){return e}postprocess(e,n){return e}}function normalizeHandler(e,n,t){return"function"==typeof e?(...r)=>e(...r.slice(0,t-1),n,...r.slice(t-1)):()=>e}n.Schema=Schema},"../node_modules/vnopts/lib/schemas/alias.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/schema.js");class AliasSchema extends r.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,n){return n.schemas[this._sourceName].validate(e,n)}redirect(e,n){return this._sourceName}}n.AliasSchema=AliasSchema},"../node_modules/vnopts/lib/schemas/any.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/schema.js");class AnySchema extends r.Schema{expected(){return"anything"}validate(){return!0}}n.AnySchema=AnySchema},"../node_modules/vnopts/lib/schemas/array.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/tslib/tslib.es6.js"),o=t("../node_modules/vnopts/lib/schema.js");class ArraySchema extends o.Schema{constructor(e){var{valueSchema:n,name:t=n.name}=e,o=r.__rest(e,["valueSchema","name"]);super(Object.assign({},o,{name:t})),this._valueSchema=n}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,n){if(!Array.isArray(e))return!1;const t=[];for(const r of e){const e=n.normalizeValidateResult(this._valueSchema.validate(r,n),r);!0!==e&&t.push(e.value)}return 0===t.length||{value:t}}deprecated(e,n){const t=[];for(const r of e){const e=n.normalizeDeprecatedResult(this._valueSchema.deprecated(r,n),r);!1!==e&&t.push(...e.map(({value:e})=>({value:[e]})))}return t}forward(e,n){const t=[];for(const r of e){const e=n.normalizeForwardResult(this._valueSchema.forward(r,n),r);t.push(...e.map(wrapTransferResult))}return t}redirect(e,n){const t=[],r=[];for(const o of e){const e=n.normalizeRedirectResult(this._valueSchema.redirect(o,n),o);"remain"in e&&t.push(e.remain),r.push(...e.redirect.map(wrapTransferResult))}return 0===t.length?{redirect:r}:{redirect:r,remain:t}}overlap(e,n){return e.concat(n)}}function wrapTransferResult({from:e,to:n}){return{from:[e],to:n}}n.ArraySchema=ArraySchema},"../node_modules/vnopts/lib/schemas/boolean.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/schema.js");class BooleanSchema extends r.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}n.BooleanSchema=BooleanSchema},"../node_modules/vnopts/lib/schemas/choice.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/schema.js"),o=t("../node_modules/vnopts/lib/utils.js");class ChoiceSchema extends r.Schema{constructor(e){super(e),this._choices=o.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected({descriptor:e}){const n=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(o.comparePrimitive).map(e.value),t=n.slice(0,-2),r=n.slice(-2);return t.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const n=this._choices.get(e);return!(!n||!n.deprecated)&&{value:e}}forward(e){const n=this._choices.get(e);return n?n.forward:void 0}redirect(e){const n=this._choices.get(e);return n?n.redirect:void 0}}n.ChoiceSchema=ChoiceSchema},"../node_modules/vnopts/lib/schemas/index.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/tslib/tslib.es6.js");r.__exportStar(t("../node_modules/vnopts/lib/schemas/alias.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schemas/any.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schemas/array.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schemas/boolean.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schemas/choice.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schemas/integer.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schemas/number.js"),n),r.__exportStar(t("../node_modules/vnopts/lib/schemas/string.js"),n)},"../node_modules/vnopts/lib/schemas/integer.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/utils.js"),o=t("../node_modules/vnopts/lib/schemas/number.js");class IntegerSchema extends o.NumberSchema{expected(){return"an integer"}validate(e,n){return!0===n.normalizeValidateResult(super.validate(e,n),e)&&r.isInt(e)}}n.IntegerSchema=IntegerSchema},"../node_modules/vnopts/lib/schemas/number.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/schema.js");class NumberSchema extends r.Schema{expected(){return"a number"}validate(e,n){return"number"==typeof e}}n.NumberSchema=NumberSchema},"../node_modules/vnopts/lib/schemas/string.js":function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});const r=t("../node_modules/vnopts/lib/schema.js");class StringSchema extends r.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}n.StringSchema=StringSchema},"../node_modules/vnopts/lib/utils.js":function(e,n,t){function normalizeTransferResult(e,n){return"string"==typeof e||"key"in e?{from:n,to:e}:"from"in e?{from:e.from,to:e.to}:{from:n,to:e.to}}function normalizeForwardResult(e,n){return void 0===e?[]:Array.isArray(e)?e.map(e=>normalizeTransferResult(e,n)):[normalizeTransferResult(e,n)]}Object.defineProperty(n,"__esModule",{value:!0}),n.recordFromArray=function recordFromArray(e,n){const t=Object.create(null);for(const r of e){const e=r[n];if(t[e])throw new Error(`Duplicate ${n} ${JSON.stringify(e)}`);t[e]=r}return t},n.mapFromArray=function mapFromArray(e,n){const t=new Map;for(const r of e){const e=r[n];if(t.has(e))throw new Error(`Duplicate ${n} ${JSON.stringify(e)}`);t.set(e,r)}return t},n.createAutoChecklist=function createAutoChecklist(){const e=Object.create(null);return n=>{const t=JSON.stringify(n);return!!e[t]||(e[t]=!0,!1)}},n.partition=function partition(e,n){const t=[],r=[];for(const o of e)n(o)?t.push(o):r.push(o);return[t,r]},n.isInt=function isInt(e){return e===Math.floor(e)},n.comparePrimitive=function comparePrimitive(e,n){if(e===n)return 0;const t=typeof e,r=typeof n,o=["undefined","object","boolean","number","string"];return t!==r?o.indexOf(t)-o.indexOf(r):"string"!==t?Number(e)-Number(n):e.localeCompare(n)},n.normalizeDefaultResult=function normalizeDefaultResult(e){return void 0===e?{}:e},n.normalizeValidateResult=function normalizeValidateResult(e,n){return!0===e||(!1===e?{value:n}:e)},n.normalizeDeprecatedResult=function normalizeDeprecatedResult(e,n,t=!1){return!1!==e&&(!0===e?!!t||[{value:n}]:"value"in e?[e]:0!==e.length&&e)},n.normalizeTransferResult=normalizeTransferResult,n.normalizeForwardResult=normalizeForwardResult,n.normalizeRedirectResult=function normalizeRedirectResult(e,n){const t=normalizeForwardResult("object"==typeof e&&"redirect"in e?e.redirect:e,n);return 0===t.length?{remain:n,redirect:t}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:t}:{redirect:t}}},"../node_modules/x-is-string/index.js":function(e,n){var t=Object.prototype.toString;e.exports=function isString(e){return"[object String]"===t.call(e)}}}]);
//# sourceMappingURL=vendors~custom-page-KXWAf~pattern-view-page-WE7TE~0efdf0b8.chunk.eaa5497fb7f7db0479e3.js.map