1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6647],{14788:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>K});var n,a,r,s,o=i(49685);let l=/\r\n|[\n\r]/g;function c(e,t){let i=0,n=1;for(let a of e.body.matchAll(l)){if("number"==typeof a.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),a.index>=t)break;i=a.index+a[0].length,n+=1}return{line:n,column:t+1-i}}function p(e,t){let i=e.locationOffset.column-1,n="".padStart(i)+e.body,a=t.line-1,r=e.locationOffset.line-1,s=t.line+r,o=1===t.line?i:0,l=t.column+o,c=`${e.name}:${s}:${l} 2`,p=n.split(/\r\n|[\n\r]/g),u=p[a];if(u.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<u.length;e+=80)t.push(u.slice(e,e+80));return c+d([[`${s} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+d([[`${s-1} |`,p[a-1]],[`${s} |`,u],["|","^".padStart(l)],[`${s+1} |`,p[a+1]]])}function d(e){let t=e.filter(([e,t])=>void 0!==t),i=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(i)+(t?" "+t:"")).join("\n")}class u extends Error{constructor(e,...t){var i,n,a;let{nodes:r,source:s,positions:o,path:l,originalError:p,extensions:d}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=p?p:void 0,this.nodes=m(Array.isArray(r)?r:r?[r]:void 0);let f=m(null==(i=this.nodes)?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=null!=s?s:null==f||null==(n=f[0])?void 0:n.source,this.positions=null!=o?o:null==f?void 0:f.map(e=>e.start),this.locations=o&&s?o.map(e=>c(s,e)):null==f?void 0:f.map(e=>c(e.source,e.start));let h=!function(e){return"object"==typeof e&&null!==e}(null==p?void 0:p.extensions)||null==p?void 0:p.extensions;this.extensions=null!=(a=null!=d?d:h)?a:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let i of this.nodes){var t;i.loc&&(e+="\n\n"+p((t=i.loc).source,c(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+p(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function m(e){return void 0===e||0===e.length?void 0:e}function f(e,t,i){return new u(`Syntax Error: ${i}`,{source:e,positions:[t]})}class h{constructor(e,t,i){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class v{constructor(e,t,i,n,a,r){this.kind=e,this.start=t,this.end=i,this.line=n,this.column=a,this.value=r,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}function g(e){return e>=48&&e<=57}function x(e){return e>=97&&e<=122||e>=65&&e<=90}function y(e){return x(e)||95===e}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(n||(n={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",e.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION"}(a||(a={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
2ingValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.DIRECTIVE_EXTENSION="DirectiveExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(r||(r={})),!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(s||(s={}));class b{constructor(e){let t=new v(s.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let i=e.source.body,n=i.length,a=t;for(;a<n;){let t=i.charCodeAt(a);switch(t){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a,++e.line,e.lineStart=a;continue;case 13:10===i.charCodeAt(a+1)?a+=2:++a,++e.line,e.lineStart=a;continue;case 35:return function(e,t){let i=e.source.body,n=i.length,a=t+1;for(;a<n;){let e=i.charCodeAt(a);if(10===e||13===e)break;if(_(e))++a;else if(k(i,a))a+=2;else break}return T(e,s.COMMENT,t,a,i.slice(t+1,a))}(e,a);case 33:return T(e,s.BANG,a,a+1);case 36:return T(e,s.DOLLAR,a,a+1);case 38:return T(e,s.AMP,a,a+1);case 40:return T(e,s.PAREN_L,a,a+1);case 41:return T(e,s.PAREN_R,a,a+1);case 46:if(46===i.charCodeAt(a+1)&&46===i.charCodeAt(a+2))return T(e,s.SPREAD,a,a+3);break;case 58:return T(e,s.COLON,a,a+1);case 61:return T(e,s.EQUALS,a,a+1);case 64:return T(e,s.AT,a,a+1);case 91:return T(e,s.BRACKET_L,a,a+1);case 93:return T(e,s.BRACKET_R,a,a+1);case 123:return T(e,s.BRACE_L,a,a+1);case 124:return T(e,s.PIPE,a,a+1);case 125:return T(e,s.BRACE_R,a,a+1);case 34:if(34===i.charCodeAt(a+1)&&34===i.charCodeAt(a+2))return function(e,t){let i=e.source.body,n=i.length,a=e.lineStart,r=t+3,o=r,l="",c=[];for(;r<n;){let n=i.charCodeAt(r);if(34===n&&34===i.charCodeAt(r+1)&&34===i.charCodeAt(r+2)){l+=i.slice(o,r),c.push(l);let n=T(e,s.BLOCK_STRING,t,r+3,(function(e){var t,i;let n=Number.MAX_SAFE_INTEGER,a=null,r=-1;for(let t=0;t<e.length;++t){let s=e[t],o=function(e){var t;let i=0;for(;i<e.length&&(9===(t=e.charCodeAt(i))||32===t);)++i;return i}(s);o!==s.length&&(a=null!=(i=a)?i:t,r=t,0!==t&&o<n&&(n=o))}return e.map((e,t)=>0===t?e:e.slice(n)).slice(null!=(t=a)?t:0,r+1)})(c).join("\n"));return e.line+=c.length-1,e.lineStart=a,n}if(92===n&&34===i.charCodeAt(r+1)&&34===i.charCodeAt(r+2)&&34===i.charCodeAt(r+3)){l+=i.slice(o,r),o=r+1,r+=4;continue}if(10===n||13===n){l+=i.slice(o,r),c.push(l),13===n&&10===i.charCodeAt(r+1)?r+=2:++r,l="",o=r,a=r;continue}if(_(n))++r;else if(k(i,r))r+=2;else throw f(e.source,r,`Invalid character within String: ${E(e,r)}.`)}throw f(e.source,r,"Unterminated string.")}(e,a);return function(e,t){let i=e.source.body,n=i.length,a=t+1,r=a,o="";for(;a<n;){let n=i.charCodeAt(a);if(34===n)return o+=i.slice(r,a),T(e,s.STRING,t,a+1,o);if(92===n){o+=i.slice(r,a);let t=117===i.charCodeAt(a+1)?123===i.charCodeAt(a+2)?function(e,t){let i=e.source.body,n=0,a=3;for(;a<12;){let e=i.charCodeAt(t+a++);if(125===e){if(a<5||!_(n))break;return{value:String.fromCodePoint(n),size:a}}if((n=n<<4|D(e))<0)break}throw f(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+a)}".`)}(e,a):function(e,t){let i=e.source.body,n=A(i,t+2);if(_(n))return{value:String.fromCodePoint(n),size:6};if(w(n)&&92===i.charCodeAt(t+6)&&117===i.charCodeAt(t+7)){let e=A(i,t+8);if(I(e))return{value:String.fromCodePoint(n,e),size:12}}throw f(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+6)}".`)}(e,a):function(e,t){let i=e.source.body;switch(i.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${i.slice(t,t+2)}".`)}(e,a);o+=t.value,a+=t.size,r=a;continue}if(10===n||13===n)break;if(_(n))++a;else if(k(i,a))a+=2;else throw f(e.source,a,`Invalid character within String: ${E(e,a)}.`)}throw f(e.source,a,"Unterminated string.")}(e,a)}if(g(t)||45===t)return function(e,t,i){let n=e.source.body,a=t,r=i,o=!1;if(45===r&&(r=n.charCodeAt(++a)),48===r){if(g(r=n.charCodeAt(++a)))throw f(e.source,a,`Invalid number, unexpected digit after 0: ${E(e,a)}.`)}else a=O(e,a,r),r=n.charCodeAt(a);if(46===r&&(o=!0,r=n.charCodeAt(++a),a=O(e,a,r),r=n.charCodeAt(a)),(69===r||101===r)&&(o=!0,(43===(r=n.charCodeAt(++a))||45===r)&&(r=n.charCodeAt(++a)),a=O(e,a,r),r=n.charCodeAt(a)),46===r||y(r))throw f(e.source,a,`Invalid number, expected digit but got: ${E(e,a)}.`);return T(e,o?s.FLOAT:s.INT,t,a,n.slice(t,a))}(e,a,t);if(y(t))return function(e,t){let i=e.source.body,n=i.length,a=t+1;for(;a<n;){var r;if(x(r=i.charCodeAt(a))||g(r)||95===r)++a;else break}return T(e,s.NAME,t,a,i.slice(t,a))}(e,a);throw f(e.source,a,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":_(t)||k(i,a)?`Unexpected character: ${E(e,a)}.`:`Invalid character: ${E(e,a)}.`)}return T(e,s.EOF,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.COMMENT);return e}}function _(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function k(e,t){return w(e.charCodeAt(t))&&I(e.charCodeAt(t+1))}function w(e){return e>=55296&&e<=56319}function I(e){return e>=56320&&e<=57343}function E(e,t){let i=e.source.body.codePointAt(t);if(void 0===i)return s.EOF;
2if(i>=32&&i<=126){let e=String.fromCodePoint(i);return'"'===e?"'\"'":`"${e}"`}return"U+"+i.toString(16).toUpperCase().padStart(4,"0")}function T(e,t,i,n,a){let r=e.line,s=1+i-e.lineStart;return new v(t,i,n,r,s,a)}function O(e,t,i){if(!g(i))throw f(e.source,t,`Invalid number, expected digit but got: ${E(e,t)}.`);let n=e.source.body,a=t+1;for(;g(n.charCodeAt(a));)++a;return a}function A(e,t){return D(e.charCodeAt(t))<<12|D(e.charCodeAt(t+1))<<8|D(e.charCodeAt(t+2))<<4|D(e.charCodeAt(t+3))}function D(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function S(e,t){if(!e)throw Error(t)}function C(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let i=[...t,e];if("function"==typeof e.toJSON){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:C(t,i)}else if(Array.isArray(e)){var n=e,a=i;if(0===n.length)return"[]";if(a.length>2)return"[Array]";let t=Math.min(10,n.length),r=n.length-t,s=[];for(let e=0;e<t;++e)s.push(C(n[e],a));return 1===r?s.push("... 1 more item"):r>1&&s.push(`... ${r} more items`),"["+s.join(", ")+"]"}var r=e,s=i;let o=Object.entries(r);return 0===o.length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(r)+"]":"{ "+o.map(([e,t])=>e+": "+C(t,s)).join(", ")+" }"}(e,t);default:return String(e)}}let N=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var i;let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(i=e.constructor)?void 0:i.name)){let t=C(e,[]);throw Error(`Cannot use ${n} "${t}" from another module or realm. 3 4Ensure that there is only one instance of "graphql" in the node_modules 5directory. If different versions of "graphql" are the dependencies of other 6relied on modules, use "resolutions" to ensure only one version is installed. 7 8https://yarnpkg.com/en/docs/selective-version-resolutions 9 10Duplicate "graphql" modules cannot be used at the same time since different 11versions may have different capabilities and behavior. The data from one 12version used in the function from another could produce confusing and 13spurious results.`)}}return!1};class R{constructor(e,t="GraphQL request",i={line:1,column:1}){"string"==typeof e||S(!1,`Body must be a string. Received: ${C(e,[])}.`),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||S(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||S(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class j{constructor(e,t={}){let{lexer:i,...n}=t;if(i)this._lexer=i;else{let t=N(e,R)?e:new R(e);this._lexer=new b(t)}this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(s.NAME);return this.node(e,{kind:r.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:r.DOCUMENT,definitions:this.many(s.SOF,this.parseDefinition,s.EOF)})}parseDefinition(){if(this.peek(s.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===s.BRACE_L)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===s.NAME){switch(t.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()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
13ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(s.BRACE_L))return this.node(t,{kind:r.OPERATION_DEFINITION,operation:n.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let i=this.parseDescription(),a=this.parseOperationType();return this.peek(s.NAME)&&(e=this.parseName()),this.node(t,{kind:r.OPERATION_DEFINITION,operation:a,description:i,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(s.NAME);switch(e.value){case"query":return n.QUERY;case"mutation":return n.MUTATION;case"subscription":return n.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(s.PAREN_L,this.parseVariableDefinition,s.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:r.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(s.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(s.DOLLAR),this.node(e,{kind:r.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:r.SELECTION_SET,selections:this.many(s.BRACE_L,this.parseSelection,s.BRACE_R)})}parseSelection(){return this.peek(s.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,i=this._lexer.token,n=this.parseName();return this.expectOptionalToken(s.COLON)?(e=n,t=this.parseName()):t=n,this.node(i,{kind:r.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(s.PAREN_L,t,s.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,i=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:r.ARGUMENT,name:i,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(s.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(s.NAME)?this.node(e,{kind:r.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:r.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:r.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:r.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case s.BRACKET_L:return this.parseList(e);case s.BRACE_L:return this.parseObject(e);case s.INT:return this.advanceLexer(),this.node(t,{kind:r.INT,value:t.value});case s.FLOAT:return this.advanceLexer(),this.node(t,{kind:r.FLOAT,value:t.value});case s.STRING:case s.BLOCK_STRING:return this.parseStringLiteral();case s.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:r.BOOLEAN,value:!0});case"false":return this.node(t,{kind:r.BOOLEAN,value:!1});case"null":return this.node(t,{kind:r.NULL});default:return this.node(t,{kind:r.ENUM,value:t.value})}case s.DOLLAR:if(e){if(this.expectToken(s.DOLLAR),this._lexer.token.kind===s.NAME){let e=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:r.STRING,value:e.value,block:e.kind===s.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:r.LIST,values:this.any(s.BRACKET_L,()=>this.parseValueLiteral(e),s.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:r.OBJECT,fields:this.any(s.BRACE_L,()=>this.parseObjectField(e),s.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,i=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:r.OBJECT_FIELD,name:i,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(s.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(s.AT),this.node(t,{kind:r.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(s.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(s.BRACKET_R),e=this.node(t,{kind:r.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(s.BANG)?this.node(t,{kind:r.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:r.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(s.STRING)||this.peek(s.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),n=this.many(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);return this.node(e,{kind:r.SCHEMA_DEFINITION,description:t,directives:i,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(s.COLON);let i=this.parseNamedType();return this.node(e,{kind:r.OPERATION_TYPE_DEFINITION,operation:t,type:i})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:r.SCALAR_TYPE_DEFINITION,description:t,name:i,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),n=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:r.OBJECT_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:a,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(s.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseFieldDefinition,s.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName(),n=this.parseArgumentDefs();this.expectToken(s.COLON);let a=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:r.FIELD_DEFINITION,description:t,name:i,arguments:n,type:a,directives:o})}parseArgumentDefs(){return this.optionalMany(s.PAREN_L,this.parseInputValueDef,s.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,i=this.parseDescription(),n=this.parseName();this.expectToken(s.COLON);let a=this.parseTypeReference();this.expectOptionalToken(s.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:r.INPUT_VALUE_DEFINITION,description:i,name:n,type:a,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),n=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:r.INTERFACE_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:a,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),n=this.parseConstDirectives(),a=this.parseUnionMemberTypes();return this.node(e,{kind:r.UNION_TYPE_DEFINITION,description:t,name:i,directives:n,types:a})}parseUnionMemberTypes(){return this.expectOptionalToken(s.EQUALS)?this.delimitedMany(s.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),n=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();return this.node(e,{kind:r.ENUM_TYPE_DEFINITION,description:t,name:i,directives:n,values:a})}parseEnumValuesDefinition(){return this.optionalMany(s.BRACE_L,this.parseEnumValueDefinition,s.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:r.ENUM_VALUE_DEFINITION,description:t,name:i,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw f(this._lexer.source,this._lexer.token.start,`${F(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let i=this.parseName(),n=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();return this.node(e,{kind:r.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:i,directives:n,fields:a})}parseInputFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseInputValueDef,s.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===s.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();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),i=this.optionalMany(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:r.SCHEMA_EXTENSION,directives:t,operationTypes:i})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(e,{kind:r.SCALAR_TYPE_EXTENSION,name:t,directives:i})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(0===i.length&&0===n.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:r.OBJECT_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:a})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(0===i.length&&0===n.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:r.INTERFACE_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:a})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:r.UNION_TYPE_EXTENSION,name:t,directives:i,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:r.ENUM_TYPE_EXTENSION,name:t,directives:i,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:r.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:i,fields:n})}parseDirectiveDefinitionExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(s.AT);let t=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(e,{kind:r.DIRECTIVE_EXTENSION,name:t,directives:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.AT);let i=this.parseName(),n=this.parseArgumentDefs(),a=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let l=this.parseDirectiveLocations();return this.node(e,{kind:r.DIRECTIVE_DEFINITION,description:t,name:i,arguments:n,directives:a,repeatable:o,locations:l})}parseDirectiveLocations(){return this.delimitedMany(s.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,i=this._lexer.token,n=this.expectOptionalToken(s.AT),a=this.parseName();return(!n&&this.expectOptionalToken(s.DOT)&&(e=this.parseName()),(n||e)&&this.expectOptionalToken(s.PAREN_L)&&(t=this.parseName(),this.expectToken(s.COLON),this.expectToken(s.PAREN_R)),n)?t?this.node(i,{kind:r.DIRECTIVE_ARGUMENT_COORDINATE,name:a,argumentName:t}):this.node(i,{kind:r.DIRECTIVE_COORDINATE,name:a}):e?t?this.node(i,{kind:r.ARGUMENT_COORDINATE,name:a,fieldName:e,argumentName:t}):this.node(i,{kind:r.MEMBER_COORDINATE,name:a,memberName:e}):this.node(i,{kind:r.TYPE_COORDINATE,name:a})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new h(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw f(this._lexer.source,t.start,`Expected ${M(e)}, found ${F(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===s.NAME&&t.value===e)this.advanceLexer();else throw f(this._lexer.source,t.start,`Expected "${e}", found ${F(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===s.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${F(t)}.`)}any(e,t,i){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(i);)n.push(t.call(this));return n}optionalMany(e,t,i){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(i));return e}return[]}many(e,t,i){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(i));return n}delimitedMany(e,t){this.expectOptionalToken(e);let i=[];do i.push(t.call(this));while(this.expectOptionalToken(e));return i}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==s.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function F(e){let t=e.value;return M(e.kind)+(null!=t?` "${t}"`:"")}function M(e){return e===s.BANG||e===s.DOLLAR||e===s.AMP||e===s.PAREN_L||e===s.PAREN_R||e===s.DOT||e===s.SPREAD||e===s.COLON||e===s.EQUALS||e===s.AT||e===s.BRACKET_L||e===s.BRACKET_R||e===s.BRACE_L||e===s.PIPE||e===s.BRAC
13E_R?`"${e}"`:e}var L=new Map,V=new Map,P=!0,Z=!1;function $(e){return e.replace(/[\s,]+/g," ").trim()}function q(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,i){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[i+1]}),function(e){var t=$(e);if(!L.has(t)){var i,n,a,r,s,l=function(e,t){let i=new j(e,t),n=i.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:i.tokenCount}),n}(e,{experimentalFragmentVariables:Z,allowLegacyFragmentVariables:Z,experimentalFragmentArguments:Z});if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");L.set(t,((r=new Set((i=new Set,n=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,a=e.name.value,r=$((t=e.loc).source.body.substring(t.start,t.end)),s=V.get(a);s&&!s.has(r)?P&&console.warn("Warning: fragment with name "+a+" 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"):s||V.set(a,s=new Set),s.add(r),i.has(r)||(i.add(r),n.push(e))}else n.push(e)}),a=(0,o.Cl)((0,o.Cl)({},l),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var i=e[t];i&&"object"==typeof i&&r.add(i)})}),(s=a.loc)&&(delete s.startToken,delete s.endToken),a))}return L.get(t)}(n)}var z={gql:q,resetCaches:function(){L.clear(),V.clear()},disableFragmentWarnings:function(){P=!1},enableExperimentalFragmentVariables:function(){Z=!0},disableExperimentalFragmentVariables:function(){Z=!1}};!function(e){e.gql=z.gql,e.resetCaches=z.resetCaches,e.disableFragmentWarnings=z.disableFragmentWarnings,e.enableExperimentalFragmentVariables=z.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=z.disableExperimentalFragmentVariables}(q||(q={})),q.default=q;let K=q},20146:(e,t,i)=>{"use strict";i.d(t,{Gb:()=>Y,Jt:()=>T,Op:()=>ec,hZ:()=>D,mN:()=>eZ,xW:()=>el});var n=i(25444),a=e=>"checkbox"===e.type,r=e=>"file"===e.type,s=e=>e instanceof Date,o=e=>null==e;let l=e=>"object"==typeof e;var c=e=>!o(e)&&!Array.isArray(e)&&l(e)&&!s(e),p=e=>c(e)&&e.target?a(e.target)?e.target.checked:r(e.target)?e.target.files:e.target.value:e;let d=/[.[\]'"]/;var u=e=>e.split(d).filter(Boolean),m=(e,t)=>t.split(".").some((t,i,n)=>!isNaN(Number(t))&&e.has(n.slice(0,i).join("."))),f="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function h(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Date)return new Date(e);let t="undefined"!=typeof Blob&&e instanceof Blob,i="undefined"!=typeof FileList&&e instanceof FileList;if(f&&(t||i))return e;let n=Array.isArray(e);if(!n&&e.constructor!==Object)return e;let a=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(a[t]=h(e[t]));return a}let v={BLUR:"blur",FOCUS_OUT:"focusout",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},g={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},x={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},y=[x.required,x.min,x.max,x.minLength,x.maxLength,x.pattern,x.validate],b="form",_="root",k=["__proto__","constructor","prototype"],w=/^\w*$/;var I=e=>w.test(e),E=e=>void 0===e,T=(e,t,i)=>{if(!t||!c(e))return i;let n=I(t)?[t]:u(t);if(n.some(e=>k.includes(e)))return i;let a=n.reduce((e,t)=>o(e)?void 0:e[t],e);return E(a)||a===e?E(e[t])?i:e[t]:a},O=e=>"boolean"==typeof e,A=e=>"function"==typeof e,D=(e,t,i)=>{let n=-1,a=I(t)?[t]:u(t),r=a.length,s=r-1;for(;++n<r;){let t=a[n],r=i;if(n!==s){let i=e[t];r=c(i)||Array.isArray(i)?i:isNaN(+a[n+1])?{}:[]}if(k.includes(t))return;e[t]=r,e=e[t]}};let S=n.createContext(null);S.displayName="HookFormControlContext";var C=(e,t,i,n=!0)=>{let a={};for(let r in e)Object.defineProperty(a,r,{get:()=>(t._proxyFormState[r]!==g.all&&(t._proxyFormState[r]=!n||g.all),i&&(i[r]=!0),e[r])});return a};let N=f?n.useLayoutEffect:n.useEffect;var R=e=>{let t=e.constructor&&e.constructor.prototype;return c(t)&&t.hasOwnProperty("isPrototypeOf")},j=e=>o(e)||!l(e);let F=(e,t)=>0===t.length&&!Array.isArray(e)&&!R(e);
13function M(e,t,i=new WeakMap){if(e===t)return!0;if(j(e)||j(t))return Object.is(e,t);if(s(e)&&s(t))return Object.is(e.getTime(),t.getTime());let n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;if(F(e,n)||F(t,a))return Object.is(e,t);if(!n.length&&Array.isArray(e)!==Array.isArray(t))return!1;let r=i.get(e);if(r&&r.has(t))return!0;if(r)r.add(t);else{let n=new WeakSet;n.add(t),i.set(e,n)}for(let a of n){let n=e[a];if(!(a in t))return!1;if("ref"!==a){let e=t[a];if(s(n)&&s(e)||(c(n)||Array.isArray(n))&&(c(e)||Array.isArray(e))?!M(n,e,i):!Object.is(n,e))return!1}}return!0}var L=e=>"string"==typeof e,V=(e,t,i,n,a)=>L(e)?(n&&t.watch.add(e),T(i,e,a)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),T(i,e,T(a,e)))):(n&&(t.watchAll=!0),i),P=e=>({isOnSubmit:!e||e===g.onSubmit,isOnBlur:e===g.onBlur,isOnChange:e===g.onChange,isOnAll:e===g.all,isOnTouch:e===g.onTouched}),Z=(e,t,i)=>{if(i)return!1;if(t.watchAll||t.watch.has(e))return!0;for(let i of t.watch)if(e.startsWith(i)&&"."===e.charAt(i.length))return!0;return!1};let $=(e,t,i)=>{for(let n of i||Object.keys(e)){if("_f"===n)continue;let a=i?T(e,n):e[n];if(a){let{_f:e}=a;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],e.name))return!0;else if(e.ref&&t(e.ref,e.name))return!0;else if($(a,t))return!0}else if((c(a)||Array.isArray(a))&&$(a,t))return!0}}};var q=(e,t,i)=>{let n=T(e,i),a=Array.isArray(n)?n:[];return D(a,_,t[i]),D(e,i,a),e},z=e=>c(e)&&!Object.keys(e).length,K=e=>{if(!f)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},B=e=>"radio"===e.type,U=e=>e instanceof RegExp,Y=(e,t,i,n,a)=>t?{...i[e],types:{...i[e]&&i[e].types?i[e].types:{},[n]:a||!0}}:{};let G={value:!1,isValid:!1},H={value:!0,isValid:!0};var W=e=>{if(!Array.isArray(e))return G;if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}let t=e[0];return t&&t.checked&&!t.disabled?t.attributes&&"value"in t.attributes?E(t.value)||""===t.value?H:{value:t.value,isValid:!0}:H:G};let J={isValid:!1,value:null};var X=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,J):J;function Q(e,t,i="validate"){if(L(e)||Array.isArray(e)&&e.every(L)||O(e)&&!e)return{type:i,message:L(e)?e:"",ref:t}}var ee=e=>c(e)&&!U(e)?e:{value:e,message:""},et=async(e,t,i,n,l,p)=>{let{ref:d,refs:u,required:m,maxLength:f,minLength:h,min:v,max:g,pattern:y,validate:b,name:_,valueAsNumber:k,mount:w,_c:I}=e._f,D=T(i,_);if(!w||t.has(_))return{};let S=u?u[0]:d,C=e=>{if(l&&S.reportValidity){let t=O(e)?"":e||"";u?u.forEach(e=>A(e.setCustomValidity)&&e.setCustomValidity(t)):S.setCustomValidity(t),S.reportValidity()}},N={},R=B(d),j=a(d),F=(k||r(d))&&E(d.value)&&E(D)||K(d)&&""===d.value&&!I||""===D||Array.isArray(D)&&!D.length,M=Y.bind(null,_,n,N),V=(e,t,i,n=x.maxLength,a=x.minLength)=>{let r=e?t:i;N[_]={type:e?n:a,message:r,ref:d,...M(e?n:a,r)}};if(p?!Array.isArray(D)||!D.length:m&&(!(R||j)&&(F||o(D))||O(D)&&!D||j&&!W(u).isValid||R&&!X(u).isValid)){let{value:e,message:t}=L(m)?{value:!!m,message:m}:ee(m);if(e&&(N[_]={type:x.required,message:t,ref:S,...M(x.required,t)},!n))return C(t),N}if(!F&&(!o(v)||!o(g))){let e,t,i=ee(g),a=ee(v);if(o(D)||s(D)||isNaN(D)){let n=d.valueAsDate||new Date(D),r=e=>new Date(new Date().toDateString()+" "+e),s="time"==d.type,o="week"==d.type;L(i.value)&&D&&(e=s?r(D)>r(i.value):o?D>i.value:n>new Date(i.value)),L(a.value)&&D&&(t=s?r(D)<r(a.value):o?D<a.value:n<new Date(a.value))}else{let n=d.valueAsNumber||(D?+D:D);o(i.value)||(e=n>i.value),o(a.value)||(t=n<a.value)}if((e||t)&&(V(!!e,i.message,a.message,x.max,x.min),!n))return C(N[_].message),N}if((f||h)&&!F&&(L(D)||p&&Array.isArray(D))){let e=ee(f),t=ee(h),i=!o(e.value)&&D.length>+e.value,a=!o(t.value)&&D.length<+t.value;if((i||a)&&(V(i,e.message,t.message),!n))return C(N[_].message),N}if(y&&!F&&L(D)){let{value:e,message:t}=ee(y);if(U(e)&&!D.match(e)&&(N[_]={type:x.pattern,message:t,ref:d,...M(x.pattern,t)},!n))return C(t),N}if(b){if(A(b)){let e=Q(await b(D,i),S);if(e&&(N[_]={...e,...M(x.validate,e.message)},!n))return C(e.message),N}else if(c(b)){let e={};for(let t in b){if(!z(e)&&!n)break;let a=Q(await b[t](D,i),S,t);a&&(e={...a,...M(t,a.message)},n||C(a.message),n&&(N[_]=e))}if(!z(e)&&(N[_]={ref:S,...e},!n))return N}}let P=N[_];return C(!P||P.message),N},ei=e=>Array.isArray(e)?e:[e],en=e=>Array.isArray(e)?e.filter(Boolean):[];function ea(e,t){if(L(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let i=Array.isArray(t)?t:I(t)?[t]:u(t);if(i.some(e=>
13k.includes(String(e))))return e;let n=1===i.length?e:function(e,t){let i=t.length-1,n=0;for(;n<i;){if(o(e)){e=void 0;break}e=e[t[n]],n++}return e}(e,i),a=i.length-1,r=i[a];return n&&delete n[r],0!==a&&(c(n)&&z(n)||Array.isArray(n)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!E(e[t]))return!1;return!0}(n))&&ea(e,i.slice(0,-1)),e}let er=e=>"undefined"!=typeof Blob&&e instanceof Blob||"undefined"!=typeof File&&e instanceof File,es=e=>"undefined"!=typeof FileList&&e instanceof FileList,eo=n.createContext(null);eo.displayName="HookFormContext";let el=()=>n.useContext(eo),ec=({children:e,watch:t,getValues:i,getErrors:a,getFieldState:r,setError:s,clearErrors:o,setValue:l,setValues:c,trigger:p,formState:d,resetField:u,reset:m,resetDefaultValues:f,handleSubmit:h,unregister:v,control:g,register:x,setFocus:y,subscribe:b})=>{let _=n.useMemo(()=>({watch:t,getValues:i,getErrors:a,getFieldState:r,setError:s,clearErrors:o,setValue:l,setValues:c,trigger:p,formState:d,resetField:u,reset:m,resetDefaultValues:f,handleSubmit:h,unregister:v,control:g,register:x,setFocus:y,subscribe:b}),[o,g,d,a,r,i,h,x,m,f,u,s,y,l,c,b,p,v,t]);return n.createElement(eo.Provider,{value:_},n.createElement(S.Provider,{value:_.control},e))};var ep=()=>{let e=[];return{get observers(){return e},next:t=>{for(let i of e)i.next&&i.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};let ed=(e,t)=>null!==e&&l(e)&&Object.prototype.hasOwnProperty.call(e,t);var eu=(e,t)=>{if(!t)return!1;let i=e;for(let n of I(t)?[t]:u(t)){if(!ed(i,n))return ed(e,t);i=i[n]}return!0},em=e=>"select-multiple"===e.type,ef=e=>B(e)||a(e),eh=e=>K(e)&&e.isConnected;function ev(e){return Array.isArray(e)||c(e)}var eg=e=>{for(let t in e)if(A(e[t]))return!0;return!1};function ex(e){return Array.isArray(e)||c(e)&&!eg(e)}function ey(e){return!!(e&&"_f"in e)}function eb(e){return Array.isArray(e)?!e.some(e=>!E(e)):!Object.keys(e).length}function e_(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function ek(e,t={},i){for(let n in e){let a=e[n],r=i&&i[n];!ex(a)||Array.isArray(a)&&ey(r)?E(a)||(t[n]=!0):(t[n]=Array.isArray(a)?[]:{},ek(a,t[n],r),eb(t[n])&&e_(t,n))}return t}function ew(e,t,i,n){for(let a in i||(i=ek(t,{},n)),e){let r=e[a],s=n&&n[a];!ex(r)||Array.isArray(r)&&ey(s)?M(r,t[a])?e_(i,a):i[a]=!0:(E(t)||j(i[a])?i[a]=ek(r,Array.isArray(r)?[]:{},s):ew(r,o(t)?{}:t[a],i[a],s),eb(i[a])&&e_(i,a))}return i}var eI=(e,t)=>{let i=t.split("."),n=[],a=i[0];for(let t=1;t<i.length;a+="."+i[t++])!isNaN(+i[t])&&e.has(a)&&n.push(`${a}.${i[t]}`);return n},eE=(e,{valueAsNumber:t,valueAsDate:i,setValueAs:n})=>E(e)?e:t?""===e?NaN:e?+e:e:i&&L(e)?new Date(e):n?n(e):e;function eT(e){let t=e.ref;return r(t)?t.files:B(t)?X(e.refs).value:em(t)?[...t.selectedOptions].map(({value:e})=>e):a(t)?W(e.refs).value:eE(t.value,e)}var eO=(e,t,i,n)=>{let a={};for(let i of e){let e=T(t,i);e&&D(a,i,e._f)}return{criteriaMode:i,names:[...e],fields:a,shouldUseNativeValidation:n}},eA=e=>E(e)?e:U(e)?e.source:c(e)?U(e.value)?e.value.source:e.value:e;let eD="AsyncFunction";var eS=e=>{if(!e||!e.validate)return!1;if(A(e.validate))return e.validate.constructor.name===eD;if(c(e.validate)){for(let t in e.validate)if(e.validate[t].constructor.name===eD)return!0}return!1},eC=e=>e.mount&&(e.required||!E(e.required)&&!1!==e.required||!E(e.min)||!E(e.max)||!E(e.maxLength)||!E(e.minLength)||e.pattern||e.validate);function eN(e,t,i){let n=T(e,i);if((null==n?void 0:n.type)||(null==n?void 0:n.message)||Array.isArray(n))return{error:n,name:i};let a=i.split(".");for(;a.length;){let n=a.join("."),r=T(t,n),s=T(e,n);if(r&&!Array.isArray(r)&&i!==n)break;if(s&&s.type)return{name:n,error:s};if(s&&s.root&&s.root.type)return{name:`${n}.root`,error:s.root};a.pop()}return{name:i}}var eR=(e,t,i,n)=>{i(e);let a=Object.keys(e).filter(e=>"name"!==e);return!a.length||n&&a.length>=Object.keys(t).length||a.find(e=>t[e]===(!n||g.all))},ej=(e,t,i)=>!e||!t||e===t||ei(e).some(e=>e&&(i?e===t||e.startsWith(t+"."):e.startsWith(t)||t.startsWith(e))),eF=(e,t,i,n,a)=>!a.isOnAll&&(!i&&a.isOnTouch?!(t||e):(i?n.isOnBlur:a.isOnBlur)?!e:(i?!n.isOnChange:!a.isOnChange)||e),eM=(e,t)=>{let i=T(e,t);en(i).length||(null==i?void 0:i.root)||ea(e,t)};let eL={mode:g.onSubmit,reValidateMode:g.onChange,shouldFocusError:!0},eV=(e,t)=>{for(let i in e)i in t||delete e[i];Object.assign(e,t)},eP={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function eZ(e={}){let t=n.useRef(void 0),i=n.useRef(void 0),l=n.useRef(e.formControl),d=n.useRef(!!e.validate),[k,w]=n.useState(()=>({...h(eP),isLoading:A(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:A(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&l.current!==e.formControl)if(l.current=e.formControl,e.formControl)t.current={...e.formControl,formState:k},e.defaultValues&&!A(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:i,...n}=function(e={}){let t={...eL,...e},i={...h(eP),isLoading:A(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},n={},l=(c(t.defaultValues)||c(t.values))&&h(t.defaultValues||t.values)||{},d=t.shouldUnregister?{}:h(l),k={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},w={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},S={},C={},N=0,R=P(t.mode),j=P(t.reValidateMode),F={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},B={...F},U={...B},Y=(...e)=>e.some(e=>B[e]||U[e]),G={array:ep(),state:ep()},H=0,W=0,J=t.criteriaMode===g.all,X=(e,t)=>i=>{clearTimeout(C[e]),C[e]=setTimeout(t,i)},Q=e=>{clearTimeout(C[e]),delete C[e],delete S[e]},ee=e=>{Q(e);let t=`${e}.`;for(let e of Object.keys(S))e.startsWith(t)&&Q(e)},er=async e=>{if(!k.keepIsValid&&!t.disabled&&(Y("isValid")||e)){let e,a=++H;t.resolver?(e=z((await eb()).errors),a===H&&es()):e=await eD({fields:n,onlyCheckValid:!0,eventType:v.VALID}),a===H&&e!==i.isValid&&G.state.next({isValid:e})}},es=(e,n)=>{!t.disabled&&Y("isValidating","validatingFields")&&((e||w.mount).forEach(e
13=>{e&&(n?D(i.validatingFields,e,n):ea(i.validatingFields,e))}),G.state.next({validatingFields:i.validatingFields,isValidating:!z(i.validatingFields)}))},eo=()=>{i.dirtyFields=ew(l,d,void 0,n)},el=(e,t)=>{D(i.errors,e,t),i.errors={...i.errors},G.state.next({errors:i.errors})},ec=e=>{let t=I(e)?[e]:u(e),i=d,n=l;for(let e=0;e<t.length-1;e++){let a=t[e];if(i=o(i)?i:i[a],n=o(n)?n:n[a],null===i&&null!==n)return!0}return!1},ed=e=>{if(!k.actionArrayLengths.size)return!1;let t=I(e)?[e]:u(e),i=d,n="",a=-1,r=0;for(let e=0;e<t.length&&!o(i);e++){let s=t[e];if(n=n?`${n}.${s}`:s,Array.isArray(i)&&+s>=i.length)return -1!==a&&(e!==a||+s<r);if(k.actionArrayLengths.has(n)&&(a=e+1,r=k.actionArrayLengths.get(n)),E(i=i[s])&&-1!==a&&e>a&&+t[a]<r)return!0}return!1},eg=(a,r,s,o)=>{let c=T(n,a);if(c){if(ec(a)||ed(a))return;let n=E(T(d,a)),p=T(d,a,E(s)?T(l,a):s);E(p)||o&&o.defaultChecked||r?D(d,a,r?p:eT(c._f)):eq(a,p),k.mount&&!k.action&&(t.resolver&&Y("isValidating","validatingFields")?Promise.resolve().then(()=>er()):er(),n&&i.isDirty&&Y("isDirty")&&(eZ()||(i.isDirty=!1,G.state.next({...i}))),e.shouldUnregister&&n&&!E(T(d,a))&&Z(a,w)&&(k.watch=!0))}},ex=(e,a,r,s,o)=>{let c=!1,p=!1,u={name:e};if(!t.disabled||!0===s){if(!r||s){let t=M(T(l,e),a);Y("isDirty")&&(p=i.isDirty,i.isDirty=u.isDirty=!t||eZ(),c=p!==u.isDirty),p=!!T(i.dirtyFields,e),t!==i.isDirty?eV(i.dirtyFields,ew(l,d,void 0,n)):t?ea(i.dirtyFields,e):D(i.dirtyFields,e,!0),u.dirtyFields=i.dirtyFields,c=c||Y("dirtyFields")&&!t!==p}if(r){let t=T(i.touchedFields,e);t||(D(i.touchedFields,e,r),u.touchedFields=i.touchedFields,c=c||Y("touchedFields")&&t!==r)}c&&o&&G.state.next(u)}return c?u:{}},ey=(e,n,a,r)=>{let s=T(i.errors,e),o=Y("isValid")&&O(n)&&i.isValid!==n;if(t.delayError&&a?(S[e]=X(e,()=>el(e,a)),S[e](t.delayError)):(Q(e),a?D(i.errors,e,a):ea(i.errors,e),i.errors={...i.errors}),(a?!M(s,a):s)||!z(r)||o){let t={...r,...o&&O(n)?{isValid:n}:{},errors:i.errors,name:e};G.state.next(t)}},eb=async e=>(es(e,!0),await t.resolver(d,t.context,eO(e||w.mount,n,t.criteriaMode,t.shouldUseNativeValidation))),e_=async e=>{let t=W,{errors:a}=await eb(e);if(t!==W)return a;
13if(es(e),e){for(let t of e){let e=T(a,t);ee(t);let r=w.array.has(t)&&c(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e))),s=T(n,t),o=c(s)&&Object.keys(s).some(e=>"_f"!==e);r?q(i.errors,{[t]:e},t):(null==e?void 0:e.type)||(null==e?void 0:e.message)||Array.isArray(e)||c(e)&&o?D(i.errors,t,e):ea(i.errors,t)}i.errors={...i.errors}}else Object.keys(S).forEach(Q),i.errors=a;return a},ek=async({name:e,eventType:n})=>{if(t.validate){let a=W,r=await t.validate({formValues:d,formState:i,name:e,eventType:n});if(a!==W)return!0;if(c(r)){let e=!0;for(let t in eW(b),r){let i=r[t];i&&(e=!1,eJ(`${b}.${t}`,{message:L(i.message)?i.message:"",type:i.type||x.validate}))}return e}if(L(r)||!r)return eJ(b,{message:r||"",type:x.validate}),!1;eW(b)}return!0},eD=async({fields:n,onlyCheckValid:a,name:r,eventType:s,context:o={valid:!0,runRootValidation:!1}})=>{let l=W;if(t.validate&&!o.runRootValidation&&(o.runRootValidation=!0,!await ek({name:r,eventType:s}))&&(o.valid=!1,a))return o.valid;for(let r in n){let c=n[r];if(c){let{_f:n,...p}=c;if(n){let r=w.array.has(n.name),s=c._f&&eS(c._f),p=Y("isValidating","validatingFields");s&&p&&es([n.name],!0);let u=await et(c,w.disabled,d,J,t.shouldUseNativeValidation&&!a,r);if(l!==W)return o.valid;if(s&&p&&es([n.name]),u[n.name]&&(o.valid=!1,a)||(a||(Q(n.name),T(u,n.name)?r?q(i.errors,u,n.name):D(i.errors,n.name,u[n.name]):ea(i.errors,n.name)),e.shouldUseNativeValidation&&u[n.name]))break}z(p)||await eD({context:o,onlyCheckValid:a,fields:p,name:r,eventType:s})}}return o.valid},eZ=(e,t)=>(e&&t&&D(d,e,t),!M(k.mount?d:l,l)),e$=(e,t,i)=>V(e,w,{...k.mount?d:E(t)||L(e)?l:t},i,t),eq=(e,t,i={},s=!1,l=!1,c=!1)=>{let p=T(n,e),u=t;if(p){let i=p._f;i&&(i.disabled||D(d,e,eE(t,i)),u=K(i.ref)&&o(t)?"":t,em(i.ref)?[...i.ref.options].forEach(e=>e.selected=u.includes(e.value)):i.refs?a(i.ref)?i.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(u)?e.checked=!!u.find(t=>t===e.value):e.checked=u===e.value||!!u)}):i.refs.forEach(e=>e.checked=e.value===u):r(i.ref)?i.ref.value="":(i.ref.value=u,i.ref.type||l||c||G.state.next({name:e,values:s?d:h(d)})))}(i.shouldDirty||i.shouldTouch)&&ex(e,p&&p._f&&!p._f.disabled&&(p._f.valueAsNumber||p._f.valueAsDate||p._f.setValueAs)?eE(t,p._f):u,i.shouldTouch,i.shouldDirty,!l),i.shouldValidate&&eG(e,{delayError:i.delayError}),i.shouldValidate&&p&&p._f&&p._f.deps&&(!Array.isArray(p._f.deps)||p._f.deps.length>0)&&eG(p._f.deps)},ez=(e,t,i,a=!1,r=!1,o=!1)=>{for(let l in w.array.has(e)&&G.array.next({name:e,values:a?d:h(d)}),t){if(!t.hasOwnProperty(l))continue;let p=t[l],d=e+"."+l,u=T(n,d);(w.array.has(e)||c(p)||u&&!u._f)&&!s(p)?ez(d,p,i,a,r,o):eq(d,p,i,a,r,o)}},eK=(e,t,a,r,s=!1)=>{let l=T(n,e),c=w.array.has(e),p=r?t:h(t),u=M(T(d,e),p);if(u||D(d,e,p),c)G.array.next({name:e,values:r?d:h(d)}),Y("isDirty","dirtyFields")&&a.shouldDirty&&(eo(),s||G.state.next({name:e,dirtyFields:i.dirtyFields,isDirty:eZ(e,p)})),a.shouldValidate&&eG(e,{delayError:a.delayError});else{let t=Array.isArray(p)&&!p.length||z(p),i=!u&&!s;!l||l._f||o(p)||t?eq(e,p,a,r,s,i):ez(e,p,a,r,s,i)}if(!u&&!s){let t=Z(e,w),n=r?d:h(d);if(G.state.next({...t&&i,name:k.mount||t?e:void 0,values:n}),!c)for(let t of eI(w.array,e))G.state.next({name:t,values:n})}},eB=(e,t,i={})=>eK(e,t,i,!1),eU=async e=>{k.mount=!0;let a=e.target,r=a.name,o=!0,l=T(n,r),c=e=>{o=Number.isNaN(e)||s(e)&&isNaN(e.getTime())||M(e,T(d,r,e))};if(l){let s,u,m=a.type?eT(l._f):p(e),f=e.type===v.BLUR||e.type===v.FOCUS_OUT,g=!eC(l._f)&&!t.validate&&!t.resolver&&!T(i.errors,r)&&!l._f.deps,x=g||eF(f,T(i.touchedFields,r),i.isSubmitted,j,R),y=Z(r,w,f);if(D(d,r,h(m)),f){if(!a||!a.readOnly){l._f.onBlur&&l._f.onBlur(e);let t=S[r];t&&t(0)}}else l._f.onChange&&l._f.onChange(e);let b=ex(r,m,f),_=!z(b)||y;if(f||G.state.next({name:r,type:e.type,...N?{values:h(d)}:{}}),x)return(!g||!i.isValid)&&Y("isValid")&&("onBlur"===t.mode?f&&er():f||er()),_&&G.state.next({name:r,...y?{}:b});if(!t.resolver&&t.validate&&await ek({name:r,eventType:e.type}),!f&&y&&G.state.next({...i}),t.resolver){let e=W,{errors:t}=await eb([r]);if(e!==W)return;if(es([r]),c(m),!o){z(b)||G.state.next(b);return}let a=eN(i.errors,n,r),l=eN(t,n,a.name||r);s=l.error,r=l.name,u=z(t)}else{let i=W;if(es([r],!0),s=(await et(l,w.disabled,d,J,t.shouldUseNativeValidation))[r],i!==W)return;if(es([r]),c(m),o){if(s)u=!1;else if(Y("isValid")&&(u=await eD({fields:n,onlyCheckValid:!0,name:r,eventType:e.type}),i!==W))return}}o&&(l._f.deps&&(!Array.isArray(l._f.deps)||l._f.deps.length>0)&&eG(l._f.deps),ey(r,u,s,b))}},eY=(e,t)=>
13{if(T(i.errors,t)&&e.focus)return e.focus(),1},eG=async(e,a={})=>{let r,s,o=ei(e);if(t.resolver){let t=W,i=await e_(E(e)?e:o);if(r=z(i),s=e?!o.some(e=>T(i,e)):r,t!==W)return s}else e?((s=(await Promise.all(o.map(async e=>{let t=T(n,e);return await eD({fields:t&&t._f?{[e]:t}:t,eventType:v.TRIGGER})}))).every(Boolean))||i.isValid)&&er():s=r=await eD({fields:n,name:e,eventType:v.TRIGGER});if(a.delayError&&t.delayError&&L(e)){let n=T(i.errors,e);n?(ea(i.errors,e),S[e]=X(e,()=>el(e,n)),S[e](t.delayError)):Q(e)}if(a.shouldTouch)for(let t of e?o:w.mount)w.array.has(t)||D(i.touchedFields,t,!0);return G.state.next({...!L(e)||Y("isValid")&&r!==i.isValid?{}:{name:e},...t.resolver||!e?{isValid:r}:{},...a.shouldTouch&&Y("touchedFields")?{touchedFields:i.touchedFields}:{},errors:i.errors}),a.shouldFocus&&!s&&$(n,eY,e?o:w.mount),s},eH=(e,t)=>{let n=t||i,a=T(n.errors,e);return{invalid:!!a,isDirty:!!T(n.dirtyFields,e),error:a,isValidating:!!T(n.validatingFields,e),isTouched:!!T(n.touchedFields,e)}},eW=e=>{let t=e?ei(e):void 0;t?t.forEach(e=>{ee(e),ea(i.errors,e),G.state.next({name:e,errors:i.errors})}):(Object.keys(S).forEach(Q),i.errors={},G.state.next({errors:i.errors}))},eJ=(e,t,a)=>{ee(e);let r=(T(n,e,{_f:{}})._f||{}).ref,{ref:s,message:o,type:l,types:c,...p}=T(i.errors,e)||{};D(i.errors,e,{...p,...t,ref:r}),G.state.next({name:e,errors:i.errors,isValid:!1}),a&&a.shouldFocus&&r&&r.focus&&r.focus()},eX=e=>{var t;let n=!!(null==(t=e.formState)?void 0:t.values);n&&N++;let{unsubscribe:a}=G.state.subscribe({next:t=>{if(ej(e.name,t.name,e.exact)&&eR(t,e.formState||B,e5,e.reRenderRoot)){let n={...d};e.callback({values:n,...i,...t,defaultValues:l})}}});if(!n)return a;let r=!1;return()=>{r||(r=!0,N--,a())}},eQ=(e,a={})=>{for(let r of e?ei(e):w.mount)w.mount.delete(r),w.array.delete(r),w.disabled.delete(r),a.keepValue||(ea(n,r),ea(d,r)),a.keepError||(ee(r),ea(i.errors,r)),a.keepDirty||ea(i.dirtyFields,r),a.keepTouched||ea(i.touchedFields,r),a.keepIsValidating||ea(i.validatingFields,r),t.shouldUnregister||a.keepDefaultValue||ea(l,r);N&&G.state.next({values:h(d)}),G.state.next({...i,...a.keepDirty?{}:{isDirty:eZ()},...a.keepIsValidating?{}:{isValidating:!z(i.validatingFields)}}),a.keepIsValid||er()},e0=({disabled:e,name:t})=>{if(O(e)&&k.mount||e||w.disabled.has(t)){let i=w.disabled.has(t),n=!!e;e?w.disabled.add(t):w.disabled.delete(t),i!==n&&k.mount&&!k.action&&er()}},e1=(e,i={})=>{let a=T(n,e),r=O(i.disabled)||O(t.disabled),s=!w.registerName.has(e)&&a&&a._f&&!a._f.mount;if(D(n,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...i}}),w.mount.add(e),a&&a._f){let t=T(n,e);for(let e of y)e in i||delete t._f[e]}return a&&!s?e0({disabled:O(i.disabled)?i.disabled:t.disabled,name:e}):eg(e,!0,i.value),{...r?{disabled:i.disabled||t.disabled}:{},...t.progressive?{required:!!i.required,min:eA(i.min),max:eA(i.max),minLength:eA(i.minLength),maxLength:eA(i.maxLength),pattern:eA(i.pattern)}:{},name:e,onChange:eU,onBlur:eU,ref:r=>{if(r){w.registerName.add(e),e1(e,i),w.registerName.delete(e),a=T(n,e);let t=E(r.value)&&r.querySelectorAll&&r.querySelectorAll("input,select,textarea")[0]||r,s=ef(t),o=a._f.refs||[];if(s?o.find(e=>e===t):t===a._f.ref)return;let c={...a._f};s?(c.refs=[...o.filter(eh),t,...Array.isArray(T(l,e))?[{}]:[]],c.ref={type:t.type,name:e}):(c.ref=t,delete c.refs),D(n,e,{_f:c}),eg(e,!1,void 0,t)}else(a=T(n,e,{}))._f&&(a._f.mount=!1),(t.shouldUnregister||i.shouldUnregister)&&!(m(w.array,e)&&k.action)&&w.unMount.add(e)}}},e2=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&$(n,eY,w.mount),e4=(e,a)=>async r=>{let s,o;r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let l=h(d);if(G.state.next({isSubmitting:!0}),t.resolver){let e=W,{errors:t,values:n}=await eb();if(e!==W)return;es(),Object.keys(S).forEach(Q),i.errors=t,l=h(n)}else{let e=W;if(await eD({fields:n,eventType:v.SUBMIT}),e!==W)return;ea(i.errors,_)}if(w.disabled.size)for(let e of w.disabled)ea(l,e);if(z(i.errors)){G.state.next({errors:{}});try{s=await e(l,r)}catch(e){o=e}}else a&&await a({...i.errors},r),e2(),setTimeout(e2);if(G.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:z(i.errors)&&!o,submitCount:i.submitCount+1,errors:i.errors}),o)throw o;return s},e9=(e,a={})=>{W++;let r=e?h(e):l,s=h(r),o=z(e),c=n;
13if(Object.keys(S).forEach(Q),a.keepDefaultValues||(l=r),!a.keepValues){if(a.keepDirtyValues)for(let e of new Set([...w.mount,...function e(t,i,n="",a=[]){for(let r in t){let s=n?`${n}.${r}`:r,o=t[r];ev(o)&&ev(T(i,s))?e(o,i,s,a):a.push(s)}return a}(ew(l,d,void 0,c),i.dirtyFields)])){let t=T(i.dirtyFields,e),n=T(d,e),a=T(s,e);t&&!E(n)?D(s,e,n):t||E(a)||eB(e,a)}else{if(f&&E(e))for(let e of w.mount){let t=T(n,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(K(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(a.keepFieldsRef)for(let e of w.mount)eB(e,T(s,e));else n={}}if(t.shouldUnregister){if(d=a.keepDefaultValues?h(l):{},a.keepFieldsRef)for(let e of w.mount)D(d,e,T(s,e))}else d=h(s);G.array.next({values:{...s}}),G.state.next({name:void 0,type:void 0,values:{...s}})}w={mount:a.keepDirtyValues?w.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},k.mount=!B.isValid||!!a.keepIsValid||!!a.keepDirtyValues||!t.shouldUnregister&&!z(s),k.watch=!!t.shouldUnregister,k.keepIsValid=!!a.keepIsValid,k.action=!1,k.actionArrayLengths.clear(),a.keepErrors||(i.errors={}),G.state.next({submitCount:a.keepSubmitCount?i.submitCount:0,isDirty:!o&&(a.keepDirty?i.isDirty:a.keepValues?eZ():!!(a.keepDefaultValues&&!M(e,l))),isSubmitted:!!a.keepIsSubmitted&&i.isSubmitted,dirtyFields:o?{}:a.keepDirtyValues?a.keepDefaultValues&&d?ew(l,d,void 0,c):i.dirtyFields:a.keepDefaultValues&&e?ew(l,e,void 0,c):a.keepDirty?i.dirtyFields:a.keepValues?ew(l,d,void 0,c):{},touchedFields:a.keepTouched?i.touchedFields:{},...!a.keepIsValidating&&(i.isValidating||!z(i.validatingFields))?{validatingFields:{},isValidating:!1}:null,errors:a.keepErrors?i.errors:{},isSubmitSuccessful:!!a.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1,defaultValues:l})},e3=(e,i)=>e9(A(e)?e(d):e,{...t.resetOptions,...i}),e5=e=>{let{name:t,type:n,values:a,...r}=e;i={...i,...r}};G.state.subscribe({next:e5});let e6={control:{register:e1,unregister:eQ,getFieldState:eH,handleSubmit:e4,setError:eJ,_subscribe:eX,_runSchema:eb,_updateIsValidating:es,_focusError:e2,_getWatch:e$,_getDirty:eZ,_setValid:er,_setFieldArray:(e,a=[],r,s,o=!0,l=!0)=>{if(s&&r&&!t.disabled){k.action=!0;let t=T(n,e);if(k.actionArrayLengths.has(e)||k.actionArrayLengths.set(e,Array.isArray(t)?t.length:0),l&&Array.isArray(t)){let i=r(t,s.argA,s.argB);o&&D(n,e,i)}let c=T(i.errors,e);if(l&&Array.isArray(c)){let t=c.root,n=r(c,s.argA,s.argB)||c;t&&(n.root=t),o&&D(i.errors,e,n),eM(i.errors,e)}let p=T(i.touchedFields,e),d=l&&Array.isArray(p);if(d){let t=r(p,s.argA,s.argB);o&&D(i.touchedFields,e,t)}let u=T(i.dirtyFields,e);if(l&&Array.isArray(u)){let t=r(u,s.argA,s.argB)||u;o&&D(i.dirtyFields,e,t)}Y("dirtyFields")&&eo(),G.state.next({name:e,isDirty:eZ(e,a),dirtyFields:i.dirtyFields,...d&&{touchedFields:i.touchedFields},errors:i.errors,isValid:i.isValid})}else D(d,e,a)},_setDisabledField:e0,_setErrors:e=>{Object.keys(S).forEach(Q);let t=!z(e);i.errors=e,G.state.next({errors:i.errors,...t?{isValid:!1}:{}}),!t&&k.mount&&er()},_getFieldArray:e=>en(T(k.mount?d:l,e,t.shouldUnregister?T(l,e,[]):[])),_reset:e9,_resetDefaultValues:()=>A(t.defaultValues)&&t.defaultValues().then(e=>{e3(e,t.resetOptions),G.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of w.unMount){let t=T(n,e);t&&(t._f.refs?t._f.refs.every(e=>!eh(e)):!eh(t._f.ref))&&eQ(e)}w.unMount=new Set},_disableForm:e=>{O(e)&&(G.state.next({disabled:e}),$(n,(t,i)=>{let a=T(n,i);a&&(t.disabled=a._f.disabled||e,Array.isArray(a._f.refs)&&a._f.refs.forEach(t=>{t.disabled=a._f.disabled||e}))},0))},_subjects:G,_proxyFormState:B,get _fields(){return n},get _formValues(){return d},get _state(){return k},set _state(value){k=value},get _defaultValues(){return l},get _names(){return w},set _names(value){w=value},get _formState(){return i},get _options(){return t},set _options(value){R=P((t={...t,...value}).mode),j=P(t.reValidateMode),J=t.criteriaMode===g.all}},subscribe:e=>(k.mount=!0,U={...U,...e.formState},eX({...e,formState:{...F,...e.formState}})),trigger:eG,register:e1,handleSubmit:e4,watch:(e,t)=>{if(A(e)){N++;let{unsubscribe:i}=G.state.subscribe({next:i=>"values"in i&&e(i.values||e$(void 0,t),i)}),n=!1;return{unsubscribe:()=>{n||(n=!0,N--,i())}}}return e$(e,t,!0)},setValue:eB,setValues:(e,t={})=>{let n=A(e)?e(d):e;
13if(!M(d,n)){for(let e of(d={...d,...n},w.mount))eu(n,e)&&eK(e,T(n,e),t,!0,!0);G.state.next({...i,name:void 0,type:void 0,...N?{values:d}:{}}),t.shouldValidate&&er()}},getValues:(e,t)=>{let n={...k.mount?d:l};return t&&(n=function e(t,i){let n=Array.isArray(t)?[]:{};for(let a in t)if(t.hasOwnProperty(a)){let r=t[a],s=i[a];r&&(c(r)||Array.isArray(r))&&s?n[a]=e(r,s):t[a]&&(n[a]=s)}return n}(t.dirtyFields?i.dirtyFields:i.touchedFields,n)),E(e)?n:L(e)?T(n,e):e.map(e=>T(n,e))},getErrors:e=>E(e)?{...i.errors}:L(e)?T(i.errors,e):e.map(e=>T(i.errors,e)),reset:e3,resetField:(e,t={})=>{T(n,e)&&(ea(i.validatingFields,e),E(t.defaultValue)?eB(e,h(T(l,e))):(eB(e,t.defaultValue),D(l,e,h(t.defaultValue))),t.keepTouched||ea(i.touchedFields,e),t.keepDirty||(ea(i.dirtyFields,e),i.isDirty=t.defaultValue?eZ(e,h(T(l,e))):eZ()),t.keepError||(ee(e),ea(i.errors,e),er()),G.state.next({...i,isValidating:!z(i.validatingFields)}))},resetDefaultValues:(e,t={})=>{if(l=h(e),!t.keepDirty){let e=ew(l,d,void 0,n);i.dirtyFields=e,i.isDirty=!z(e)}t.keepIsValid||er(),G.state.next({...i,defaultValues:l})},clearErrors:eW,unregister:eQ,setError:eJ,setFocus:(e,t={})=>{let i=T(n,e),a=i&&i._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&A(e.select)&&e.select()})}},getFieldState:eH};return{...e6,formControl:e6}}(e);t.current={...n,formState:k}}let S=t.current.control;S._options={...e,validate:e.validate};let R=()=>({...S._formState,defaultValues:S._defaultValues}),{resyncIfNeeded:j,snapshot:F}=function(e){let t=n.useRef(!1),i=n.useRef(!1),a=n.useRef(void 0),r=n.useRef(0);return r.current++,!i.current&&e&&(i.current=!0,a.current=h(e())),{resyncIfNeeded:n.useCallback((e,n,s)=>{if(e&&(t.current||i.current&&r.current>1)){let e=n();M(a.current,e)||s(e)}t.current=!0},[]),snapshot:n.useCallback((e,t)=>{e&&(a.current=h(t()))},[])}}(R);return N(()=>{j(!0,R,w);let e=S._subscribe({formState:S._proxyFormState,callback:()=>w({...S._formState,defaultValues:S._defaultValues}),reRenderRoot:!0});return w(e=>({...e,isReady:!0})),S._formState.isReady=!0,()=>{e(),F(!0,R)}},[S,j,F]),n.useEffect(()=>S._disableForm(e.disabled),[S,e.disabled]),n.useEffect(()=>{e.mode&&(S._options.mode=e.mode),e.reValidateMode&&(S._options.reValidateMode=e.reValidateMode)},[S,e.mode,e.reValidateMode]),n.useEffect(()=>{e.errors&&(S._setErrors(e.errors),S._focusError())},[S,e.errors]),n.useEffect(()=>{var i;d.current&&!e.validate&&(null==(i=t.current)||i.clearErrors(b)),d.current=!!e.validate},[e.validate]),n.useEffect(()=>{e.shouldUnregister&&S._subjects.state.next({values:S._getWatch()})},[S,e.shouldUnregister]),n.useEffect(()=>{if(S._proxyFormState.isDirty){let e=S._getDirty();e!==k.isDirty&&S._subjects.state.next({isDirty:e})}},[S,k.isDirty]),n.useEffect(()=>{var t;e.values&&!M(e.values,i.current)?(S._reset(e.values,{keepFieldsRef:!0,...S._options.resetOptions}),(null==(t=S._options.resetOptions)?void 0:t.keepIsValid)||S._setValid(),i.current=e.values,w(e=>({...e}))):S._resetDefaultValues()},[S,e.values]),n.useEffect(()=>{S._state.mount||(S._setValid(),S._state.mount=!0),S._state.watch&&(S._state.watch=!1,S._subjects.state.next({...S._formState})),S._removeUnmounted()}),t.current.formState=n.useMemo(()=>C(k,S),[S,k]),t.current}},22694:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var i=Array.isArray(t)?t:t.split(",");if(0===i.length)return!0;var n=e.name||"",a=(e.type||"").toLowerCase(),r=a.replace(/\/.*$/,"");return i.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?r===t.replace(/\/.*$/,""):a===t})}return!0}},22790:(e,t)=>{t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,i=arguments,n=1,a=arguments.length;n<a;n++)for(var r in t=i[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.__assign.apply(this,arguments)};var i,n=function(e){return e.trim().replace(/^(\d{6})\s?[-–]?\s?(\d{4})$/,"$1$2")},a=function(e){return e.replace(/^\D+/,"").replace(/\D+$/,"").replace(/[\s-–]/g,"")},r=function(e){var t=n(e);return 10!==t.length||/\D/.test(t)?void 0:t},s=function(e,t){void 0===t&&(t="-");var i=r(e);return i?i.slice(0,6)+t+i.slice(6):e},o=function(e){var t=r(e);if(!(!t||/^[89]/.test(t))){var i=String(parseInt(t.slice(0,2))%40).padStart(2,"0"),n=t.slice(2,4),a=(parseInt(t.slice(9,10))+2)%10+18,s=t.slice(4,6),o="".concat(a+s,"-").concat(n,"-").concat(i),l=new Date(o);if(!isNaN(l.getTime())&&l.toISOString().startsWith(o))return l}},l=[3,2,7,6,5,4,3,2,1],c=[212,220,239,247,255,263,271,298,301,336,433,492,506,778],p={person:1,company:1};function d(){return this.value}var u=function(e){return{toString:d,get formatted(){return s(e)}}};function m(e,r){if(r=r||{},!e||10!==(e="none"===r.clean||!1===r.clean?e:"aggressive"===r.clean?a(e):n(e)).length||/\D/.test(e))return;if(/^[89]/.test(e)&&!r.rejectTemporary&&"company"!==r.type)return t.__assign({value:e,type:"person",robot:!1,temporary:!0},u(e));if(!/^(?:[012456]\d|[37][01])(?:0\d|1[012]).+[890]$/.test(e)||r.strictDate&&!o(e))return;var s,d=(s=e,i||(i=RegExp("010130("+c.join("|")+")9")),i.test(s));if(!d||r.robot){for(var m=0,f=0,h=l.length;f<h;f++)m+=l[f]*parseInt(e[f]);if(!(m%11)){var v=e[0]>"3"?"company":"person",g=r.type;if(!g||!(g in p)||g===v)return t.__assign({value:e,type:v,robot:d},u(e))}}}function f(e,i){return!!m(e,t.__assign(t.__assign({},i),{clean:(null==i?void 0:i.clean)||!1}))}t.cleanKennitalaAggressive=a,t.cleanKennitalaCareful=n,t.formatKennitala=s,t.generateKennitala=function(e){void 0===e&&(e={});var t=Math.random,i=Math.floor,n="company"===e.type;if(!n){if(e.temporary)return String(8+ +(t()>.5))+String(i(1e9*t())).padStart(9,"0");if(e.robot){var a=c[i(t()*c.length)];return"010130".concat(a,"9")}}var r=e.birthDate;(!r||isNaN(r.getTime())||r<new Date("1800-01-01")||r>=new Date("2100-01-01"))&&(r=new Date(Date.now()-i(100*t()*31536e6)));for(var s=String(r.getUTCDate()+40*!!n).padStart(2,"0")+String(r.getUTCMonth()+1).padStart(2,"0")+String(r.getUTCFullYear()%100).padStart(2,"0"),o=String(r.getUTCFullYear())[1],l="";;)for(var p=0,d=n?String(i(100*t())):String(i(20+80*t()));p<10;){if(f(l=s+d+p+o,{type:e.type}))return l;p++}return l},t.getKennitalaBirthDate=o,t.isCompanyKennitala=function(e){return/^[4567]/.test(e)},t.isPersonKennitala=function(e){return/^[012389]/.test(e)},t.isTempKennitala=function(e){return/^[89]/.test(e)},t.isValidKennitala=f,t.parseKennitala=m},25294:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",i="minute",n="hour",a="week",r="month",s="quarter",o="year",l="date",c="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
13|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=function(e,t,i){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(i)+e},m="en",f={};f[m]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],i=e%100;return"["+e+(t[(i-20)%10]||t[i]||t[0])+"]"}};var h="$isDayjsObject",v=function(e){return e instanceof b||!(!e||!e[h])},g=function e(t,i,n){var a;if(!t)return m;if("string"==typeof t){var r=t.toLowerCase();f[r]&&(a=r),i&&(f[r]=i,a=r);var s=t.split("-");if(!a&&s.length>1)return e(s[0])}else{var o=t.name;f[o]=t,a=o}return!n&&a&&(m=a),a||!n&&m},x=function(e,t){if(v(e))return e.clone();var i="object"==typeof t?t:{};return i.date=e,i.args=arguments,new b(i)},y={s:u,z:function(e){var t=-e.utcOffset(),i=Math.abs(t);return(t<=0?"+":"-")+u(Math.floor(i/60),2,"0")+":"+u(i%60,2,"0")},m:function e(t,i){if(t.date()<i.date())return-e(i,t);var n=12*(i.year()-t.year())+(i.month()-t.month()),a=t.clone().add(n,r),s=i-a<0,o=t.clone().add(n+(s?-1:1),r);return+(-(n+(i-a)/(s?a-o:o-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:r,y:o,w:a,d:"day",D:l,h:n,m:i,s:t,ms:e,Q:s})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=g,y.i=v,y.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var b=function(){function u(e){this.$L=g(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[h]=!0}var m=u.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,i=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(p);if(n){var a=n[2]-1||0,r=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)):new Date(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return y},m.isValid=function(){return this.$d.toString()!==c},m.isSame=function(e,t){var i=x(e);return this.startOf(t)<=i&&i<=this.endOf(t)},m.isAfter=function(e,t){return x(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<x(e)},m.$g=function(e,t,i){return y.u(e)?this[t]:this.set(i,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,s){var c=this,p=!!y.u(s)||s,d=y.p(e),u=function(e,t){var i=y.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return p?i:i.endOf("day")},m=function(e,t){return y.w(c.toDate()[e].apply(c.toDate("s"),(p?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},f=this.$W,h=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(d){case o:return p?u(1,0):u(31,11);case r:return p?u(1,h):u(0,h+1);case a:var x=this.$locale().weekStart||0,b=(f<x?f+7:f)-x;return u(p?v-b:v+(6-b),h);case"day":case l:return m(g+"Hours",0);case n:return m(g+"Minutes",1);case i:return m(g+"Seconds",2);case t:return m(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(a,s){var c,p=y.p(a),d="set"+(this.$u?"UTC":""),u=((c={}).day=d+"Date",c[l]=d+"Date",c[r]=d+"Month",c[o]=d+"FullYear",c[n]=d+"Hours",c[i]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[p],m="day"===p?this.$D+(s-this.$W):s;if(p===r||p===o){var f=this.clone().set(l,1);f.$d[u](m),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else u&&this.$d[u](m);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[y.p(e)]()},m.add=function(e,s){var l,c=this;e=Number(e);var p=y.p(s),d=function(t){var i=x(c);return y.w(i.date(i.date()+Math.round(t*e)),c)};if(p===r)return this.set(r,this.$M+e);if(p===o)return this.set(o,this.$y+e);if("day"===p)return d(1);if(p===a)return d(7);var u=((l={})[i]=6e4,l[n]=36e5,l[t]=1e3,l)[p]||1,m=this.$d.getTime()+e*u;return y.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,i=this.$locale();if(!this.isValid())return i.invalidDate||c;var n=e||"YYYY-MM-DDTHH:mm:ssZ",a=y.z(this),r=this.$H,s=this.$m,o=this.$M,l=i.weekdays,p=i.months,u=i.meridiem,m=function(e,i,a,r){return e&&(e[i]||e(t,n))||a[i].slice(0,r)},f=function(e){return y.s(r%12||12,e,"0")},h=u||function(e,t,i){var n=e<12?"AM":"PM";return i?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return o+1;case"MM":return y.s(o+1,2,"0");case"MMM":return m(i.monthsShort,o,p,3);case"MMMM":return m(p,o);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return m(i.weekdaysMin,t.$W,l,2);case"ddd":return m(i.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(r);case"HH":return y.s(r,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return h(r,s,!0);case"A":return h(r,s,!1);case"m":return String(s);case"mm":return y.s(s,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")})},m.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},m.diff=function(e,l,c){var p,d=this,u=y.p(l),m=x(e),f=(m.utcOffset()-this.utcOffset())*6e4,h=this-m,v=function(){return y.m(d,m)};switch(u){case o:p=v()/12;break;case r:p=v();break;case s:p=v()/3;break;case a:p=(h-f)/6048e5;break;case"day":p=(h-f)/864e5;break;case n:p=h/36e5;break;case i:p=h/6e4;break;case t:p=h/1e3;break;default:p=h}return c?p:y.a(p)},m.daysInMonth=function(){return this.endOf(r).$D},m.$locale=function(){return f[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var i=this.clone(),n=g(e,t,!0);return n&&(i.$L=n),i},m.clone=function(){return y.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},u}(),_=b.prototype;return x.prototype=_,[["$ms",e],["$s",t],["$m",i],["$H",n],["$W","day"],["$M",r],["$y",o],["$D",l]].forEac
13h(function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),x.extend=function(e,t){return e.$i||(e(t,b,x),e.$i=!0),x},x.locale=g,x.isDayjs=v,x.unix=function(e){return x(1e3*e)},x.en=f[m],x.Ls=f,x.p={},x}()},31975:(e,t,i)=>{"use strict";i.d(t,{VB:()=>ee});var n=i(25444),a=i(50234),r=i(49685);let s
vendor: 41,168 bytes, line 13
13=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function
13o(e,t,i){let n=function(e){let{name:t}=e;if(t&&-1!==t.lastIndexOf(".")&&!e.type){let i=t.split(".").pop().toLowerCase(),n=s.get(i);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e),{webkitRelativePath:a}=e,r="string"==typeof t?t:"string"==typeof a&&a.length>0?a:`./${e.name}`;return"string"!=typeof n.path&&l(n,"path",r),void 0!==i&&Object.defineProperty(n,"handle",{value:i,writable:!1,configurable:!1,enumerable:!0}),l(n,"relativePath",r),n}function l(e,t,i){Object.defineProperty(e,t,{value:i,writable:!1,configurable:!1,enumerable:!0})}let c=[".DS_Store","Thumbs.db"];function p(e){return"object"==typeof e&&null!==e}function d(e){return e.filter(e=>-1===c.indexOf(e.name))}function u(e){if(null===e)return[];let t=[];for(let i=0;i<e.length;i++){let n=e[i];t.push(n)}return t}function m(e){if("function"!=typeof e.webkitGetAsEntry)return f(e);let t=e.webkitGetAsEntry();return t&&t.isDirectory?v(t):f(e,t)}function f(e,t){return(0,r.sH)(this,void 0,void 0,function*(){var i;if(globalThis.isSecureContext&&"function"==typeof e.getAsFileSystemHandle){let t=yield e.getAsFileSystemHandle();if(null===t)throw Error(`${e} is not a File`);if(void 0!==t){let e=yield t.getFile();return e.handle=t,o(e)}}let n=e.getAsFile();if(!n)throw Error(`${e} is not a File`);return o(n,null!=(i=null==t?void 0:t.fullPath)?i:void 0)})}function h(e){return(0,r.sH)(this,void 0,void 0,function*(){return e.isDirectory?v(e):function(e){return(0,r.sH)(this,void 0,void 0,function*(){return new Promise((t,i)=>{e.file(i=>{t(o(i,e.fullPath))},e=>{i(e)})})})}(e)})}function v(e){let t=e.createReader();return new Promise((e,i)=>{let n=[];!function a(){t.readEntries(t=>(0,r.sH)(this,void 0,void 0,function*(){if(t.length){let e=Promise.all(t.map(h));n.push(e),a()}else try{let t=yield Promise.all(n);e(t)}catch(e){i(e)}}),e=>{i(e)})}()})}var g=i(22694);function x(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function b(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?y(Object(i),!0).forEach(function(t){_(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):y(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function _(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i,n,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r=[],s=!0,o=!1;try{for(a=a.call(e);!(s=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);s=!0);}catch(e){o=!0,n=e}finally{try{s||null==a.return||a.return()}finally{if(o)throw n}}return r}}(e,t)||w(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){if(e){if("string"==typeof e)return I(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return I(e,t)}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}var E="function"==typeof g?g:g.default,T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(","),i=t.length>1?"one of ".concat(t.join(", ")):t[0];return{code:"file-invalid-type",message:"File type must be ".concat(i)}},O=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},A=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},D={code:"too-many-files",message:"Too many files"};function S(e,t){var i="application/x-moz-file"===e.type||E(e,t)||""===e.type&&"function"==typeof e.getAsFile;return[i,i?null:T(t)]}function C(e,t,i){if(N(e.size)){if(N(t)&&N(i)){if(e.size>i)return[!1,O(i)];if(e.size<t)return[!1,A(t)]}else if(N(t)&&e.size<t)return[!1,A(t)];else if(N(i)&&e.size>i)return[!1,O(i)]}return[!0,null]}function N(e){return null!=e}function R(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function j(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function F(e){e.preventDefault()}function M(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){for(var i=arguments.length,n=Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];return t.some(function(t){return!R(e)&&t&&t.apply(void 0,[e].concat(n)),R(e)})}}function L(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||"application/*"===e||/\w+\/[-+.\w]+/g.test(e)}function V(e){return/^.*\.[\w]+$/.test(e)}var P=["children"],Z=["open"],$=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],q=["refKey","onChange","onClick"];function z(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||B(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i,n,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r=[],s=!0,o=!1;try{for(a=a.call(e);!(s=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);s=!0);}catch(e){o=!0,n=e}finally{try{s||null==a.return||a.return()}finally{if(o)throw n}}return r}}(e,t)||B(e,t)||function(){throw TypeError("Invalid attempt to de
13structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){if(e){if("string"==typeof e)return U(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return U(e,t)}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function Y(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function G(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(i),!0).forEach(function(t){H(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Y(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function H(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function W(e,t){if(null==e)return{};var i,n,a=function(e,t){if(null==e)return{};var i,n,a={},r=Object.keys(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||(a[i]=e[i]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}var J=(0,n.forwardRef)(function(e,t){var i=e.children,a=ee(W(e,P)),r=a.open,s=W(a,Z);return(0,n.useImperativeHandle)(t,function(){return{open:r}},[r]),n.createElement(n.Fragment,null,i(G(G({},s),{},{open:r})))});J.displayName="Dropzone";var X={disabled:!1,getFilesFromEvent:function(e){return(0,r.sH)(this,void 0,void 0,function*(){var t;if(p(e)&&p(e.dataTransfer))return function(e,t){return(0,r.sH)(this,void 0,void 0,function*(){if(e.items){let i=u(e.items).filter(e=>"file"===e.kind);return"drop"!==t?i:d(function e(t){return t.reduce((t,i)=>[...t,...Array.isArray(i)?e(i):[i]],[])}((yield Promise.all(i.map(m)))))}return d(u(e.files).map(e=>o(e)))})}(e.dataTransfer,e.type);if(p(t=e)&&p(t.target))return u(e.target.files).map(e=>o(e));return Array.isArray(e)&&e.every(e=>"getFile"in e&&"function"==typeof e.getFile)?function(e){return(0,r.sH)(this,void 0,void 0,function*(){return(yield Promise.all(e.map(e=>e.getFile()))).map(e=>o(e))})}(e):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};J.defaultProps=X,J.propTypes={children:a.func,accept:a.objectOf(a.arrayOf(a.string)),multiple:a.bool,preventDropOnDocument:a.bool,noClick:a.bool,noKeyboard:a.bool,noDrag:a.bool,noDragEventsBubbling:a.bool,minSize:a.number,maxSize:a.number,maxFiles:a.number,disabled:a.bool,getFilesFromEvent:a.func,onFileDialogCancel:a.func,onFileDialogOpen:a.func,useFsAccessApi:a.bool,autoFocus:a.bool,onDragEnter:a.func,onDragLeave:a.func,onDragOver:a.func,onDrop:a.func,onDropAccepted:a.func,onDropRejected:a.func,onError:a.func,validator:a.func};var Q={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragGlobal:!1,acceptedFiles:[],fileRejections:[]};function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=G(G({},X),e),i=t.accept,a=t.disabled,r=t.getFilesFromEvent,s=t.maxSize,o=t.minSize,l=t.multiple,c=t.maxFiles,p=t.onDragEnter,d=t.onDragLeave,u=t.onDragOver,m=t.onDrop,f=t.onDropAccepted,h=t.onDropRejected,v=t.onFileDialogCancel,g=t.onFileDialogOpen,y=t.useFsAccessApi,w=t.autoFocus,I=t.preventDropOnDocument,E=t.noClick,T=t.noKeyboard,O=t.noDrag,A=t.noDragEventsBubbling,P=t.onError,Z=t.validator,B=(0,n.useMemo)(function(){return N(i)?Object.entries(i).reduce(function(e,t){var i=k(t,2),n=i[0],a=i[1];return[].concat(x(e),[n],x(a))},[]).filter(function(e){return L(e)||V(e)}).join(","):void 0},[i]),U=(0,n.useMemo)(function(){return N(i)?[{description:"Files",accept:Object.entries(i).filter(function(e){var t=k(e,2),i=t[0],n=t[1],a=!0;return L(i)||(console.warn('Skipped "'.concat(i,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),Array.isArray(n)&&n.every(V)||(console.warn('Skipped "'.concat(i,'" because an invali
13d file extension was provided.')),a=!1),a}).reduce(function(e,t){var i=k(t,2),n=i[0],a=i[1];return b(b({},e),{},_({},n,a))},{})}]:i},[i]),Y=(0,n.useMemo)(function(){return"function"==typeof g?g:ei},[g]),J=(0,n.useMemo)(function(){return"function"==typeof v?v:ei},[v]),ee=(0,n.useRef)(null),en=(0,n.useRef)(null),ea=K((0,n.useReducer)(et,Q),2),er=ea[0],es=ea[1],eo=er.isFocused,el=er.isFileDialogActive,ec=(0,n.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&"showOpenFilePicker"in window),ep=function(){!ec.current&&el&&setTimeout(function(){en.current&&(en.current.files.length||(es({type:"closeDialog"}),J()))},300)};(0,n.useEffect)(function(){return window.addEventListener("focus",ep,!1),function(){window.removeEventListener("focus",ep,!1)}},[en,el,J,ec]);var ed=(0,n.useRef)([]),eu=(0,n.useRef)([]),em=function(e){ee.current&&ee.current.contains(e.target)||(e.preventDefault(),ed.current=[])};(0,n.useEffect)(function(){return I&&(document.addEventListener("dragover",F,!1),document.addEventListener("drop",em,!1)),function(){I&&(document.removeEventListener("dragover",F),document.removeEventListener("drop",em))}},[ee,I]),(0,n.useEffect)(function(){var e=function(e){eu.current=[].concat(z(eu.current),[e.target]),j(e)&&es({isDragGlobal:!0,type:"setDragGlobal"})},t=function(e){eu.current=eu.current.filter(function(t){return t!==e.target&&null!==t}),eu.current.length>0||es({isDragGlobal:!1,type:"setDragGlobal"})},i=function(){eu.current=[],es({isDragGlobal:!1,type:"setDragGlobal"})},n=function(){eu.current=[],es({isDragGlobal:!1,type:"setDragGlobal"})};return document.addEventListener("dragenter",e,!1),document.addEventListener("dragleave",t,!1),document.addEventListener("dragend",i,!1),document.addEventListener("drop",n,!1),function(){document.removeEventListener("dragenter",e),document.removeEventListener("dragleave",t),document.removeEventListener("dragend",i),document.removeEventListener("drop",n)}},[ee]),(0,n.useEffect)(function(){return!a&&w&&ee.current&&ee.current.focus(),function(){}},[ee,w,a]);var ef=(0,n.useCallback)(function(e){P?P(e):console.error(e)},[P]),eh=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eA(e),ed.current=[].concat(z(ed.current),[e.target]),j(e)&&Promise.resolve(r(e)).then(function(t){if(!R(e)||A){var i,n,a,r,d,u,m,f,h=t.length,v=h>0&&(n=(i={files:t,accept:B,minSize:o,maxSize:s,multiple:l,maxFiles:c,validator:Z}).files,a=i.accept,r=i.minSize,d=i.maxSize,u=i.multiple,m=i.maxFiles,f=i.validator,(!!u||!(n.length>1))&&(!u||!(m>=1)||!(n.length>m))&&n.every(function(e){var t=k(S(e,a),1)[0],i=k(C(e,r,d),1)[0],n=f?f(e):null;return t&&i&&!n}));es({isDragAccept:v,isDragReject:h>0&&!v,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e)}}).catch(function(e){return ef(e)})},[r,p,ef,A,B,o,s,l,c,Z]),ev=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eA(e);var t=j(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&u&&u(e),!1},[u,A]),eg=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eA(e);var t=ed.current.filter(function(e){return ee.current&&ee.current.contains(e)}),i=t.indexOf(e.target);-1!==i&&t.splice(i,1),ed.current=t,!(t.length>0)&&(es({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),j(e)&&d&&d(e))},[ee,d,A]),ex=(0,n.useCallback)(function(e,t){var i=[],n=[];e.forEach(function(e){var t=K(S(e,B),2),a=t[0],r=t[1],l=K(C(e,o,s),2),c=l[0],p=l[1],d=Z?Z(e):null;if(a&&c&&!d)i.push(e);else{var u=[r,p];d&&(u=u.concat(d)),n.push({file:e,errors:u.filter(function(e){return e})})}}),(!l&&i.length>1||l&&c>=1&&i.length>c)&&(i.forEach(function(e){n.push({file:e,errors:[D]})}),i.splice(0)),es({acceptedFiles:i,fileRejections:n,isDragReject:n.length>0,type:"setFiles"}),m&&m(i,n,t),n.length>0&&h&&h(n,t),i.length>0&&f&&f(i,t)},[es,l,B,o,s,c,m,f,h,Z]),ey=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eA(e),ed.current=[],j(e)&&Promise.resolve(r(e)).then(function(t){(!R(e)||A)&&ex(t,e)}).catch(function(e){return ef(e)}),es({type:"reset"})},[r,ex,ef,A]),eb=(0,n.useCallback)(function(){if(ec.current){es({type:"openDialog"}),Y(),window.showOpenFilePicker({multiple:l,types:U}).then(function(e){return r(e)}).then(function(e){ex(e,null),es({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(J(e),es({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(ec.current=!1,en.current?(en.current.value=null,en.current.click()):ef(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):ef(e)});return}en.current&&(es({type:"openDialog"}),Y(),en.current.value=null,en.current.click())},[es,Y,J,y,ex,ef,U,l]),e_=(0,n.useCallback)(function(e){ee.current&&ee.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),eb())},[ee,eb]),ek=(0,n.useCallback)(function(){es({type:"focus"})},[]),ew=(0,n.useCallback)(function(){es({type:"blur"})},[]),eI=(0,n.useCallback)(function(){E||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(eb,0):eb())},[E,eb]),eE=function(e){return a?null:e},eT=function(e){return T?null:eE(e)},eO=function(e){return O?null:eE(e)},eA=function(e){A&&e.stopPropagation()},eD=(0,n.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,i=e.role,n=e.onKeyDown,r=e.onFocus,s=e.onBlur,o=e.onClick,l=e.onDragEnter,c=e.onDragOver,p=e.onDragLeave,d=e.onDrop,u=W(e,$);return G(G(H({onKeyDown:eT(M(n,e_)),onFocus:eT(M(r,ek)),onBlur:eT(M(s,ew)),onClick:eE(M(o,eI)),onDragEnter:eO(M(l,eh)),onDragOver:eO(M(c,ev)),onDragLeave:eO(M(p,eg)),onDrop:eO(M(d,ey)),role:"string"==typeof i&&""!==i?i:"presentation"},void 0===t?"ref":t,ee),a||T?{}:{tabIndex:0}),u)}},[ee,e_,ek,ew,eI,eh,ev,eg,ey,T,O,a]),eS=(0,n.useCallback)(function(e){e.stopPropagation()},[]),eC=(0,n.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
13,t=e.refKey,i=e.onChange,n=e.onClick,a=W(e,q);return G(G({},H({accept:B,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:eE(M(i,ey)),onClick:eE(M(n,eS)),tabIndex:-1},void 0===t?"ref":t,en)),a)}},[en,i,l,ey,a]);return G(G({},er),{},{isFocused:eo&&!a,getRootProps:eD,getInputProps:eC,rootRef:ee,inputRef:en,open:eE(eb)})}function et(e,t){switch(t.type){case"focus":return G(G({},e),{},{isFocused:!0});case"blur":return G(G({},e),{},{isFocused:!1});case"openDialog":return G(G({},Q),{},{isFileDialogActive:!0});case"closeDialog":return G(G({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return G(G({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return G(G({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"setDragGlobal":return G(G({},e),{},{isDragGlobal:t.isDragGlobal});case"reset":return G({},Q);default:return e}}function ei(){}},33513:(e,t,i)=>{"use strict";i.d(t,{w:()=>r});var n=i(25444);function a(e,t,i){return e[t]?e[t][0]?e[t][0][i]:e[t][i]:"contentBoxSize"===t?e.contentRect["inlineSize"===i?"width":"height"]:void 0}function r(e={}){let t=e.onResize,i=(0,n.useRef)(void 0);i.current=t;
13let s=e.round||Math.round,o=(0,n.useRef)(void 0),[l,c]=(0,n.useState)({width:void 0,height:void 0}),p=(0,n.useRef)(!1);(0,n.useEffect)(()=>(p.current=!1,()=>{p.current=!0}),[]);let d=(0,n.useRef)({width:void 0,height:void 0}),u=function(e,t){let i=(0,n.useRef)(null),a=(0,n.useRef)(null);a.current=t;let r=(0,n.useRef)(null);(0,n.useEffect)(()=>{s()});let s=(0,n.useCallback)(()=>{let t=r.current,n=a.current,s=t||(n?"nodeType"in n?n:n.current:null);i.current&&i.current.element===s&&i.current.subscriber===e||(i.current&&i.current.cleanup&&i.current.cleanup(),i.current={element:s,subscriber:e,cleanup:s?e(s):void 0})},[e]);return(0,n.useEffect)(()=>()=>{i.current&&i.current.cleanup&&(i.current.cleanup(),i.current=null)},[]),(0,n.useCallback)(e=>{r.current=e,s()},[s])}((0,n.useCallback)(t=>{if(!o.current||o.current.box!==e.box||o.current.round!==s){let n=t.ownerDocument.defaultView?.ResizeObserver??ResizeObserver;o.current={box:e.box,round:s,instance:new n(t=>{if(p.current)return;let n=t[0],r="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",o=a(n,r,"inlineSize"),l=a(n,r,"blockSize"),u=void 0===o?void 0:s(o),m=void 0===l?void 0:s(l);if(d.current.width!==u||d.current.height!==m){let e={width:u,height:m};d.current.width=u,d.current.height=m,i.current?i.current({...e,entry:n}):c(e)}})}}return o.current.instance.observe(t,{box:e.box}),()=>{o.current&&o.current.instance.unobserve(t)}},[e.box,s]),e.ref);return(0,n.useMemo)(()=>({ref:u,width:l.width,height:l.height}),[u,l.width,l.height])}},34442:(e,t,i)=>{i(37811);var n=function(e){var t="number"!=typeof e?parseFloat(""+e):e;return isNaN(t)?void console.error("prettyNum can't format:",e):t},a={is:[",","."]};a.testing=a.is;var r=[];t.l=function(e,t){void 0===t&&(t={});var i=t.decimals,s=void 0===i?0:i,o=t.fixedDecimals,l=t.leadingZero,c=void 0===l||l,p=t.lang,d=void 0===p?"en":p,u=n(e);if(null==u)return"";if(!t.splitters&&1===Intl.Collator.supportedLocalesOf(d).length){var m=u.toLocaleString(d,{maximumFractionDigits:s,minimumFractionDigits:s});return s>0&&!o&&u===Math.round(u)&&(m=m.replace(/\D0+$/,"")),!c&&1>Math.abs(u)&&(m=m.replace(/^(-?)0/,"$1")),m}var f=t.splitters||a[d]||[],h=f[0]||".",v=f[1]||"",g=r[s]||(r[s]=new RegExp("\\.\\d{".concat(s,"}"))),x=(o||g.test(String(u))?u.toFixed(s):String(u)).split("."),y=x[0].replace(/\d(?=(\d{3})+$)/g,"$&"+v);return(y=c||"0"!==y[0]?y:y.replace(/\d/,""))+(x[1]?h+x[1]:"")}},49974:function(e,t,i){e.exports=function(e){"use strict";var t={s:["nokkrar sek\xfandur","nokkrar sek\xfandur","nokkrum sek\xfandum"],m:["m\xedn\xfata","m\xedn\xfatu","m\xedn\xfatu"],mm:["m\xedn\xfatur","m\xedn\xfatur","m\xedn\xfatum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","d\xf6gum"],M:["m\xe1nu\xf0ur","m\xe1nu\xf0","m\xe1nu\xf0i"],MM:["m\xe1nu\xf0ir","m\xe1nu\xf0i","m\xe1nu\xf0um"],y:["\xe1r","\xe1r","\xe1ri"],yy:["\xe1r","\xe1r","\xe1rum"]};function i(e,i,n,a){var r;return(r=t[2===n.length&&e%10==1?n[0]:n][i?0:a?1:2],1===n.length?r:"%d "+r).replace("%d",e)}var n={name:"is",weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),weekStart:1,weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(n,null,!0),n}(i(25294))},50234:(e,t,i)=>{e.exports=i(73502)()},51961:(e,t,i)=>{"use strict";i.d(t,{Bp:()=>ef,mH:()=>eI});var n=i(38762),a=i(97705),r=i(50234),s=i.n(r),o=i(25444);i(58394);let l=e=>"object"==typeof e&&null!=e&&1===e.nodeType,c=(e,t)=>
13(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,p=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let i=getComputedStyle(e,null);return c(i.overflowY,t)||c(i.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},d=(e,t,i,n,a,r,s,o)=>r<e&&s>t||r>e&&s<t?0:r<=e&&o<=i||s>=t&&o>=i?r-e-n:s>t&&o<i||r<e&&o>i?s-t+a:0,u=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},m=(e,t)=>{var i,n,a,r;if("undefined"==typeof document)return[];let{scrollMode:s,block:o,inline:c,boundary:m,skipOverflowHiddenElements:f}=t,h="function"==typeof m?m:e=>e!==m;if(!l(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,g=[],x=e;for(;l(x)&&h(x);){if((x=u(x))===v){g.push(x);break}null!=x&&x===document.body&&p(x)&&!p(document.documentElement)||null!=x&&p(x,f)&&g.push(x)}let y=null!=(n=null==(i=window.visualViewport)?void 0:i.width)?n:innerWidth,b=null!=(r=null==(a=window.visualViewport)?void 0:a.height)?r:innerHeight,{scrollX:_,scrollY:k}=window,{height:w,width:I,top:E,right:T,bottom:O,left:A}=e.getBoundingClientRect(),{top:D,right:S,bottom:C,left:N}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),R="start"===o||"nearest"===o?E-D:"end"===o?O+C:E+w/2-D+C,j="center"===c?A+I/2-N+S:"end"===c?T+S:A-N,F=[];for(let e=0;e<g.length;e++){let t=g[e],{height:i,width:n,top:a,right:r,bottom:l,left:u}=t.getBoundingClientRect();if("if-needed"===s&&E>=0&&A>=0&&O<=b&&T<=y&&(t===v&&!p(t)||E>=a&&O<=l&&A>=u&&T<=r))break;let m=getComputedStyle(t),f=parseInt(m.borderLeftWidth,10),h=parseInt(m.borderTopWidth,10),x=parseInt(m.borderRightWidth,10),D=parseInt(m.borderBottomWidth,10),S=0,C=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-x:0,M="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-D:0,L="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,V="offsetHeight"in t?0===t.offsetHeight?0:i/t.offsetHeight:0;if(v===t)S="start"===o?R:"end"===o?R-b:"nearest"===o?d(k,k+b,b,h,D,k+R,k+R+w,w):R-b/2,C="start"===c?j:"center"===c?j-y/2:"end"===c?j-y:d(_,_+y,y,f,x,_+j,_+j+I,I),S=Math.max(0,S+k),C=Math.max(0,C+_);else{S="start"===o?R-a-h:"end"===o?R-l+D+M:"nearest"===o?d(a,l,i,h,D+M,R,R+w,w):R-(a+i/2)+M/2,C="start"===c?j-u-f:"center"===c?j-(u+n/2)+N/2:"end"===c?j-r+x+N:d(u,r,n,f,x+N,j,j+I,I);let{scrollLeft:e,scrollTop:s}=t;S=0===V?0:Math.max(0,Math.min(s+S/V,t.scrollHeight-i/V+M)),C=0===L?0:Math.max(0,Math.min(e+C/L,t.scrollWidth-n/L+N)),R+=s-S,j+=e-C}F.push({el:t,top:S,left:C})}return F};var f=i(49685);function h(){}function v(e,t,i){return e===t||t instanceof i.Node&&e.contains&&e.contains(t)}function g(e,t){var i;function n(){i&&clearTimeout(i)}function a(){for(var a=arguments.length,r=Array(a),s=0;s<a;s++)r[s]=arguments[s];n(),i=setTimeout(function(){i=null,e.apply(void 0,r)},t)}return a.cancel=n,a}function x(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){for(var i=arguments.length,n=Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];return t.some(function(t){return t&&t.apply(void 0,[e].concat(n)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault})}}function y(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}function b(e,t){return e&&t?Object.keys(e).reduce(function(i,n){return i[n]=void 0!==t[n]?t[n]:e[n],i},{}):e}function _(e){var t=e.key,i=e.keyCode;return i>=37&&i<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function k(e,t,i,n,a){void 0===a&&(a=!1);var r=i.length;if(0===r)return -1;var s=r-1;("number"!=typeof e||e<0||e>s)&&(e=t>0?-1:s+1);var o=e+t;o<0?o=a?s:0:o>s&&(o=a?0:s);var l=w(o,t<0,i,n,a);return -1===l?e>=r?-1:e:l}function w(e,t,i,n,a){void 0===a&&(a=!1);var r=i.length;if(t){for(var s=e;s>=0;s--)if(!n(i[s],s))return s}else for(var o=e;o<r;o++)if(!n(i[o],o))return o;return a?w(t?r-1:0,t,i,n):-1}function I(e,t,i,n){return void 0===n&&(n=!0),i&&t.some(function(t){return t&&(v(t,e,i)||n&&v(t,i.document.activeElement,i))})}var E=g(function(e){T(e).textContent=""},500);function T(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t)),t}function O(e,t){e&&t&&(T(t).textContent=e,E(t))}var A=["highlightedIndex","items","environment"],D={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},S=g(function(e,t){O(e(),t)},200),C="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect,N=function(e){var t=e.id,i=e.labelId,n=e.menuId,a=e.getItemId,r=e.toggleButtonId,s=e.inputId,l="downshift-"+o.useId();return t||(t=l),(0,o.useRef)({labelId:i||t+"-label",menuId:n||t+"-menu",getItemId:a||function(e){return t+"-item-"+e},toggleButtonId:r||t+"-toggle-button",inputId:s||t+"-input"}).current};function R(e,t,i,n){var a,r;if(void 0===e){if(void 0===t)throw Error(n);a=i[t],r=t}else r=void 0===t?i.indexOf(e):t,a=e;return[a,r]}function j(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function F(e){var t=(0,o.useRef)(e);return t.current=e,t}function M(e,t,i,n){var r=(0,o.useRef)(),s=(0,o.useRef)(),l=(0,o.useCallback)(function(t,i){s.current=i;var n=e(t=b(t,i.props),i);return i.props.stateReducer(t,(0,a.A)({},i,{changes:n}))},[e]),c=(0,o.useReducer)(l,t,i),p=c[0],d=c[1],u=F(t),m=(0,o.useCallback)(function(e){return d((0,a.A)({props:u.current},e))},[u]),f=s.current;return(0,o.useEffect)(function(){var e,t,i,s=b(r.current,null==f?void 0:f.props);f&&r.current&&!n(s,p)&&(e=f.props,t=f.type,i={}
13,Object.keys(s).forEach(function(e){var t,n,r,o,l,c,d;t=e,n=f,r=s,o=p,l=n.props,c=n.type,l[d="on"+j(t)+"Change"]&&void 0!==o[t]&&o[t]!==r[t]&&l[d]((0,a.A)({type:c},o)),p[e]!==s[e]&&(i[e]=p[e])}),e.onStateChange&&Object.keys(i).length&&e.onStateChange((0,a.A)({type:t},i))),r.current=p},[p,f,n]),[p,m]}function L(e,t,i,n){var a=M(e,t,i,n),r=a[0],s=a[1];return[b(r,t),s]}var V={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,i=e.itemToString;return t?i(t)+" has been selected.":""},scrollIntoView:function(e,t){e&&m(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach(function(e){var t=e.el,i=e.top,n=e.left;t.scrollTop=i,t.scrollLeft=n})},environment:"undefined"==typeof window?void 0:window};function P(e,t,i){void 0===i&&(i=D);var n=e["default"+j(t)];return void 0!==n?n:i[t]}function Z(e,t,i){void 0===i&&(i=D);var n=e[t];if(void 0!==n)return n;var a=e["initial"+j(t)];return void 0!==a?a:P(e,t,i)}function $(e){var t=Z(e,"selectedItem"),i=Z(e,"isOpen"),n=Z(e,"highlightedIndex"),a=Z(e,"inputValue");return{highlightedIndex:n<0&&t&&i?e.items.findIndex(function(i){return e.itemToKey(i)===e.itemToKey(t)}):n,isOpen:i,selectedItem:t,inputValue:a}}function q(e,t,i){var n=e.items,a=e.initialHighlightedIndex,r=e.defaultHighlightedIndex,s=e.itemToKey,o=t.selectedItem,l=t.highlightedIndex;return 0===n.length?-1:void 0!==a&&l===a?a:void 0!==r?r:o?n.findIndex(function(e){return s(o)===s(e)}):0===i?-1:i<0?n.length-1:0}function z(e,t,i){var n=(0,o.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,o.useEffect)(function(){if(!e)return h;var a=t.map(function(e){return e.current});function r(){n.current.isTouchEnd=!1,n.current.isMouseDown=!0}function s(t){n.current.isMouseDown=!1,I(t.target,a,e)||i()}function o(){n.current.isTouchEnd=!1,n.current.isTouchMove=!1}function l(){n.current.isTouchMove=!0}function c(t){n.current.isTouchEnd=!0,n.current.isTouchMove||I(t.target,a,e,!1)||i()}return e.addEventListener("mousedown",r),e.addEventListener("mouseup",s),e.addEventListener("touchstart",o),e.addEventListener("touchmove",l),e.addEventListener("touchend",c),function(){e.removeEventListener("mousedown",r),e.removeEventListener("mouseup",s),e.removeEventListener("touchstart",o),e.removeEventListener("touchmove",l),e.removeEventListener("touchend",c)}},[e,i]),n.current}var K=function(){return h};function B(e,t,i){var r=i.highlightedIndex,s=i.items,l=i.environment,c=(0,n.A)(i,A),p=H();(0,o.useEffect)(function(){!p&&null!=l&&l.document&&S(function(){return e((0,a.A)({highlightedIndex:r,highlightedItem:s[r],resultCount:s.length},c))},l.document)},t)}function U(e){var t=e.highlightedIndex,i=e.isOpen,n=e.itemRefs,a=e.getItemNodeFromIndex,r=e.menuElement,s=e.scrollIntoView,l=(0,o.useRef)(!0);return C(function(){!(t<0)&&i&&Object.keys(n.current).length&&(!1===l.current?l.current=!0:s(a(t),r))},[t]),l}function Y(e,t,i){void 0===i&&(i=!0);var n,r=(null==(n=e.items)?void 0:n.length)&&t>=0;return(0,a.A)({isOpen:!1,highlightedIndex:-1},r&&(0,a.A)({selectedItem:e.items[t],isOpen:P(e,"isOpen"),highlightedIndex:P(e,"highlightedIndex")},i&&{inputValue:e.itemToString(e.items[t])}))}function G(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function H(){var e=o.useRef(!0);return o.useEffect(function(){return e.current=!1,function(){e.current=!0}},[]),e.current}var W={environment:s().shape({addEventListener:s().func.isRequired,removeEventListener:s().func.isRequired,document:s().shape({createElement:s().func.isRequired,getElementById:s().func.isRequired,activeElement:s().any.isRequired,body:s().any.isRequired}).isRequired,Node:s().func.isRequired}),itemToString:s().func,itemToKey:s().func,stateReducer:s().func},J=(0,a.A)({},W,{getA11yStatusMessage:s().func,highlightedIndex:s().number,defaultHighlightedIndex:s().number,initialHighlightedIndex:s().number,isOpen:s().bool,defaultIsOpen:s().bool,initialIsOpen:s().bool,selectedItem:s().any,initialSelectedItem:s().any,defaultSelectedItem:s().any,id:s().string,labelId:s().string,menuId:s().string,getItemId:s().func,toggleButtonId:s().string,onSelectedItemChange:s().func,onHighlightedIndexChange:s().func,onStateChange:s().func,onIsOpenChange:s().func,scrollIntoView:s().func});function X(e,t,i){var n,r=t.type,s=t.props;switch(r){case i.ItemMouseMove:n={highlightedIndex:t.disabled?-1:t.index};break;case i.MenuMouseLeave:n={highlightedIndex:-1};break;case i.ToggleButtonClick:case i.FunctionToggleMenu:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:q(s,e,0)};break;case i.FunctionOpenMenu:n={isOpen:!0,highlightedIndex:q(s,e,0)};break;case i.FunctionCloseMenu:n={isOpen:!1};break;case i.FunctionSetHighlightedIndex:n={highlightedIndex:t.highlightedIndex};break;case i.FunctionSetInputValue:n={inputValue:t.inputValue};break;case i.FunctionReset:n={highlightedIndex:P(s,"highlightedIndex"),isOpen:P(s,"isOpen"),selectedItem:P(s,"selectedItem"),inputValue:P(s,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return(0,a.A)({},e,n)}(0,f.Cl)((0,f.Cl)({},J),{items:s().array.isRequired,isItemDisabled:s().func,getA11ySelectionMessage:s().func});var Q=(0,f.Cl)((0,f.Cl)({}
13,V),{getA11yStatusMessage:function(e){var t=e.isOpen,i=e.resultCount,n=e.previousResultCount;return t?i?i!==n?"".concat(i," result").concat(1===i?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""},isItemDisabled:function(){return!1}}),ee=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21});function et(e,t){var i,n,r=t.type,s=t.props,o=t.altKey;switch(r){case 14:n={isOpen:P(s,"isOpen"),highlightedIndex:P(s,"highlightedIndex"),selectedItem:s.items[t.index]};break;case 3:var l=t.key,c=""+e.inputValue+l,p=function(e){for(var t=e.keysSoFar,i=e.highlightedIndex,n=e.items,a=e.itemToString,r=e.isItemDisabled,s=t.toLowerCase(),o=0;o<n.length;o++){var l=(o+i+ +(t.length<2))%n.length,c=n[l];if(void 0!==c&&a(c).toLowerCase().startsWith(s)&&!r(c,l))return l}return i}({keysSoFar:c,highlightedIndex:!e.isOpen&&e.selectedItem?s.items.findIndex(function(t){return s.itemToKey(t)===s.itemToKey(e.selectedItem)}):e.highlightedIndex,items:s.items,itemToString:s.itemToString,isItemDisabled:s.isItemDisabled});n={inputValue:c,highlightedIndex:p,isOpen:!0};break;case 1:n={highlightedIndex:e.isOpen?k(e.highlightedIndex,1,s.items,s.isItemDisabled):o&&null==e.selectedItem?-1:q(s,e,1),isOpen:!0};break;case 2:n=e.isOpen&&o?Y(s,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?k(e.highlightedIndex,-1,s.items,s.isItemDisabled):q(s,e,-1),isOpen:!0};break;case 7:case 8:n=Y(s,e.highlightedIndex,!1);break;case 5:n={highlightedIndex:w(0,!1,s.items,s.isItemDisabled),isOpen:!0};break;case 6:n={highlightedIndex:w(s.items.length-1,!0,s.items,s.isItemDisabled),isOpen:!0};break;case 9:n={highlightedIndex:k(e.highlightedIndex,-10,s.items,s.isItemDisabled)};break;case 10:n={highlightedIndex:k(e.highlightedIndex,10,s.items,s.isItemDisabled)};break;case 4:n={isOpen:!1,highlightedIndex:-1};break;case 11:n=(0,a.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(i=s.items)?void 0:i.length)&&{selectedItem:s.items[e.highlightedIndex]});break;case 19:n={selectedItem:t.selectedItem};break;default:return X(e,t,ee)}return(0,a.A)({},e,n)}var ei=["onClick"],en=["onMouseLeave","refKey","ref"],ea=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],er=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];var es=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputClick:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});function eo(e){var t=$(e),i=t.selectedItem,n=t.inputValue;return""===n&&i&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(n=e.itemToString(i)),(0,a.A)({},t,{inputValue:n})}(0,a.A)({},J,{items:s().array.isRequired,isItemDisabled:s().func,selectedItemChanged:s().func,getA11ySelectionMessage:s().func,inputValue:s().string,defaultInputValue:s().string,initialInputValue:s().string,inputId:s().string,onInputValueChange:s().func});var el=(0,a.A)({},V,{getA11yStatusMessage:function(e){var t=e.isOpen,i=e.resultCount,n=e.previousResultCount;return t?i?i!==n?i+" result"+(1===i?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""},isItemDisabled:function(){return!1}});function ec(e,t){var i,n,r=t.type,s=t.props,o=t.altKey;switch(r){case 13:n={isOpen:P(s,"isOpen"),highlightedIndex:P(s,"highlightedIndex"),selectedItem:s.items[t.index],inputValue:s.itemToString(s.items[t.index])};break;case 0:n=e.isOpen?{highlightedIndex:k(e.highlightedIndex,1,s.items,s.isItemDisabled,!0)}:{highlightedIndex:o&&null==e.selectedItem?-1:q(s,e,1),isOpen:s.items.length>=0};break;case 1:n=e.isOpen?o?Y(s,e.highlightedIndex):{highlightedIndex:k(e.highlightedIndex,-1,s.items,s.isItemDisabled,!0)}:{highlightedIndex:q(s,e,-1),isOpen:s.items.length>=0};break;case 7:n=Y(s,e.highlightedIndex);break;case 2:n=(0,a.A)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:n={highlightedIndex:k(e.highlightedIndex,-10,s.items,s.isItemDisabled,!0)};break;case 6:n={highlightedIndex:k(e.highlightedIndex,10,s.items,s.isItemDisabled,!0)};break;case 3:n={highlightedIndex:w(0,!1,s.items,s.isItemDisabled)};break;case 4:n={highlightedIndex:w(s.items.length-1,!0,s.items,s.isItemDisabled)};break;case 9:n=(0,a.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(i=s.items)?void 0:i.length)&&t.selectItem&&{selectedItem:s.items[e.highlightedIndex],inputValue:s.itemToString(s.items[e.highlightedIndex])});break;case 8:n={isOpen:!0,highlightedIndex:P(s,"highlightedIndex"),inputValue:t.inputValue};break;case 10:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:q(s,e,0)};break;case 19:n={selectedItem:t.selectedItem,inputValue:s.itemToString(t.selectedItem)};break;case 22:n={inputValue:t.inputValue};break;default:return X(e,t,es)}return(0,a.A)({},e,n)}var ep=["onMouseLeave","refKey","ref"],ed=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],eu=["onClick","onPress","refKey","ref"],em=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function ef(e){void 0===e&&(e={});var t,i,r,s,l,c=(0,a.A)({},el,e),p=c.items,d=c.scrollIntoView,u=c.environment,m=c.getA11yStatus
13Message,f=c.getA11ySelectionMessage,h=c.itemToString,v=(t=(0,o.useRef)(),r=(i=M(ec,c,eo,G))[0],s=i[1],l=H(),(0,o.useEffect)(function(){if(void 0!==c.selectedItem){if(!l){var e;void 0===c.selectedItemChanged?e=c.itemToKey(c.selectedItem)!==c.itemToKey(t.current):(console.warn('The "selectedItemChanged" is deprecated. Please use "itemToKey instead". https://github.com/downshift-js/downshift/blob/master/src/hooks/useCombobox/README.md#selecteditemchanged'),e=c.selectedItemChanged(t.current,c.selectedItem)),e&&s({type:22,inputValue:c.itemToString(c.selectedItem)})}t.current=r.selectedItem===t.current?c.selectedItem:r.selectedItem}},[r.selectedItem,c.selectedItem]),[b(r,c),s]),g=v[0],k=v[1],w=g.isOpen,I=g.highlightedIndex,E=g.selectedItem,T=g.inputValue,O=(0,o.useRef)(null),A=(0,o.useRef)({}),D=(0,o.useRef)(null),S=(0,o.useRef)(null),C=H(),j=N(c),L=(0,o.useRef)(),V=F({state:g,props:c}),P=(0,o.useCallback)(function(e){return A.current[j.getItemId(e)]},[j]);B(m,[w,I,T,p],(0,a.A)({previousResultCount:L.current,items:p,environment:u,itemToString:h},g)),B(f,[E],(0,a.A)({previousResultCount:L.current,items:p,environment:u,itemToString:h},g));var $=U({menuElement:O.current,highlightedIndex:I,isOpen:w,itemRefs:A,scrollIntoView:d,getItemNodeFromIndex:P});(0,o.useEffect)(function(){Z(c,"isOpen")&&D.current&&D.current.focus()},[]),(0,o.useEffect)(function(){C||(L.current=p.length)});var q=z(u,[S,O,D],(0,o.useCallback)(function(){V.current.state.isOpen&&k({type:9,selectItem:!1})},[k,V])),Y=K("getInputProps","getMenuProps");(0,o.useEffect)(function(){w||(A.current={})},[w]),(0,o.useEffect)(function(){var e;w&&null!=u&&u.document&&null!=D&&null!=(e=D.current)&&e.focus&&u.document.activeElement!==D.current&&D.current.focus()},[w,u]);var W=(0,o.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),k({type:0,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),k({type:1,altKey:e.altKey})},Home:function(e){V.current.state.isOpen&&(e.preventDefault(),k({type:3}))},End:function(e){V.current.state.isOpen&&(e.preventDefault(),k({type:4}))},Escape:function(e){var t=V.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),k({type:2}))},Enter:function(e){V.current.state.isOpen&&229!==e.which&&(e.preventDefault(),k({type:7}))},PageUp:function(e){V.current.state.isOpen&&(e.preventDefault(),k({type:5}))},PageDown:function(e){V.current.state.isOpen&&(e.preventDefault(),k({type:6}))}}},[k,V]),J=(0,o.useCallback)(function(e){return(0,a.A)({id:j.labelId,htmlFor:j.inputId},e)},[j]),X=(0,o.useCallback)(function(e,t){var i,r=void 0===e?{}:e,s=r.onMouseLeave,o=r.refKey,l=void 0===o?"ref":o,c=r.ref,p=(0,n.A)(r,ep),d=(void 0===t?{}:t).suppressRefError;return Y("getMenuProps",void 0!==d&&d,l,O),(0,a.A)(((i={})[l]=y(c,function(e){O.current=e}),i.id=j.menuId,i.role="listbox",i["aria-labelledby"]=p&&p["aria-label"]?void 0:""+j.labelId,i.onMouseLeave=x(s,function(){k({type:11})}),i),p)},[k,Y,j]),Q=(0,o.useCallback)(function(e){var t,i,r=void 0===e?{}:e,s=r.item,o=r.index,l=r.refKey,c=r.ref,p=r.onMouseMove,d=r.onMouseDown,u=r.onClick;r.onPress;var m=r.disabled,f=(0,n.A)(r,ed);void 0!==m&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var h=V.current,v=h.props,g=h.state,b=R(s,o,v.items,"Pass either item or index to getItemProps!"),_=b[0],w=b[1],I=v.isItemDisabled(_,w);return(0,a.A)(((t={})[void 0===l?"ref":l]=y(c,function(e){e&&(A.current[j.getItemId(w)]=e)}),t["aria-disabled"]=I,t["aria-selected"]=""+(w===g.highlightedIndex),t.id=j.getItemId(w),t.role="option",t),!I&&((i={}).onClick=x(u,function(){k({type:13,index:w})}),i),{onMouseMove:x(p,function(){q.isTouchEnd||w===g.highlightedIndex||($.current=!1,k({type:12,index:w,disabled:I}))}),onMouseDown:x(d,function(e){return e.preventDefault()})},f)},[k,j,V,q,$]),ee=(0,o.useCallback)(function(e){var t,i=void 0===e?{}:e,r=i.onClick;i.onPress;var s=i.refKey,o=i.ref,l=(0,n.A)(i,eu),c=V.current.state;return(0,a.A)(((t={})[void 0===s?"ref":s]=y(o,function(e){S.current=e}),t["aria-controls"]=j.menuId,t["aria-expanded"]=c.isOpen,t.id=j.toggleButtonId,t.tabIndex=-1,t),!l.disabled&&(0,a.A)({},{onClick:x(r,function(){k({type:14})})}),l)},[k,V,j]),et=(0,o.useCallback)(function(e,t){var i,r,s=void 0===e?{}:e,o=s.onKeyDown,l=s.onChange,c=s.onInput,p=s.onBlur;s.onChangeText;var d=s.onClick,m=s.refKey,f=void 0===m?"ref":m,h=s.ref,v=(0,n.A)(s,em),g=(void 0===t?{}:t).suppressRefError;Y("getInputProps",void 0!==g&&g,f,D);var b=V.current.state,w={};return v.disabled||((r={}).onChange=x(l,c,function(e){k({type:8,inputValue:e.target.value})}),r.onKeyDown=x(o,function(e){var t=_(e);t&&W[t]&&W[t](e)}),r.onBlur=x(p,function(e){null!=u&&u.document&&b.isOpen&&!q.isMouseDown&&k({type:9,selectItem:null!==e.relatedTarget||u.document.activeElement===u.document.body})}),r.onClick=x(d,function(){k({type:10})}),w=r),(0,a.A)(((i={})[f]=y(h,function(e){D.current=e}),i["aria-activedescendant"]=b.isOpen&&b.highlightedIndex>-1?j.getItemId(b.highlightedIndex):"",i["aria-autocomplete"]="list",i["aria-controls"]=j.menuId,i["aria-expanded"]=b.isOpen,i["aria-labelledby"]=v&&v["aria-label"]?void 0:j.labelId,i.autoComplete="off",i.id=j.inputId,i.role="combobox",i.value=b.inputValue,i),w,v)},[k,j,u,W,V,q,Y]),ei=(0,o.useCallback)(function(){k({type:15})},[k]),en=(0,o.useCallback)(function(){k({type:17})},[k]),ea=(0,o.useCallback)(function(){k({type:16})},[k]),er=(0,o.useCallback)(function(e){k({type:18,highlightedIndex:e})},[k]),es=(0,o.useCallback)(function(e){k({type:19,selectedItem:e})},[k]);return{getItemProps:Q,getLabelProps:J,getMenuProps:X,getInputProps:et,getToggleButtonProps:ee,toggleMenu:ei,openMenu:ea,closeMenu:en,setHighlightedIndex:er,setInputValue:(0,o.useCallback)(function(e){k({type:20,inputValue:e})},[k]),selectItem:es,reset:(0,o.useCallback)(function(){k({type:21})},[k]),highlightedIndex:I,isOpen:w,selectedItem:E,inputValue:T}}ef.stateChangeTypes=es;var eh={activeIndex:-1,selectedItems:[]};function ev(e){return{activeIndex:Z(e,"activeIndex",eh),selectedItems:Z(e,"selectedItems",eh)}}function eg(e){if(e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)return!1;var t=e.target;return!(t instanceof HTMLInputElement)||""===t.value||0===t.selectionStart&&0===t.selectionEnd}function ex(e,t){return e.selectedItems===t.selectedItems&&e.activeIndex===t.activeIndex}(0,a.A)({},W,{selectedItems:s().array,initialSelectedItems:s().array,defaultSelectedItems:s().array,getA11yRemovalMessage:s().func,activeIndex:s().number,initialActiveIndex:s().number,defaultActiveIndex:s().number,onActiveIndexChange:s().func,onSelectedItemsChange:s().func,keyNavigationNext:s().string,keyNavigationPrevious:s().string});var ey={itemToString:V.itemToString,itemToKey:V.itemToKey,stateReducer:V.stateReducer,environment:V.environment,getA11yRemovalMessage:function(e){var t=e.removedSelectedItem;return(0,e.itemToString)(t)+" has been removed."},keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},eb=Object.freeze({__proto__:null,SelectedItemClick:0,SelectedItemKeyDownDelete:1,SelectedItemKeyDownBackspace:2,SelectedItemKeyDownNavigationNext:3,SelectedItemKeyDownNavigationPrevious:4,DropdownKeyDownNavigationPrevious:5,DropdownKeyDownBackspace:6,DropdownClick:7,FunctionAddSelectedItem:8,FunctionRemoveSelectedItem:9,FunctionSetSelectedItems:10,FunctionSetActiveIndex:11,FunctionReset:12});function e_(e,t){var i,n=t.type,r=t.index,s=t.props,o=t.selectedItem,l=e.activeIndex,c=e.selectedItems;switch(n){case 0:i={activeIndex:r};break;case 4:i={activeIndex:l-1<0?0:l-1};break;case 3:i={activeIndex:l+1>=c.length?-1:l+1};break;case 2:case 1:if(l<0)break;var p=l;1===c.length?p=-1:l===c.length-1&&(p=c.length-2),i=(0,a.A)({selectedItems:[].concat(c.slice(0,l),c.slice(l+1))},{activeIndex:p});break;case 5:i={activeIndex:c.length-1};break;case 6:i={selectedItems:c.slice(0,c.length-1)};break;case 8:i={selectedItems:[].concat(c,[o])};break;case 7:i={activeIndex:-1};break;case 9:var d=l,u=c.findIndex(function(e){return s.itemToKey(e)===s.itemToKey(o)});if(u<0)break;
131===c.length?d=-1:u===c.length-1&&(d=c.length-2),i={selectedItems:[].concat(c.slice(0,u),c.slice(u+1)),activeIndex:d};break;case 10:i={selectedItems:t.selectedItems};break;case 11:i={activeIndex:t.activeIndex};break;case 12:i={activeIndex:P(s,"activeIndex",eh),selectedItems:P(s,"selectedItems",eh)};break;default:throw Error("Reducer called without proper action type.")}return(0,a.A)({},e,i)}var ek=["refKey","ref","onClick","onKeyDown","selectedItem","index"],ew=["refKey","ref","onKeyDown","onClick","preventKeyAction"];function eI(e){void 0===e&&(e={});var t=(0,a.A)({},ey,e),i=t.getA11yRemovalMessage,r=t.itemToString,s=t.environment,l=t.keyNavigationNext,c=t.keyNavigationPrevious,p=L(e_,t,ev,ex),d=p[0],u=p[1],m=d.activeIndex,f=d.selectedItems,h=H(),v=(0,o.useRef)(null),g=(0,o.useRef)(f),b=(0,o.useRef)();b.current=[];var k=F({state:d,props:t});(0,o.useEffect)(function(){if(!h&&null!=s&&s.document){if(f.length<g.current.length){var e=g.current.find(function(e){return 0>f.findIndex(function(i){return t.itemToKey(i)===t.itemToKey(e)})});O(i({itemToString:r,resultCount:f.length,removedSelectedItem:e,activeIndex:m,activeSelectedItem:f[m]}),s.document)}g.current=f}},[f.length]),(0,o.useEffect)(function(){!h&&(-1===m&&v.current?v.current.focus():b.current[m]&&b.current[m].focus())},[m]);var w=K("getDropdownProps"),I=(0,o.useMemo)(function(){var e;return(e={})[c]=function(){u({type:4})},e[l]=function(){u({type:3})},e.Delete=function(){u({type:1})},e.Backspace=function(){u({type:2})},e},[u,l,c]),E=(0,o.useMemo)(function(){var e;return(e={})[c]=function(e){eg(e)&&u({type:5})},e.Backspace=function(e){eg(e)&&u({type:6})},e},[u,c]);return{getSelectedItemProps:(0,o.useCallback)(function(e){var t,i=void 0===e?{}:e,r=i.refKey,s=i.ref,o=i.onClick,l=i.onKeyDown,c=i.selectedItem,p=i.index,d=(0,n.A)(i,ek),m=k.current.state,f=R(c,p,m.selectedItems,"Pass either item or index to getSelectedItemProps!")[1],h=f>-1&&f===m.activeIndex;return(0,a.A)(((t={})[void 0===r?"ref":r]=y(s,function(e){e&&b.current.push(e)}),t.tabIndex=h?0:-1,t.onClick=x(o,function(){u({type:0,index:f})}),t.onKeyDown=x(l,function(e){var t=_(e);t&&I[t]&&I[t](e)}),t),d)},[u,k,I]),getDropdownProps:(0,o.useCallback)(function(e,t){var i,r=void 0===e?{}:e,s=r.refKey,o=void 0===s?"ref":s,l=r.ref,c=r.onKeyDown,p=r.onClick,d=r.preventKeyAction,m=(0,n.A)(r,ew),f=(void 0===t?{}:t).suppressRefError;return w("getDropdownProps",void 0!==f&&f,o,v),(0,a.A)(((i={})[o]=y(l,function(e){e&&(v.current=e)}),i),!(void 0!==d&&d)&&{onKeyDown:x(c,function(e){var t=_(e);t&&E[t]&&E[t](e)}),onClick:x(p,function(){u({type:7})})},m)},[u,E,w]),addSelectedItem:(0,o.useCallback)(function(e){u({type:8,selectedItem:e})},[u]),removeSelectedItem:(0,o.useCallback)(function(e){u({type:9,selectedItem:e})},[u]),setSelectedItems:(0,o.useCallback)(function(e){u({type:10,selectedItems:e})},[u]),setActiveIndex:(0,o.useCallback)(function(e){u({type:11,activeIndex:e})},[u]),reset:(0,o.useCallback)(function(){u({type:12})},[u]),selectedItems:f,activeIndex:m}}eI.stateChangeTypes=eb},58394:(e,t,i)=>{"use strict";i(73206)},62557:(e,t,i)=>{var n=i(22790);n.cleanKennitalaAggressive,n.cleanKennitalaCareful,n.formatKennitala,n.generateKennitala,n.getKennitalaBirthDate,n.isCompanyKennitala,n.isPersonKennitala,n.isTempKennitala,t.aq=n.isValidKennitala,n.parseKennitala},67631:e=>{e.exports=function(e,t){var i=t.length-e.value.length,n=(e.selectionStart||0)+i,a=(e.selectionEnd||0)+i;e.value=t,e.setSelectionRange&&e.setSelectionRange(n,a)}},68382:(e,t,i)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}i.d(t,{_:()=>n})},69449:(e,t,i)=>{"use strict";i.d(t,{u:()=>c});var n=i(20146);let a=(e,t,i)=>{if(e&&"reportValidity"in e){let a=(0,n.Jt)(i,t);e.setCustomValidity(a&&a.message||""),e.reportValidity()}},r=(e,t)=>{for(let i in t.fields){let n=t.fields[i];n&&n.ref&&"reportValidity"in n.ref?a(n.ref,i,e):n.refs&&n.refs.forEach(t=>a(t,i,e))}},s=(e,t)=>{t.shouldUseNativeValidation&&r(e,t);let i={};for(let a in e){let r=(0,n.Jt)(t.fields,a),s=Object.assign(e[a]||{},{ref:r&&r.ref});if(o(t.names||Object.keys(e),a)){let e=Object.assign({},(0,n.Jt)(i,a));(0,n.hZ)(e,"root",s),(0,n.hZ)(i,a,e)}else(0,n.hZ)(i,a,s)}return i},o=(e,t)=>e.some(e=>e.startsWith(t+"."));var l=function(e,t){for(var i={};e.length;){var a=e[0],r=a.code,s=a.message,o=a.path.join(".");if(!i[o])if("unionErrors"in a){var l=a.unionErrors[0].errors[0];i[o]={message:l.message,type:l.code}}else i[o]={message:s,type:r};
13if("unionErrors"in a&&a.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var c=i[o].types,p=c&&c[a.code];i[o]=(0,n.Gb)(o,t,i,r,p?[].concat(p,a.message):a.message)}e.shift()}return i},c=function(e,t,i){return void 0===i&&(i={}),function(n,a,o){try{return Promise.resolve(function(a,s){try{var l=Promise.resolve(e["sync"===i.mode?"parse":"parseAsync"](n,t)).then(function(e){return o.shouldUseNativeValidation&&r({},o),{errors:{},values:i.raw?n:e}})}catch(e){return s(e)}return l&&l.then?l.then(void 0,s):l}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:s(l(e.errors,!o.shouldUseNativeValidation&&"all"===o.criteriaMode),o)};throw e}))}catch(e){return Promise.reject(e)}}}},70885:(e,t,i)=>{"use strict";i.d(t,{G:()=>r,eq:()=>a});var n=i(79054);let a=n.ZS.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class r extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},i={_errors:[]},n=e=>{for(let a of e.issues)if("invalid_union"===a.code)a.unionErrors.map(n);else if("invalid_return_type"===a.code)n(a.returnTypeError);else if("invalid_arguments"===a.code)n(a.argumentsError);else if(0===a.path.length)i._errors.push(t(a));else{let e=i,n=0;for(;n<a.path.length;){let i=a.path[n];n===a.path.length-1?(e[i]=e[i]||{_errors:[]},e[i]._errors.push(t(a))):e[i]=e[i]||{_errors:[]},e=e[i],n++}}};return n(this),i}static assert(e){if(!(e instanceof r))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,n.ZS.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},i=[];for(let n of this.issues)if(n.path.length>0){let i=n.path[0];t[i]=t[i]||[],t[i].push(e(n))}else i.push(e(n));return{formErrors:i,fieldErrors:t}}get formErrors(){return this.flatten()}}r.create=e=>new r(e)},73206:(e,t)=>{"use strict";var i,n=Symbol.for("react.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),p=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference")},73502:(e,t,i)=>{"use strict";var n=i(91009);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,i,a,r,s){if(s!==n){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return i.PropTypes=i,i}},79054:(e,t,i)=>{"use strict";var n,a;i.d(t,{CR:()=>s,ZS:()=>n,Zp:()=>r}),function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let i of e)t[i]=i;return t},e.getValidEnumValues=t=>{let i=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),n={};for(let e of i)n[e]=t[e];return e.objectValues(n)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];
13for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.push(i);return t},e.find=(e,t)=>{for(let i of e)if(t(i))return i},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(n||(n={})),(a||(a={})).mergeShapes=(e,t)=>({...e,...t});let r=n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),s=e=>{switch(typeof e){case"undefined":return r.undefined;case"string":return r.string;case"number":return Number.isNaN(e)?r.nan:r.number;case"boolean":return r.boolean;case"function":return r.function;case"bigint":return r.bigint;case"symbol":return r.symbol;case"object":if(Array.isArray(e))return r.array;if(null===e)return r.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return r.promise;if("undefined"!=typeof Map&&e instanceof Map)return r.map;if("undefined"!=typeof Set&&e instanceof Set)return r.set;if("undefined"!=typeof Date&&e instanceof Date)return r.date;return r.object;default:return r.unknown}}},80366:(e,t,i)=>{"use strict";let n;i.d(t,{YO:()=>eO,zM:()=>eT,ai:()=>eE,Ik:()=>eA,Yj:()=>eI});var a,r,s=i(70885),o=i(79054);let l=(e,t)=>{let i;switch(e.code){case s.eq.invalid_type:i=e.received===o.Zp.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case s.eq.invalid_literal:i=`Invalid literal value, expected ${JSON.stringify(e.expected,o.ZS.jsonStringifyReplacer)}`;break;case s.eq.unrecognized_keys:i=`Unrecognized key(s) in object: ${o.ZS.joinValues(e.keys,", ")}`;break;case s.eq.invalid_union:i="Invalid input";break;case s.eq.invalid_union_discriminator:i=`Invalid discriminator value. Expected ${o.ZS.joinValues(e.options)}`;break;case s.eq.invalid_enum_value:i=`Invalid enum value. Expected ${o.ZS.joinValues(e.options)}, received '${e.received}'`;break;case s.eq.invalid_arguments:i="Invalid function arguments";break;case s.eq.invalid_return_type:i="Invalid function return type";break;case s.eq.invalid_date:i="Invalid date";break;case s.eq.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(i=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(i=`${i} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?i=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?i=`Invalid input: must end with "${e.validation.endsWith}"`:o.ZS.assertNever(e.validation):i="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case s.eq.too_small:i="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case s.eq.too_big:i="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case s.eq.custom:i="Invalid input";break;
13case s.eq.invalid_intersection_types:i="Intersection results could not be merged";break;case s.eq.not_multiple_of:i=`Number must be a multiple of ${e.multipleOf}`;break;case s.eq.not_finite:i="Number must be finite";break;default:i=t.defaultError,o.ZS.assertNever(e)}return{message:i}};!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(a||(a={}));let c=e=>{let{data:t,path:i,errorMaps:n,issueData:a}=e,r=[...i,...a.path||[]],s={...a,path:r};if(void 0!==a.message)return{...a,path:r,message:a.message};let o="";for(let e of n.filter(e=>!!e).slice().reverse())o=e(s,{data:t,defaultError:o}).message;return{...a,path:r,message:o}};function p(e,t){let i=c({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,l,l==l?void 0:l].filter(e=>!!e)});e.common.issues.push(i)}class d{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let i=[];for(let n of t){if("aborted"===n.status)return u;"dirty"===n.status&&e.dirty(),i.push(n.value)}return{status:e.value,value:i}}static async mergeObjectAsync(e,t){let i=[];for(let e of t){let t=await e.key,n=await e.value;i.push({key:t,value:n})}return d.mergeObjectSync(e,i)}static mergeObjectSync(e,t){let i={};for(let n of t){let{key:t,value:a}=n;if("aborted"===t.status||"aborted"===a.status)return u;"dirty"===t.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==a.value||n.alwaysSet)&&(i[t.value]=a.value)}return{status:e.value,value:i}}}let u=Object.freeze({status:"aborted"}),m=e=>({status:"dirty",value:e}),f=e=>({status:"valid",value:e}),h=e=>"aborted"===e.status,v=e=>"dirty"===e.status,g=e=>"valid"===e.status,x=e=>"undefined"!=typeof Promise&&e instanceof Promise;class y{constructor(e,t,i,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=i,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let b=(e,t)=>{if(g(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new s.G(e.common.issues);return this._error=t,this._error}}};function _(e){if(!e)return{};let{errorMap:t,invalid_type_error:i,required_error:n,description:a}=e;if(t&&(i||n))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:a}:{errorMap:(t,a)=>{let{message:r}=e;return"invalid_enum_value"===t.code?{message:r??a.defaultError}:void 0===a.data?{message:r??n??a.defaultError}:"invalid_type"!==t.code?{message:a.defaultError}:{message:r??i??a.defaultError}},description:a}}class k{get description(){return this._def.description}_getType(e){return(0,o.CR)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,o.CR)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new d,ctx:{common:e.parent.common,data:e.data,parsedType:(0,o.CR)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(x(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let i=this.safeParse(e,t);if(i.success)return i.data;throw i.error}safeParse(e,t){let i={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.CR)(e)},n=this._parseSync({data:e,path:i.path,parent:i});return b(i,n)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.CR)(e)};if(!this["~standard"].async)try{let i=this._parseSync({data:e,path:[],parent:t});return g(i)?{value:i.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>g(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let i=await this.safeParseAsync(e,t);if(i.success)return i.data;throw i.error}async safeParseAsync(e,t){let i={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.CR)(e)},n=this._parse({data:e,path:i.path,parent:i});return b(i,await (x(n)?n:Promise.resolve(n)))}refine(e,t){let i=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,n)=>{let a=e(t),r=()=>n.addIssue({code:s.eq.custom,...i(t)});return"undefined"!=typeof Promise&&a instanceof Promise?a.then(e=>!!e||(r(),!1)):!!a||(r(),!1)})}refinement(e,t){return this._refinement((i,n)=>!!e(i)||(n.addIssue("function"==typeof t?t(i,n):t),!1))}_refinement(e){return new eh({schema:this,typeName:r.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return ev.create(this,this._def)}nullable(){return eg.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return X.create(this)}promise(){return ef.create(this,this._def)}or(e){return ee.create([this,e],this._def)}and(e){return en.create(this,e,this._def)}transform(e){return new eh({..._(this._def),schema:this,typeName:r.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ex({..._(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:r.ZodDefault})}brand(){return new e_({typeName:r.ZodBranded,type:this,..._(this._def)})}catch(e){return new ey({..._(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:r.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return ek.create(this,e)}readonly(){return ew.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let w=/^c[^\s-]{8,}
13$/i,I=/^[0-9a-z]+$/,E=/^[0-9A-HJKMNP-TV-Z]{26}$/i,T=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,O=/^[a-z0-9_-]{21}$/i,A=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,D=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,S=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,C=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,N=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,R=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,j=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,F=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,M=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,L="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",V=RegExp(`^${L}$`);function P(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let i=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${i}`}class Z extends k{_parse(e){var t,i,a,r;let l;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==o.Zp.string){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.string,received:t.parsedType}),u}let c=new d;for(let d of this._def.checks)if("min"===d.kind)e.data.length<d.value&&(p(l=this._getOrReturnCtx(e,l),{code:s.eq.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),c.dirty());else if("max"===d.kind)e.data.length>d.value&&(p(l=this._getOrReturnCtx(e,l),{code:s.eq.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),c.dirty());else if("length"===d.kind){let t=e.data.length>d.value,i=e.data.length<d.value;(t||i)&&(l=this._getOrReturnCtx(e,l),t?p(l,{code:s.eq.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}):i&&p(l,{code:s.eq.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}),c.dirty())}else if("email"===d.kind)S.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"email",code:s.eq.invalid_string,message:d.message}),c.dirty());else if("emoji"===d.kind)n||(n=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),n.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"emoji",code:s.eq.invalid_string,message:d.message}),c.dirty());else if("uuid"===d.kind)T.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"uuid",code:s.eq.invali
vendor: 11,721 bytes, line 13
13d_string,message:d.message}),c.dirty());else if("nanoid"===d.kind)O.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"nanoid",code:s.eq.invalid_string,message:d.message}),c.dirty());else if("cuid"===d.kind)w.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"cuid",code:s.eq.invalid_string,message:d.message}),c.dirty());else if("cuid2"===d.kind)I.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"cuid2",code:s.eq.invalid_string,message:d.message}),c.dirty());else if("ulid"===d.kind)E.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"ulid",code:s.eq.invalid_string,message:d.message}),c.dirty());else if("url"===d.kind)try{new URL(e.data)}catch{p(l=this._getOrReturnCtx(e,l),{validation:"url",code:s.eq.invalid_string,message:d.message}),c.dirty()}else"regex"===d.kind?(d.regex.lastIndex=0,d.regex.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"regex",code:s.eq.invalid_string,message:d.message}),c.dirty())):"trim"===d.kind?e.data=e.data.trim():"includes"===d.kind?e.data.includes(d.value,d.position)||(p(l=this._getOrReturnCtx(e,l),{code:s.eq.invalid_string,validation:{includes:d.value,position:d.position},message:d.message}),c.dirty()):"toLowerCase"===d.kind?e.data=e.data.toLowerCase():"toUpperCase"===d.kind?e.data=e.data.toUpperCase():"startsWith"===d.kind?e.data.startsWith(d.value)||(p(l=this._getOrReturnCtx(e,l),{code:s.eq.invalid_string,validation:{startsWith:d.value},message:d.message}),c.dirty()):"endsWith"===d.kind?e.data.endsWith(d.value)||(p(l=this._getOrReturnCtx(e,l),{code:s.eq.invalid_string,validation:{endsWith:d.value},message:d.message}),c.dirty()):"datetime"===d.kind?(function(e){let t=`${L}T${P(e)}`,i=[];return i.push(e.local?"Z?":"Z"),e.offset&&i.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${i.join("|")})`,RegExp(`^${t}$`)})(d).test(e.data)||(p(l=this._getOrReturnCtx(e,l),{code:s.eq.invalid_string,validation:"datetime",message:d.message}),c.dirty()):"date"===d.kind?V.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{code:s.eq.invalid_string,validation:"date",message:d.message}),c.dirty()):"time"===d.kind?RegExp(`^${P(d)}$`).test(e.data)||(p(l=this._getOrReturnCtx(e,l),{code:s.eq.invalid_string,validation:"time",message:d.message}),c.dirty()):"duration"===d.kind?D.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"duration",code:s.eq.invalid_string,message:d.message}),c.dirty()):"ip"===d.kind?(t=e.data,!(("v4"===(i=d.version)||!i)&&C.test(t)||("v6"===i||!i)&&R.test(t))&&1&&(p(l=this._getOrReturnCtx(e,l),{validation:"ip",code:s.eq.invalid_string,message:d.message}),c.dirty())):"jwt"===d.kind?!function(e,t){if(!A.test(e))return!1;try{let[i]=e.split(".");if(!i)return!1;let n=i.replace(/-/g,"+").replace(/_/g,"/").padEnd(i.length+(4-i.length%4)%4,"="),a=JSON.parse(atob(n));if("object"!=typeof a||null===a||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)return!1;return!0}catch{return!1}}(e.data,d.alg)&&(p(l=this._getOrReturnCtx(e,l),{validation:"jwt",code:s.eq.invalid_string,message:d.message}),c.dirty()):"cidr"===d.kind?(a=e.data,!(("v4"===(r=d.version)||!r)&&N.test(a)||("v6"===r||!r)&&j.test(a))&&1&&(p(l=this._getOrReturnCtx(e,l),{validation:"cidr",code:s.eq.invalid_string,message:d.message}),c.dirty())):"base64"===d.kind?F.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"base64",code:s.eq.invalid_string,message:d.message}),c.dirty()):"base64url"===d.kind?M.test(e.data)||(p(l=this._getOrReturnCtx(e,l),{validation:"base64url",code:s.eq.invalid_string,message:d.message}),c.dirty()):o.ZS.assertNever(d);return{status:c.value,value:e.data}}_regex(e,t,i){return this.refinement(t=>e.test(t),{validation:t,code:s.eq.invalid_string,...a.errToObj(i)})}_addCheck(e){return new Z({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...a.errToObj(e)})}url(e){return this._addCheck({kind:"url",...a.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...a.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...a.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...a.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...a.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...a.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...a.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...a.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...a.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...a.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...a.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...a.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...a.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...a.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...a.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...a.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...a.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...a.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...a.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...a.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...a.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...a.errToObj(t)})}nonempty(e){return this.min(1,a.errToObj(e))}trim(){return new Z({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Z({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Z({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}Z.create=e=>new Z({checks:[],typeName:r.ZodString,coerce:e?.coerce??!1,..._(e)});class $ extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==o.Zp.number){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.number,received:t.parsedType}),u}let i=new d;for(let n of this._def.checks)"int"===n.kind?o.ZS.isInteger(e.data)||(p(t=this._getOrReturnCtx(e,t),{code:s.eq.invalid_type,expected:"integer",received:"float",message:n.message}),i.dirty()):"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:s.eq.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),i.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:s.eq.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),i.dirty()):"multipleOf"===n.kind?0!==function(e,t){let i=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,a=i>n?i:n;return Number.parseInt(e.toFixed(a).replace(".",""))%Number.parseInt(t.toFixed(a).replace(".",""))/10**a}(e.data,n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:s.eq.not_multiple_of,multipleOf:n.value,message:n.message}),i.dirty()):"finite"===n.kind?Number.isFinite(e.data)||(p(t=this._getOrReturnCtx(e,t),{code:s.eq.not_finite,message:n.message}),i.dirty()):o.ZS.assertNever(n);return{status:i.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,a.toString(t))}gt(e,t){return this.setLimit("min",e,!1,a.toString(t))}lte(e,t){return this.setLimit("max",e,!0,a.toString(t))}lt(e,t){return this.setLimit("max",e,!1,a.toString(t))}setLimit(e,t,i,n){return new $({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:i,message:a.toString(n)}]})}_addCheck(e){return new $({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:a.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:a.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:a.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:a.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:a.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:a.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:a.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:a.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:a.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&o.ZS.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let i of this._def.checks)if("finite"===i.kind||"int"===i.kind||"multipleOf"===i.kind)return!0;else"min"===i.kind?(null===t||i.value>t)&&(t=i.value):"max"===i.kind&&(null===e||i.value<e)&&(e=i.value);return Number.isFinite(t)&&Number.isFinite(e)}}$.create=e=>new $({checks:[],typeName:r.ZodNumber,coerce:e?.coerce||!1,..._(e)});class q extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==o.Zp.bigint)return this._getInvalidInput(e);let i=new d;for(let n of this._def.checks)"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:s.eq.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),i.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:s.eq.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),i.dirty()):"multipleOf"===n.kind?e.data%n.value!==BigInt(0)&&(p(t=this._getOrReturnCtx(e,t),{code:s.eq.not_multiple_of,multipleOf:n.value,message:n.message}),i.dirty()):o.ZS.assertNever(n);return{status:i.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);
13return p(t,{code:s.eq.invalid_type,expected:o.Zp.bigint,received:t.parsedType}),u}gte(e,t){return this.setLimit("min",e,!0,a.toString(t))}gt(e,t){return this.setLimit("min",e,!1,a.toString(t))}lte(e,t){return this.setLimit("max",e,!0,a.toString(t))}lt(e,t){return this.setLimit("max",e,!1,a.toString(t))}setLimit(e,t,i,n){return new q({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:i,message:a.toString(n)}]})}_addCheck(e){return new q({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:a.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:a.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:a.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:a.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:a.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}q.create=e=>new q({checks:[],typeName:r.ZodBigInt,coerce:e?.coerce??!1,..._(e)});class z extends k{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==o.Zp.boolean){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.boolean,received:t.parsedType}),u}return f(e.data)}}z.create=e=>new z({typeName:r.ZodBoolean,coerce:e?.coerce||!1,..._(e)});class K extends k{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==o.Zp.date){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.date,received:t.parsedType}),u}if(Number.isNaN(e.data.getTime()))return p(this._getOrReturnCtx(e),{code:s.eq.invalid_date}),u;let i=new d;for(let n of this._def.checks)"min"===n.kind?e.data.getTime()<n.value&&(p(t=this._getOrReturnCtx(e,t),{code:s.eq.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),i.dirty()):"max"===n.kind?e.data.getTime()>n.value&&(p(t=this._getOrReturnCtx(e,t),{code:s.eq.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),i.dirty()):o.ZS.assertNever(n);return{status:i.value,value:new Date(e.data.getTime())}}_addCheck(e){return new K({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:a.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:a.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}K.create=e=>new K({checks:[],coerce:e?.coerce||!1,typeName:r.ZodDate,..._(e)});class B extends k{_parse(e){if(this._getType(e)!==o.Zp.symbol){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.symbol,received:t.parsedType}),u}return f(e.data)}}B.create=e=>new B({typeName:r.ZodSymbol,..._(e)});class U extends k{_parse(e){if(this._getType(e)!==o.Zp.undefined){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.undefined,received:t.parsedType}),u}return f(e.data)}}U.create=e=>new U({typeName:r.ZodUndefined,..._(e)});class Y extends k{_parse(e){if(this._getType(e)!==o.Zp.null){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.null,received:t.parsedType}),u}return f(e.data)}}Y.create=e=>new Y({typeName:r.ZodNull,..._(e)});class G extends k{constructor(){super(...arguments),this._any=!0}_parse(e){return f(e.data)}}G.create=e=>new G({typeName:r.ZodAny,..._(e)});class H extends k{constructor(){super(...arguments),this._unknown=!0}_parse(e){return f(e.data)}}H.create=e=>new H({typeName:r.ZodUnknown,..._(e)});class W extends k{_parse(e){let t=this._getOrReturnCtx(e);
13return p(t,{code:s.eq.invalid_type,expected:o.Zp.never,received:t.parsedType}),u}}W.create=e=>new W({typeName:r.ZodNever,..._(e)});class J extends k{_parse(e){if(this._getType(e)!==o.Zp.undefined){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.void,received:t.parsedType}),u}return f(e.data)}}J.create=e=>new J({typeName:r.ZodVoid,..._(e)});class X extends k{_parse(e){let{ctx:t,status:i}=this._processInputParams(e),n=this._def;if(t.parsedType!==o.Zp.array)return p(t,{code:s.eq.invalid_type,expected:o.Zp.array,received:t.parsedType}),u;if(null!==n.exactLength){let e=t.data.length>n.exactLength.value,a=t.data.length<n.exactLength.value;(e||a)&&(p(t,{code:e?s.eq.too_big:s.eq.too_small,minimum:a?n.exactLength.value:void 0,maximum:e?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),i.dirty())}if(null!==n.minLength&&t.data.length<n.minLength.value&&(p(t,{code:s.eq.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),i.dirty()),null!==n.maxLength&&t.data.length>n.maxLength.value&&(p(t,{code:s.eq.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),i.dirty()),t.common.async)return Promise.all([...t.data].map((e,i)=>n.type._parseAsync(new y(t,e,t.path,i)))).then(e=>d.mergeArray(i,e));let a=[...t.data].map((e,i)=>n.type._parseSync(new y(t,e,t.path,i)));return d.mergeArray(i,a)}get element(){return this._def.type}min(e,t){return new X({...this._def,minLength:{value:e,message:a.toString(t)}})}max(e,t){return new X({...this._def,maxLength:{value:e,message:a.toString(t)}})}length(e,t){return new X({...this._def,exactLength:{value:e,message:a.toString(t)}})}nonempty(e){return this.min(1,e)}}
vendor: 4,275 bytes, line 13
13X.create=(e,t)=>new X({type:e,minLength:null,maxLength:null,exactLength:null,typeName:r.ZodArray,..._(t)});class Q extends k{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=o.ZS.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==o.Zp.object){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.object,received:t.parsedType}),u}let{status:t,ctx:i}=this._processInputParams(e),{shape:n,keys:a}=this._getCached(),r=[];if(!(this._def.catchall instanceof W&&"strip"===this._def.unknownKeys))for(let e in i.data)a.includes(e)||r.push(e);let l=[];for(let e of a){let t=n[e],a=i.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new y(i,a,i.path,e)),alwaysSet:e in i.data})}if(this._def.catchall instanceof W){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of r)l.push({key:{status:"valid",value:e},value:{status:"valid",value:i.data[e]}});else if("strict"===e)r.length>0&&(p(i,{code:s.eq.unrecognized_keys,keys:r}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of r){let n=i.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new y(i,n,i.path,t)),alwaysSet:t in i.data})}}return i.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let i=await t.key,n=await t.value;e.push({key:i,value:n,alwaysSet:t.alwaysSet})}return e}).then(e=>d.mergeObjectSync(t,e)):d.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return a.errToObj,new Q({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,i)=>{let n=this._def.errorMap?.(t,i).message??i.defaultError;return"unrecognized_keys"===t.code?{message:a.errToObj(e).message??n}:{message:n}}}:{}})}strip(){return new Q({...this._def,unknownKeys:"strip"})}passthrough(){return new Q({...this._def,unknownKeys:"passthrough"})}extend(e){return new Q({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Q({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:r.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Q({...this._def,catchall:e})}pick(e){let t={};for(let i of o.ZS.objectKeys(e))e[i]&&this.shape[i]&&(t[i]=this.shape[i]);return new Q({...this._def,shape:()=>t})}omit(e){let t={};for(let i of o.ZS.objectKeys(this.shape))e[i]||(t[i]=this.shape[i]);return new Q({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof Q){let i={};for(let n in t.shape){let a=t.shape[n];i[n]=ev.create(e(a))}return new Q({...t._def,shape:()=>i})}if(t instanceof X)return new X({...t._def,type:e(t.element)});if(t instanceof ev)return ev.create(e(t.unwrap()));if(t instanceof eg)return eg.create(e(t.unwrap()));if(t instanceof ea)return ea.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};for(let i of o.ZS.objectKeys(this.shape)){let n=this.shape[i];e&&!e[i]?t[i]=n:t[i]=n.optional()}return new Q({...this._def,shape:()=>t})}required(e){let t={};for(let i of o.ZS.objectKeys(this.shape))if(e&&!e[i])t[i]=this.shape[i];else{let e=this.shape[i];for(;e instanceof ev;)e=e._def.innerType;t[i]=e}return new Q({...this._def,shape:()=>t})}keyof(){return ed(o.ZS.objectKeys(this.shape))}}Q.create=(e,t)=>new Q({shape:()=>e,unknownKeys:"strip",catchall:W.create(),typeName:r.ZodObject,..._(t)}),Q.strictCreate=(e,t)=>new Q({shape:()=>e,unknownKeys:"strict",catchall:W.create(),typeName:r.ZodObject,..._(t)}),Q.lazycreate=(e,t)=>new Q({shape:e,unknownKeys:"strip",catchall:W.create(),typeName:r.ZodObject,..._(t)});class ee extends k{_parse(e){let{ctx:t}=this._processInputParams(e),i=this._def.options;if(t.common.async)return Promise.all(i.map(async e=>{let i={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:i}),ctx:i}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let i of e)if("dirty"===i.result.status)return t.common.issues.push(...i.ctx.common.issues),i.result;let i=e.map(e=>new s.G(e.ctx.common.issues));
13return p(t,{code:s.eq.invalid_union,unionErrors:i}),u});{let e,n=[];for(let a of i){let i={...t,common:{...t.common,issues:[]},parent:null},r=a._parseSync({data:t.data,path:t.path,parent:i});if("valid"===r.status)return r;"dirty"!==r.status||e||(e={result:r,ctx:i}),i.common.issues.length&&n.push(i.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let a=n.map(e=>new s.G(e));return p(t,{code:s.eq.invalid_union,unionErrors:a}),u}}get options(){return this._def.options}}ee.create=(e,t)=>new ee({options:e,typeName:r.ZodUnion,..._(t)});let et=e=>{if(e instanceof ec)return et(e.schema);if(e instanceof eh)return et(e.innerType());if(e instanceof ep)return[e.value];if(e instanceof eu)return e.options;if(e instanceof em)return o.ZS.objectValues(e.enum);else if(e instanceof ex)return et(e._def.innerType);else if(e instanceof U)return[void 0];else if(e instanceof Y)return[null];else if(e instanceof ev)return[void 0,...et(e.unwrap())];else if(e instanceof eg)return[null,...et(e.unwrap())];else if(e instanceof e_)return et(e.unwrap());else if(e instanceof ew)return et(e.unwrap());else if(e instanceof ey)return et(e._def.innerType);else return[]};class ei extends k{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.Zp.object)return p(t,{code:s.eq.invalid_type,expected:o.Zp.object,received:t.parsedType}),u;let i=this.discriminator,n=t.data[i],a=this.optionsMap.get(n);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(p(t,{code:s.eq.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),u)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,i){let n=new Map;for(let i of t){let t=et(i.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let a of t){if(n.has(a))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`);n.set(a,i)}}return new ei({typeName:r.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,..._(i)})}}class en extends k{_parse(e){let{status:t,ctx:i}=this._processInputParams(e),n=(e,n)=>{if(h(e)||h(n))return u;let a=function e(t,i){let n=(0,o.CR)(t),a=(0,o.CR)(i);if(t===i)return{valid:!0,data:t};if(n===o.Zp.object&&a===o.Zp.object){let n=o.ZS.objectKeys(i),a=o.ZS.objectKeys(t).filter(e=>-1!==n.indexOf(e)),r={...t,...i};for(let n of a){let a=e(t[n],i[n]);if(!a.valid)return{valid:!1};r[n]=a.data}return{valid:!0,data:r}}if(n===o.Zp.array&&a===o.Zp.array){if(t.length!==i.length)return{valid:!1};let n=[];for(let a=0;a<t.length;a++){let r=e(t[a],i[a]);if(!r.valid)return{valid:!1};n.push(r.data)}return{valid:!0,data:n}}if(n===o.Zp.date&&a===o.Zp.date&&+t==+i)return{valid:!0,data:t};return{valid:!1}}(e.value,n.value);return a.valid?((v(e)||v(n))&&t.dirty(),{status:t.value,value:a.data}):(p(i,{code:s.eq.invalid_intersection_types}),u)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([e,t])=>n(e,t)):n(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}}en.create=(e,t,i)=>new en({left:e,right:t,typeName:r.ZodIntersection,..._(i)});class ea extends k{_parse(e){let{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==o.Zp.array)return p(i,{code:s.eq.invalid_type,expected:o.Zp.array,received:i.parsedType}),u;if(i.data.length<this._def.items.length)return p(i,{code:s.eq.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),u;!this._def.rest&&i.data.length>this._def.items.length&&(p(i,{code:s.eq.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let n=[...i.data].map((e,t)=>{let n=this._def.items[t]||this._def.rest;return n?n._parse(new y(i,e,i.path,t)):null}).filter(e=>!!e);return i.common.async?Promise.all(n).then(e=>d.mergeArray(t,e)):d.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new ea({...this._def,rest:e})}}ea.create=(e,t)=>
13{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ea({items:e,typeName:r.ZodTuple,rest:null,..._(t)})};class er extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==o.Zp.object)return p(i,{code:s.eq.invalid_type,expected:o.Zp.object,received:i.parsedType}),u;let n=[],a=this._def.keyType,r=this._def.valueType;for(let e in i.data)n.push({key:a._parse(new y(i,e,i.path,e)),value:r._parse(new y(i,i.data[e],i.path,e)),alwaysSet:e in i.data});return i.common.async?d.mergeObjectAsync(t,n):d.mergeObjectSync(t,n)}get element(){return this._def.valueType}static create(e,t,i){return new er(t instanceof k?{keyType:e,valueType:t,typeName:r.ZodRecord,..._(i)}:{keyType:Z.create(),valueType:e,typeName:r.ZodRecord,..._(t)})}}class es extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==o.Zp.map)return p(i,{code:s.eq.invalid_type,expected:o.Zp.map,received:i.parsedType}),u;let n=this._def.keyType,a=this._def.valueType,r=[...i.data.entries()].map(([e,t],r)=>({key:n._parse(new y(i,e,i.path,[r,"key"])),value:a._parse(new y(i,t,i.path,[r,"value"]))}));if(i.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let i of r){let n=await i.key,a=await i.value;if("aborted"===n.status||"aborted"===a.status)return u;("dirty"===n.status||"dirty"===a.status)&&t.dirty(),e.set(n.value,a.value)}return{status:t.value,value:e}})}{let e=new Map;for(let i of r){let n=i.key,a=i.value;if("aborted"===n.status||"aborted"===a.status)return u;("dirty"===n.status||"dirty"===a.status)&&t.dirty(),e.set(n.value,a.value)}return{status:t.value,value:e}}}}es.create=(e,t,i)=>new es({valueType:t,keyType:e,typeName:r.ZodMap,..._(i)});class eo extends k{_parse(e){let{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==o.Zp.set)return p(i,{code:s.eq.invalid_type,expected:o.Zp.set,received:i.parsedType}),u;let n=this._def;null!==n.minSize&&i.data.size<n.minSize.value&&(p(i,{code:s.eq.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),t.dirty()),null!==n.maxSize&&i.data.size>n.maxSize.value&&(p(i,{code:s.eq.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());let a=this._def.valueType;function r(e){let i=new Set;for(let n of e){if("aborted"===n.status)return u;"dirty"===n.status&&t.dirty(),i.add(n.value)}return{status:t.value,value:i}}let l=[...i.data.values()].map((e,t)=>a._parse(new y(i,e,i.path,t)));return i.common.async?Promise.all(l).then(e=>r(e)):r(l)}min(e,t){return new eo({...this._def,minSize:{value:e,message:a.toString(t)}})}max(e,t){return new eo({...this._def,maxSize:{value:e,message:a.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eo.create=(e,t)=>new eo({valueType:e,minSize:null,maxSize:null,typeName:r.ZodSet,..._(t)});class el extends k{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.Zp.function)return p(t,{code:s.eq.invalid_type,expected:o.Zp.function,received:t.parsedType}),u;function i(e,i){return c({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,l,l].filter(e=>!!e),issueData:{code:s.eq.invalid_arguments,argumentsError:i}})}function n(e,i){return c({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,l,l].filter(e=>!!e),issueData:{code:s.eq.invalid_return_type,returnTypeError:i}})}let a={errorMap:t.common.contextualErrorMap},r=t.data;if(this._def.returns instanceof ef){let e=this;return f(async function(...t){let o=new s.G([]),l=await e._def.args.parseAsync(t,a).catch(e=>{throw o.addIssue(i(t,e)),o}),c=await Reflect.apply(r,this,l);return await e._def.returns._def.type.parseAsync(c,a).catch(e=>{throw o.addIssue(n(c,e)),o})})}{let e=this;return f(function(...t){let o=e._def.args.safeParse(t,a);if(!o.success)throw new s.G([i(t,o.error)]);let l=Reflect.apply(r,this,o.data),c=e._def.returns.safeParse(l,a);if(!c.success)throw new s.G([n(l,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new el({...this._def,args:ea.create(e).rest(H.create())})}returns(e){return new el({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,i){return new el({args:e||ea.create([]).rest(H.create()),returns:t||H.create(),typeName:r.ZodFunction,..._(i)})}}class ec extends k{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ec.create=(e,t)=>
13new ec({getter:e,typeName:r.ZodLazy,..._(t)});class ep extends k{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return p(t,{received:t.data,code:s.eq.invalid_literal,expected:this._def.value}),u}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ed(e,t){return new eu({values:e,typeName:r.ZodEnum,..._(t)})}ep.create=(e,t)=>new ep({value:e,typeName:r.ZodLiteral,..._(t)});class eu extends k{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),i=this._def.values;return p(t,{expected:o.ZS.joinValues(i),received:t.parsedType,code:s.eq.invalid_type}),u}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),i=this._def.values;return p(t,{received:t.data,code:s.eq.invalid_enum_value,options:i}),u}return f(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return eu.create(e,{...this._def,...t})}exclude(e,t=this._def){return eu.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}eu.create=ed;class em extends k{_parse(e){let t=o.ZS.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(e);if(i.parsedType!==o.Zp.string&&i.parsedType!==o.Zp.number){let e=o.ZS.objectValues(t);return p(i,{expected:o.ZS.joinValues(e),received:i.parsedType,code:s.eq.invalid_type}),u}if(this._cache||(this._cache=new Set(o.ZS.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=o.ZS.objectValues(t);return p(i,{received:i.data,code:s.eq.invalid_enum_value,options:e}),u}return f(e.data)}get enum(){return this._def.values}}em.create=(e,t)=>new em({values:e,typeName:r.ZodNativeEnum,..._(t)});class ef extends k{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==o.Zp.promise&&!1===t.common.async?(p(t,{code:s.eq.invalid_type,expected:o.Zp.promise,received:t.parsedType}),u):f((t.parsedType===o.Zp.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}ef.create=(e,t)=>new ef({type:e,typeName:r.ZodPromise,..._(t)});class eh extends k{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===r.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:i}=this._processInputParams(e),n=this._def.effect||null,a={addIssue:e=>{p(i,e),e.fatal?t.abort():t.dirty()},get path(){return i.path}};if(a.addIssue=a.addIssue.bind(a),"preprocess"===n.type){let e=n.transform(i.data,a);if(i.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return u;let n=await this._def.schema._parseAsync({data:e,path:i.path,parent:i});return"aborted"===n.status?u:"dirty"===n.status||"dirty"===t.value?m(n.value):n});{if("aborted"===t.value)return u;let n=this._def.schema._parseSync({data:e,path:i.path,parent:i});return"aborted"===n.status?u:"dirty"===n.status||"dirty"===t.value?m(n.value):n}}if("refinement"===n.type){let e=e=>{let t=n.refinement(e,a);if(i.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==i.common.async)return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(i=>"aborted"===i.status?u:("dirty"===i.status&&t.dirty(),e(i.value).then(()=>({status:t.value,value:i.value}))));{let n=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return"aborted"===n.status?u:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}}if("transform"===n.type)if(!1!==i.common.async)return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(e=>g(e)?Promise.resolve(n.transform(e.value,a)).then(e=>({status:t.value,value:e})):u);else{let e=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!g(e))return u;let r=n.transform(e.value,a);if(r instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:r}}o.ZS.assertNever(n)}}eh.create=(e,t,i)=>new eh({schema:e,typeName:r.ZodEffects,effect:t,..._(i)}),eh.createWithPreprocess=(e,t,i)=>new eh({schema:t,effect:{type:"preprocess",transform:e},typeName:r.ZodEffects,..._(i)});class ev extends k{_parse(e){return this._getType(e)===o.Zp.undefined?f(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ev.create=(e,t)=>
13new ev({innerType:e,typeName:r.ZodOptional,..._(t)});class eg extends k{_parse(e){return this._getType(e)===o.Zp.null?f(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eg.create=(e,t)=>new eg({innerType:e,typeName:r.ZodNullable,..._(t)});class ex extends k{_parse(e){let{ctx:t}=this._processInputParams(e),i=t.data;return t.parsedType===o.Zp.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ex.create=(e,t)=>new ex({innerType:e,typeName:r.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,..._(t)});class ey extends k{_parse(e){let{ctx:t}=this._processInputParams(e),i={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return x(n)?n.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new s.G(i.common.issues)},input:i.data})})):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new s.G(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:r.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,..._(t)});class eb extends k{_parse(e){if(this._getType(e)!==o.Zp.nan){let t=this._getOrReturnCtx(e);return p(t,{code:s.eq.invalid_type,expected:o.Zp.nan,received:t.parsedType}),u}return{status:"valid",value:e.data}}}eb.create=e=>new eb({typeName:r.ZodNaN,..._(e)}),Symbol("zod_brand");class e_ extends k{_parse(e){let{ctx:t}=this._processInputParams(e),i=t.data;return this._def.type._parse({data:i,path:t.path,parent:t})}unwrap(){return this._def.type}}class ek extends k{_parse(e){let{status:t,ctx:i}=this._processInputParams(e);if(i.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return"aborted"===e.status?u:"dirty"===e.status?(t.dirty(),m(e.value)):this._def.out._parseAsync({data:e.value,path:i.path,parent:i})})();{let e=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return"aborted"===e.status?u:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:i.path,parent:i})}}static create(e,t){return new ek({in:e,out:t,typeName:r.ZodPipeline})}}class ew extends k{_parse(e){let t=this._def.innerType._parse(e),i=e=>(g(e)&&(e.value=Object.freeze(e.value)),e);return x(t)?t.then(e=>i(e)):i(t)}unwrap(){return this._def.innerType}}ew.create=(e,t)=>new ew({innerType:e,typeName:r.ZodReadonly,..._(t)}),Q.lazycreate,function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(r||(r={}));let eI=Z.create,eE=$.create;eb.create,q.create;let eT=z.create;K.create,B.create,U.create,Y.create,G.create,H.create,W.create,J.create;let eO=X.create,eA=Q.create;Q.strictCreate,ee.create,ei.create,en.create,ea.create,er.create,es.create,eo.create,el.create,ec.create,ep.create,eu.create,em.create,ef.create,eh.create,ev.create,eg.create,eh.createWithPreprocess,ek.create},80780:e=>{e.exports=function(e){return!e||/^[a-z0-9\-._+]+@(?:[a-z0-9\-_]+\.)+[a-z0-9\-_]{2,99}$/i.test(e)}},91009:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.