UNPKG

@knapsack/app

Version:

Build Design Systems on top of knapsack, by Basalt

9 lines • 119 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~App-7KZ9F~propose-change-page-FI1f0~store-XBI5Y~user-page-DUsdt~4f420515"],{"../node_modules/graphql-tag/src/index.js":function(e,t,r){var n=r("../node_modules/graphql/language/parser.mjs").parse;function normalize(e){return e.replace(/[\s,]+/g," ").trim()}var i={},a={};var o=!0;var s=!1;function parseDocument(e){var t=normalize(e);if(i[t])return i[t];var r=n(e,{experimentalFragmentVariables:s});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");return r=function stripLoc(e,t){var r=Object.prototype.toString.call(e);if("[object Array]"===r)return e.map((function(e){return stripLoc(e,t)}));if("[object Object]"!==r)throw new Error("Unexpected input.");t&&e.loc&&delete e.loc,e.loc&&(delete e.loc.startToken,delete e.loc.endToken);var n,i,a,o=Object.keys(e);for(n in o)o.hasOwnProperty(n)&&(i=e[o[n]],"[object Object]"!==(a=Object.prototype.toString.call(i))&&"[object Array]"!==a||(e[o[n]]=stripLoc(i,!0)));return e}(r=function processFragments(e){for(var t,r={},n=[],i=0;i<e.definitions.length;i++){var s=e.definitions[i];if("FragmentDefinition"===s.kind){var c=s.name.value,u=normalize((t=s.loc).source.body.substring(t.start,t.end));a.hasOwnProperty(c)&&!a[c][u]?(o&&console.warn("Warning: fragment with name "+c+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"),a[c][u]=!0):a.hasOwnProperty(c)||(a[c]={},a[c][u]=!0),r[u]||(r[u]=!0,n.push(s))}else n.push(s)}return e.definitions=n,e}(r),!1),i[t]=r,r}function gql(){for(var e=Array.prototype.slice.call(arguments),t=e[0],r="string"==typeof t?t:t[0],n=1;n<e.length;n++)e[n]&&e[n].kind&&"Document"===e[n].kind?r+=e[n].loc.source.body:r+=e[n],r+=t[n];return parseDocument(r)}gql.default=gql,gql.resetCaches=function resetCaches(){i={},a={}},gql.disableFragmentWarnings=function disableFragmentWarnings(){o=!1},gql.enableExperimentalFragmentVariables=function enableExperimentalFragmentVariables(){s=!0},gql.disableExperimentalFragmentVariables=function disableExperimentalFragmentVariables(){s=!1},e.exports=gql},"../node_modules/graphql/jsutils/inspect.mjs":function(e,t,r){r.d(t,"a",(function(){return inspect}));var n=r("../node_modules/graphql/jsutils/nodejsCustomInspectSymbol.mjs");function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=10,a=2;function inspect(e){return formatValue(e,[])}function formatValue(e,t){switch(_typeof(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function formatObjectValue(e,t){if(-1!==t.indexOf(e))return"[Circular]";var r=[].concat(t,[e]),o=function getCustomFn(e){var t=e[String(n.a)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(void 0!==o){var s=o.call(e);if(s!==e)return"string"==typeof s?s:formatValue(s,r)}else if(Array.isArray(e))return function formatArray(e,t){if(0===e.length)return"[]";if(t.length>a)return"[Array]";for(var r=Math.min(i,e.length),n=e.length-r,o=[],s=0;s<r;++s)o.push(formatValue(e[s],t));1===n?o.push("... 1 more item"):n>1&&o.push("... ".concat(n," more items"));return"["+o.join(", ")+"]"}(e,r);return function formatObject(e,t){var r=Object.keys(e);if(0===r.length)return"{}";if(t.length>a)return"["+function getObjectTag(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]";return"{ "+r.map((function(r){return r+": "+formatValue(e[r],t)})).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}},"../node_modules/graphql/jsutils/nodejsCustomInspectSymbol.mjs":function(e,t,r){var n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=n},"../node_modules/graphql/language/blockString.mjs":function(e,t,r){function dedentBlockStringValue(e){var t=e.split(/\r\n|[\n\r]/g),r=function getBlockStringIndentation(e){for(var t=null,r=1;r<e.length;r++){var n=e[r],i=leadingWhitespace(n);if(i!==n.length&&((null===t||i<t)&&0===(t=i)))break}return null===t?0:t}(t);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(;t.length>0&&isBlank(t[0]);)t.shift();for(;t.length>0&&isBlank(t[t.length-1]);)t.pop();return t.join("\n")}function leadingWhitespace(e){for(var t=0;t<e.length&&(" "===e[t]||"\t"===e[t]);)t++;return t}function isBlank(e){return leadingWhitespace(e)===e.length}function printBlockString(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],a='"'===e[e.length-1],o=!n||a||r,s="";return!o||n&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,o&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}r.d(t,"a",(function(){return dedentBlockStringValue})),r.d(t,"b",(function(){return printBlockString}))},"../node_modules/graphql/language/parser.mjs":function(e,t,r){r.r(t),r.d(t,"parse",(function(){return parse})),r.d(t,"parseValue",(function(){return parseValue})),r.d(t,"parseType",(function(){return parseType}));var n=r("../node_modules/graphql/jsutils/inspect.mjs");function devAssert(e,t){if(!Boolean(e))throw new Error(t)}var i=r("../node_modules/graphql/jsutils/nodejsCustomInspectSymbol.mjs");function defineToJSON(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function getLocation(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,a=t+1;(r=n.exec(e.body))&&r.index<t;)i+=1,a=t+1-(r.index+r[0].length);return{line:i,column:a}}function printLocation(e){return printSourceLocation(e.source,getLocation(e.source,e.start))}function printSourceLocation(e,t){var r=e.locationOffset.column-1,n=whitespace(r)+e.body,i=t.line-1,a=e.locationOffset.line-1,o=t.line+a,s=1===t.line?r:0,c=t.column+s,u="".concat(e.name,":").concat(o,":").concat(c,"\n"),l=n.split(/\r\n|[\n\r]/g),f=l[i];if(f.length>120){for(var p=Math.floor(c/80),h=c%80,d=[],v=0;v<f.length;v+=80)d.push(f.slice(v,v+80));return u+printPrefixedLines([["".concat(o),d[0]]].concat(d.slice(1,p+1).map((function(e){return["",e]})),[[" ",whitespace(h-1)+"^"],["",d[p+1]]]))}return u+printPrefixedLines([["".concat(o-1),l[i-1]],["".concat(o),f],["",whitespace(c-1)+"^"],["".concat(o+1),l[i+1]]])}function printPrefixedLines(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),r=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t=e[0],n=e[1];return function lpad(e,t){return whitespace(e-t.length)+t}(r,t)+(n?" | "+n:" |")})).join("\n")}function whitespace(e){return Array(e+1).join(" ")}function GraphQLError(e,t,r,n,i,a,o){var s=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,c=r;if(!c&&s){var u=s[0];c=u&&u.loc&&u.loc.source}var l,f=n;!f&&s&&(f=s.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),f&&0===f.length&&(f=void 0),n&&r?l=n.map((function(e){return getLocation(r,e)})):s&&(l=s.reduce((function(e,t){return t.loc&&e.push(getLocation(t.loc.source,t.loc.start)),e}),[]));var p=o;if(null==p&&null!=a){var h=a.extensions;(function isObjectLike(e){return"object"==_typeof(e)&&null!==e})(h)&&(p=h)}Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:l||void 0,enumerable:Boolean(l)},path:{value:i||void 0,enumerable:Boolean(i)},nodes:{value:s||void 0},source:{value:c||void 0},positions:{value:f||void 0},originalError:{value:a},extensions:{value:p||void 0,enumerable:Boolean(p)}}),a&&a.stack?Object.defineProperty(this,"stack",{value:a.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,GraphQLError):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function syntaxError(e,t,r){return new GraphQLError("Syntax Error: ".concat(r),void 0,e,[t])}GraphQLError.prototype=Object.create(Error.prototype,{constructor:{value:GraphQLError},name:{value:"GraphQLError"},toString:{value:function toString(){return function printError(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var i=n[r];i.loc&&(t+="\n\n"+printLocation(i.loc))}else if(e.source&&e.locations)for(var a=0,o=e.locations;a<o.length;a++){var s=o[a];t+="\n\n"+printSourceLocation(e.source,s)}return t}(this)}}});var a=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});var o=function Source(e,t,r){this.body=e,this.name=t||"GraphQL request",this.locationOffset=r||{line:1,column:1},this.locationOffset.line>0||devAssert(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||devAssert(0,"column in locationOffset is 1-indexed and must be positive")};!function defineToStringTag(e){"function"==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function get(){return this.constructor.name}})}(o);var s=r("../node_modules/graphql/language/blockString.mjs"),c=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function advanceLexer(){return this.lastToken=this.token,this.token=this.lookahead()}function lookahead(){var e=this.token;if(e.kind!==c.EOF)do{e=e.next||(e.next=readToken(this,e))}while(e.kind===c.COMMENT);return e}function Tok(e,t,r,n,i,a,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=a,this.next=null}function printCharCode(e){return isNaN(e)?c.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function readToken(e,t){var r=e.source,n=r.body,i=n.length,a=function positionAfterWhitespace(e,t,r){var n=e.length,i=t;for(;i<n;){var a=e.charCodeAt(i);if(9===a||32===a||44===a||65279===a)++i;else if(10===a)++i,++r.line,r.lineStart=i;else{if(13!==a)break;10===e.charCodeAt(i+1)?i+=2:++i,++r.line,r.lineStart=i}}return i}(n,t.end,e),o=e.line,u=1+a-e.lineStart;if(a>=i)return new Tok(c.EOF,i,i,o,u,t);var l=n.charCodeAt(a);switch(l){case 33:return new Tok(c.BANG,a,a+1,o,u,t);case 35:return function readComment(e,t,r,n,i){var a,o=e.body,s=t;do{a=o.charCodeAt(++s)}while(!isNaN(a)&&(a>31||9===a));return new Tok(c.COMMENT,t,s,r,n,i,o.slice(t+1,s))}(r,a,o,u,t);case 36:return new Tok(c.DOLLAR,a,a+1,o,u,t);case 38:return new Tok(c.AMP,a,a+1,o,u,t);case 40:return new Tok(c.PAREN_L,a,a+1,o,u,t);case 41:return new Tok(c.PAREN_R,a,a+1,o,u,t);case 46:if(46===n.charCodeAt(a+1)&&46===n.charCodeAt(a+2))return new Tok(c.SPREAD,a,a+3,o,u,t);break;case 58:return new Tok(c.COLON,a,a+1,o,u,t);case 61:return new Tok(c.EQUALS,a,a+1,o,u,t);case 64:return new Tok(c.AT,a,a+1,o,u,t);case 91:return new Tok(c.BRACKET_L,a,a+1,o,u,t);case 93:return new Tok(c.BRACKET_R,a,a+1,o,u,t);case 123:return new Tok(c.BRACE_L,a,a+1,o,u,t);case 124:return new Tok(c.PIPE,a,a+1,o,u,t);case 125:return new Tok(c.BRACE_R,a,a+1,o,u,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function readName(e,t,r,n,i){var a=e.body,o=a.length,s=t+1,u=0;for(;s!==o&&!isNaN(u=a.charCodeAt(s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new Tok(c.NAME,t,s,r,n,i,a.slice(t,s))}(r,a,o,u,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function readNumber(e,t,r,n,i,a){var o=e.body,s=r,u=t,l=!1;45===s&&(s=o.charCodeAt(++u));if(48===s){if((s=o.charCodeAt(++u))>=48&&s<=57)throw syntaxError(e,u,"Invalid number, unexpected digit after 0: ".concat(printCharCode(s),"."))}else u=readDigits(e,u,s),s=o.charCodeAt(u);46===s&&(l=!0,s=o.charCodeAt(++u),u=readDigits(e,u,s),s=o.charCodeAt(u));69!==s&&101!==s||(l=!0,43!==(s=o.charCodeAt(++u))&&45!==s||(s=o.charCodeAt(++u)),u=readDigits(e,u,s),s=o.charCodeAt(u));if(46===s||69===s||101===s)throw syntaxError(e,u,"Invalid number, expected digit but got: ".concat(printCharCode(s),"."));return new Tok(l?c.FLOAT:c.INT,t,u,n,i,a,o.slice(t,u))}(r,a,l,o,u,t);case 34:return 34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)?function readBlockString(e,t,r,n,i,a){var o=e.body,u=t+3,l=u,f=0,p="";for(;u<o.length&&!isNaN(f=o.charCodeAt(u));){if(34===f&&34===o.charCodeAt(u+1)&&34===o.charCodeAt(u+2))return p+=o.slice(l,u),new Tok(c.BLOCK_STRING,t,u+3,r,n,i,Object(s.a)(p));if(f<32&&9!==f&&10!==f&&13!==f)throw syntaxError(e,u,"Invalid character within String: ".concat(printCharCode(f),"."));10===f?(++u,++a.line,a.lineStart=u):13===f?(10===o.charCodeAt(u+1)?u+=2:++u,++a.line,a.lineStart=u):92===f&&34===o.charCodeAt(u+1)&&34===o.charCodeAt(u+2)&&34===o.charCodeAt(u+3)?(p+=o.slice(l,u)+'"""',l=u+=4):++u}throw syntaxError(e,u,"Unterminated string.")}(r,a,o,u,t,e):function readString(e,t,r,n,i){var a=e.body,o=t+1,s=o,u=0,l="";for(;o<a.length&&!isNaN(u=a.charCodeAt(o))&&10!==u&&13!==u;){if(34===u)return l+=a.slice(s,o),new Tok(c.STRING,t,o+1,r,n,i,l);if(u<32&&9!==u)throw syntaxError(e,o,"Invalid character within String: ".concat(printCharCode(u),"."));if(++o,92===u){switch(l+=a.slice(s,o-1),u=a.charCodeAt(o)){case 34:l+='"';break;case 47:l+="/";break;case 92:l+="\\";break;case 98:l+="\b";break;case 102:l+="\f";break;case 110:l+="\n";break;case 114:l+="\r";break;case 116:l+="\t";break;case 117:var f=(h=a.charCodeAt(o+1),d=a.charCodeAt(o+2),v=a.charCodeAt(o+3),y=a.charCodeAt(o+4),char2hex(h)<<12|char2hex(d)<<8|char2hex(v)<<4|char2hex(y));if(f<0){var p=a.slice(o+1,o+5);throw syntaxError(e,o,"Invalid character escape sequence: \\u".concat(p,"."))}l+=String.fromCharCode(f),o+=4;break;default:throw syntaxError(e,o,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}++o,s=o}}var h,d,v,y;throw syntaxError(e,o,"Unterminated string.")}(r,a,o,u,t)}throw syntaxError(r,a,function unexpectedCharacterMessage(e){if(e<32&&9!==e&&10!==e&&13!==e)return"Cannot contain the invalid character ".concat(printCharCode(e),".");if(39===e)return"Unexpected single quote character ('), did you mean to use a double quote (\")?";return"Cannot parse the unexpected character ".concat(printCharCode(e),".")}(l))}function readDigits(e,t,r){var n=e.body,i=t,a=r;if(a>=48&&a<=57){do{a=n.charCodeAt(++i)}while(a>=48&&a<=57);return i}throw syntaxError(e,i,"Invalid number, expected digit but got: ".concat(printCharCode(a),"."))}function char2hex(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}defineToJSON(Tok,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}));var u=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function parse(e,t){return new l(e,t).parseDocument()}function parseValue(e,t){var r=new l(e,t);r.expectToken(c.SOF);var n=r.parseValueLiteral(!1);return r.expectToken(c.EOF),n}function parseType(e,t){var r=new l(e,t);r.expectToken(c.SOF);var n=r.parseTypeReference();return r.expectToken(c.EOF),n}var l=function(){function Parser(e,t){var r="string"==typeof e?new o(e):e;r instanceof o||devAssert(0,"Must provide Source. Received: ".concat(Object(n.a)(r))),this._lexer=function createLexer(e,t){var r=new Tok(c.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:r,token:r,line:1,lineStart:0,advance:advanceLexer,lookahead:lookahead}}(r),this._options=t||{}}var e=Parser.prototype;return e.parseName=function parseName(){var e=this.expectToken(c.NAME);return{kind:a.NAME,value:e.value,loc:this.loc(e)}},e.parseDocument=function parseDocument(){var e=this._lexer.token;return{kind:a.DOCUMENT,definitions:this.many(c.SOF,this.parseDefinition,c.EOF),loc:this.loc(e)}},e.parseDefinition=function parseDefinition(){if(this.peek(c.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(c.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},e.parseOperationDefinition=function parseOperationDefinition(){var e=this._lexer.token;if(this.peek(c.BRACE_L))return{kind:a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,r=this.parseOperationType();return this.peek(c.NAME)&&(t=this.parseName()),{kind:a.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},e.parseOperationType=function parseOperationType(){var e=this.expectToken(c.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},e.parseVariableDefinitions=function parseVariableDefinitions(){return this.optionalMany(c.PAREN_L,this.parseVariableDefinition,c.PAREN_R)},e.parseVariableDefinition=function parseVariableDefinition(){var e=this._lexer.token;return{kind:a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(c.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(c.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},e.parseVariable=function parseVariable(){var e=this._lexer.token;return this.expectToken(c.DOLLAR),{kind:a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},e.parseSelectionSet=function parseSelectionSet(){var e=this._lexer.token;return{kind:a.SELECTION_SET,selections:this.many(c.BRACE_L,this.parseSelection,c.BRACE_R),loc:this.loc(e)}},e.parseSelection=function parseSelection(){return this.peek(c.SPREAD)?this.parseFragment():this.parseField()},e.parseField=function parseField(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(c.COLON)?(e=n,t=this.parseName()):t=n,{kind:a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(c.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},e.parseArguments=function parseArguments(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(c.PAREN_L,t,c.PAREN_R)},e.parseArgument=function parseArgument(){var e=this._lexer.token,t=this.parseName();return this.expectToken(c.COLON),{kind:a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},e.parseConstArgument=function parseConstArgument(){var e=this._lexer.token;return{kind:a.ARGUMENT,name:this.parseName(),value:(this.expectToken(c.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},e.parseFragment=function parseFragment(){var e=this._lexer.token;this.expectToken(c.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(c.NAME)?{kind:a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},e.parseFragmentDefinition=function parseFragmentDefinition(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},e.parseFragmentName=function parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},e.parseValueLiteral=function parseValueLiteral(e){var t=this._lexer.token;switch(t.kind){case c.BRACKET_L:return this.parseList(e);case c.BRACE_L:return this.parseObject(e);case c.INT:return this._lexer.advance(),{kind:a.INT,value:t.value,loc:this.loc(t)};case c.FLOAT:return this._lexer.advance(),{kind:a.FLOAT,value:t.value,loc:this.loc(t)};case c.STRING:case c.BLOCK_STRING:return this.parseStringLiteral();case c.NAME:return"true"===t.value||"false"===t.value?(this._lexer.advance(),{kind:a.BOOLEAN,value:"true"===t.value,loc:this.loc(t)}):"null"===t.value?(this._lexer.advance(),{kind:a.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:a.ENUM,value:t.value,loc:this.loc(t)});case c.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},e.parseStringLiteral=function parseStringLiteral(){var e=this._lexer.token;return this._lexer.advance(),{kind:a.STRING,value:e.value,block:e.kind===c.BLOCK_STRING,loc:this.loc(e)}},e.parseList=function parseList(e){var t=this,r=this._lexer.token;return{kind:a.LIST,values:this.any(c.BRACKET_L,(function item(){return t.parseValueLiteral(e)}),c.BRACKET_R),loc:this.loc(r)}},e.parseObject=function parseObject(e){var t=this,r=this._lexer.token;return{kind:a.OBJECT,fields:this.any(c.BRACE_L,(function item(){return t.parseObjectField(e)}),c.BRACE_R),loc:this.loc(r)}},e.parseObjectField=function parseObjectField(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(c.COLON),{kind:a.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},e.parseDirectives=function parseDirectives(e){for(var t=[];this.peek(c.AT);)t.push(this.parseDirective(e));return t},e.parseDirective=function parseDirective(e){var t=this._lexer.token;return this.expectToken(c.AT),{kind:a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},e.parseTypeReference=function parseTypeReference(){var e,t=this._lexer.token;return this.expectOptionalToken(c.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(c.BRACKET_R),e={kind:a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(c.BANG)?{kind:a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},e.parseNamedType=function parseNamedType(){var e=this._lexer.token;return{kind:a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},e.parseTypeSystemDefinition=function parseTypeSystemDefinition(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===c.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},e.peekDescription=function peekDescription(){return this.peek(c.STRING)||this.peek(c.BLOCK_STRING)},e.parseDescription=function parseDescription(){if(this.peekDescription())return this.parseStringLiteral()},e.parseSchemaDefinition=function parseSchemaDefinition(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.many(c.BRACE_L,this.parseOperationTypeDefinition,c.BRACE_R);return{kind:a.SCHEMA_DEFINITION,directives:t,operationTypes:r,loc:this.loc(e)}},e.parseOperationTypeDefinition=function parseOperationTypeDefinition(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(c.COLON);var r=this.parseNamedType();return{kind:a.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},e.parseScalarTypeDefinition=function parseScalarTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:a.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},e.parseObjectTypeDefinition=function parseObjectTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:a.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},e.parseImplementsInterfaces=function parseImplementsInterfaces(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(c.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(c.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(c.NAME))}return e},e.parseFieldsDefinition=function parseFieldsDefinition(){return this._options.allowLegacySDLEmptyFields&&this.peek(c.BRACE_L)&&this._lexer.lookahead().kind===c.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(c.BRACE_L,this.parseFieldDefinition,c.BRACE_R)},e.parseFieldDefinition=function parseFieldDefinition(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(c.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:a.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o,loc:this.loc(e)}},e.parseArgumentDefs=function parseArgumentDefs(){return this.optionalMany(c.PAREN_L,this.parseInputValueDef,c.PAREN_R)},e.parseInputValueDef=function parseInputValueDef(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(c.COLON);var n,i=this.parseTypeReference();this.expectOptionalToken(c.EQUALS)&&(n=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:a.INPUT_VALUE_DEFINITION,description:t,name:r,type:i,defaultValue:n,directives:o,loc:this.loc(e)}},e.parseInterfaceTypeDefinition=function parseInterfaceTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:a.INTERFACE_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},e.parseUnionTypeDefinition=function parseUnionTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:a.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i,loc:this.loc(e)}},e.parseUnionMemberTypes=function parseUnionMemberTypes(){var e=[];if(this.expectOptionalToken(c.EQUALS)){this.expectOptionalToken(c.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(c.PIPE))}return e},e.parseEnumTypeDefinition=function parseEnumTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:a.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i,loc:this.loc(e)}},e.parseEnumValuesDefinition=function parseEnumValuesDefinition(){return this.optionalMany(c.BRACE_L,this.parseEnumValueDefinition,c.BRACE_R)},e.parseEnumValueDefinition=function parseEnumValueDefinition(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:a.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},e.parseInputObjectTypeDefinition=function parseInputObjectTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},e.parseInputFieldsDefinition=function parseInputFieldsDefinition(){return this.optionalMany(c.BRACE_L,this.parseInputValueDef,c.BRACE_R)},e.parseTypeSystemExtension=function parseTypeSystemExtension(){var e=this._lexer.lookahead();if(e.kind===c.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},e.parseSchemaExtension=function parseSchemaExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(c.BRACE_L,this.parseOperationTypeDefinition,c.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:a.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},e.parseScalarTypeExtension=function parseScalarTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:a.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},e.parseObjectTypeExtension=function parseObjectTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:a.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},e.parseInterfaceTypeExtension=function parseInterfaceTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:a.INTERFACE_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},e.parseUnionTypeExtension=function parseUnionTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:a.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},e.parseEnumTypeExtension=function parseEnumTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:a.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},e.parseInputObjectTypeExtension=function parseInputObjectTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},e.parseDirectiveDefinition=function parseDirectiveDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(c.AT);var r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:a.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o,loc:this.loc(e)}},e.parseDirectiveLocations=function parseDirectiveLocations(){this.expectOptionalToken(c.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(c.PIPE));return e},e.parseDirectiveLocation=function parseDirectiveLocation(){var e=this._lexer.token,t=this.parseName();if(void 0!==u[t.value])return t;throw this.unexpected(e)},e.loc=function loc(e){if(!this._options.noLocation)return new Loc(e,this._lexer.lastToken,this._lexer.source)},e.peek=function peek(e){return this._lexer.token.kind===e},e.expectToken=function expectToken(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw syntaxError(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(getTokenDesc(t)))},e.expectOptionalToken=function expectOptionalToken(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},e.expectKeyword=function expectKeyword(e){var t=this._lexer.token;if(t.kind!==c.NAME||t.value!==e)throw syntaxError(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(getTokenDesc(t)));this._lexer.advance()},e.expectOptionalKeyword=function expectOptionalKeyword(e){var t=this._lexer.token;return t.kind===c.NAME&&t.value===e&&(this._lexer.advance(),!0)},e.unexpected=function unexpected(e){var t=e||this._lexer.token;return syntaxError(this._lexer.source,t.start,"Unexpected ".concat(getTokenDesc(t)))},e.any=function any(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},e.optionalMany=function optionalMany(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},e.many=function many(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},Parser}();function Loc(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}function getTokenDesc(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}defineToJSON(Loc,(function(){return{start:this.start,end:this.end}}))},"../node_modules/has/src/index.js":function(e,t,r){var n=r("../node_modules/function-bind/index.js");e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},"../node_modules/ieee754/index.js":function(e,t){t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,p=r?-1:1,h=e[t+f];for(f+=p,a=h&(1<<-l)-1,h>>=-l,l+=s;l>0;a=256*a+e[t+f],f+=p,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=n;l>0;o=256*o+e[t+f],f+=p,l-=8);if(0===a)a=1-u;else{if(a===c)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=u}return(h?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,c,u=8*a-i-1,l=(1<<u)-1,f=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,d=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+f>=1?p/c:p*Math.pow(2,1-f))*c>=2&&(o++,c/=2),o+f>=l?(s=0,o=l):o+f>=1?(s=(t*c-1)*Math.pow(2,i),o+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;e[r+h]=255&s,h+=d,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+h]=255&o,h+=d,o/=256,u-=8);e[r+h-d]|=128*v}},"../node_modules/immer/dist/immer.module.js":function(e,t,r){(function(e){var r,n="undefined"!=typeof Symbol?Symbol("immer-nothing"):((r={})["immer-nothing"]=!0,r),i="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("immer-draftable"):"__$immer_draftable",a="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("immer-state"):"__$immer_state";function isDraft(e){return!!e&&!!e[a]}function isDraftable(e){return!!e&&(function isPlainObject(e){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return!0;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}(e)||!!e[i]||!!e.constructor[i]||isMap(e)||isSet(e))}function original(e){if(e&&e[a])return e[a].base}var o=Object.assign||function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return t.forEach((function(t){return Object.keys(t).forEach((function(r){return e[r]=t[r]}))})),e},s="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function shallowCopy(e,t){if(void 0===t&&(t=!1),Array.isArray(e))return e.slice();if(isMap(e))return new Map(e);if(isSet(e))return new Set(e);var r=Object.create(Object.getPrototypeOf(e));return s(e).forEach((function(n){if(n!==a){var i=Object.getOwnPropertyDescriptor(e,n),o=i.value;if(i.get){if(!t)throw new Error("Immer drafts cannot have computed properties");o=i.get.call(e)}i.enumerable?r[n]=o:Object.defineProperty(r,n,{value:o,writable:!0,configurable:!0})}})),r}function each(e,t){Array.isArray(e)||isMap(e)||isSet(e)?e.forEach((function(r,n){return t(n,r,e)})):s(e).forEach((function(r){return t(r,e[r],e)}))}function isEnumerable(e,t){var r=Object.getOwnPropertyDescriptor(e,t);return!!r&&r.enumerable}function has(e,t){return isMap(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function get(e,t){return isMap(e)?e.get(t):e[t]}function is(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}var c="undefined"!=typeof Symbol,u="undefined"!=typeof Map;function isMap(e){return u&&e instanceof Map}var l="undefined"!=typeof Set;function isSet(e){return l&&e instanceof Set}function makeIterable(e){var t,r;return(t={})[Symbol.iterator]=function(){return r},t.next=e,r=t}function iterateMapValues(e,t,r){var n="values"!==t;return function(){var t=latest(e)[Symbol.iterator]();return makeIterable((function(){var e=t.next();if(!e.done){var i=e.value[0],a=r.get(i);e.value=n?[i,a]:a}return e}))}}function makeIterateSetValues(e){return function iterateSetValues(t,r){var n="entries"===r;return function(){var r=latest(t)[Symbol.iterator]();return makeIterable((function(){var i=r.next();if(!i.done){var a=function wrapSetValue(t,r){var n=original(r)||r,i=t.drafts.get(n);if(!i){if(t.finalized||!isDraftable(r)||t.finalizing)return r;i=e(r,t),t.drafts.set(n,i),t.modified&&t.copy.add(i)}return i}(t,i.value);i.value=n?[a,a]:a}return i}))}}}function latest(e){return e.copy||e.base}function clone(e){if(!isDraftable(e))return e;if(Array.isArray(e))return e.map(clone);if(isMap(e))return new Map(e);if(isSet(e))return new Set(e);var t=Object.create(Object.getPrototypeOf(e));for(var r in e)t[r]=clone(e[r]);return t}function freeze(e,t){void 0===t&&(t=!1),!isDraftable(e)||isDraft(e)||Object.isFrozen(e)||(isSet(e)?e.add=e.clear=e.delete=dontMutateFrozenCollections:isMap(e)&&(e.set=e.clear=e.delete=dontMutateFrozenCollections),Object.freeze(e),t&&each(e,(function(e,t){return freeze(t,!0)})))}function dontMutateFrozenCollections(){throw new Error("This object has been frozen and should not be mutated")}var f=function ImmerScope(e){this.drafts=[],this.parent=e,this.canAutoFreeze=!0,this.patches=null};function revoke(e){e[a].revoke()}function createProxy(e,t){var r=Array.isArray(e),n=clonePotentialDraft(e);isMap(e)?function proxyMap(e){Object.defineProperties(e,h),c&&Object.defineProperty(e,Symbol.iterator,proxyMethod(iterateMapValues))}(n):isSet(e)?function proxySet(e){Object.defineProperties(e,v),c&&Object.defineProperty(e,Symbol.iterator,proxyMethod(d))}(n):each(n,(function(t){!function proxyProperty(e,t,r){var n=p[t];n?n.enumerable=r:p[t]=n={configurable:!0,enumerable:r,get:function get$1$1(){return function get$1(e,t){assertUnrevoked(e);var r=peek(latest$1(e),t);if(e.finalizing)return r;if(r===peek(e.base,t)&&isDraftable(r))return prepareCopy(e),e.copy[t]=createProxy(r,e);return r}(this[a],t)},set:function set$1(e){!function set(e,t,r){if(assertUnrevoked(e),e.assigned[t]=!0,!e.modified){if(is(r,peek(latest$1(e),t)))return;markChanged(e),prepareCopy(e)}e.copy[t]=r}(this[a],t,e)}};Object.defineProperty(e,t,n)}(n,t,r||isEnumerable(e,t))}));var i=t?t.scope:f.current,o={scope:i,modified:!1,finalizing:!1,finalized:!1,assigned:isMap(e)?new Map:{},parent:t,base:e,draft:n,drafts:isSet(e)?new Map:null,copy:null,revoke:revoke$1,revoked:!1};return function createHiddenProperty(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0})}(n,a,o),i.drafts.push(n),n}function revoke$1(){this.revoked=!0}function latest$1(e){return e.copy||e.base}function peek(e,t){var r=e[a];if(r&&!r.finalizing){r.finalizing=!0;var n=e[t];return r.finalizing=!1,n}return e[t]}function markChanged(e){e.modified||(e.modified=!0,e.parent&&markChanged(e.parent))}function prepareCopy(e){e.copy||(e.copy=clonePotentialDraft(e.base))}function clonePotentialDraft(e){var t=e&&e[a];if(t){t.finalizing=!0;var r=shallowCopy(t.draft,!0);return t.finalizing=!1,r}return shallowCopy(e)}f.prototype.usePatches=function usePatches(e){e&&(this.patches=[],this.inversePatches=[],this.patchListener=e)},f.prototype.revoke=function revoke$1(){this.leave(),this.drafts.forEach(revoke),this.drafts=null},f.prototype.leave=function leave(){this===f.current&&(f.current=this.parent)},f.current=null,f.enter=function(){return this.current=new f(this.current)};var p={};var h=finalizeTraps({size:function(e){return latest$1(e).size},has:function(e){return function(t){return latest$1(e).has(t)}},set:function(e){return function(t,r){return latest$1(e).get(t)!==r&&(prepareCopy(e),markChanged(e),e.assigned.set(t,!0),e.copy.set(t,r)),e.draft}},delete:function(e){return function(t){return prepareCopy(e),markChanged(e),e.assigned.set(t,!1),e.copy.delete(t),!1}},clear:function(e){return function(){e.copy||prepareCopy(e),markChanged(e),e.assigned=new Map;for(var t=0,r=latest$1(e).keys();t<r.length;t+=1){var n=r[t];e.assigned.set(n,!1)}return e.copy.clear()}},forEach:function(e,t,r){return function(t){latest$1(e).forEach((function(e,n,i){t(r.get(n),n,i)}))}},get:function(e){return function(t){var r=latest$1(e).get(t);if(e.finalizing||e.finalized||!isDraftable(r))return r;if(r!==e.base.get(t))return r;var n=createProxy(r,e);return prepareCopy(e),e.copy.set(t,n),n}},keys:function(e){return function(){return latest$1(e).keys()}},values:iterateMapValues,entries:iterateMapValues});var d=makeIterateSetValues(createProxy),v=finalizeTraps({size:function(e){return latest$1(e).size},add:function(e){return function(t){return latest$1(e).has(t)||(markChanged(e),e.copy||prepareCopy(e),e.copy.add(t)),e.draft}},delete:function(e){return function(t){return markChanged(e),e.copy||prepareCopy(e),e.copy.delete(t)}},has:function(e){return function(t){return latest$1(e).has(t)}},clear:function(e){return function(){return markChanged(e),e.copy||prepareCopy(e),e.copy.clear()}},keys:d,entries:d,values:d,forEach:function(e){return function(t,r){for(var n=d(e)(),i=n.next();!i.done;)t.call(r,i.value,i.value,e.draft),i=n.next()}}});function finalizeTraps(e){return Object.keys(e).reduce((function(t,r){var n="size"===r?proxyAttr:proxyMethod;return t[r]=n(e[r],r),t}),{})}function proxyAttr(e){return{get:function get(){var t=this[a];return assertUnrevoked(t),e(t)}}}function proxyMethod(e,t){return{get:function get(){return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];var i=this[a];return assertUnrevoked(i),e(i,t,i.draft).apply(void 0,r)}}}}function assertUnrevoked(e){if(!0===e.revoked)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(latest$1(e)))}function markChangesSweep(e){for(var t=e.length-1;t>=0;t--){var r=e[t][a];r.modified||(Array.isArray(r.base)?hasArrayChanges(r)&&markChanged(r):isMap(r.base)?hasMapChanges(r)&&markChanged(r):isSet(r.base)?hasSetChanges(r)&&markChanged(r):hasObjectChanges(r)&&markChanged(r))}}function hasObjectChanges(e){for(var t=e.base,r=e.draft,n=Object.keys(r),i=n.length-1;i>=0;i--){var o=n[i],s=t[o];if(void 0===s&&!has(t,o))return!0;var c=r[o],u=c&&c[a];if(u?u.base!==s:!is(c,s))return!0}return n.length!==Object.keys(t).length}function hasArrayChanges(e){var t=e.draft;if(t.length!==e.base.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!r||r.get)}function hasMapChanges(e){var t=e.base,r=e.draft;if(t.size!==r.size)return!0;var n=!1;return r.forEach((function(e,r){n||(n=isDraftable(e)?e.modified:e!==t.get(r))})),n}function hasSetChanges(e){var t=e.base,r=e.draft;if(t.size!==r.size)return!0;var n=!1;return r.forEach((function(e,r){n||(n=isDraftable(e)?e.modified:!t.has(r))})),n}var y,_,g=Object.freeze({willFinalize:function willFinalize(e,t,r){e.drafts.forEach((function(e){e[a].finalizing=!0})),r?isDraft(t)&&t[a].scope===e&&markChangesSweep(e.drafts):(e.patches&&function markChangesRecursively(e){if(!e||"object"!=typeof e)return;var t=e[a];if(!t)return;var r=t.base,n=t.draft,i=t.assigned;if(Array.isArray(e)){if(hasArrayChanges(t)){if(markChanged(t),i.length=!0,n.length<r.length)for(var o=n.length;o<r.length;o++)i[o]=!1;else for(var s=r.length;s<n.length;s++)i[s]=!0;for(var c=0;c<n.length;c++)void 0===i[c]&&markChangesRecursively(n[c])}}else Object.keys(n).forEach((function(e){void 0!==r[e]||has(r,e)?i[e]||markChangesRecursively(n[e]):(i[e]=!0,markChanged(t))})),Object.keys(r).forEach((function(e){void 0!==n[e]||has(n,e)||(i[e]=!1,markChanged(t))}))}(e.drafts[0]),markChangesSweep(e.drafts))},createProxy:createProxy});function createProxy$1(e,t){var r=t?t.scope:f.current,n={scope:r,modified:!1,finalized:!1,assigned:{},parent:t,base:e,draft:null,drafts:{},copy:null,revoke:null},i=n,a=m;Array.isArray(e)?(i=[n],a=b):isMap(e)?(a=k,n.drafts=new Map,n.assigned=new Map):isSet(e)&&(a=x,n.drafts=new Map);var o=Proxy.revocable(i,a),s=o.revoke,c=o.proxy;return n.draft=c,n.revoke=s,r.drafts.push(c),c}var m={get:function get(e,t){if(t===a)return e;var r=e.drafts;if(!e.modified&&has(r,t))return r[t];var n=latest$2(e)[t];if(e.finalized||!isDraftable(n))return n;if(e.modified){if(n!==peek$1(e.base,t))return n;r=e.copy}return r[t]=createProxy$1(n,e)},has:function has(e,t){return t in latest$2(e)},ownKeys:function ownKeys(e){return Reflect.ownKeys(latest$2(e))},set:function set(e,t,r){if(!e.modified){var n=peek$1(e.base,t);if(r?is(n,r)||r===e.drafts[t]:is(n,r)&&t in e.base)return!0;markChanged$1(e)}return e.assigned[t]=!0,e.copy[t]=r,!0},deleteProperty:function deleteProperty(e,t){return void 0!==peek$1(e.base,t)||t in e.base?(e.assigned[t]=!1,markChanged$1(e)):e.assigned[t]&&delete e.assigned[t],e.copy&&delete e.copy[t],!0},getOwnPropertyDescriptor:function getOwnPropertyDescriptor(e,t){var r=latest$2(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&(n.writable=!0,n.configurable=!Array.isArray(r)||"length"!==t),n},defineProperty:function defineProperty(){throw new Error("Object.defineProperty() cannot be used on an Immer draft")},getPrototypeOf:function getPrototypeOf(e){return Object.getPrototypeOf(e.base)},setPrototypeOf:function setPrototypeOf(){throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft")}},b={};each(m,(function(e,t){b[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),b.deleteProperty=function(e,t){if(isNaN(parseInt(t)))throw new Error("Immer only supports deleting array indices");return m.deleteProperty.call(this,e[0],t)},b.set=function(e,t,r){if("length"!==t&&isNaN(parseInt(t)))throw new Error("Immer only supports setting array indices and the 'length' property");return m.set.call(this,e[0],t,r)};var E=function makeReflectTraps(e){return e.reduce((function(e,t){return e[t]=function(e){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return Reflect[t].apply(Reflect,[latest$2(e)].concat(r))},e}),{})}(["ownKeys","has","set","deleteProperty","defineProperty","getOwnPropertyDescriptor","preventExtensions","isExtensible","getPrototypeOf"]),k=makeTrapsForGetters(((y={})[a]=function(e){return e},y.size=function(e){return latest$2(e).size},y.has=function(e){return function(t){return latest$2(e).has(t)}},y.set=function(e){return function(t,r){var n=latest$2(e);return n.has(t)&&n.get(t)===r||(markChanged$1(e),e.assigned.set(t,!0),e.copy.set(t,r)),e.draft}},y.delete=function(e){return function(t){return!!latest$2(e).has(t)&&(markChanged$1(e),e.assigned.set(t,!1),e.copy.delete(t))}},y.clear=function(e){return function(){markChanged$1(e),e.assigned=new Map;for(var t=0,r=latest$2(e).keys();t<r.length;t+=1){var n=r[t];e.assigned.set(n,!1)}return e.copy.clear()}},y.forEach=function(e,t,r){return function(t,n){return latest$2(e).forEach((function(e,i,a){var o=r.get(i);t.call(n,o,i,a)}))}},y.get=function(e){return function(t){var r=e[e.modified?"copy":"drafts"];if(r.has(t))return r.get(t);var n=latest$2(e).get(t);if(e.finalized||!isDraftable(n))return n;var i=createProxy$1(n,e);return r.set(t,i),i}},y.keys=function(e){return function(){return latest$2(e).keys()}},y.values=iterateMapValues,y.entries=iterateMapValues,y[c?Symbol.iterator:"@@iterator"]=iterateMapValues,y)),T=makeIterateSetValues(createProxy$1),x=makeTrapsForGetters(((_={})[a]=function(e){return e},_.size=function(e){return latest$2(e).size},_.has=function(e){return function(t){return latest$2(e).has(t)}},_.add=function(e){return function(t){return latest$2(e).has(t)||(markChanged$1(e),e.copy.add(t)),e.draft}},_.delete=function(e){return function(t){return markChanged$1(e),e.copy.delete(t)}},_.clear=function(e){return function(){return markChanged$1(e),e.copy.clear()}},_.forEach=function(e){return function(t,r){for(var n=T(e)(),i=n.next();!i.done;)t.call(r,i.value,i.value,e.draft),i=n.next()}},_.keys=T,_.values=T,_.entries=T,_[c?Symbol.iterator:"@@iterator"]=T,_));function latest$2(e){return e.copy||e.base}function peek$1(e,t){var r=e[a],n=Reflect.getOwnPropertyDescriptor(r?latest$2(r):e,t);return n&&n.value}function markChanged$1(e){if(!e.modified){e.modified=!0;var t=e.base,r=e.drafts,n=e.parent,i=shallowCopy(t);isSet(t)?function assignSet(e,t){return t.forEach((function(t){var r=original(t);r&&e.delete(r),e.add(t)})),e}(i,r):(isMap(t)?function assignMap(e,t){return t.forEach((function(t,r){return e.set(r,t)})),e}(i,r):o(i,r),e.drafts=null),e.copy=i,n&&markChanged$1(n)}}function makeTrapsForGetters(e){return Object.assign({},E,{get:function get(t,r,n){return e.hasOwnProperty(r)?e[r](t,r,n):Reflect.get(t,r,n)},setPrototypeOf:function setPrototypeOf(e){throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft")}})}var w=Object.freeze({willFinalize:function willFinalize$1(){},createProxy:createProxy$1});function generateArrayPatches(e,t,r,n){var i,a,o=e.base,s=e.copy,c=e.assigned;s.length<o.length&&(o=(i=[s,o])[0],s=i[1],r=(a=[n,r])[0],n=a[1]);for(var u=s.length-o.length,l=0;o[l]===s[l]&&l<o.length;)++l;for(var f=o.length;f>l&&o[f-1]===s[f+u-1];)--f;for(var p=l;p<f;++p)if(c[p]&&s[p]!==o[p]){var h=t.concat([p]);r.push({op:"replace",path:h,value:s[p]}),n.push({op:"replace",path:h,value:o[p]})}for(var d=r.length,v=f+u-1;v>=f;--v){var y=t.concat([v]);r[d+v-f]={op:"add",path:y,value:s[v]},n.push({op:"remove",path:y})}}function generatePatchesFromAssigned(e,t,r,n){var i=e.base,a=e.copy;each(e.assigned,(function(e,o){var s=get(i,e),c=get(a,e),u=o?has(i,e)?"replace":"add":"remove";if(s!==c||"replace"!==u){var l=t.concat(e);r.push("remove"===u?{op:u,path:l}:{op:u,path:l,value:c}),n.push("add"===u?{op:"remove",path:l}:"remove"===u?{op:"add",path:l,value:s}:{op:"replace",path:l,value:s})}}))}function generateSetPatches(e,t,r,n){for(var i=e.base,a=e.copy,o=0,s=0,c=i;s<c.length;s+=1){var u=c[s];if(!a.has(u)){var l=t.concat([o]);r.push({op:"remove",path:l,value:u}),n.unshift({op:"add",path:l,value:u})}o++}o=0;for(var f=0,p=a;f<p.length;f+=1){var h=p[f];if(!i.has(h)){var d=t.concat([o]);r.push({op:"add",path:d,value:h}),n.unshift({op:"remove",path:d,value:h})}o++}}var applyPatches=function(e,t){for(var r=0,n=t;r<n.length;r+=1){var i=n[r],a=i.path,o=i.op;if(!a.length)throw new Error("Illegal state");for(var s=e,c=0;c<a.length-1;c++)if(!(s=get(s,a[c]))||"object"!=typeof s)throw new Error("Cannot apply patch, path doesn't resolve: "+a.join("/"));var u=clone(i.value),l=a[a.length-1];switch(o){case"replace":if(isMap(s))s.set(l,u);else{if(isSet(s))throw new Error('Sets cannot have "replace" patches.');s[l]=u}break;case"add":isSet(s)&&s.delete(i.value),Array.isArray(s)?s.splice(l,0,u):isMap(s)?s.set(l,u):isSet(s)?s.add(u):s[l]=u;break;case"remove":Array.isArray(s)?s.splice(l,1):isMap(s)?s.delete(l):isSet(s)?s.delete(i.value):delete s[l];break;default:throw new Error("Unsupported patch operation: "+o)}}return e};var O={useProxies:"undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,autoFreeze:void 0===e&&"verifyMinified"===function verifyMinified(){}.name,onAssign:null,onDelete:null,onCopy:null},S=function Immer(e){o(this,O,e),this.setUseProxies(this.useProxies),this.produce=this.produce.bind(this),this.produceWithPatches=this.produceWithPatches.bind(this)};S.prototype.produce=function produce(e,t,r){var i,a=this;if("function"==typeof e&&"function"!=typeof t){var o=t;t=e;var s=this;return function curriedProduce(e){var r=this;void 0===e&&(e=o);for(var n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return s.produce(e,(function(e){return t.call.apply(t,[r,e].concat(n))}))}}if("function"!=typeof t)throw new Error("The first or second argument to `produce` must be a function");if(void 0!==r&&"function"!=typeof r)throw new Error("The third argument to `produce` must be a function or undefined");if(isDraftable(e)){var c=f.enter(),u=this.createProxy(e),l=!0;try{i=t(u),l=!1}finally{l?c.revoke():c.leave()}return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return c.usePatches(r),a.processResult(e,c)}),(function(e){throw c.revoke(),e})):(c.usePatches(r),this.processResult(i,c))}if((i=t(e))!==n)return void 0===i&&(i=e),this.maybeFreeze(i,!0),i},S.prototype.produceWithPatches=function produceWithPatches(e,t,r){var n,i,a=this;if("function"==typeof e)return function(t){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return a.produceWithPatches(t,(function(t){return e.apply(void 0,[t].concat(r))}))};if(r)throw new Error("A patch listener cannot be passed to produceWithPatches");return[this.produce(e,t,(function(e,t){n=e,i=t})),n,i]},S.prototype.createDraft=function createDraft(e){if(!isDraftable(e))throw new Error("First argument to `createDraft` must be a plain object, an array, or an immerable object");var t=f.enter(),r=this.createProxy(e);return r[a].isManual=!0,t.leave(),r},S.prototype.finishDraft=function finishDraft(e,t){var r=e&&e[a];if(!r||!r.isManual)throw new Error("First argument to `finishDraft` must be a draft returned by `createDraft`");if(r.finalized)throw new Error("The given draft is already finalized");var n=r.scope;return n.usePatches(t),this.processResult(void 0,n)},S.prototype.setAutoFreeze=function setAutoFreeze(e){this.autoFreeze=e},S.prototype.setUseProxies=function setUseProxies(e){this.useProxies=e,o(this,e?w:g)},S.prototype.applyPatches=function applyPatches$1(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}return isDraft(e)?applyPatches(e,t):this.produce(e,(function(e){return applyPatches(e,t.slice(r+1))}))},S.prototype.processResult=function processResult(e,t){var r=t.drafts[0],i=void 0!==e&&e!==r;if(this.willFinalize(t,e,i),i){if(r[a].modified)throw t.revoke(),new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");isDraftable(e)&&(e=this.finalize(e,null,t),this.maybeFreeze(e)),t.patches&&(t.patches.push({op:"replace",path:[],value:e}),t.inversePatches.push({op:"replace",path:[],value:r[a].base}))}else e=this.finalize(r,[],t);return t.revoke(),t.patches&&t.patchListener(t.patches,t.inversePatches),e!==n?e:void 0},S.prototype.finalize=function finalize(e,t,r){var n=this,i=e[a];if(!i)return Object.isFrozen(e)?e:this.finalizeTree(e,null,r);if(i.scope!==r)return e;if(!i.modified)return this.maybeFreeze(i.base,!0),i.base;if(!i.finalized){if(i.finalized=!0,this.finalizeTree(i.draft,t,r),this.onDelete&&!isSet(i.base))if(this.useProxies){each(i.assigned,(function(e,t){t||n.onDelete(i,e)}))}else{var o=i.base,s=i.copy;each(o,(function(e){has(s,e)||n.onDelete(i,e)}))}this.onCopy&&this.onCopy(i),this.autoFreeze&&r.canAutoFreeze&&freeze(i.copy,!1),t&&r.patches&&function generatePatches(e,t,r,n){(Array.isArray(e.base)?generateArrayPatches:isSet(e.base)?generateSetPatches:generatePatchesFromAssigned)(e,t,r,n)}(i,t,r.patches,r.inversePatches)}return i.copy},S.prototype.finalizeTree=function finalizeTree(e,t,r){var n=this,i=e[a];i&&(this.useProxies||(i.copy=shallowCopy(i.draft,!0)),e=i.copy);var o=!!t&&!!r.patches,finalizeProperty=function(a,s,c){if(s===c)throw Error("Immer forbids circular references");var u=!!i&&c===e,l=isSet(c);if(isDraft(s)){var f=u&&o&&!l&&!has(i.assigned,a)?t.concat(a):null;if(function replace(e,t,r){isMap(e)?e.set(t,r):isSet(e)?(e.delete(t),e.add(r)):Array.isArray(e)||isEnumerable(e,t)?e[t]=r:Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}(c,a,s=n.finalize(s,f,r)),isDraft(s)&&(r.canAutoFreeze=!1),u&&s===get(i.base,a))return}else{if(u&&is(s,get(i.base,a)))return;isDraftable(s)&&!Object.isFrozen(s)&&(each(s,finalizeProperty),n.maybeFreeze(s))}u&&n.onAssign&&!l&&n.onAssign(i,a,s)};return each(e,finalizeProperty),e},S.prototype.maybeFreeze=function maybeFreeze(e,t){void 0===t&&(t=!1),this.autoFreeze&&!isDraft(e)&&freeze(e,t)};var N=new S,I=N.produce;N.produceWithPatches.bind(N),N.setAutoFreeze.bind(N),N.setUseProxies.bind(N),N.applyPatches.bind(N),N.createDraft.bind(N),N.finishDraft.bind(N);t.a=I}).call(this,r("../node_modules/process/browser.js"))},"../node_modules/is-arguments/index.js":function(e,t,r){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=Object.prototype.toString,a=function isArguments(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i.call(e)},o=function isArguments(e){return!!a(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i.call(e)&&"[object Function]"===i.call(e.callee)},s=function(){return a(arguments)}();a.isLegacyArguments=o,e.exports=s?a:o},"../node_modules/is-date-object/index.js":function(e,t,r){var n=Date.prototype.getDay,i=Object.prototype.toString,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function isDateObject(e){return"object"==typeof e&&null!==e&&(a?function tryDateObject(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===i.call(e))}},"../node_modules/is-regex/index.js":function(e,t,r){var n=r("../node_modules/has/src/index.js"),i=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,o=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function isRegex(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===o.call(e);var t=a(e,"lastIndex");return!(!t||!n(t,"value"))&&function tryRegexExec(e){try{var t=e.lastIndex;return e.lastIndex=0,i.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},"../node_modules/isarray/index.js":function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},"../node_modules/jmespath/jmespath.js":function(e,t,r){!function(e){function isArray(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function isObject(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function strictDeepEqual(e,t){if(e===t)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(t))return!1;if(!0===isArray(e)){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!1===strictDeepEqual(e[r],t[r]))return!1;return!0}if(!0===isObject(e)){var n={};for(var i in e)if(hasOwnProperty.call(e,i)){if(!1===strictDeepEqual(e[i],t[i]))return!1;n[i]=!0}for(var a in t)if(hasOwnProperty.call(t,a)&&!0!==n[a])return!1;return!0}return!1}function isFalse(e){if(""===e||!1===e||null===e)return!0;if(isArray(e)&&0===e.length)return!0;if(isObject(e)){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}var t;t="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var r=0,n=1,i=2,a=3,o=4,s=6,c=8,u=9,l={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},f={"<":!0,">":!0,"=":!0,"!":!0},p={" ":!0,"\t":!0,"\n":!0};function isNum(e){return e>="0"&&e<="9"||"-"===e}function Lexer(){}Lexer.prototype={tokenize:function(e){var t,r,n,i,a=[];for(this._current=0;this._current<e.length;)if((i=e[this._current])>="a"&&i<="z"||i>="A"&&i<="Z"||"_"===i)t=this._current,r=this._consumeUnquotedIdentifier(e),a.push({type:"UnquotedIdentifier",value:r,start:t});else if(void 0!==l[e[this._current]])a.push({type:l[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(isNum(e[this._current]))n=this._consumeNumber(e),a.push(n);else if("["===e[this._current])n=this._consumeLBracket(e),a.push(n);else if('"'===e[this._current])t=this._current,r=this._consumeQuotedIdentifier(e),a.push({type:"QuotedIdentifier",value:r,start:t});else if("'"===e[this._current])t=this._current,r=this._consumeRawStringLiteral(e),a.push({type:"Literal",value:r,start:t});else if("`"===e[this._current]){t=this._current;var o=this._consumeLiteral(e);a.push({type:"Literal",value:o,start:t})}else if(void 0!==f[e[this._current]])a.push(this._consumeOperator(e));else if(void 0!==p[e[this._current]])this._current++;else if("&"===e[this._current])t=this._current,this._current++,"&"===e[this._current]?(this._current++,a.push({type:"And",value:"&&",start:t})):a.push({type:"Expref",value:"&",start:t});else{if("|"!==e[this._current]){var s=new Error("Unknown character:"+e[this._current]);throw s.name="LexerError",s}t=this._current,this._current++,"|"===e[this._current]?(this._current++,a.push({type:"Or",value:"||",start:t})):a.push({type:"Pipe",value:"|",start:t})}return a},_consumeUnquotedIdentifier:function(e){var t,r=this._current;for(this._current++;this._current<e.length&&((t=e[this._current])>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"_"===t);)this._current++;return e.slice(r,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var r=e.length;'"'!==e[this._current]&&this._current<r;){var n=this._current;"\\"!==e[n]||"\\"!==e[n+1]&&'"'!==e[n+1]?n++:n+=2,this._current=n}return this._current++,JSON.parse(e.slice(t,this._current))},_consumeRawStringLiteral:function(e){var t=this._current;this._current++;for(var r=e.length;"'"!==e[this._current]&&this._current<r;){var n=this._current;"\\"!==e[n]||"\\"!==e[n+1]&&"'"!==e[n+1]?n++:n+=2,this._current=n}return this._current++,e.slice(t+1,this._current-1).replace("\\'","'")},_consumeNumber:function(e){var t=this._current;this._current++;for(var r=e.length;isNum(e[this._current])&&this._current<r;)this._current++;return{type:"Number",value:parseInt(e.slice(t,this._current)),start:t}},_consumeLBracket:function(e){var t=this._current;return this._current++,"?"===e[this._current]?(this._current++,{type:"Filter",value:"[?",start:t}):"]"===e[this._current]?(this._current++,{type:"Flatten",value:"[]",start:t}):{type:"Lbracket",value:"[",start:t}},_consumeOperator:function(e){var t=this._current,r=e[t];return this._current++,"!"===r?"="===e[this._current]?(this._current++,{type:"NE",value:"!=",start:t}):{type:"Not",value:"!",start:t}:"<"===r?"="===e[this._current]?(this._current++,{type:"LTE",value:"<=",start:t}):{type:"LT",value:"<",start:t}:">"===r?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var r,n=this._current,i=e.length;"`"!==e[this._current]&&this._current<i;){var a=this._current;"\\"!==e[a]||"\\"!==e[a+1]&&"`"!==e[a+1]?a++:a+=2,this._current=a}var o=t(e.slice(n,this._current));return o=o.replace("\\`","`"),r=this._looksLikeJSON(o)?JSON.parse(o):JSON.parse('"'+o+'"'),this._current++,r},_looksLikeJSON:function(e){if(""===e)return!1;if('[{"'.indexOf(e[0])>=0)return!0;if(["true","false","null"].indexOf(e)>=0)return!0;if(!("-0123456789".indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var h={};function Parser(){}function TreeInterpreter(e){this.runtime=e}function Runtime(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[r]}]},avg:{_func:this._functionAvg,_signature:[{types:[c]}]},ceil:{_func:this._functionCeil,_signature:[{types:[r]}]},contains:{_func:this._functionContains,_signature:[{types:[i,a]},{types:[n]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[i]},{types:[i]}]},floor:{_func:this._functionFloor,_signature:[{types:[r]}]},length:{_func:this._functionLength,_signature:[{types:[i,a,o]}]},map:{_func:this._functionMap,_signature:[{types:[s]},{types:[a]}]},max:{_func:this._functionMax,_signature:[{types:[c,u]}]},merge:{_func:this._functionMerge,_signature:[{types:[o],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[a]},{types:[s]}]},sum:{_func:this._functionSum,_signature:[{types:[c]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[i]},{types:[i]}]},min:{_func:this._functionMin,_signature:[{types:[c,u]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[a]},{types:[s]}]},type:{_func:this._functionType,_signature:[{types:[n]}]},keys:{_func:this._functionKeys,_signature:[{types:[o]}]},values:{_func:this._functionValues,_signature:[{types:[o]}]},sort:{_func:this._functionSort,_signature:[{types:[u,c]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[a]},{types:[s]}]},join:{_func:this._functionJoin,_signature:[{types:[i]},{types:[u]}]},reverse:{_func:this._functionReverse,_signature:[{types:[i,a]}]},to_array:{_func:this._functionToArray,_signature:[{types:[n]}]},to_string:{_func:this._functionToString,_signature:[{types:[n]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[n]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[n],variadic:!0}]}}}h.EOF=0,h.UnquotedIdentifier=0,h.QuotedIdentifier=0,h.Rbracket=0,h.Rparen=0,h.Comma=0,h.Rbrace=0,h.Number=0,h.Current=0,h.Expref=0,h.Pipe=1,h.Or=2,h.And=3,h.EQ=5,h.GT=5,h.LT=5,h.GTE=5,h.LTE=5,h.NE=5,h.Flatten=9,h.Star=20,h.Filter=21,h.Dot=40,h.Not=45,h.Lbrace=50,h.Lbracket=55,h.Lparen=60,Parser.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw n.name="ParserError",n}return t},_loadTokens:function(e){var t=(new Lexer).tokenize(e);t.push({type:"EOF",value:"",start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),n=this._lookahead(0);e<h[n];)this._advance(),r=this.led(n,r),n=this._lookahead(0);return r},_lookahead:function(e){return this.tokens[this.index+e].type},_lookaheadToken:function(e){return this.tokens[this.index+e]},_advance:function(){this.index++},nud:function(e){var t,r;switch(e.type){case"Literal":return{type:"Literal",value:e.value};case"UnquotedIdentifier":return{type:"Field",name:e.value};case"QuotedIdentifier":var n={type:"Field",name:e.value};if("Lparen"===this._lookahead(0))throw new Error("Quoted identifier not allowed for function names.");return n;case"Not":return{type:"NotExpression",children:[t=this.expression(h.Not)]};case"Star":return t=null,{type:"ValueProjection",children:[{type:"Identity"},t="Rbracket"===this._lookahead(0)?{type:"Identity"}:this._parseProjectionRHS(h.Star)]};case"Filter":return this.led(e.type,{type:"Identity"});case"Lbrace":return this._parseMultiselectHash();case"Flatten":return{type:"Projection",children:[{type:"Flatten",children:[{type:"Identity"}]},t=this._parseProjectionRHS(h.Flatten)]};case"Lbracket":return"Number"===this._lookahead(0)||"Colon"===this._lookahead(0)?(t=this._parseIndexExpression(),this._projectIfSlice({type:"Identity"},t)):"Star"===this._lookahead(0)&&"Rbracket"===this._lookahead(1)?(this._advance(),this._advance(),{type:"Projection",children:[{type:"Identity"},t=this._parseProjectionRHS(h.Star)]}):this._parseMultiselectList();case"Current":return{type:"Current"};case"Expref":return{type:"ExpressionReference",children:[r=this.expression(h.Expref)]};case"Lparen":for(var i=[];"Rparen"!==this._lookahead(0);)"Current"===this._lookahead(0)?(r={type:"Current"},this._advance()):r=this.expression(0),i.push(r);return this._match("Rparen"),i[0];default:this._errorToken(e)}},led:function(e,t){var r;switch(e){case"Dot":var n=h.Dot;return"Star"!==this._lookahead(0)?{type:"Subexpression",children:[t,r=this._parseDotRHS(n)]}:(this._advance(),{type:"ValueProjection",children:[t,r=this._parseProjectionRHS(n)]});case"Pipe":return{type:"Pipe",children:[t,r=this.expression(h.Pipe)]};case"Or":return{type:"OrExpression",children:[t,r=this.expression(h.Or)]};case"And":return{type:"AndExpression",children:[t,r=this.expression(h.And)]};case"Lparen":for(var i,a=t.name,o=[];"Rparen"!==this._lookahead(0);)"Current"===this._lookahead(0)?(i={type:"Current"},this._advance()):i=this.expression(0),"Comma"===this._lookahead(0)&&this._match("Comma"),o.push(i);return this._match("Rparen"),{type:"Function",name:a,children:o};case"Filter":var s=this.expression(0);return this._match("Rbracket"),{type:"FilterProjection",children:[t,r="Flatten"===this._lookahead(0)?{type:"Identity"}:this._parseProjectionRHS(h.Filter),s]};case"Flatten":return{type:"Projection",children:[{type:"Flatten",children:[t]},this._parseProjectionRHS(h.Flatten)]};case"EQ":case"NE":case"GT":case"GTE":case"LT":case"LTE":return this._parseComparator(t,e);case"Lbracket":var c=this._lookaheadToken(0);return"Number"===c.type||"Colon"===c.type?(r=this._parseIndexExpression(),this._projectIfSlice(t,r)):(this._match("Star"),this._match("Rbracket"),{type:"Projection",children:[t,r=this._parseProjectionRHS(h.Star)]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(e){if(this._lookahead(0)!==e){var t=this._lookaheadToken(0),r=new Error("Expected "+e+", got: "+t.type);throw r.name="ParserError",r}this._advance()},_errorToken:function(e){var t=new Error("Invalid token ("+e.type+'): "'+e.value+'"');throw t.name="ParserError",t},_parseIndexExpression:function(){if("Colon"===this._lookahead(0)||"Colon"===this._lookahead(1))return this._parseSliceExpression();var e={type:"Index",value:this._lookaheadToken(0).value};return this._advance(),this._match("Rbracket"),e},_projectIfSlice:function(e,t){var r={type:"IndexExpression",children:[e,t]};return"Slice"===t.type?{type:"Projection",children:[r,this._parseProjectionRHS(h.Star)]}:r},_parseSliceExpression:function(){for(var e=[null,null,null],t=0,r=this._lookahead(0);"Rbracket"!==r&&t<3;){if("Colon"===r)t++,this._advance();else{if("Number"!==r){var n=this._lookahead(0),i=new Error("Syntax error, unexpected token: "+n.value+"("+n.type+")");throw i.name="Parsererror",i}e[t]=this._lookaheadToken(0).value,this._advance()}r=this._lookahead(0)}return this._match("Rbracket"),{type:"Slice",children:e}},_parseComparator:function(e,t){return{type:"Comparator",name:t,children:[e,this.expression(h[t])]}},_parseDotRHS:function(e){var t=this._lookahead(0);return["UnquotedIdentifier","QuotedIdentifier","Star"].indexOf(t)>=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(h[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw n.name="ParserError",n}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,n=[],i=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),i.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),r={type:"KeyValuePair",name:t,value:this.expression(0)},n.push(r),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:n}}},TreeInterpreter.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,t){var r,n,i,a,o,s,c,u,l;switch(e.type){case"Field":return null===t?null:isObject(t)?void 0===(s=t[e.name])?null:s:null;case"Subexpression":for(i=this.visit(e.children[0],t),l=1;l<e.children.length;l++)if(null===(i=this.visit(e.children[1],i)))return null;return i;case"IndexExpression":return c=this.visit(e.children[0],t),this.visit(e.children[1],c);case"Index":if(!isArray(t))return null;var f=e.value;return f<0&&(f=t.length+f),void 0===(i=t[f])&&(i=null),i;case"Slice":if(!isArray(t))return null;var p=e.children.slice(0),h=this.computeSliceParams(t.length,p),d=h[0],v=h[1],y=h[2];if(i=[],y>0)for(l=d;l<v;l+=y)i.push(t[l]);else for(l=d;l>v;l+=y)i.push(t[l]);return i;case"Projection":var _=this.visit(e.children[0],t);if(!isArray(_))return null;for(u=[],l=0;l<_.length;l++)null!==(n=this.visit(e.children[1],_[l]))&&u.push(n);return u;case"ValueProjection":if(!isObject(_=this.visit(e.children[0],t)))return null;u=[];var g=function objValues(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;n++)r.push(e[t[n]]);return r}(_);for(l=0;l<g.length;l++)null!==(n=this.visit(e.children[1],g[l]))&&u.push(n);return u;case"FilterProjection":if(!isArray(_=this.visit(e.children[0],t)))return null;var m=[],b=[];for(l=0;l<_.length;l++)isFalse(r=this.visit(e.children[2],_[l]))||m.push(_[l]);for(var E=0;E<m.length;E++)null!==(n=this.visit(e.children[1],m[E]))&&b.push(n);return b;case"Comparator":switch(a=this.visit(e.children[0],t),o=this.visit(e.children[1],t),e.name){case"EQ":i=strictDeepEqual(a,o);break;case"NE":i=!strictDeepEqual(a,o);break;case"GT":i=a>o;break;case"GTE":i=a>=o;break;case"LT":i=a<o;break;case"LTE":i=a<=o;break;default:throw new Error("Unknown comparator: "+e.name)}return i;case"Flatten":var k=this.visit(e.children[0],t);if(!isArray(k))return null;var T=[];for(l=0;l<k.length;l++)isArray(n=k[l])?T.push.apply(T,n):T.push(n);return T;case"Identity":return t;case"MultiSelectList":if(null===t)return null;for(u=[],l=0;l<e.children.length;l++)u.push(this.visit(e.children[l],t));return u;case"MultiSelectHash":if(null===t)return null;var x;for(u={},l=0;l<e.children.length;l++)u[(x=e.children[l]).name]=this.visit(x.value,t);return u;case"OrExpression":return isFalse(r=this.visit(e.children[0],t))&&(r=this.visit(e.children[1],t)),r;case"AndExpression":return!0===isFalse(a=this.visit(e.children[0],t))?a:this.visit(e.children[1],t);case"NotExpression":return isFalse(a=this.visit(e.children[0],t));case"Literal":return e.value;case"Pipe":return c=this.visit(e.children[0],t),this.visit(e.children[1],c);case"Current":return t;case"Function":var w=[];for(l=0;l<e.children.length;l++)w.push(this.visit(e.children[l],t));return this.runtime.callFunction(e.name,w);case"ExpressionReference":var O=e.children[0];return O.jmespathType="Expref",O;default:throw new Error("Unknown node type: "+e.type)}},computeSliceParams:function(e,t){var r=t[0],n=t[1],i=t[2],a=[null,null,null];if(null===i)i=1;else if(0===i){var o=new Error("Invalid slice, step cannot be 0");throw o.name="RuntimeError",o}var s=i<0;return r=null===r?s?e-1:0:this.capSliceRange(e,r,i),n=null===n?s?-1:e:this.capSliceRange(e,n,i),a[0]=r,a[1]=n,a[2]=i,a},capSliceRange:function(e,t,r){return t<0?(t+=e)<0&&(t=r<0?-1:0):t>=e&&(t=r<0?e-1:e),t}},Runtime.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var n,i,a,o;if(r[r.length-1].variadic){if(t.length<r.length)throw n=1===r.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes at least"+r.length+n+" but received "+t.length)}else if(t.length!==r.length)throw n=1===r.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes "+r.length+n+" but received "+t.length);for(var s=0;s<r.length;s++){o=!1,i=r[s].types,a=this._getTypeName(t[s]);for(var c=0;c<i.length;c++)if(this._typeMatches(a,i[c],t[s])){o=!0;break}if(!o)throw new Error("TypeError: "+e+"() expected argument "+(s+1)+" to be type "+i+" but received type "+a+" instead.")}},_typeMatches:function(e,t,o){if(t===n)return!0;if(t!==u&&t!==c&&t!==a)return e===t;if(t===a)return e===a;if(e===a){var s;t===c?s=r:t===u&&(s=i);for(var l=0;l<o.length;l++)if(!this._typeMatches(this._getTypeName(o[l]),s,o[l]))return!1;return!0}},_getTypeName:function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return i;case"[object Number]":return r;case"[object Array]":return a;case"[object Boolean]":return 5;case"[object Null]":return 7;case"[object Object]":return"Expref"===e.jmespathType?s:o}},_functionStartsWith:function(e){return 0===e[0].lastIndexOf(e[1])},_functionEndsWith:function(e){var t=e[0],r=e[1];return-1!==t.indexOf(r,t.length-r.length)},_functionReverse:function(e){if(this._getTypeName(e[0])===i){for(var t=e[0],r="",n=t.length-1;n>=0;n--)r+=t[n];return r}var a=e[0].slice(0);return a.reverse(),a},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],n=0;n<r.length;n++)t+=r[n];return t/r.length},_functionContains:function(e){return e[0].indexOf(e[1])>=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return isObject(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,n=e[0],i=e[1],a=0;a<i.length;a++)t.push(r.visit(n,i[a]));return t},_functionMerge:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];for(var i in n)t[i]=n[i]}return t},_functionMax:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===r)return Math.max.apply(Math,e[0]);for(var t=e[0],n=t[0],i=1;i<t.length;i++)n.localeCompare(t[i])<0&&(n=t[i]);return n}return null},_functionMin:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===r)return Math.min.apply(Math,e[0]);for(var t=e[0],n=t[0],i=1;i<t.length;i++)t[i].localeCompare(n)<0&&(n=t[i]);return n}return null},_functionSum:function(e){for(var t=0,r=e[0],n=0;n<r.length;n++)t+=r[n];return t},_functionType:function(e){switch(this._getTypeName(e[0])){case r:return"number";case i:return"string";case a:return"array";case o:return"object";case 5:return"boolean";case s:return"expref";case 7:return"null"}},_functionKeys:function(e){return Object.keys(e[0])},_functionValues:function(e){for(var t=e[0],r=Object.keys(t),n=[],i=0;i<r.length;i++)n.push(t[r[i]]);return n},_functionJoin:function(e){var t=e[0];return e[1].join(t)},_functionToArray:function(e){return this._getTypeName(e[0])===a?e[0]:[e[0]]},_functionToString:function(e){return this._getTypeName(e[0])===i?e[0]:JSON.stringify(e[0])},_functionToNumber:function(e){var t,n=this._getTypeName(e[0]);return n===r?e[0]:n!==i||(t=+e[0],isNaN(t))?null:t},_functionNotNull:function(e){for(var t=0;t<e.length;t++)if(7!==this._getTypeName(e[t]))return e[t];return null},_functionSort:function(e){var t=e[0].slice(0);return t.sort(),t},_functionSortBy:function(e){var t=e[0].slice(0);if(0===t.length)return t;var n=this._interpreter,a=e[1],o=this._getTypeName(n.visit(a,t[0]));if([r,i].indexOf(o)<0)throw new Error("TypeError");for(var s=this,c=[],u=0;u<t.length;u++)c.push([u,t[u]]);c.sort((function(e,t){var r=n.visit(a,e[1]),i=n.visit(a,t[1]);if(s._getTypeName(r)!==o)throw new Error("TypeError: expected "+o+", received "+s._getTypeName(r));if(s._getTypeName(i)!==o)throw new Error("TypeError: expected "+o+", received "+s._getTypeName(i));return r>i?1:r<i?-1:e[0]-t[0]}));for(var l=0;l<c.length;l++)t[l]=c[l][1];return t},_functionMaxBy:function(e){for(var t,n,a=e[1],o=e[0],s=this.createKeyFunction(a,[r,i]),c=-1/0,u=0;u<o.length;u++)(n=s(o[u]))>c&&(c=n,t=o[u]);return t},_functionMinBy:function(e){for(var t,n,a=e[1],o=e[0],s=this.createKeyFunction(a,[r,i]),c=1/0,u=0;u<o.length;u++)(n=s(o[u]))<c&&(c=n,t=o[u]);return t},createKeyFunction:function(e,t){var r=this,n=this._interpreter;return function(i){var a=n.visit(e,i);if(t.indexOf(r._getTypeName(a))<0){var o="TypeError: expected one of "+t+", received "+r._getTypeName(a);throw new Error(o)}return a}}},e.tokenize=function tokenize(e){return(new Lexer).tokenize(e)},e.compile=function compile(e){return(new Parser).parse(e)},e.search=function search(e,t){var r=new Parser,n=new Runtime,i=new TreeInterpreter(n);n._interpreter=i;var a=r.parse(t);return i.search(a,e)},e.strictDeepEqual=strictDeepEqual}(t)},"../node_modules/js-cookie/src/js.cookie.js":function(e,t,r){var n,i;
/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */!function(a){if(void 0===(i="function"==typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=i),!0,e.exports=a(),!!0){var o=window.Cookies,s=window.Cookies=a();s.noConflict=function(){return window.Cookies=o,s}}}((function(){function extend(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function decode(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function init(e){function api(){}function set(t,r,n){if("undefined"!=typeof document){"number"==typeof(n=extend({path:"/"},api.defaults,n)).expires&&(n.expires=new Date(1*new Date+864e5*n.expires)),n.expires=n.expires?n.expires.toUTCString():"";try{var i=JSON.stringify(r);/^[\{\[]/.test(i)&&(r=i)}catch(e){}r=e.write?e.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var o in n)n[o]&&(a+="; "+o,!0!==n[o]&&(a+="="+n[o].split(";")[0]));return document.cookie=t+"="+r+a}}function get(t,r){if("undefined"!=typeof document){for(var n={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var o=i[a].split("="),s=o.slice(1).join("=");r||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var c=decode(o[0]);if(s=(e.read||e)(s,c)||decode(s),r)try{s=JSON.parse(s)}catch(e){}if(n[c]=s,t===c)break}catch(e){}}return t?n[t]:n}}return api.set=set,api.get=function(e){return get(e,!1)},api.getJSON=function(e){return get(e,!0)},api.remove=function(e,t){set(e,"",extend(t,{expires:-1}))},api.defaults={},api.withConverter=init,api}((function(){}))}))},"../node_modules/logrocket/dist/build.umd.js":function(e,t,r){!function webpackUniversalModuleDefinition(t,r){e.exports=r()}(0,(function(){return function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__webpack_require__.d(r,n,function(t){return e[t]}.bind(null,n));return r},__webpack_require__.n=function(e){var t=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=8)}([function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function mapValues(e,t){if(null==e)return{};var r={};return Object.keys(e).forEach((function(n){r[n]=t(e[n])})),r}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.setActive=function setActive(e){a=e},t.default=function registerXHR(e){var t=e.addRequest,r=e.addResponse,s=e.shouldCloneResponse,c=void 0!==s&&s,u=XMLHttpRequest,l=new WeakMap,f=!1;return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function XMLHttpRequest(e,s){var p=new u(e,s);if(!a)return p;l.set(p,{xhrId:++o,headers:{}}),(0,i.default)(p,"open",(function(e,t){if(!f){var r=l.get(p);r.method=e,r.url=t}})),(0,i.default)(p,"send",(function(e){if(!f){var r=l.get(p);if(r){var i={url:r.url,method:r.method&&r.method.toUpperCase(),headers:(0,n.default)(r.headers||{},(function(e){return e.join(", ")})),body:e};t("xhr-"+r.xhrId,i)}}})),(0,i.default)(p,"setRequestHeader",(function(e,t){if(!f){var r=l.get(p);r&&(r.headers=r.headers||{},r.headers[e]=r.headers[e]||[],r.headers[e].push(t))}}));var h={readystatechange:function readystatechange(){if(!f&&4===p.readyState){var e=l.get(p);if(!e)return;var t=p.getAllResponseHeaders().split(/[\r\n]+/).reduce((function(e,t){var r=e,n=t.split(": ");if(n.length>0){var i=n.shift(),a=n.join(": ");e[i]?r[i]+=", "+a:r[i]=a}return r}),{}),n=void 0;try{switch(p.responseType){case"json":n=c?JSON.parse(JSON.stringify(p.response)):p.response;break;case"arraybuffer":case"blob":n=p.response;break;case"document":n=p.responseXML;break;case"text":case"":n=p.responseText;break;default:n=""}}catch(e){n="LogRocket: Error accessing response."}var i={url:e.url,status:p.status,headers:t,body:n,method:(e.method||"").toUpperCase()};r("xhr-"+e.xhrId,i)}}};return Object.keys(h).forEach((function(e){p.addEventListener(e,h[e])})),p},XMLHttpRequest.prototype=u.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach((function(e){XMLHttpRequest[e]=u[e]})),function(){f=!0,XMLHttpRequest=u}};var n=_interopRequireDefault(r(0)),i=_interopRequireDefault(r(2));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=!0;var o=0},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function enhanceFunc(e,t,r){var n=e[t];return e[t]=function shim(){for(var e=void 0,t=arguments.length,i=Array(t),a=0;a<t;a++)i[a]=arguments[a];n&&(e=n.apply(this,i));return r.apply(this,i),e},function(){e[t]=n}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Capture=t.registerExceptions=void 0;var n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(16)),i=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(6));t.registerExceptions=n.default,t.Capture=i},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){(function(t){var r={collectWindowErrors:!0,debug:!1},n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i=[].slice,a="?",o=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function getLocationHref(){return"undefined"==typeof document||void 0===document.location?"":document.location.href}r.report=function reportModuleWrapper(){var e,t,s=[],c=null,u=null,l=null;function notifyHandlers(e,t){var n=null;if(!t||r.collectWindowErrors){for(var a in s)if(s.hasOwnProperty(a))try{s[a].apply(null,[e].concat(i.call(arguments,2)))}catch(e){n=e}if(n)throw n}}function traceKitWindowOnError(t,n,i,s,c){if(l)r.computeStackTrace.augmentStackTraceWithInitialElement(l,n,i,t),processLastException();else if(c)notifyHandlers(r.computeStackTrace(c),!0);else{var u,f={url:n,line:i,column:s},p=void 0,h=t;if("[object String]"==={}.toString.call(t))(u=t.match(o))&&(p=u[1],h=u[2]);f.func=a,notifyHandlers({name:p,message:h,url:getLocationHref(),stack:[f]},!0)}return!!e&&e.apply(this,arguments)}function processLastException(){var e=l,t=c;c=null,l=null,u=null,notifyHandlers.apply(null,[e,!1].concat(t))}function report(e,t){var n=i.call(arguments,1);if(l){if(u===e)return;processLastException()}var a=r.computeStackTrace(e);if(l=a,u=e,c=n,setTimeout((function(){u===e&&processLastException()}),a.incomplete?2e3:0),!1!==t)throw e}return report.subscribe=function subscribe(r){!function installGlobalHandler(){if(t)return;e=n.onerror,n.onerror=traceKitWindowOnError,t=!0}(),s.push(r)},report.unsubscribe=function unsubscribe(e){for(var t=s.length-1;t>=0;--t)s[t]===e&&s.splice(t,1)},report.uninstall=function unsubscribeAll(){!function uninstallGlobalHandler(){if(!t)return;n.onerror=e,t=!1,e=void 0}(),s=[]},report}(),r.computeStackTrace=function computeStackTraceWrapper(){function computeStackTraceFromStackProp(e){if(void 0!==e.stack&&e.stack){for(var t,r,n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=e.stack.split("\n"),c=[],u=(/^(.*) is undefined$/.exec(e.message),0),l=s.length;u<l;++u){if(t=n.exec(s[u])){var f=t[2]&&-1!==t[2].indexOf("native");r={url:f?null:t[2],func:t[1]||a,args:f?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=o.exec(s[u]))r={url:t[2],func:t[1]||a,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=i.exec(s[u])))continue;r={url:t[3],func:t[1]||a,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}!r.func&&r.line&&(r.func=a),c.push(r)}return c.length?(c[0].column||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),{name:e.name,message:e.message,url:getLocationHref(),stack:c}):null}}function augmentStackTraceWithInitialElement(e,t,r,n){var i={url:t,line:r};if(i.url&&i.line){if(e.incomplete=!1,i.func||(i.func=a),e.stack.length>0&&e.stack[0].url===i.url){if(e.stack[0].line===i.line)return!1;if(!e.stack[0].line&&e.stack[0].func===i.func)return e.stack[0].line=i.line,!1}return e.stack.unshift(i),e.partial=!0,!0}return e.incomplete=!0,!1}function computeStackTraceByWalkingCallerChain(e,t){for(var n,i,o=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,s=[],c={},u=!1,l=computeStackTraceByWalkingCallerChain.caller;l&&!u;l=l.caller)if(l!==computeStackTrace&&l!==r.report){if(i={url:null,func:a,line:null,column:null},l.name?i.func=l.name:(n=o.exec(l.toString()))&&(i.func=n[1]),void 0===i.func)try{i.func=n.input.substring(0,n.input.indexOf("{"))}catch(e){}c[""+l]?u=!0:c[""+l]=!0,s.push(i)}t&&s.splice(0,t);var f={name:e.name,message:e.message,url:getLocationHref(),stack:s};return augmentStackTraceWithInitialElement(f,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),f}function computeStackTrace(e,t){var n=null;t=null==t?0:+t;try{if(n=computeStackTraceFromStackProp(e))return n}catch(e){if(r.debug)throw e}try{if(n=computeStackTraceByWalkingCallerChain(e,t+1))return n}catch(e){if(r.debug)throw e}return{name:e.name,message:e.message,url:getLocationHref()}}return computeStackTrace.augmentStackTraceWithInitialElement=augmentStackTraceWithInitialElement,computeStackTrace.computeStackTraceFromStackProp=computeStackTraceFromStackProp,computeStackTrace}(),e.exports=r}).call(this,r(4))},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.captureMessage=function captureMessage(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={exceptionType:arguments.length>3&&void 0!==arguments[3]&&arguments[3]?"CONSOLE":"MESSAGE",message:t,browserHref:window.location.href};scrub(n,r),e.addEvent("lr.core.Exception",(function(){return n}))},t.captureException=function captureException(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:null)||i.default.computeStackTrace(t),o={exceptionType:"WINDOW",errorType:n.name,message:n.message,browserHref:window.location.href};scrub(o,r);var s={_stackTrace:(0,a.default)(n)};e.addEvent("lr.core.Exception",(function(){return o}),s)};var i=_interopRequireDefault(r(5)),a=_interopRequireDefault(r(18));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isScalar(e){return/boolean|number|string/.test(void 0===e?"undefined":n(e))}function scrub(e,t){if(t){var r=!0,n=!1,i=void 0;try{for(var a,o=["level","logger"][Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var s=a.value,c=t[s];isScalar(c)&&(e[s]=c.toString())}}catch(e){n=!0,i=e}finally{try{!r&&o.return&&o.return()}finally{if(n)throw i}}var u=!0,l=!1,f=void 0;try{for(var p,h=["tags","extra"][Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var d=p.value,v=t[d]||{},y={},_=!0,g=!1,m=void 0;try{for(var b,E=Object.keys(v)[Symbol.iterator]();!(_=(b=E.next()).done);_=!0){var k=b.value,T=v[k];isScalar(T)&&(y[k.toString()]=T.toString())}}catch(e){g=!0,m=e}finally{try{!_&&E.return&&E.return()}finally{if(g)throw m}}e[d]=y}}catch(e){l=!0,f=e}finally{try{!u&&h.return&&h.return()}finally{if(l)throw f}}}}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Date.now.bind(Date),n=r();t.default="undefined"!=typeof performance&&performance.now?performance.now.bind(performance):function(){return r()-n},e.exports=t.default},function(e,t,r){e.exports=r(9)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=(0,function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(10)).default)();t.default=n,e.exports=t.default},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function setup(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.enterpriseServer,r=e.sdkVersion,a=void 0===r?"1.0.6":r,o=function _objectWithoutProperties(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["enterpriseServer","sdkVersion"]),s="https://cdn.logrocket.io",c=void 0;if("script"===a)try{var u=document.currentScript.src.match(/^(https?:\/\/([^\\]+))\/.+$/),l=u&&u[2];l&&i[l]&&(s=u&&u[1],c=i[l])}catch(e){}else s="https://cdn.lr-ingest.io",c="https://r.lr-ingest.io";var f=o.sdkServer||t,p=o.ingestServer||t||c,h=(0,n.default)((function(){var e=document.createElement("script");p&&(void 0===window.__SDKCONFIG__&&(window.__SDKCONFIG__={}),window.__SDKCONFIG__.serverURL=p+"/i",window.__SDKCONFIG__.statsURL=p+"/s"),f?e.src=f+"/logger.min.js":window.__SDKCONFIG__&&window.__SDKCONFIG__.loggerURL?e.src=window.__SDKCONFIG__.loggerURL:window._lrAsyncScript?e.src=window._lrAsyncScript:e.src=s+"/logger.min.js",e.async=!0,document.head.appendChild(e),e.onload=function(){"function"==typeof window._LRLogger?h.onLogger(new window._LRLogger({sdkVersion:a})):(console.warn("LogRocket: script execution has been blocked by a product or service."),h.uninstall())},e.onerror=function(){console.warn("LogRocket: script could not load. Check that you have a valid network connection."),h.uninstall()}}));return h};var n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(11));var i={"cdn.logrocket.io":"https://r.logrocket.io","cdn.lr-ingest.io":"https://r.lr-ingest.io","cdn-staging.logrocket.io":"https://staging-i.logrocket.io","cdn-staging.lr-ingest.io":"https://staging-i.lr-ingest.io"};e.exports=t.default},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function makeLogRocket(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};if("undefined"!=typeof navigator&&"ReactNative"===navigator.product)throw new Error(i);if("undefined"!=typeof window){if(window._disableLogRocket)return a();if(window.MutationObserver&&window.WeakMap){window._lrMutationObserver=window.MutationObserver;var t=new n.default;return e(t),t}}return a()};var n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(12));var i="LogRocket does not yet support React Native.",a=function makeNoopPolyfill(){return{init:function init(){},uninstall:function uninstall(){},log:function log(){},info:function info(){},warn:function warn(){},error:function error(){},debug:function debug(){},addEvent:function addEvent(){},identify:function identify(){},start:function start(){},get threadID(){return null},get recordingID(){return null},get recordingURL(){return null},reduxEnhancer:function reduxEnhancer(){return function(e){return function(){return e.apply(void 0,arguments)}}},reduxMiddleware:function reduxMiddleware(){return function(){return function(e){return function(t){return e(t)}}}},track:function track(){},getSessionURL:function getSessionURL(){},getVersion:function getVersion(){},startNewSession:function startNewSession(){},onLogger:function onLogger(){},setClock:function setClock(){},captureMessage:function captureMessage(){},captureException:function captureException(){}}};e.exports=t.default},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_QUEUE_SIZE=void 0;var n=function(){function defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,t,r){return t&&defineProperties(e.prototype,t),r&&defineProperties(e,r),e}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=_interopRequireDefault(r(13)),o=r(3),s=_interopRequireDefault(r(19)),c=r(21);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var u=t.MAX_QUEUE_SIZE=1e3,l=function(){function LogRocket(){var e=this;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,LogRocket),this._buffer=[],["log","info","warn","error","debug"].forEach((function(t){e[t]=function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];e.addEvent("lr.core.LogEvent",(function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"error"===t&&r.shouldAggregateConsoleErrors&&o.Capture.captureMessage(e,n[0],{},!0),{logLevel:t.toUpperCase(),args:n}}),{shouldCaptureStackTrace:!0})}})),this._isInitialized=!1,this._installed=[]}return n(LogRocket,[{key:"addEvent",value:function addEvent(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Date.now();this._run((function(a){a.addEvent(e,t,i({},r,{timeOverride:n}))}))}},{key:"onLogger",value:function onLogger(e){for(this._logger=e;this._buffer.length>0;){this._buffer.shift()(this._logger)}}},{key:"_run",value:function _run(e){if(!this._isDisabled)if(this._logger)e(this._logger);else{if(this._buffer.length>=u)return this._isDisabled=!0,console.warn("LogRocket: script did not load. Check that you have a valid network connection."),void this.uninstall();this._buffer.push(e.bind(this))}}},{key:"init",value:function init(e,t){this._isInitialized||(this._installed.push((0,o.registerExceptions)(this)),this._installed.push((0,a.default)(this)),this._installed.push((0,s.default)(this)),this._isInitialized=!0,this._run((function(r){r.init(e,function considerIngestServerOption(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ingestServer,r=_objectWithoutProperties(e,["ingestServer"]);return t?i({serverURL:t+"/i",statsURL:t+"/s"},r):r}(t))})))}},{key:"start",value:function start(){this._run((function(e){e.start()}))}},{key:"uninstall",value:function uninstall(){this._installed.forEach((function(e){return e()})),this._buffer=[],this._run((function(e){e.uninstall()}))}},{key:"identify",value:function identify(e,t){this._run((function(r){r.identify(e,t)}))}},{key:"startNewSession",value:function startNewSession(){this._run((function(e){e.startNewSession()}))}},{key:"track",value:function track(e){this._run((function(t){t.track(e)}))}},{key:"getSessionURL",value:function getSessionURL(e){if("function"!=typeof e)throw new Error("LogRocket: must pass callback to getSessionURL()");this._run((function(t){t.getSessionURL?t.getSessionURL(e):e(t.recordingURL)}))}},{key:"getVersion",value:function getVersion(e){this._run((function(t){e(t.version)}))}},{key:"captureMessage",value:function captureMessage(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o.Capture.captureMessage(this,e,t)}},{key:"captureException",value:function captureException(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o.Capture.captureException(this,e,t)}},{key:"reduxEnhancer",value:function reduxEnhancer(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,c.createEnhancer)(this,e)}},{key:"reduxMiddleware",value:function reduxMiddleware(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,c.createMiddleware)(this,e)}},{key:"version",get:function get(){return this._logger&&this._logger.version}},{key:"sessionURL",get:function get(){return this._logger&&this._logger.recordingURL}},{key:"recordingURL",get:function get(){return this._logger&&this._logger.recordingURL}},{key:"recordingID",get:function get(){return this._logger&&this._logger.recordingID}},{key:"threadID",get:function get(){return this._logger&&this._logger.threadID}},{key:"tabID",get:function get(){return this._logger&&this._logger.tabID}}]),LogRocket}();t.default=l},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function registerNetwork(e){var t={},r=function truncate(e){var t=e;if("object"===(void 0===e?"undefined":n(e))&&null!=e){var r=Object.getPrototypeOf(e);r!==Object.prototype&&null!==r||(t=JSON.stringify(e))}return t&&t.length&&t.length>4096e3&&"string"==typeof t?t.substring(0,1e3)+" ... LogRocket truncating to first 1000 characters.\n      Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference#network":e},s=function addRequest(n,i){var a=i.method;e.addEvent("lr.network.RequestEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=e.isEnabled,c=void 0===s||s,u=e.requestSanitizer,l=void 0===u?function(e){return e}:u;if(!c)return null;var f=null;try{f=l(i)}catch(e){console.error(e)}if(f){var p=document.createElement("a");return p.href=f.url,{reqId:n,url:p.href,headers:(0,o.default)(f.headers,(function(e){return""+e})),body:r(f.body),method:a,referrer:f.referrer||void 0,mode:f.mode||void 0,credentials:f.credentials||void 0}}return t[n]=!0,null}))},c=function addResponse(n,i){var a=i.method,s=i.status;e.addEvent("lr.network.ResponseEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=e.isEnabled,u=void 0===c||c,l=e.responseSanitizer,f=void 0===l?function(e){return e}:l;if(!u)return null;if(t[n])return delete t[n],null;var p=null;try{p=f(i)}catch(e){console.error(e)}return p?{reqId:n,status:p.status,headers:(0,o.default)(p.headers,(function(e){return""+e})),body:r(p.body),method:a}:{reqId:n,status:s,headers:{},body:null,method:a}}))},u=(0,i.default)({addRequest:s,addResponse:c}),l=(0,a.default)({addRequest:s,addResponse:c,shouldCloneResponse:e._shouldCloneResponse});return function(){u(),l()}};var i=_interopRequireDefault(r(14)),a=_interopRequireDefault(r(1)),o=_interopRequireDefault(r(0));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=function registerFetch(e){var t=e.addRequest,r=e.addResponse,i={};return a.default.register({request:function request(e){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];var s=void 0;if("undefined"!=typeof Request&&a[0]instanceof Request){var c=void 0;try{c=a[0].clone().text()}catch(e){c=Promise.resolve("LogRocket fetch error: "+e.message)}s=c.then((function(e){return n({},pluckFetchFields(a[0]),{body:e})}),(function(e){return n({},pluckFetchFields(a[0]),{body:"LogRocket fetch error: "+e.message})}))}else s=Promise.resolve(n({},pluckFetchFields(a[1]),{url:""+a[0],body:(a[1]||{}).body}));return s.then((function(r){return i[e]=r.method,t("fetch-"+e,r),a}))},requestError:function requestError(e,t){return Promise.reject(t)},response:function response(e,t){var n=void 0;try{n=t.clone().text()}catch(e){n=Promise.resolve("LogRocket fetch error: "+e.message)}return n.then((function(n){var a={url:t.url,status:t.status,headers:o(t.headers),body:n,method:i[e]};return delete i[e],r("fetch-"+e,a),t}))},responseError:function responseError(e,t){return r("fetch-"+e,{url:void 0,status:0,headers:{},body:""+t}),Promise.reject(t)}})};var i=_interopRequireDefault(r(0)),a=_interopRequireDefault(r(15));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=function stringifyHeaders(e){return(0,i.default)(function makeObjectFromHeaders(e){if(null==e||"function"!=typeof e.forEach)return e;var t={};return e.forEach((function(e,r){t[r]?t[r]=t[r]+","+e:t[r]=""+e})),t}(e),(function(e){return""+e}))};function pluckFetchFields(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{url:e.url,headers:o(e.headers),method:e.method&&e.method.toUpperCase(),referrer:e.referrer||void 0,mode:e.mode||void 0,credentials:e.credentials||void 0}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);function _toConsumableArray(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)}var i=[];function makeInterceptor(e,t){for(var r=arguments.length,a=Array(r>2?r-2:0),o=2;o<r;o++)a[o-2]=arguments[o];var s=i.reduce((function(e,t){return[t].concat(e)}),[]),c=Promise.resolve(a);return s.forEach((function(e){var r=e.request,n=e.requestError;(r||n)&&(c=c.then((function(e){return r.apply(void 0,[t].concat(_toConsumableArray(e)))}),(function(e){return n.apply(void 0,[t].concat(_toConsumableArray(e)))})))})),c=c.then((function(t){(0,n.setActive)(!1);var r=void 0,i=void 0;try{r=e.apply(void 0,_toConsumableArray(t))}catch(e){i=e}if((0,n.setActive)(!0),i)throw i;return r})),s.forEach((function(e){var r=e.response,n=e.responseError;(r||n)&&(c=c.then((function(e){return r(t,e)}),(function(e){return n&&n(t,e)})))})),c}var a=!1;t.default={register:function register(e){return a||(a=!0,function attach(e){if(e.fetch&&e.Promise){var t,r,n=e.fetch.polyfill;e.fetch=(t=e.fetch,r=0,function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return makeInterceptor.apply(void 0,[t,r++].concat(n))}),n&&(e.fetch.polyfill=n)}}(window)),i.push(e),function(){var t=i.indexOf(e);t>=0&&i.splice(t,1)}},clear:function clear(){i=[]}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function registerCore(e){var t=new n.default({captureException:function captureException(t){i.captureException(e,null,null,t)}}),r=function rejectionHandler(t){e.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:t.reason||"Unhandled Promise rejection"}}))};return window.addEventListener("unhandledrejection",r),function(){window.removeEventListener("unhandledrejection",r),t.uninstall()}};var n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(17)),i=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(6))},function(e,t,r){(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,t,r){return t&&defineProperties(e.prototype,t),r&&defineProperties(e,r),e}}(),i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(5));var a=Object.prototype;function isUndefined(e){return void 0===e}function isFunction(e){return"function"==typeof e}function hasKey(e,t){return a.hasOwnProperty.call(e,t)}function fill(e,t,r,n){var i=e[t];e[t]=r(i),n&&n.push([e,t,i])}var o="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},s=(o.document,function(){function Handler(e){var t=e.captureException;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Handler),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=t,i.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return n(Handler,[{key:"uninstall",value:function uninstall(){var e;for(i.default.report.unsubscribe(this._errorHandler);this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],r=e[1],n=e[2];t[r]=n}}},{key:"_errorHandler",value:function _errorHandler(e){this._ignoreOnError||this.captureException(e)}},{key:"_ignoreNextOnError",value:function _ignoreNextOnError(){var e=this;this._ignoreOnError+=1,setTimeout((function(){e._ignoreOnError-=1}))}},{key:"context",value:function context(e,t,r){return isFunction(e)&&(r=t||[],t=e,e=void 0),this.wrap(e,t).apply(this,r)}},{key:"wrap",value:function wrap(e,t,r){var n=this;if(isUndefined(t)&&!isFunction(e))return e;if(isFunction(e)&&(t=e,e=void 0),!isFunction(t))return t;try{if(t.__lr__)return t;if(t.__lr_wrapper__)return t.__lr_wrapper__}catch(e){return t}function wrapped(){var a=[],o=arguments.length,s=!e||e&&!1!==e.deep;for(r&&isFunction(r)&&r.apply(this,arguments);o--;)a[o]=s?n.wrap(e,arguments[o]):arguments[o];try{return t.apply(this,a)}catch(t){throw n._ignoreNextOnError(),n.captureException(i.default.computeStackTrace(t),e),t}}for(var a in t)hasKey(t,a)&&(wrapped[a]=t[a]);return wrapped.prototype=t.prototype,t.__lr_wrapper__=wrapped,wrapped.__lr__=!0,wrapped.__inner__=t,wrapped}},{key:"_instrumentTryCatch",value:function _instrumentTryCatch(){var e=this,t=e._wrappedBuiltIns;function wrapTimeFn(t){return function(r,n){for(var i=new Array(arguments.length),a=0;a<i.length;++a)i[a]=arguments[a];var o=i[0];return isFunction(o)&&(i[0]=e.wrap(o)),t.apply?t.apply(this,i):t(i[0],i[1])}}function wrapEventTarget(r){var n=o[r]&&o[r].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(fill(n,"addEventListener",(function(t){return function(r,n,i,a){try{n&&n.handleEvent&&(n.handleEvent=e.wrap(n.handleEvent))}catch(e){}return t.call(this,r,e.wrap(n,void 0,void 0),i,a)}}),t),fill(n,"removeEventListener",(function(e){return function(t,r,n,i){try{r=r&&(r.__lr_wrapper__?r.__lr_wrapper__:r)}catch(e){}return e.call(this,t,r,n,i)}}),t))}fill(o,"setTimeout",wrapTimeFn,t),fill(o,"setInterval",wrapTimeFn,t),o.requestAnimationFrame&&fill(o,"requestAnimationFrame",(function(t){return function(r){return t(e.wrap(r))}}),t);for(var r=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],n=0;n<r.length;n++)wrapEventTarget(r[n]);var i=o.jQuery||o.$;i&&i.fn&&i.fn.ready&&fill(i.fn,"ready",(function(t){return function(r){return t.call(this,e.wrap(r))}}),t)}}]),Handler}());t.default=s}).call(this,r(4))},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function stackTraceFromError(e){function makeNotNull(e){return null===e?void 0:e}return e.stack?e.stack.map((function(e){return{lineNumber:makeNotNull(e.line),columnNumber:makeNotNull(e.column),fileName:makeNotNull(e.url),functionName:makeNotNull(e.func)}})):void 0}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(20));t.default=n.default},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function registerConsole(e){var t=[];return["log","warn","info","error","debug"].forEach((function(r){t.push((0,i.default)(console,r,(function(){for(var t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];e.addEvent("lr.core.LogEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.isEnabled;return"object"===(void 0===o?"undefined":n(o))&&!1===o[r]||!1===o?null:("error"===r&&t.shouldAggregateConsoleErrors&&a.Capture.captureMessage(e,i[0],{},!0),{logLevel:r.toUpperCase(),args:i})}))})))})),function(){t.forEach((function(e){return e()}))}};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(2)),a=r(3)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.createEnhancer=t.createMiddleware=void 0;var n=_interopRequireDefault(r(22)),i=_interopRequireDefault(r(23));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.createMiddleware=i.default,t.createEnhancer=n.default},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=function createEnhancer(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.stateSanitizer,o=void 0===r?function(e){return e}:r,s=t.actionSanitizer,c=void 0===s?function(e){return e}:s;return function(t){return function(r,s,u){var l=t(r,s,u),f=l.dispatch,p=a++;e.addEvent("lr.redux.InitialState",(function(){var e=void 0;try{e=o(l.getState())}catch(e){console.error(e.toString())}return{state:e,storeId:p}}));return n({},l,{dispatch:function dispatch(t){var r=(0,i.default)(),n=void 0,a=void 0;try{a=f(t)}catch(e){n=e}finally{var s=(0,i.default)()-r;e.addEvent("lr.redux.ReduxAction",(function(){var e=null,r=null;try{e=o(l.getState()),r=c(t)}catch(e){console.error(e.toString())}return e&&r?{storeId:p,action:r,duration:s,stateDelta:e}:null}))}if(n)throw n;return a}})}}};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(7));var a=0},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function createMiddleware(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.stateSanitizer,a=void 0===r?function(e){return e}:r,o=t.actionSanitizer,s=void 0===o?function(e){return e}:o;return function(t){var r=i++;return e.addEvent("lr.redux.InitialState",(function(){var e=void 0;try{e=a(t.getState())}catch(e){console.error(e.toString())}return{state:e,storeId:r}})),function(i){return function(o){var c=(0,n.default)(),u=void 0,l=void 0;try{l=i(o)}catch(e){u=e}finally{var f=(0,n.default)()-c;e.addEvent("lr.redux.ReduxAction",(function(){var e=null,n=null;try{e=a(t.getState()),n=s(o)}catch(e){console.error(e.toString())}return e&&n?{storeId:r,action:n,duration:f,stateDelta:e}:null}))}if(u)throw u;return l}}}};var n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r(7));var i=0}])}))},"../node_modules/nanoid/format.browser.js":function(e,t){e.exports=function(e,t,r){for(var n=(2<<Math.log(t.length-1)/Math.LN2)-1,i=Math.ceil(1.6*n*r/t.length),a="";;)for(var o=i,s=e(o);o--;)if((a+=t[s[o]&n]||"").length===+r)return a}}}]);
//# sourceMappingURL=vendors~App-7KZ9F~propose-change-page-FI1f0~store-XBI5Y~user-page-DUsdt~4f420515.chunk.eaa5497fb7f7db0479e3.js.map