@stacksjs/browser 0.65.0 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -118,10 +118,10 @@ function moveProperties(source, destination, ignoreKeys) {
|
|
|
118
118
|
}
|
|
119
119
|
};`}function cB($){return`const REQUIRED = '${$.required}';
|
|
120
120
|
const NOT_AN_OBJECT = '${$.object}';
|
|
121
|
-
const NOT_AN_ARRAY = '${$.array}';`}function RJ(){let $=0;const Z={};return{toJSON(){return Z},track(Y){$++;const J=`ref://${$}`;return Z[J]=Y,J},trackValidation(Y){return this.track(Y)},trackParser(Y){return this.track(Y)},trackTransformer(Y){return this.track(Y)},trackConditional(Y){return this.track(Y)}}}var FB=class ${#$="";newLine="\n";writeStatement(Z){this.#$=`${this.#$}${this.newLine}${Z}`}child(){return new $}toString(){return this.#$}flush(){this.#$=""}},G9=class{#$;#Z;field;constructor($,Z,Y,J){if(this.#Z=J,this.#$=$,this.#Z)this.field=this.#Z;else Z.variablesCounter++,this.field=Z.createFieldFor($,Y)}defineField($){if(!this.#Z)$.writeStatement(AB({fieldNameExpression:this.field.fieldNameExpression,isArrayMember:this.field.isArrayMember,parentExpression:this.field.parentExpression,parentValueExpression:this.field.parentValueExpression,valueExpression:this.field.valueExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath,parseFnRefId:"parseFnId"in this.#$?this.#$.parseFnId:void 0}))}},EB=class extends G9{#$;#Z;#Y;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z,this.#Y=Y}#J(){const $=this.#Z.child(),Z={type:"tuple",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath};return this.#$.properties.forEach((Y)=>{this.#Y.compileNode(Y,$,Z)}),$.toString()}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName}));const $=t$({variableName:this.field.variableName,bail:this.#$.bail,guardedCodeSnippet:`${PJ({variableName:this.field.variableName,outputExpression:this.field.outputExpression,outputValueExpression:this.#$.allowUnknownProperties?`copyProperties(${this.field.variableName}.value)`:"[]"})}${this.#J()}`}),Z=AJ({variableName:this.field.variableName,guardedCodeSnippet:`${w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!0})}${this.#Z.newLine}${$}`});this.#Z.writeStatement(`${Z}${this.#Z.newLine}${C9({allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,variableName:this.field.variableName,conditional:"else if"})}`)}},_B=class extends G9{#$;#Z;#Y;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z,this.#Y=Y}#J(){const $=this.#Z.child();this.#Y.compileNode(this.#$.each,$,{type:"array",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath});const Z=this.#Z.child();return Z.writeStatement(VB({variableName:this.field.variableName,startingIndex:0,loopCodeSnippet:$.toString()})),$.flush(),Z.toString()}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName}));const $=t$({variableName:this.field.variableName,bail:this.#$.bail,guardedCodeSnippet:`${PJ({variableName:this.field.variableName,outputExpression:this.field.outputExpression,outputValueExpression:"[]"})}${this.#Z.newLine}${this.#J()}`}),Z=AJ({variableName:this.field.variableName,guardedCodeSnippet:`${w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!0})}${this.#Z.newLine}${$}`});this.#Z.writeStatement(`${Z}${this.#Z.newLine}${C9({allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,variableName:this.field.variableName,conditional:"else if"})}`)}},RB=class extends G9{#$;#Z;#Y;#J;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#Z=$,this.#Y=Z,this.#J=J,this.#$=Y}#Q(){const $=this.#Y.child();if(this.#Z.conditions.forEach((Z,Y)=>{const J=this.#Y.child();if("parseFnId"in Z.schema)J.writeStatement(NB({parseFnRefId:Z.schema.parseFnId,variableName:this.field.variableName}));this.#$.compileNode(Z.schema,J,this.#J,this.field),$.writeStatement(EJ({conditional:Y===0?"if":"else if",variableName:this.field.variableName,conditionalFnRefId:Z.conditionalFnRefId,guardedCodeSnippet:J.toString()})),J.flush()}),this.#Z.elseConditionalFnRefId&&this.#Z.conditions.length)$.writeStatement(IJ({variableName:this.field.variableName,conditionalFnRefId:this.#Z.elseConditionalFnRefId}));return $.toString()}compile(){this.defineField(this.#Y),this.#Y.writeStatement(this.#Q())}},xB=class extends G9{#$;#Z;#Y;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z,this.#Y=Y}#J(){const $=this.#Z.child(),Z=this.#Z.child();return this.#Y.compileNode(this.#$.each,Z,{type:"record",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath}),$.writeStatement(TB({variableName:this.field.variableName,loopCodeSnippet:Z.toString()})),Z.flush(),$.toString()}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName}));const $=t$({variableName:this.field.variableName,bail:this.#$.bail,guardedCodeSnippet:`${_J({variableName:this.field.variableName,outputExpression:this.field.outputExpression,outputValueExpression:"{}"})}${this.#J()}`}),Z=VJ({variableName:this.field.variableName,guardedCodeSnippet:`${w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!0})}${this.#Z.newLine}${$}`});this.#Z.writeStatement(`${Z}${this.#Z.newLine}${C9({allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,variableName:this.field.variableName,conditional:"else if"})}`)}},bB=class extends G9{#$;#Z;#Y;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z,this.#Y=Y}#J($){let Z=$.properties.map((J)=>J.fieldName);const Y=$.groups.flatMap((J)=>this.#Q(J));return Z.concat(Y)}#Q($){return $.conditions.flatMap((Z)=>{return this.#J(Z.schema)})}#X(){const $=this.#Z.child(),Z={type:"object",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath};return this.#$.properties.forEach((Y)=>this.#Y.compileNode(Y,$,Z)),$.toString()}#q(){const $=this.#Z.child(),Z={type:"object",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath};return this.#$.groups.forEach((Y)=>this.#G(Y,$,Z)),$.toString()}#G($,Z,Y){if($.conditions.forEach((J,Q)=>{const X=Z.child();J.schema.properties.forEach((q)=>{this.#Y.compileNode(q,X,Y)}),J.schema.groups.forEach((q)=>{this.#G(q,X,Y)}),Z.writeStatement(EJ({variableName:this.field.variableName,conditional:Q===0?"if":"else if",conditionalFnRefId:J.conditionalFnRefId,guardedCodeSnippet:X.toString()}))}),$.elseConditionalFnRefId&&$.conditions.length)Z.writeStatement(IJ({variableName:this.field.variableName,conditionalFnRefId:$.elseConditionalFnRefId}))}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName}));const $=t$({variableName:this.field.variableName,bail:this.#$.bail,guardedCodeSnippet:`${_J({variableName:this.field.variableName,outputExpression:this.field.outputExpression,outputValueExpression:"{}"})}${this.#Z.newLine}${this.#X()}${this.#Z.newLine}${this.#q()}${this.#Z.newLine}${wB({variableName:this.field.variableName,allowUnknownProperties:this.#$.allowUnknownProperties,fieldsToIgnore:this.#$.allowUnknownProperties?this.#J(this.#$):[]})}`}),Z=VJ({variableName:this.field.variableName,guardedCodeSnippet:`${w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!0})}${$}`});this.#Z.writeStatement(`${Z}${this.#Z.newLine}${C9({variableName:this.field.variableName,allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,conditional:"else if"})}`)}},hB=class extends G9{#$;#Z;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName})),this.#Z.writeStatement(w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!1})),this.#Z.writeStatement(`${fB({variableName:this.field.variableName,outputExpression:this.field.outputExpression,transformFnRefId:this.#$.transformFnId})}${this.#Z.newLine}${C9({variableName:this.field.variableName,allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,transformFnRefId:this.#$.transformFnId,conditional:"else if"})}`)}},dB=Object.getPrototypeOf(async function(){}).constructor,NJ=class{variablesCounter=0;#$;#Z;#Y=new FB;constructor($,Z){this.#$=$,this.#Z=Z||{convertEmptyStringsToNull:!1}}#J(){this.#Y.writeStatement(cB({required:"value is required",object:"value is not a valid object",array:"value is not a valid array",...this.#Z.messages})),this.#Y.writeStatement(uB(this.#Z)),this.#Y.writeStatement("let out;")}#Q(){this.#Y.writeStatement(gB()),this.#Y.writeStatement("return out;")}#X(){this.compileNode(this.#$.schema,this.#Y,{type:"root",variableName:"root",outputExpression:"out",fieldPathExpression:"out",wildCardPath:""})}#q(){return new dB("root","meta","refs","messagesProvider","errorReporter",this.#Y.toString())}createFieldFor($,Z){switch(Z.type){case"array":return kB(Z);case"root":return SB(Z);case"object":return mB($,this.variablesCounter,Z);case"tuple":return yB($,Z);case"record":return vB(Z)}}compileNode($,Z,Y,J){switch($.type){case"literal":return new hB($,Z,this,Y,J).compile();case"array":return new _B($,Z,this,Y,J).compile();case"record":return new xB($,Z,this,Y,J).compile();case"object":return new bB($,Z,this,Y,J).compile();case"tuple":return new EB($,Z,this,Y,J).compile();case"union":return new RB($,Z,this,Y,J).compile()}}compile(){this.#J(),this.#X(),this.#Q();const $=this.#q();return this.variablesCounter=0,this.#Y.flush(),$}};var lQ={};O$(lQ,{COTYPE:()=>rB,IS_OF_TYPE:()=>t0,ITYPE:()=>lB,OTYPE:()=>pB,PARSE:()=>o,UNIQUE_NAME:()=>l0,VALIDATION:()=>y1});var l0=Symbol.for("schema_name"),t0=Symbol.for("is_of_type"),o=Symbol.for("parse"),lB=Symbol.for("opaque_input_type"),pB=Symbol.for("opaque_type"),rB=Symbol.for("camelcase_opaque_type"),y1=Symbol.for("to_validation"),U9=v(($,Z,Y)=>{const J=Z(Y);if(!Y.isDefined&&J)Y.report(m.required,"required",Y)},{implicit:!0}),$Z=class extends q9{optional($){return new sB(this,$)}nullable(){return new iB(this)}transform($){return new aB($,this)}},iB=class $ extends $Z{#$;constructor(Z){super();this.#$=Z}clone(){return new $(this.#$.clone())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);return Q.allowNull=!0,Q}},sB=class $ extends $Z{#$;validations;constructor(Z,Y){super();this.#$=Z,this.validations=Y||[]}cloneValidations(){return this.validations.map((Z)=>{return{options:Z.options,rule:Z.rule}})}compileValidations(Z){return this.validations.map((Y)=>{return{ruleFnId:Z.track({validator:Y.rule.validator,options:Y.options}),implicit:Y.rule.implicit,isAsync:Y.rule.isAsync}})}use(Z){return this.validations.push(y1 in Z?Z[y1]():Z),this}requiredWhen(Z,Y,J){if(typeof Z==="function")return this.use(U9(Z));let Q;switch(Y){case"=":Q=(X)=>X===J;break;case"!=":Q=(X)=>X!==J;break;case"in":Q=(X)=>J.includes(X);break;case"notIn":Q=(X)=>!J.includes(X);break;case">":Q=(X)=>X>J;break;case"<":Q=(X)=>X<J;break;case">=":Q=(X)=>X>=J;break;case"<=":Q=(X)=>X<=J}return this.use(U9((X)=>{const q=d.getNestedValue(Z,X);return Q(q)}))}requiredIfExists(Z){const Y=Array.isArray(Z)?Z:[Z];return this.use(U9((J)=>{return Y.every((Q)=>d.exists(d.getNestedValue(Q,J)))}))}requiredIfAnyExists(Z){return this.use(U9((Y)=>{return Z.some((J)=>d.exists(d.getNestedValue(J,Y)))}))}requiredIfMissing(Z){const Y=Array.isArray(Z)?Z:[Z];return this.use(U9((J)=>{return Y.every((Q)=>d.isMissing(d.getNestedValue(Q,J)))}))}requiredIfAnyMissing(Z){return this.use(U9((Y)=>{return Z.some((J)=>d.isMissing(d.getNestedValue(J,Y)))}))}clone(){return new $(this.#$.clone(),this.cloneValidations())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);return Q.isOptional=!0,Q.validations=Q.validations.concat(this.compileValidations(Y)),Q}},aB=class $ extends $Z{#$;#Z;constructor(Z,Y){super();this.#Z=Z,this.#$=Y}clone(){return new $(this.#Z,this.#$.clone())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);return Q.transformFnId=Y.trackTransformer(this.#Z),Q}},U1=class extends $Z{options;validations;constructor($,Z){super();this.options={bail:!0,allowNull:!1,isOptional:!1,...$},this.validations=Z||[]}cloneValidations(){return this.validations.map(($)=>{return{options:$.options,rule:$.rule}})}cloneOptions(){return{...this.options}}compileValidations($){return this.validations.map((Z)=>{return{ruleFnId:$.track({validator:Z.rule.validator,options:Z.options}),implicit:Z.rule.implicit,isAsync:Z.rule.isAsync}})}parse($){return this.options.parse=$,this}use($){return this.validations.push(y1 in $?$[y1]():$),this}bail($){return this.options.bail=$,this}[o]($,Z,Y){return{type:"literal",fieldName:$,propertyName:Y.toCamelCase?N0($):$,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,parseFnId:this.options.parse?Z.trackParser(this.options.parse):void 0,validations:this.compileValidations(Z)}}},pQ=class $ extends U1{constructor(Z,Y){super(Z,Y)}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},e$=v(($,Z,Y)=>{const J=typeof Z.choices==="function"?Z.choices(Y):Z.choices;if(!J.includes($))Y.report(m.enum,"enum",Y,{choices:J})}),ZZ=class $ extends U1{static rules={enum:e$};#$;getChoices(){return this.#$}constructor(Z,Y,J){super(Y,J||[e$({choices:Z})]);this.#$=Z}clone(){return new $(this.#$,this.cloneOptions(),this.cloneValidations())}},g1=["YYYY-MM-DD","YYYY-MM-DD HH:mm:ss"];W0.default.extend(aQ.default);W0.default.extend(iQ.default);W0.default.extend(sQ.default);var oB=v(($,Z,Y)=>{if(typeof $!=="string"&&typeof $!=="number"){Y.report(m.date,"date",Y);return}let J=!1,Q=Z.formats||g1;if(Array.isArray(Q))Q=[...Q],J=Q.includes("x");else if(typeof Q!=="string")Q={...Q},J=Q.format==="x";const X=J?d.asNumber($):$,q=J&&!Number.isNaN(X)?W0.default(X):W0.default($,Q,!0);if(!q.isValid()){Y.report(m.date,"date",Y);return}Y.meta.$value=q,Y.meta.$formats=Q,Y.mutate(q.toDate(),Y)}),TJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the equals rule`);if(!X.isSame(G,J))Y.report(m["date.equals"],"date.equals",Y,{expectedValue:q,compare:J})}),xJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=q==="today"?W0.default():q==="tomorrow"?W0.default().add(1,"day"):W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the after rule`);if(!X.isAfter(G,J))Y.report(m["date.after"],"date.after",Y,{expectedValue:q,compare:J})}),CJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=q==="today"?W0.default():q==="tomorrow"?W0.default().add(1,"day"):W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the afterOrEqual rule`);if(!X.isSameOrAfter(G,J))Y.report(m["date.afterOrEqual"],"date.afterOrEqual",Y,{expectedValue:q,compare:J})}),wJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=q==="today"?W0.default():q==="yesterday"?W0.default().subtract(1,"day"):W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the before rule`);if(!X.isBefore(G,J))Y.report(m["date.before"],"date.before",Y,{expectedValue:q,compare:J})}),bJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=q==="today"?W0.default():q==="yesterday"?W0.default().subtract(1,"day"):W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the beforeOrEqual rule`);if(!X.isSameOrBefore(G,J))Y.report(m["date.beforeOrEqual"],"date.beforeOrEqual",Y,{expectedValue:q,compare:J})}),SJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isSame(G,J))Y.report(m["date.sameAs"],"date.sameAs",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),fJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(Q.isSame(G,J))Y.report(m["date.notSameAs"],"date.notSameAs",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),hJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isAfter(G,J))Y.report(m["date.afterField"],"date.afterField",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),kJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isSameOrAfter(G,J))Y.report(m["date.afterOrSameAs"],"date.afterOrSameAs",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),yJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isBefore(G,J))Y.report(m["date.beforeField"],"date.beforeField",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),gJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isSameOrBefore(G,J))Y.report(m["date.beforeOrSameAs"],"date.beforeOrSameAs",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),mJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const Q=Y.meta.$value.day();if(Q!==0&&Q!==6)Y.report(m["date.weekend"],"date.weekend",Y)}),vJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const Q=Y.meta.$value.day();if(Q===0||Q===6)Y.report(m["date.weekday"],"date.weekday",Y)}),O8=class $ extends U1{static rules={equals:TJ,after:xJ,afterOrEqual:CJ,before:wJ,beforeOrEqual:bJ,sameAs:SJ,notSameAs:fJ,afterField:hJ,afterOrSameAs:kJ,beforeField:yJ,beforeOrSameAs:gJ,weekend:mJ,weekday:vJ};[l0]="vine.date";[t0]=(Z)=>{if(typeof Z!=="string")return!1;return rQ.default(Z,this.options.formats||g1,!0).isValid()};constructor(Z,Y){super(Z,Y||[oB(Z||{})])}equals(Z,Y){return this.use(TJ({expectedValue:Z,...Y}))}after(Z,Y){return this.use(xJ({expectedValue:Z,...Y}))}afterOrEqual(Z,Y){return this.use(CJ({expectedValue:Z,...Y}))}before(Z,Y){return this.use(wJ({expectedValue:Z,...Y}))}beforeOrEqual(Z,Y){return this.use(bJ({expectedValue:Z,...Y}))}sameAs(Z,Y){return this.use(SJ({otherField:Z,...Y}))}notSameAs(Z,Y){return this.use(fJ({otherField:Z,...Y}))}afterField(Z,Y){return this.use(hJ({otherField:Z,...Y}))}afterOrSameAs(Z,Y){return this.use(kJ({otherField:Z,...Y}))}beforeField(Z,Y){return this.use(yJ({otherField:Z,...Y}))}beforeOrSameAs(Z,Y){return this.use(gJ({otherField:Z,...Y}))}weekend(){return this.use(mJ())}weekday(){return this.use(vJ())}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},oQ=class ${#$;#Z=(Z,Y)=>{Y.report(m.union,"union",Y)};constructor(Z){this.#$=Z}otherwise(Z){return this.#Z=Z,this}clone(){const Z=new $(this.#$);return Z.otherwise(this.#Z),Z}[o](Z,Y,J){return{type:"union",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,elseConditionalFnRefId:Y.trackConditional(this.#Z),conditions:this.#$.map((Q)=>Q[o](Z,Y,J))}}},nQ=class{#$;#Z;constructor($,Z){this.#$=Z,this.#Z=$}[o]($,Z,Y){return{conditionalFnRefId:Z.trackConditional(this.#Z),schema:this.#$[o]($,Z,Y)}}};F8.if=function $(Z,Y){return new nQ(Z,Y)};F8.else=function $(Z){return new nQ(()=>!0,Z)};var S9=class extends q9{optional(){return new tB(this)}nullable(){return new nB(this)}},nB=class $ extends S9{#$;constructor(Z){super();this.#$=Z}clone(){return new $(this.#$.clone())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);if(Q.type!=="union")Q.allowNull=!0;return Q}},tB=class $ extends S9{#$;constructor(Z){super();this.#$=Z}clone(){return new $(this.#$.clone())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);if(Q.type!=="union")Q.isOptional=!0;return Q}},f9=class extends S9{options;validations;constructor($,Z){super();this.options=$||{bail:!0,allowNull:!1,isOptional:!1},this.validations=Z||[]}cloneValidations(){return this.validations.map(($)=>{return{options:$.options,rule:$.rule}})}cloneOptions(){return{...this.options}}compileValidations($){return this.validations.map((Z)=>{return{ruleFnId:$.track({validator:Z.rule.validator,options:Z.options}),implicit:Z.rule.implicit,isAsync:Z.rule.isAsync}})}parse($){return this.options.parse=$,this}use($){return this.validations.push(y1 in $?$[y1]():$),this}bail($){return this.options.bail=$,this}},tQ=class $ extends f9{#$;#Z=!1;[l0]="vine.array";[t0]=(Z)=>{return Array.isArray(Z)};constructor(Z,Y,J){super(Y,J);this.#$=Z}allowUnknownProperties(){return this.#Z=!0,this}clone(){const Z=new $(this.#$.map((Y)=>Y.clone()),this.cloneOptions(),this.cloneValidations());if(this.#Z)Z.allowUnknownProperties();return Z}[o](Z,Y,J){return{type:"tuple",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,allowUnknownProperties:this.#Z,parseFnId:this.options.parse?Y.trackParser(this.options.parse):void 0,validations:this.compileValidations(Y),properties:this.#$.map((Q,X)=>Q[o](String(X),Y,J))}}},uJ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length<Z.min)Y.report(m["array.minLength"],"array.minLength",Y,Z)}),cJ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length>Z.max)Y.report(m["array.maxLength"],"array.maxLength",Y,Z)}),dJ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length!==Z.size)Y.report(m["array.fixedLength"],"array.fixedLength",Y,Z)}),lJ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length<=0)Y.report(m.notEmpty,"notEmpty",Y)}),pJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isDistinct($,Z.fields))Y.report(m.distinct,"distinct",Y,Z)}),rJ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate($.filter((J)=>d.exists(J)&&J!==""),Y)}),eQ=class $ extends f9{static rules={compact:rJ,notEmpty:lJ,distinct:pJ,minLength:uJ,maxLength:cJ,fixedLength:dJ};#$;[l0]="vine.array";[t0]=(Z)=>{return Array.isArray(Z)};constructor(Z,Y,J){super(Y,J);this.#$=Z}minLength(Z){return this.use(uJ({min:Z}))}maxLength(Z){return this.use(cJ({max:Z}))}fixedLength(Z){return this.use(dJ({size:Z}))}notEmpty(){return this.use(lJ())}distinct(Z){return this.use(pJ({fields:Z}))}compact(){return this.use(rJ())}clone(){return new $(this.#$.clone(),this.cloneOptions(),this.cloneValidations())}[o](Z,Y,J){return{type:"array",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,each:this.#$[o]("*",Y,J),parseFnId:this.options.parse?Y.trackParser(this.options.parse):void 0,validations:this.compileValidations(Y)}}},eB=class $ extends S9{#$;[l0]="types.object";[t0]=(Z)=>{return Z!==null&&typeof Z==="object"&&!Array.isArray(Z)};constructor(Z){super();this.#$=Z}clone(){return new $(this.#$.clone())}[o](Z,Y,J){return J.toCamelCase=!0,this.#$[o](Z,Y,J)}},$X=class $ extends f9{#$;#Z=[];#Y=!1;[l0]="vine.object";[t0]=(Z)=>{return Z!==null&&typeof Z==="object"&&!Array.isArray(Z)};constructor(Z,Y,J){super(Y,J);this.#$=Z}getProperties(){return Object.keys(this.#$).reduce((Z,Y)=>{return Z[Y]=this.#$[Y].clone(),Z},{})}allowUnknownProperties(){return this.#Y=!0,this}merge(Z){return this.#Z.push(Z),this}clone(){const Z=new $(this.getProperties(),this.cloneOptions(),this.cloneValidations());if(this.#Z.forEach((Y)=>Z.merge(Y)),this.#Y)Z.allowUnknownProperties();return Z}toCamelCase(){return new eB(this)}[o](Z,Y,J){return{type:"object",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,parseFnId:this.options.parse?Y.trackParser(this.options.parse):void 0,allowUnknownProperties:this.#Y,validations:this.compileValidations(Y),properties:Object.keys(this.#$).map((Q)=>{return this.#$[Q][o](Q,Y,J)}),groups:this.#Z.map((Q)=>{return Q[o](Y,J)})}}},iJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(Object.keys($).length<Z.min)Y.report(m["record.minLength"],"record.minLength",Y,Z)}),sJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(Object.keys($).length>Z.max)Y.report(m["record.maxLength"],"record.maxLength",Y,Z)}),aJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(Object.keys($).length!==Z.size)Y.report(m["record.fixedLength"],"record.fixedLength",Y,Z)}),oJ=v(($,Z,Y)=>{if(!Y.isValid)return;Z(Object.keys($),Y)}),ZX=class $ extends f9{static rules={maxLength:sJ,minLength:iJ,fixedLength:aJ,validateKeys:oJ};#$;[l0]="vine.object";[t0]=(Z)=>{return Z!==null&&typeof Z==="object"&&!Array.isArray(Z)};constructor(Z,Y,J){super(Y,J);this.#$=Z}minLength(Z){return this.use(iJ({min:Z}))}maxLength(Z){return this.use(sJ({max:Z}))}fixedLength(Z){return this.use(aJ({size:Z}))}validateKeys(...Z){return this.use(oJ(...Z))}clone(){return new $(this.#$.clone(),this.cloneOptions(),this.cloneValidations())}[o](Z,Y,J){return{type:"record",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,each:this.#$[o]("*",Y,J),parseFnId:this.options.parse?Y.trackParser(this.options.parse):void 0,validations:this.compileValidations(Y)}}},nJ=v(($,Z,Y)=>{if(typeof $!=="string")Y.report(m.string,"string",Y)}),tJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isEmail($,Z))Y.report(m.email,"email",Y)}),eJ=v(($,Z,Y)=>{if(!Y.isValid)return;const J=Z&&typeof Z==="function"?Z(Y):Z,Q=J?.locale||"any";if(!d.isMobilePhone($,Q,J))Y.report(m.mobile,"mobile",Y)}),$Q=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isIP($,Z?.version))Y.report(m.ipAddress,"ipAddress",Y)}),ZQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!Z.test($))Y.report(m.regex,"regex",Y)}),YQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isHexColor($))Y.report(m.hexCode,"hexCode",Y)}),JQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isURL($,Z))Y.report(m.url,"url",Y)}),QQ=v(async($,Z,Y)=>{if(!Y.isValid)return;if(!await d.isActiveURL($))Y.report(m.activeUrl,"activeUrl",Y)}),XQ=v(($,Z,Y)=>{if(!Y.isValid)return;let J="a-zA-Z";if(Z){if(Z.allowSpaces)J+="\\s";if(Z.allowDashes)J+="-";if(Z.allowUnderscores)J+="_"}if(!new RegExp(`^[${J}]+\$`).test($))Y.report(m.alpha,"alpha",Y)}),qQ=v(($,Z,Y)=>{if(!Y.isValid)return;let J="a-zA-Z0-9";if(Z){if(Z.allowSpaces)J+="\\s";if(Z.allowDashes)J+="-";if(Z.allowUnderscores)J+="_"}if(!new RegExp(`^[${J}]+\$`).test($))Y.report(m.alphaNumeric,"alphaNumeric",Y)}),GQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length<Z.min)Y.report(m.minLength,"minLength",Y,Z)}),UQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length>Z.max)Y.report(m.maxLength,"maxLength",Y,Z)}),WQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length!==Z.size)Y.report(m.fixedLength,"fixedLength",Y,Z)}),BQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!$.endsWith(Z.substring))Y.report(m.endsWith,"endsWith",Y,Z)}),MQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!$.startsWith(Z.substring))Y.report(m.startsWith,"startsWith",Y,Z)}),DQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(d.getNestedValue(Z.otherField,Y)!==$){Y.report(m.sameAs,"sameAs",Y,Z);return}}),KQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(d.getNestedValue(Z.otherField,Y)===$){Y.report(m.notSameAs,"notSameAs",Y,Z);return}}),HQ=v(($,Z,Y)=>{if(!Y.isValid)return;const J=Z?.confirmationField||`${Y.name}_confirmation`;if(Y.parent[J]!==$){Y.report(m.confirmed,"confirmed",Y,{otherField:J});return}}),LQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate($.trim(),Y)}),jQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate(JX.default.default($,Z),Y)}),zQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate($.toLocaleUpperCase(Z),Y)}),OQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate($.toLocaleLowerCase(Z),Y)}),FQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate(N0($),Y)}),AQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate(YX.default.default($),Y)}),PQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate(H8($,Z),Y)}),IQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!(typeof Z.choices==="function"?Z.choices(Y):Z.choices).includes($)){Y.report(m.in,"in",Y,Z);return}}),EQ=v(($,Z,Y)=>{if(!Y.isValid)return;if((typeof Z.list==="function"?Z.list(Y):Z.list).includes($)){Y.report(m.notIn,"notIn",Y,Z);return}}),VQ=v(($,Z,Y)=>{if(!Y.isValid)return;const J=Z?typeof Z==="function"?Z(Y)?.provider||[]:Z.provider:[];if(!J.length){if(!d.isCreditCard($))Y.report(m.creditCard,"creditCard",Y,{providersList:"credit"})}else if(!J.find((X)=>d.isCreditCard($,{provider:X})))Y.report(m.creditCard,"creditCard",Y,{providers:J,providersList:J.join("/")})}),_Q=v(($,Z,Y)=>{if(!Y.isValid)return;const J=typeof Z==="function"?Z(Y).countryCode:Z.countryCode;if(!J.find((X)=>d.isPassportNumber($,X)))Y.report(m.passport,"passport",Y,{countryCodes:J})}),NQ=v(($,Z,Y)=>{if(!Y.isValid)return;const J=Z?typeof Z==="function"?Z(Y)?.countryCode||[]:Z.countryCode:[];if(!J.length){if(!d.isPostalCode($,"any"))Y.report(m.postalCode,"postalCode",Y)}else if(!J.find((X)=>d.isPostalCode($,X)))Y.report(m.postalCode,"postalCode",Y,{countryCodes:J})}),RQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!Z||!Z.version){if(!d.isUUID($))Y.report(m.uuid,"uuid",Y)}else if(!Z.version.find((Q)=>d.isUUID($,Q)))Y.report(m.uuid,"uuid",Y,Z)}),TQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isAscii($))Y.report(m.ascii,"ascii",Y)}),xQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isIBAN($))Y.report(m.iban,"iban",Y)}),CQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isJWT($))Y.report(m.jwt,"jwt",Y)}),wQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isLatLong($))Y.report(m.coordinates,"coordinates",Y)}),YZ=class $ extends U1{static rules={in:IQ,jwt:CQ,url:JQ,iban:xQ,uuid:RQ,trim:LQ,email:tJ,alpha:XQ,ascii:TQ,notIn:EQ,regex:ZQ,escape:AQ,sameAs:DQ,mobile:eJ,string:nJ,hexCode:YQ,passport:_Q,endsWith:BQ,confirmed:HQ,activeUrl:QQ,minLength:GQ,notSameAs:KQ,maxLength:UQ,ipAddress:$Q,creditCard:VQ,postalCode:NQ,startsWith:MQ,toUpperCase:zQ,toLowerCase:OQ,toCamelCase:FQ,fixedLength:WQ,coordinates:wQ,normalizeUrl:PQ,alphaNumeric:qQ,normalizeEmail:jQ};[l0]="vine.string";[t0]=(Z)=>{return typeof Z==="string"};constructor(Z,Y){super(Z,Y||[nJ()])}url(...Z){return this.use(JQ(...Z))}activeUrl(){return this.use(QQ())}email(...Z){return this.use(tJ(...Z))}mobile(...Z){return this.use(eJ(...Z))}ipAddress(Z){return this.use($Q(Z?{version:Z}:void 0))}hexCode(){return this.use(YQ())}regex(Z){return this.use(ZQ(Z))}alpha(Z){return this.use(XQ(Z))}alphaNumeric(Z){return this.use(qQ(Z))}minLength(Z){return this.use(GQ({min:Z}))}maxLength(Z){return this.use(UQ({max:Z}))}fixedLength(Z){return this.use(WQ({size:Z}))}confirmed(Z){return this.use(HQ(Z))}trim(){return this.use(LQ())}normalizeEmail(Z){return this.use(jQ(Z))}toUpperCase(){return this.use(zQ())}toLowerCase(){return this.use(OQ())}toCamelCase(){return this.use(FQ())}escape(){return this.use(AQ())}normalizeUrl(...Z){return this.use(PQ(...Z))}startsWith(Z){return this.use(MQ({substring:Z}))}endsWith(Z){return this.use(BQ({substring:Z}))}sameAs(Z){return this.use(DQ({otherField:Z}))}notSameAs(Z){return this.use(KQ({otherField:Z}))}in(Z){return this.use(IQ({choices:Z}))}notIn(Z){return this.use(EQ({list:Z}))}creditCard(...Z){return this.use(VQ(...Z))}passport(...Z){return this.use(_Q(...Z))}postalCode(...Z){return this.use(NQ(...Z))}uuid(...Z){return this.use(RQ(...Z))}ascii(){return this.use(TQ())}iban(){return this.use(xQ())}jwt(){return this.use(CQ())}coordinates(){return this.use(wQ())}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},bQ=v(($,Z,Y)=>{const J=Z.strict?$:d.asNumber($);if(typeof J!=="number"||Number.isNaN(J)||J===Number.POSITIVE_INFINITY||J===Number.NEGATIVE_INFINITY){Y.report(m.number,"number",Y);return}Y.mutate(J,Y)}),SQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($<Z.min)Y.report(m.min,"min",Y,Z)}),fQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($>Z.max)Y.report(m.max,"max",Y,Z)}),hQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($<Z.min||$>Z.max)Y.report(m.range,"range",Y,Z)}),kQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($<0)Y.report(m.positive,"positive",Y)}),yQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($>=0)Y.report(m.negative,"negative",Y)}),gQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isDecimal(String($),{force_decimal:Z.range[0]!==0,decimal_digits:Z.range.join(",")}))Y.report(m.decimal,"decimal",Y,{digits:Z.range.join("-")})}),mQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!Number.isInteger($))Y.report(m.withoutDecimals,"withoutDecimals",Y)}),vQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!Z.values.includes($))Y.report(m["number.in"],"in",Y,Z)}),JZ=class $ extends U1{static rules={in:vQ,max:fQ,min:SQ,range:hQ,number:bQ,decimal:gQ,negative:yQ,positive:kQ,withoutDecimals:mQ};[l0]="vine.number";[t0]=(Z)=>{const Y=d.asNumber(Z);return!Number.isNaN(Y)};constructor(Z,Y){super(Z,Y||[bQ(Z||{})])}min(Z){return this.use(SQ({min:Z}))}max(Z){return this.use(fQ({max:Z}))}range(Z){return this.use(hQ({min:Z[0],max:Z[1]}))}positive(){return this.use(kQ())}negative(){return this.use(yQ())}decimal(Z){return this.use(gQ({range:Array.isArray(Z)?Z:[Z]}))}withoutDecimals(){return this.use(mQ())}clone(){return new $(this.cloneOptions(),this.cloneValidations())}in(Z){return this.use(vQ({values:Z}))}},uQ=v(($,Z,Y)=>{const J=Z.strict===!0?$:d.asBoolean($);if(typeof J!=="boolean"){Y.report(m.boolean,"boolean",Y);return}Y.mutate(J,Y)}),QZ=class $ extends U1{static rules={boolean:uQ};[l0]="vine.boolean";[t0]=(Z)=>{return typeof(this.options.strict===!0?Z:d.asBoolean(Z))==="boolean"};constructor(Z,Y){super(Z,Y||[uQ(Z||{})])}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},cQ=v(($,Z,Y)=>{let J=$;if(typeof Z.expectedValue==="boolean")J=d.asBoolean($);else if(typeof Z.expectedValue==="number")J=d.asNumber($);if(J!==Z.expectedValue){Y.report(m.literal,"literal",Y,Z);return}Y.mutate(J,Y)}),QX=class $ extends U1{static rules={equals:cQ};#$;constructor(Z,Y,J){super(Y,J||[cQ({expectedValue:Z})]);this.#$=Z}clone(){return new $(this.#$,this.cloneOptions(),this.cloneValidations())}},$M=["on","1","yes","true",!0,1],dQ=v(($,Z,Y)=>{if(!$M.includes($))Y.report(m.accepted,"accepted",Y)}),XX=class $ extends U1{static rules={accepted:dQ};constructor(Z,Y){super(Z,Y||[dQ()])}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},ZM=class ${#$;#Z=(Z,Y)=>{Y.report(m.unionGroup,"unionGroup",Y)};constructor(Z){this.#$=Z}clone(){const Z=new $(this.#$);return Z.otherwise(this.#Z),Z}otherwise(Z){return this.#Z=Z,this}[o](Z,Y){return{type:"group",elseConditionalFnRefId:Z.trackConditional(this.#Z),conditions:this.#$.map((J)=>J[o](Z,Y))}}},qX=class{#$;#Z;constructor($,Z){this.#$=Z,this.#Z=$}[o]($,Z){return{schema:{type:"sub_object",properties:Object.keys(this.#$).map((Y)=>{return this.#$[Y][o](Y,$,Z)}),groups:[]},conditionalFnRefId:$.trackConditional(this.#Z)}}};A8.if=function $(Z,Y){return new qX(Z,Y)};A8.else=function $(Z){return new qX(()=>!0,Z)};var YM=class $ extends U1{static rules={enum:e$};#$;constructor(Z,Y,J){super(Y,J||[e$({choices:Object.values(Z)})]);this.#$=Z}clone(){return new $(this.#$,this.cloneOptions(),this.cloneValidations())}},JM=class ${#$;#Z=(Z,Y)=>{Y.report(m.unionOfTypes,"unionOfTypes",Y)};constructor(Z){this.#$=Z}otherwise(Z){return this.#Z=Z,this}clone(){const Z=new $(this.#$);return Z.otherwise(this.#Z),Z}[o](Z,Y,J){return{type:"union",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,elseConditionalFnRefId:Y.trackConditional(this.#Z),conditions:this.#$.map((Q)=>{return{conditionalFnRefId:Y.trackConditional((X,q)=>{return Q[t0](X,q)}),schema:Q[o](Z,Y,J)}})}}},QM=class extends q9{group=A8;union=F8;string(){return new YZ}boolean($){return new QZ($)}accepted(){return new XX}number($){return new JZ($)}date($){return new O8($)}literal($){return new QX($)}object($){return new $X($)}array($){return new eQ($)}tuple($){return new tQ($)}record($){return new ZX($)}enum($){if(Array.isArray($)||typeof $==="function")return new ZZ($);return new YM($)}any(){return new pQ}unionOfTypes($){const Z=new Set;return $.forEach((Y)=>{if(!Y[t0]||!Y[l0])throw new Error(`Cannot use "${Y.constructor.name}". The schema type is not compatible for use with "vine.unionOfTypes"`);if(Z.has(Y[l0]))throw new Error(`Cannot use duplicate schema "${Y[l0]}". "vine.unionOfTypes" needs distinct schema types only`);Z.add(Y[l0])}),Z.clear(),new JM($)}},XM={required:m.required,array:m.array,object:m.object},z8=class{#$;messagesProvider;errorReporter;#Z($){const Z=RJ();return{compilerNode:{type:"root",schema:$[o]("",Z,{toCamelCase:!1})},refs:Z.toJSON()}}constructor($,Z){const{compilerNode:Y,refs:J}=this.#Z($);this.#$={schema:Y,refs:J};const Q=Z.metaDataValidator,X=new NJ(Y,{convertEmptyStringsToNull:Z.convertEmptyStringsToNull,messages:XM}).compile();if(this.errorReporter=Z.errorReporter,this.messagesProvider=Z.messagesProvider,Q)this.validate=(q,G)=>{let U=G??{};const M=U.meta??{},B=U.errorReporter??this.errorReporter,W=U.messagesProvider??this.messagesProvider;return Q(M),X(q,M,J,W,B())};else this.validate=(q,G)=>{let U=G??{};const M=U.meta??{},B=U.errorReporter??this.errorReporter,W=U.messagesProvider??this.messagesProvider;return X(q,M,J,W,B())}}async tryValidate($,...[Z]){try{return[null,await this.validate($,Z)]}catch(Y){if(Y instanceof Z8)return[Y,null];throw Y}}toJSON(){const{schema:$,refs:Z}=this.#$;return{schema:structuredClone($),refs:Z}}},GX=class extends QM{messagesProvider=new x9(m,sY);errorReporter=()=>new Y8;convertEmptyStringsToNull=!1;helpers=d;createRule=v;compile($){return new z8($,{convertEmptyStringsToNull:this.convertEmptyStringsToNull,messagesProvider:this.messagesProvider,errorReporter:this.errorReporter})}withMetaData($){return{compile:(Z)=>{return new z8(Z,{convertEmptyStringsToNull:this.convertEmptyStringsToNull,messagesProvider:this.messagesProvider,errorReporter:this.errorReporter,metaDataValidator:$})}}}validate($){return this.compile($.schema).validate($.data,$)}tryValidate($){return this.compile($.schema).tryValidate($.data,$)}},NA=new GX;import{path as aA}from"@stacksjs/path";async function LP($,Z){Array.from({length:$}).forEach(async(Y,J)=>await Z(J))}function UM($,Z=25,Y={}){if(Y={...GM,...Y},!Number.isFinite(Z))throw new TypeError("Expected `wait` to be a finite number");let J,Q,X=[],q,G;const U=(M,B)=>{return q=WM($,M,B),q.finally(()=>{if(q=null,Y.trailing&&G&&!Q){const W=U(M,G);return G=null,W}}),q};return function(...M){if(q){if(Y.trailing)G=M;return q}return new Promise((B)=>{const W=!Q&&Y.leading;if(clearTimeout(Q),Q=setTimeout(()=>{Q=null;const D=Y.leading?J:U(this,M);for(let K of X)K(D);X=[]},Z),W)J=U(this,M),B(J);else X.push(B)})}}async function WM($,Z,Y){return await $.apply(Z,Y)}var GM={trailing:!0};function PP($){$.forEach((Z)=>Z?.())}function IP($,Z){return Z($),$}function VP($){return $!=null}function _P($){return $!==null}function NP($){return $!==void 0}function RP($){return Boolean($)}function bI($,Z){return $=Math.ceil($),Z=Math.floor(Z),Math.floor(Math.random()*(Z-$+1))+$}function XZ($){const Z=Object.create(null);for(let Y of $.split(","))Z[Y]=1;return(Y)=>(Y in Z)}function MZ($){if(Z0($)){const Z={};for(let Y=0;Y<$.length;Y++){const J=$[Y],Q=p0(J)?OM(J):MZ(J);if(Q)for(let X in Q)Z[X]=Q[X]}return Z}else if(p0($)||O0($))return $}function OM($){const Z={};return $.replace(zM,"").split(LM).forEach((Y)=>{if(Y){const J=Y.split(jM);J.length>1&&(Z[J[0].trim()]=J[1].trim())}}),Z}function DZ($){let Z="";if(p0($))Z=$;else if(Z0($))for(let Y=0;Y<$.length;Y++){const J=DZ($[Y]);if(J)Z+=J+" "}else if(O0($)){for(let Y in $)if($[Y])Z+=Y+" "}return Z.trim()}/*! #__NO_SIDE_EFFECTS__ */var f0=Object.freeze({}),BM=Object.freeze([]),_1=()=>{},BX=()=>!1,P8=($)=>$.charCodeAt(0)===111&&$.charCodeAt(1)===110&&($.charCodeAt(2)>122||$.charCodeAt(2)<97);var A0=Object.assign,qZ=($,Z)=>{const Y=$.indexOf(Z);if(Y>-1)$.splice(Y,1)},MM=Object.prototype.hasOwnProperty,L0=($,Z)=>MM.call($,Z),Z0=Array.isArray,m1=($)=>GZ($)==="[object Map]",I8=($)=>GZ($)==="[object Set]";var K0=($)=>typeof $==="function",p0=($)=>typeof $==="string",v1=($)=>typeof $==="symbol",O0=($)=>$!==null&&typeof $==="object",MX=($)=>{return(O0($)||K0($))&&K0($.then)&&K0($.catch)},DM=Object.prototype.toString,GZ=($)=>DM.call($),UZ=($)=>{return GZ($).slice(8,-1)},E8=($)=>GZ($)==="[object Object]",WZ=($)=>p0($)&&$!=="NaN"&&$[0]!=="-"&&""+parseInt($,10)===$;var BZ=($)=>{const Z=Object.create(null);return(Y)=>{return Z[Y]||(Z[Y]=$(Y))}},KM=/-(\w)/g,V8=BZ(($)=>{return $.replace(KM,(Z,Y)=>Y?Y.toUpperCase():"")}),HM=/\B([A-Z])/g,DX=BZ(($)=>$.replace(HM,"-$1").toLowerCase()),h9=BZ(($)=>{return $.charAt(0).toUpperCase()+$.slice(1)}),KX=BZ(($)=>{return $?`on${h9($)}`:""}),W1=($,Z)=>!Object.is($,Z);var _8=($,Z,Y,J=!1)=>{Object.defineProperty($,Z,{configurable:!0,enumerable:!1,writable:J,value:Y})};var N8=($)=>{const Z=p0($)?Number($):NaN;return isNaN(Z)?$:Z},WX,R8=()=>{return WX||(WX=typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:typeof window!=="undefined"?window:typeof global!=="undefined"?global:{})};var LM=/;(?![^(]*\))/g,jM=/:([^]+)/,zM=/\/\*[^]*?\*\//g;var FM="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly";var AM=XZ(FM+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function e0($,...Z){console.warn(`[Vue warn] ${$}`,...Z)}function IZ($){return new PZ($)}function B9(){return h0}function EZ($,Z=!1){if(h0)h0.cleanups.push($);else if(!Z)e0("onScopeDispose() is called when there is no active effect scope to be associated with.")}function PX($,Z=!1){if($.flags|=8,Z){$.next=g9,g9=$;return}$.next=y9,y9=$}function S8(){AX++}function f8(){if(--AX>0)return;if(g9){let Z=g9;g9=void 0;while(Z){const Y=Z.next;Z.next=void 0,Z.flags&=-9,Z=Y}}let $;while(y9){let Z=y9;y9=void 0;while(Z){const Y=Z.next;if(Z.next=void 0,Z.flags&=-9,Z.flags&1)try{Z.trigger()}catch(J){if(!$)$=J}Z=Y}}if($)throw $}function IX($){for(let Z=$.deps;Z;Z=Z.nextDep)Z.version=-1,Z.prevActiveLink=Z.dep.activeLink,Z.dep.activeLink=Z}function EX($){let Z,Y=$.depsTail,J=Y;while(J){const Q=J.prevDep;if(J.version===-1){if(J===Y)Y=Q;h8(J),PM(J)}else Z=J;J.dep.activeLink=J.prevActiveLink,J.prevActiveLink=void 0,J=Q}$.deps=Z,$.depsTail=Y}function w8($){for(let Z=$.deps;Z;Z=Z.nextDep)if(Z.dep.version!==Z.version||Z.dep.computed&&(VX(Z.dep.computed)||Z.dep.version!==Z.version))return!0;if($._dirty)return!0;return!1}function VX($){if($.flags&4&&!($.flags&16))return;if($.flags&=-17,$.globalVersion===m9)return;$.globalVersion=m9;const Z=$.dep;if($.flags|=2,Z.version>0&&!$.isSSR&&$.deps&&!w8($)){$.flags&=-3;return}const Y=J0,J=J1;J0=$,J1=!0;try{IX($);const Q=$.fn($._value);if(Z.version===0||W1(Q,$._value))$._value=Q,Z.version++}catch(Q){throw Z.version++,Q}finally{J0=Y,J1=J,EX($),$.flags&=-3}}function h8($,Z=!1){const{dep:Y,prevSub:J,nextSub:Q}=$;if(J)J.nextSub=Q,$.prevSub=void 0;if(Q)Q.prevSub=J,$.nextSub=void 0;if(Y.subs===$)Y.subs=J;if(Y.subsHead===$)Y.subsHead=Q;if(!Y.subs&&Y.computed){Y.computed.flags&=-5;for(let X=Y.computed.deps;X;X=X.nextDep)h8(X,!0)}if(!Z&&!--Y.sc&&Y.map)Y.map.delete(Y.key)}function PM($){const{prevDep:Z,nextDep:Y}=$;if(Z)Z.nextDep=Y,$.prevDep=void 0;if(Y)Y.prevDep=Z,$.nextDep=void 0}function M9(){_X.push(J1),J1=!1}function D9(){const $=_X.pop();J1=$===void 0?!0:$}function HX($){const{cleanup:Z}=$;if($.cleanup=void 0,Z){const Y=J0;J0=void 0;try{Z()}finally{J0=Y}}}function RX($){if($.dep.sc++,$.sub.flags&4){const Z=$.dep.computed;if(Z&&!$.dep.subs){Z.flags|=20;for(let J=Z.deps;J;J=J.nextDep)RX(J)}const Y=$.dep.subs;if(Y!==$){if($.prevSub=Y,Y)Y.nextSub=$}if($.dep.subsHead===void 0)$.dep.subsHead=$;$.dep.subs=$}}function R0($,Z,Y){if(J1&&J0){let J=FZ.get($);if(!J)FZ.set($,J=new Map);let Q=J.get(Y);if(!Q)J.set(Y,Q=new u9),Q.map=J,Q.key=Y;Q.track({target:$,type:Z,key:Y})}}function L1($,Z,Y,J,Q,X){const q=FZ.get($);if(!q){m9++;return}const G=(U)=>{if(U)U.trigger({target:$,type:Z,key:Y,newValue:J,oldValue:Q,oldTarget:X})};if(S8(),Z==="clear")q.forEach(G);else{const U=Z0($),M=U&&WZ(Y);if(U&&Y==="length"){const B=Number(J);q.forEach((W,D)=>{if(D==="length"||D===v9||!v1(D)&&D>=B)G(W)})}else{if(Y!==void 0)G(q.get(Y));if(M)G(q.get(v9));switch(Z){case"add":if(!U){if(G(q.get(c1)),m1($))G(q.get(b8))}else if(M)G(q.get("length"));break;case"delete":if(!U){if(G(q.get(c1)),m1($))G(q.get(b8))}break;case"set":if(m1($))G(q.get(c1));break}}}f8()}function IM($,Z){const Y=FZ.get($);return Y&&Y.get(Z)}function W9($){const Z=r($);if(Z===$)return Z;return R0(Z,"iterate",v9),w0($)?Z:Z.map(C0)}function _Z($){return R0($=r($),"iterate",v9),$}function x8($,Z,Y){const J=_Z($),Q=J[Z]();if(J!==$&&!w0($))Q._next=Q.next,Q.next=()=>{const X=Q._next();if(X.value)X.value=Y(X.value);return X};return Q}function K1($,Z,Y,J,Q,X){const q=_Z($),G=q!==$&&!w0($),U=q[Z];if(U!==VM[Z]){const W=U.apply($,X);return G?C0(W):W}let M=Y;if(q!==$){if(G)M=function(W,D){return Y.call(this,C0(W),D,$)};else if(Y.length>2)M=function(W,D){return Y.call(this,W,D,$)}}const B=U.call(q,M,J);return G&&Q?Q(B):B}function LX($,Z,Y,J){const Q=_Z($);let X=Y;if(Q!==$){if(!w0($))X=function(q,G,U){return Y.call(this,q,C0(G),U,$)};else if(Y.length>3)X=function(q,G,U){return Y.call(this,q,G,U,$)}}return Q[Z](X,...J)}function C8($,Z,Y){const J=r($);R0(J,"iterate",v9);const Q=J[Z](...Y);if((Q===-1||Q===!1)&&d1(Y[0]))return Y[0]=r(Y[0]),J[Z](...Y);return Q}function k9($,Z,Y=[]){M9(),S8();const J=r($)[Z].apply($,Y);return f8(),D9(),J}function NM($){if(!v1($))$=String($);const Z=r(this);return R0(Z,"has",$),Z.hasOwnProperty($)}function KZ($,Z,Y=!1,J=!1){$=$.__v_raw;const Q=r($),X=r(Z);if(!Y){if(W1(Z,X))R0(Q,"get",Z);R0(Q,"get",X)}const{has:q}=NZ(Q),G=J?m8:Y?v8:C0;if(q.call(Q,Z))return G($.get(Z));else if(q.call(Q,X))return G($.get(X));else if($!==Q)$.get(Z)}function HZ($,Z=!1){const Y=this.__v_raw,J=r(Y),Q=r($);if(!Z){if(W1($,Q))R0(J,"has",$);R0(J,"has",Q)}return $===Q?Y.has($):Y.has($)||Y.has(Q)}function LZ($,Z=!1){return $=$.__v_raw,!Z&&R0(r($),"iterate",c1),Reflect.get($,"size",$)}function jX($,Z=!1){if(!Z&&!w0($)&&!T0($))$=r($);const Y=r(this);if(!NZ(Y).has.call(Y,$))Y.add($),L1(Y,"add",$,$);return this}function zX($,Z,Y=!1){if(!Y&&!w0(Z)&&!T0(Z))Z=r(Z);const J=r(this),{has:Q,get:X}=NZ(J);let q=Q.call(J,$);if(!q)$=r($),q=Q.call(J,$);else xX(J,Q,$);const G=X.call(J,$);if(J.set($,Z),!q)L1(J,"add",$,Z);else if(W1(Z,G))L1(J,"set",$,Z,G);return this}function OX($){const Z=r(this),{has:Y,get:J}=NZ(Z);let Q=Y.call(Z,$);if(!Q)$=r($),Q=Y.call(Z,$);else xX(Z,Y,$);const X=J?J.call(Z,$):void 0,q=Z.delete($);if(Q)L1(Z,"delete",$,void 0,X);return q}function FX(){const $=r(this),Z=$.size!==0,Y=m1($)?new Map($):new Set($),J=$.clear();if(Z)L1($,"clear",void 0,void 0,Y);return J}function jZ($,Z){return function Y(J,Q){const X=this,q=X.__v_raw,G=r(q),U=Z?m8:$?v8:C0;return!$&&R0(G,"iterate",c1),q.forEach((M,B)=>{return J.call(Q,U(M),U(B),X)})}}function zZ($,Z,Y){return function(...J){const Q=this.__v_raw,X=r(Q),q=m1(X),G=$==="entries"||$===Symbol.iterator&&q,U=$==="keys"&&q,M=Q[$](...J),B=Y?m8:Z?v8:C0;return!Z&&R0(X,"iterate",U?b8:c1),{next(){const{value:W,done:D}=M.next();return D?{value:W,done:D}:{value:G?[B(W[0]),B(W[1])]:B(W),done:D}},[Symbol.iterator](){return this}}}}function N1($){return function(...Z){{const Y=Z[0]?`on key "${Z[0]}" `:"";e0(`${h9($)} operation ${Y}failed: target is readonly.`,r(this))}return $==="delete"?!1:$==="clear"?void 0:this}}function wM(){const $={get(X){return KZ(this,X)},get size(){return LZ(this)},has:HZ,add:jX,set:zX,delete:OX,clear:FX,forEach:jZ(!1,!1)},Z={get(X){return KZ(this,X,!1,!0)},get size(){return LZ(this)},has:HZ,add(X){return jX.call(this,X,!0)},set(X,q){return zX.call(this,X,q,!0)},delete:OX,clear:FX,forEach:jZ(!1,!0)},Y={get(X){return KZ(this,X,!0)},get size(){return LZ(this,!0)},has(X){return HZ.call(this,X,!0)},add:N1("add"),set:N1("set"),delete:N1("delete"),clear:N1("clear"),forEach:jZ(!0,!1)},J={get(X){return KZ(this,X,!0,!0)},get size(){return LZ(this,!0)},has(X){return HZ.call(this,X,!0)},add:N1("add"),set:N1("set"),delete:N1("delete"),clear:N1("clear"),forEach:jZ(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((X)=>{$[X]=zZ(X,!1,!1),Y[X]=zZ(X,!0,!1),Z[X]=zZ(X,!1,!0),J[X]=zZ(X,!0,!0)}),[$,Y,Z,J]}function RZ($,Z){const Y=Z?$?hM:fM:$?SM:bM;return(J,Q,X)=>{if(Q==="__v_isReactive")return!$;else if(Q==="__v_isReadonly")return $;else if(Q==="__v_raw")return J;return Reflect.get(L0(Y,Q)&&Q in J?Y:J,Q,X)}}function xX($,Z,Y){const J=r(Y);if(J!==Y&&Z.call($,J)){const Q=UZ($);e0(`Reactive ${Q} contains both the raw and reactive versions of the same object${Q==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}function vM($){switch($){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function uM($){return $.__v_skip||!Object.isExtensible($)?0:vM(UZ($))}function G0($){if(T0($))return $;return TZ($,!1,RM,kM,CX)}function R1($){return TZ($,!1,xM,yM,wX)}function Y0($){return TZ($,!0,TM,gM,bX)}function K9($){return TZ($,!0,CM,mM,SX)}function TZ($,Z,Y,J,Q){if(!O0($))return e0(`value cannot be made ${Z?"readonly":"reactive"}: ${String($)}`),$;if($.__v_raw&&!(Z&&$.__v_isReactive))return $;const X=Q.get($);if(X)return X;const q=uM($);if(q===0)return $;const G=new Proxy($,q===2?J:Y);return Q.set($,G),G}function B1($){if(T0($))return B1($.__v_raw);return!!($&&$.__v_isReactive)}function T0($){return!!($&&$.__v_isReadonly)}function w0($){return!!($&&$.__v_isShallow)}function d1($){return $?!!$.__v_raw:!1}function r($){const Z=$&&$.__v_raw;return Z?r(Z):$}function c9($){if(!L0($,"__v_skip")&&Object.isExtensible($))_8($,"__v_skip",!0);return $}function i($){return $?$.__v_isRef===!0:!1}function F($){return fX($,!1)}function n($){return fX($,!0)}function fX($,Z){if(i($))return $;return new hX($,Z)}function r0($){return i($)?$.value:$}function u8($){return B1($)?$:new Proxy($,cM)}function M1($){return new kX($)}function H9($){if(!d1($))e0("toRefs() expects a reactive object but received a plain one.");const Z=Z0($)?new Array($.length):{};for(let Y in $)Z[Y]=mX($,Y);return Z}function c8($,Z,Y){if(i($))return $;else if(K0($))return new gX($);else if(O0($)&&arguments.length>1)return mX($,Z,Y);else return F($)}function mX($,Z,Y){const J=$[Z];return i(J)?J:new yX($,Z,Y)}function uX($,Z,Y=!1){let J,Q;if(K0($))J=$;else J=$.get,Q=$.set;const X=new vX(J,Q,Y);if(Z&&!Y)X.onTrack=Z.onTrack,X.onTrigger=Z.onTrigger;return X}function cX($,Z=!1,Y=u1){if(Y){let J=AZ.get(Y);if(!J)AZ.set(Y,J=[]);J.push($)}else if(!Z)e0("onWatcherCleanup() was called when there was no active watcher to associate with.")}function dX($,Z,Y=f0){const{immediate:J,deep:Q,once:X,scheduler:q,augmentJob:G,call:U}=Y,M=(I)=>{(Y.onWarn||e0)("Invalid watch source: ",I,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},B=(I)=>{if(Q)return I;if(w0(I)||Q===!1||Q===0)return H1(I,1);return H1(I)};let W,D,K,H,L=!1,z=!1;if(i($))D=()=>$.value,L=w0($);else if(B1($))D=()=>B($),L=!0;else if(Z0($))z=!0,L=$.some((I)=>B1(I)||w0(I)),D=()=>$.map((I)=>{if(i(I))return I.value;else if(B1(I))return B(I);else if(K0(I))return U?U(I,2):I();else M(I)});else if(K0($))if(Z)D=U?()=>U($,2):$;else D=()=>{if(K){M9();try{K()}finally{D9()}}const I=u1;u1=W;try{return U?U($,3,[H]):$(H)}finally{u1=I}};else D=_1,M($);if(Z&&Q){const I=D,h=Q===!0?1/0:Q;D=()=>H1(I(),h)}const j=B9(),O=()=>{if(W.stop(),j)qZ(j.effects,W)};if(X&&Z){const I=Z;Z=(...h)=>{I(...h),O()}}let A=z?new Array($.length).fill(OZ):OZ;const N=(I)=>{if(!(W.flags&1)||!W.dirty&&!I)return;if(Z){const h=W.run();if(Q||L||(z?h.some((R,C)=>W1(R,A[C])):W1(h,A))){if(K)K();const R=u1;u1=W;try{const C=[h,A===OZ?void 0:z&&A[0]===OZ?[]:A,H];U?U(Z,3,C):Z(...C),A=h}finally{u1=R}}}else W.run()};if(G)G(N);if(W=new VZ(D),W.scheduler=q?()=>q(N,!1):N,H=(I)=>cX(I,!1,W),K=W.onStop=()=>{const I=AZ.get(W);if(I){if(U)U(I,4);else for(let h of I)h();AZ.delete(W)}},W.onTrack=Y.onTrack,W.onTrigger=Y.onTrigger,Z)if(J)N(!0);else A=W.run();else if(q)q(N.bind(null,!0),!0);else W.run();return O.pause=W.pause.bind(W),O.resume=W.resume.bind(W),O.stop=O,O}function H1($,Z=1/0,Y){if(Z<=0||!O0($)||$.__v_skip)return $;if(Y=Y||new Set,Y.has($))return $;if(Y.add($),Z--,i($))H1($.value,Z,Y);else if(Z0($))for(let J=0;J<$.length;J++)H1($[J],Z,Y);else if(I8($)||m1($))$.forEach((J)=>{H1(J,Z,Y)});else if(E8($)){for(let J in $)H1($[J],Z,Y);for(let J of Object.getOwnPropertySymbols($))if(Object.prototype.propertyIsEnumerable.call($,J))H1($[J],Z,Y)}return $}var h0;class PZ{constructor($=!1){if(this.detached=$,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=h0,!$&&h0)this.index=(h0.scopes||(h0.scopes=[])).push(this)-1}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let $,Z;if(this.scopes)for($=0,Z=this.scopes.length;$<Z;$++)this.scopes[$].pause();for($=0,Z=this.effects.length;$<Z;$++)this.effects[$].pause()}}resume(){if(this._active){if(this._isPaused){this._isPaused=!1;let $,Z;if(this.scopes)for($=0,Z=this.scopes.length;$<Z;$++)this.scopes[$].resume();for($=0,Z=this.effects.length;$<Z;$++)this.effects[$].resume()}}}run($){if(this._active){const Z=h0;try{return h0=this,$()}finally{h0=Z}}else e0("cannot run an inactive effect scope.")}on(){h0=this}off(){h0=this.parent}stop($){if(this._active){let Z,Y;for(Z=0,Y=this.effects.length;Z<Y;Z++)this.effects[Z].stop();for(Z=0,Y=this.cleanups.length;Z<Y;Z++)this.cleanups[Z]();if(this.scopes)for(Z=0,Y=this.scopes.length;Z<Y;Z++)this.scopes[Z].stop(!0);if(!this.detached&&this.parent&&!$){const J=this.parent.scopes.pop();if(J&&J!==this)this.parent.scopes[this.index]=J,J.index=this.index}this.parent=void 0,this._active=!1}}}var J0;var T8=new WeakSet;class VZ{constructor($){if(this.fn=$,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,h0&&h0.active)h0.effects.push(this)}pause(){this.flags|=64}resume(){if(this.flags&64){if(this.flags&=-65,T8.has(this))T8.delete(this),this.trigger()}}notify(){if(this.flags&2&&!(this.flags&32))return;if(!(this.flags&8))PX(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,HX(this),IX(this);const $=J0,Z=J1;J0=this,J1=!0;try{return this.fn()}finally{if(J0!==this)e0("Active effect was not restored correctly - this is likely a Vue internal bug.");EX(this),J0=$,J1=Z,this.flags&=-3}}stop(){if(this.flags&1){for(let $=this.deps;$;$=$.nextDep)h8($);this.deps=this.depsTail=void 0,HX(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){if(this.flags&64)T8.add(this);else if(this.scheduler)this.scheduler();else this.runIfDirty()}runIfDirty(){if(w8(this))this.run()}get dirty(){return w8(this)}}var AX=0,y9,g9,J1=!0,_X=[],m9=0;class NX{constructor($,Z){this.sub=$,this.dep=Z,this.version=Z.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class u9{constructor($){this.computed=$,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.subsHead=void 0}track($){if(!J0||!J1||J0===this.computed)return;let Z=this.activeLink;if(Z===void 0||Z.sub!==J0){if(Z=this.activeLink=new NX(J0,this),!J0.deps)J0.deps=J0.depsTail=Z;else Z.prevDep=J0.depsTail,J0.depsTail.nextDep=Z,J0.depsTail=Z;RX(Z)}else if(Z.version===-1){if(Z.version=this.version,Z.nextDep){const Y=Z.nextDep;if(Y.prevDep=Z.prevDep,Z.prevDep)Z.prevDep.nextDep=Y;if(Z.prevDep=J0.depsTail,Z.nextDep=void 0,J0.depsTail.nextDep=Z,J0.depsTail=Z,J0.deps===Z)J0.deps=Y}}if(J0.onTrack)J0.onTrack(A0({effect:J0},$));return Z}trigger($){this.version++,m9++,this.notify($)}notify($){S8();try{for(let Z=this.subsHead;Z;Z=Z.nextSub)if(Z.sub.onTrigger&&!(Z.sub.flags&8))Z.sub.onTrigger(A0({effect:Z.sub},$));for(let Z=this.subs;Z;Z=Z.prevSub)if(Z.sub.notify())Z.sub.dep.notify()}finally{f8()}}}var FZ=new WeakMap,c1=Symbol("Object iterate"),b8=Symbol("Map keys iterate"),v9=Symbol("Array iterate"),EM={__proto__:null,[Symbol.iterator](){return x8(this,Symbol.iterator,C0)},concat(...$){return W9(this).concat(...$.map((Z)=>Z0(Z)?W9(Z):Z))},entries(){return x8(this,"entries",($)=>{return $[1]=C0($[1]),$})},every($,Z){return K1(this,"every",$,Z,void 0,arguments)},filter($,Z){return K1(this,"filter",$,Z,(Y)=>Y.map(C0),arguments)},find($,Z){return K1(this,"find",$,Z,C0,arguments)},findIndex($,Z){return K1(this,"findIndex",$,Z,void 0,arguments)},findLast($,Z){return K1(this,"findLast",$,Z,C0,arguments)},findLastIndex($,Z){return K1(this,"findLastIndex",$,Z,void 0,arguments)},forEach($,Z){return K1(this,"forEach",$,Z,void 0,arguments)},includes(...$){return C8(this,"includes",$)},indexOf(...$){return C8(this,"indexOf",$)},join($){return W9(this).join($)},lastIndexOf(...$){return C8(this,"lastIndexOf",$)},map($,Z){return K1(this,"map",$,Z,void 0,arguments)},pop(){return k9(this,"pop")},push(...$){return k9(this,"push",$)},reduce($,...Z){return LX(this,"reduce",$,Z)},reduceRight($,...Z){return LX(this,"reduceRight",$,Z)},shift(){return k9(this,"shift")},some($,Z){return K1(this,"some",$,Z,void 0,arguments)},splice(...$){return k9(this,"splice",$)},toReversed(){return W9(this).toReversed()},toSorted($){return W9(this).toSorted($)},toSpliced(...$){return W9(this).toSpliced(...$)},unshift(...$){return k9(this,"unshift",$)},values(){return x8(this,"values",C0)}},VM=Array.prototype,_M=XZ("__proto__,__v_isRef,__isVue"),TX=new Set(Object.getOwnPropertyNames(Symbol).filter(($)=>$!=="arguments"&&$!=="caller").map(($)=>Symbol[$]).filter(v1));class k8{constructor($=!1,Z=!1){this._isReadonly=$,this._isShallow=Z}get($,Z,Y){const J=this._isReadonly,Q=this._isShallow;if(Z==="__v_isReactive")return!J;else if(Z==="__v_isReadonly")return J;else if(Z==="__v_isShallow")return Q;else if(Z==="__v_raw"){if(Y===(J?Q?SX:bX:Q?wX:CX).get($)||Object.getPrototypeOf($)===Object.getPrototypeOf(Y))return $;return}const X=Z0($);if(!J){let G;if(X&&(G=EM[Z]))return G;if(Z==="hasOwnProperty")return NM}const q=Reflect.get($,Z,i($)?$:Y);if(v1(Z)?TX.has(Z):_M(Z))return q;if(!J)R0($,"get",Z);if(Q)return q;if(i(q))return X&&WZ(Z)?q:q.value;if(O0(q))return J?Y0(q):G0(q);return q}}class y8 extends k8{constructor($=!1){super(!1,$)}set($,Z,Y,J){let Q=$[Z];if(!this._isShallow){const G=T0(Q);if(!w0(Y)&&!T0(Y))Q=r(Q),Y=r(Y);if(!Z0($)&&i(Q)&&!i(Y))if(G)return!1;else return Q.value=Y,!0}const X=Z0($)&&WZ(Z)?Number(Z)<$.length:L0($,Z),q=Reflect.set($,Z,Y,i($)?$:J);if($===r(J)){if(!X)L1($,"add",Z,Y);else if(W1(Y,Q))L1($,"set",Z,Y,Q)}return q}deleteProperty($,Z){const Y=L0($,Z),J=$[Z],Q=Reflect.deleteProperty($,Z);if(Q&&Y)L1($,"delete",Z,void 0,J);return Q}has($,Z){const Y=Reflect.has($,Z);if(!v1(Z)||!TX.has(Z))R0($,"has",Z);return Y}ownKeys($){return R0($,"iterate",Z0($)?"length":c1),Reflect.ownKeys($)}}class g8 extends k8{constructor($=!1){super(!0,$)}set($,Z){return e0(`Set operation on key "${String(Z)}" failed: target is readonly.`,$),!0}deleteProperty($,Z){return e0(`Delete operation on key "${String(Z)}" failed: target is readonly.`,$),!0}}var RM=new y8,TM=new g8,xM=new y8(!0),CM=new g8(!0),m8=($)=>$,NZ=($)=>Reflect.getPrototypeOf($),[bM,SM,fM,hM]=wM(),kM={get:RZ(!1,!1)},yM={get:RZ(!1,!0)},gM={get:RZ(!0,!1)},mM={get:RZ(!0,!0)},CX=new WeakMap,wX=new WeakMap,bX=new WeakMap,SX=new WeakMap,C0=($)=>O0($)?G0($):$,v8=($)=>O0($)?Y0($):$;class hX{constructor($,Z){this.dep=new u9,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=Z?$:r($),this._value=Z?$:C0($),this.__v_isShallow=Z}get value(){return this.dep.track({target:this,type:"get",key:"value"}),this._value}set value($){const Z=this._rawValue,Y=this.__v_isShallow||w0($)||T0($);if($=Y?$:r($),W1($,Z))this._rawValue=$,this._value=Y?$:C0($),this.dep.trigger({target:this,type:"set",key:"value",newValue:$,oldValue:Z})}}var cM={get:($,Z,Y)=>Z==="__v_raw"?$:r0(Reflect.get($,Z,Y)),set:($,Z,Y,J)=>{const Q=$[Z];if(i(Q)&&!i(Y))return Q.value=Y,!0;else return Reflect.set($,Z,Y,J)}};class kX{constructor($){this.__v_isRef=!0,this._value=void 0;const Z=this.dep=new u9,{get:Y,set:J}=$(Z.track.bind(Z),Z.trigger.bind(Z));this._get=Y,this._set=J}get value(){return this._value=this._get()}set value($){this._set($)}}class yX{constructor($,Z,Y){this._object=$,this._key=Z,this._defaultValue=Y,this.__v_isRef=!0,this._value=void 0}get value(){const $=this._object[this._key];return this._value=$===void 0?this._defaultValue:$}set value($){this._object[this._key]=$}get dep(){return IM(r(this._object),this._key)}}class gX{constructor($){this._getter=$,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}class vX{constructor($,Z,Y){this.fn=$,this.setter=Z,this._value=void 0,this.dep=new u9(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=m9-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!Z,this.isSSR=Y}notify(){if(this.flags|=16,!(this.flags&8)&&J0!==this)return PX(this,!0),!0}get value(){const $=this.dep.track({target:this,type:"get",key:"value"});if(VX(this),$)$.version=this.dep.version;return this._value}set value($){if(this.setter)this.setter($);else e0("Write operation failed: computed value is readonly")}}var OZ={},AZ=new WeakMap,u1=void 0;function iM($){p1.push($)}function sM(){p1.pop()}function B0($,...Z){if(d8)return;d8=!0,M9();const Y=p1.length?p1[p1.length-1].component:null,J=Y&&Y.appContext.config.warnHandler,Q=aM();if(J)yZ(J,Y,11,[$+Z.map((X)=>{var q,G;return(G=(q=X.toString)==null?void 0:q.call(X))!=null?G:JSON.stringify(X)}).join(""),Y&&Y.proxy,Q.map(({vnode:X})=>`at <${z5(Y,X.type)}>`).join("\n"),Q]);else{const X=[`[Vue warn]: ${$}`,...Z];if(Q.length)X.push(`
|
|
121
|
+
const NOT_AN_ARRAY = '${$.array}';`}function RJ(){let $=0;const Z={};return{toJSON(){return Z},track(Y){$++;const J=`ref://${$}`;return Z[J]=Y,J},trackValidation(Y){return this.track(Y)},trackParser(Y){return this.track(Y)},trackTransformer(Y){return this.track(Y)},trackConditional(Y){return this.track(Y)}}}var FB=class ${#$="";newLine="\n";writeStatement(Z){this.#$=`${this.#$}${this.newLine}${Z}`}child(){return new $}toString(){return this.#$}flush(){this.#$=""}},G9=class{#$;#Z;field;constructor($,Z,Y,J){if(this.#Z=J,this.#$=$,this.#Z)this.field=this.#Z;else Z.variablesCounter++,this.field=Z.createFieldFor($,Y)}defineField($){if(!this.#Z)$.writeStatement(AB({fieldNameExpression:this.field.fieldNameExpression,isArrayMember:this.field.isArrayMember,parentExpression:this.field.parentExpression,parentValueExpression:this.field.parentValueExpression,valueExpression:this.field.valueExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath,parseFnRefId:"parseFnId"in this.#$?this.#$.parseFnId:void 0}))}},EB=class extends G9{#$;#Z;#Y;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z,this.#Y=Y}#J(){const $=this.#Z.child(),Z={type:"tuple",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath};return this.#$.properties.forEach((Y)=>{this.#Y.compileNode(Y,$,Z)}),$.toString()}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName}));const $=t$({variableName:this.field.variableName,bail:this.#$.bail,guardedCodeSnippet:`${PJ({variableName:this.field.variableName,outputExpression:this.field.outputExpression,outputValueExpression:this.#$.allowUnknownProperties?`copyProperties(${this.field.variableName}.value)`:"[]"})}${this.#J()}`}),Z=AJ({variableName:this.field.variableName,guardedCodeSnippet:`${w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!0})}${this.#Z.newLine}${$}`});this.#Z.writeStatement(`${Z}${this.#Z.newLine}${C9({allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,variableName:this.field.variableName,conditional:"else if"})}`)}},_B=class extends G9{#$;#Z;#Y;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z,this.#Y=Y}#J(){const $=this.#Z.child();this.#Y.compileNode(this.#$.each,$,{type:"array",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath});const Z=this.#Z.child();return Z.writeStatement(VB({variableName:this.field.variableName,startingIndex:0,loopCodeSnippet:$.toString()})),$.flush(),Z.toString()}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName}));const $=t$({variableName:this.field.variableName,bail:this.#$.bail,guardedCodeSnippet:`${PJ({variableName:this.field.variableName,outputExpression:this.field.outputExpression,outputValueExpression:"[]"})}${this.#Z.newLine}${this.#J()}`}),Z=AJ({variableName:this.field.variableName,guardedCodeSnippet:`${w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!0})}${this.#Z.newLine}${$}`});this.#Z.writeStatement(`${Z}${this.#Z.newLine}${C9({allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,variableName:this.field.variableName,conditional:"else if"})}`)}},RB=class extends G9{#$;#Z;#Y;#J;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#Z=$,this.#Y=Z,this.#J=J,this.#$=Y}#Q(){const $=this.#Y.child();if(this.#Z.conditions.forEach((Z,Y)=>{const J=this.#Y.child();if("parseFnId"in Z.schema)J.writeStatement(NB({parseFnRefId:Z.schema.parseFnId,variableName:this.field.variableName}));this.#$.compileNode(Z.schema,J,this.#J,this.field),$.writeStatement(EJ({conditional:Y===0?"if":"else if",variableName:this.field.variableName,conditionalFnRefId:Z.conditionalFnRefId,guardedCodeSnippet:J.toString()})),J.flush()}),this.#Z.elseConditionalFnRefId&&this.#Z.conditions.length)$.writeStatement(IJ({variableName:this.field.variableName,conditionalFnRefId:this.#Z.elseConditionalFnRefId}));return $.toString()}compile(){this.defineField(this.#Y),this.#Y.writeStatement(this.#Q())}},xB=class extends G9{#$;#Z;#Y;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z,this.#Y=Y}#J(){const $=this.#Z.child(),Z=this.#Z.child();return this.#Y.compileNode(this.#$.each,Z,{type:"record",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath}),$.writeStatement(TB({variableName:this.field.variableName,loopCodeSnippet:Z.toString()})),Z.flush(),$.toString()}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName}));const $=t$({variableName:this.field.variableName,bail:this.#$.bail,guardedCodeSnippet:`${_J({variableName:this.field.variableName,outputExpression:this.field.outputExpression,outputValueExpression:"{}"})}${this.#J()}`}),Z=VJ({variableName:this.field.variableName,guardedCodeSnippet:`${w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!0})}${this.#Z.newLine}${$}`});this.#Z.writeStatement(`${Z}${this.#Z.newLine}${C9({allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,variableName:this.field.variableName,conditional:"else if"})}`)}},bB=class extends G9{#$;#Z;#Y;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z,this.#Y=Y}#J($){let Z=$.properties.map((J)=>J.fieldName);const Y=$.groups.flatMap((J)=>this.#Q(J));return Z.concat(Y)}#Q($){return $.conditions.flatMap((Z)=>{return this.#J(Z.schema)})}#X(){const $=this.#Z.child(),Z={type:"object",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath};return this.#$.properties.forEach((Y)=>this.#Y.compileNode(Y,$,Z)),$.toString()}#q(){const $=this.#Z.child(),Z={type:"object",fieldPathExpression:this.field.fieldPathExpression,outputExpression:this.field.outputExpression,variableName:this.field.variableName,wildCardPath:this.field.wildCardPath};return this.#$.groups.forEach((Y)=>this.#G(Y,$,Z)),$.toString()}#G($,Z,Y){if($.conditions.forEach((J,Q)=>{const X=Z.child();J.schema.properties.forEach((q)=>{this.#Y.compileNode(q,X,Y)}),J.schema.groups.forEach((q)=>{this.#G(q,X,Y)}),Z.writeStatement(EJ({variableName:this.field.variableName,conditional:Q===0?"if":"else if",conditionalFnRefId:J.conditionalFnRefId,guardedCodeSnippet:X.toString()}))}),$.elseConditionalFnRefId&&$.conditions.length)Z.writeStatement(IJ({variableName:this.field.variableName,conditionalFnRefId:$.elseConditionalFnRefId}))}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName}));const $=t$({variableName:this.field.variableName,bail:this.#$.bail,guardedCodeSnippet:`${_J({variableName:this.field.variableName,outputExpression:this.field.outputExpression,outputValueExpression:"{}"})}${this.#Z.newLine}${this.#X()}${this.#Z.newLine}${this.#q()}${this.#Z.newLine}${wB({variableName:this.field.variableName,allowUnknownProperties:this.#$.allowUnknownProperties,fieldsToIgnore:this.#$.allowUnknownProperties?this.#J(this.#$):[]})}`}),Z=VJ({variableName:this.field.variableName,guardedCodeSnippet:`${w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!0})}${$}`});this.#Z.writeStatement(`${Z}${this.#Z.newLine}${C9({variableName:this.field.variableName,allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,conditional:"else if"})}`)}},hB=class extends G9{#$;#Z;constructor($,Z,Y,J,Q){super($,Y,J,Q);this.#$=$,this.#Z=Z}compile(){this.defineField(this.#Z),this.#Z.writeStatement(b9({allowNull:this.#$.allowNull,isOptional:this.#$.isOptional,variableName:this.field.variableName})),this.#Z.writeStatement(w9({variableName:this.field.variableName,validations:this.#$.validations,bail:this.#$.bail,dropMissingCheck:!1})),this.#Z.writeStatement(`${fB({variableName:this.field.variableName,outputExpression:this.field.outputExpression,transformFnRefId:this.#$.transformFnId})}${this.#Z.newLine}${C9({variableName:this.field.variableName,allowNull:this.#$.allowNull,outputExpression:this.field.outputExpression,transformFnRefId:this.#$.transformFnId,conditional:"else if"})}`)}},dB=Object.getPrototypeOf(async function(){}).constructor,NJ=class{variablesCounter=0;#$;#Z;#Y=new FB;constructor($,Z){this.#$=$,this.#Z=Z||{convertEmptyStringsToNull:!1}}#J(){this.#Y.writeStatement(cB({required:"value is required",object:"value is not a valid object",array:"value is not a valid array",...this.#Z.messages})),this.#Y.writeStatement(uB(this.#Z)),this.#Y.writeStatement("let out;")}#Q(){this.#Y.writeStatement(gB()),this.#Y.writeStatement("return out;")}#X(){this.compileNode(this.#$.schema,this.#Y,{type:"root",variableName:"root",outputExpression:"out",fieldPathExpression:"out",wildCardPath:""})}#q(){return new dB("root","meta","refs","messagesProvider","errorReporter",this.#Y.toString())}createFieldFor($,Z){switch(Z.type){case"array":return kB(Z);case"root":return SB(Z);case"object":return mB($,this.variablesCounter,Z);case"tuple":return yB($,Z);case"record":return vB(Z)}}compileNode($,Z,Y,J){switch($.type){case"literal":return new hB($,Z,this,Y,J).compile();case"array":return new _B($,Z,this,Y,J).compile();case"record":return new xB($,Z,this,Y,J).compile();case"object":return new bB($,Z,this,Y,J).compile();case"tuple":return new EB($,Z,this,Y,J).compile();case"union":return new RB($,Z,this,Y,J).compile()}}compile(){this.#J(),this.#X(),this.#Q();const $=this.#q();return this.variablesCounter=0,this.#Y.flush(),$}};var lQ={};O$(lQ,{COTYPE:()=>rB,IS_OF_TYPE:()=>t0,ITYPE:()=>lB,OTYPE:()=>pB,PARSE:()=>o,UNIQUE_NAME:()=>l0,VALIDATION:()=>y1});var l0=Symbol.for("schema_name"),t0=Symbol.for("is_of_type"),o=Symbol.for("parse"),lB=Symbol.for("opaque_input_type"),pB=Symbol.for("opaque_type"),rB=Symbol.for("camelcase_opaque_type"),y1=Symbol.for("to_validation"),U9=v(($,Z,Y)=>{const J=Z(Y);if(!Y.isDefined&&J)Y.report(m.required,"required",Y)},{implicit:!0}),$Z=class extends q9{optional($){return new sB(this,$)}nullable(){return new iB(this)}transform($){return new aB($,this)}},iB=class $ extends $Z{#$;constructor(Z){super();this.#$=Z}clone(){return new $(this.#$.clone())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);return Q.allowNull=!0,Q}},sB=class $ extends $Z{#$;validations;constructor(Z,Y){super();this.#$=Z,this.validations=Y||[]}cloneValidations(){return this.validations.map((Z)=>{return{options:Z.options,rule:Z.rule}})}compileValidations(Z){return this.validations.map((Y)=>{return{ruleFnId:Z.track({validator:Y.rule.validator,options:Y.options}),implicit:Y.rule.implicit,isAsync:Y.rule.isAsync}})}use(Z){return this.validations.push(y1 in Z?Z[y1]():Z),this}requiredWhen(Z,Y,J){if(typeof Z==="function")return this.use(U9(Z));let Q;switch(Y){case"=":Q=(X)=>X===J;break;case"!=":Q=(X)=>X!==J;break;case"in":Q=(X)=>J.includes(X);break;case"notIn":Q=(X)=>!J.includes(X);break;case">":Q=(X)=>X>J;break;case"<":Q=(X)=>X<J;break;case">=":Q=(X)=>X>=J;break;case"<=":Q=(X)=>X<=J}return this.use(U9((X)=>{const q=d.getNestedValue(Z,X);return Q(q)}))}requiredIfExists(Z){const Y=Array.isArray(Z)?Z:[Z];return this.use(U9((J)=>{return Y.every((Q)=>d.exists(d.getNestedValue(Q,J)))}))}requiredIfAnyExists(Z){return this.use(U9((Y)=>{return Z.some((J)=>d.exists(d.getNestedValue(J,Y)))}))}requiredIfMissing(Z){const Y=Array.isArray(Z)?Z:[Z];return this.use(U9((J)=>{return Y.every((Q)=>d.isMissing(d.getNestedValue(Q,J)))}))}requiredIfAnyMissing(Z){return this.use(U9((Y)=>{return Z.some((J)=>d.isMissing(d.getNestedValue(J,Y)))}))}clone(){return new $(this.#$.clone(),this.cloneValidations())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);return Q.isOptional=!0,Q.validations=Q.validations.concat(this.compileValidations(Y)),Q}},aB=class $ extends $Z{#$;#Z;constructor(Z,Y){super();this.#Z=Z,this.#$=Y}clone(){return new $(this.#Z,this.#$.clone())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);return Q.transformFnId=Y.trackTransformer(this.#Z),Q}},U1=class extends $Z{options;validations;constructor($,Z){super();this.options={bail:!0,allowNull:!1,isOptional:!1,...$},this.validations=Z||[]}cloneValidations(){return this.validations.map(($)=>{return{options:$.options,rule:$.rule}})}cloneOptions(){return{...this.options}}compileValidations($){return this.validations.map((Z)=>{return{ruleFnId:$.track({validator:Z.rule.validator,options:Z.options}),implicit:Z.rule.implicit,isAsync:Z.rule.isAsync}})}parse($){return this.options.parse=$,this}use($){return this.validations.push(y1 in $?$[y1]():$),this}bail($){return this.options.bail=$,this}[o]($,Z,Y){return{type:"literal",fieldName:$,propertyName:Y.toCamelCase?N0($):$,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,parseFnId:this.options.parse?Z.trackParser(this.options.parse):void 0,validations:this.compileValidations(Z)}}},pQ=class $ extends U1{constructor(Z,Y){super(Z,Y)}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},e$=v(($,Z,Y)=>{const J=typeof Z.choices==="function"?Z.choices(Y):Z.choices;if(!J.includes($))Y.report(m.enum,"enum",Y,{choices:J})}),ZZ=class $ extends U1{static rules={enum:e$};#$;getChoices(){return this.#$}constructor(Z,Y,J){super(Y,J||[e$({choices:Z})]);this.#$=Z}clone(){return new $(this.#$,this.cloneOptions(),this.cloneValidations())}},g1=["YYYY-MM-DD","YYYY-MM-DD HH:mm:ss"];W0.default.extend(aQ.default);W0.default.extend(iQ.default);W0.default.extend(sQ.default);var oB=v(($,Z,Y)=>{if(typeof $!=="string"&&typeof $!=="number"){Y.report(m.date,"date",Y);return}let J=!1,Q=Z.formats||g1;if(Array.isArray(Q))Q=[...Q],J=Q.includes("x");else if(typeof Q!=="string")Q={...Q},J=Q.format==="x";const X=J?d.asNumber($):$,q=J&&!Number.isNaN(X)?W0.default(X):W0.default($,Q,!0);if(!q.isValid()){Y.report(m.date,"date",Y);return}Y.meta.$value=q,Y.meta.$formats=Q,Y.mutate(q.toDate(),Y)}),TJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the equals rule`);if(!X.isSame(G,J))Y.report(m["date.equals"],"date.equals",Y,{expectedValue:q,compare:J})}),xJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=q==="today"?W0.default():q==="tomorrow"?W0.default().add(1,"day"):W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the after rule`);if(!X.isAfter(G,J))Y.report(m["date.after"],"date.after",Y,{expectedValue:q,compare:J})}),CJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=q==="today"?W0.default():q==="tomorrow"?W0.default().add(1,"day"):W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the afterOrEqual rule`);if(!X.isSameOrAfter(G,J))Y.report(m["date.afterOrEqual"],"date.afterOrEqual",Y,{expectedValue:q,compare:J})}),wJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=q==="today"?W0.default():q==="yesterday"?W0.default().subtract(1,"day"):W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the before rule`);if(!X.isBefore(G,J))Y.report(m["date.before"],"date.before",Y,{expectedValue:q,compare:J})}),bJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Z.format||g1,X=Y.meta.$value,q=typeof Z.expectedValue==="function"?Z.expectedValue(Y):Z.expectedValue,G=q==="today"?W0.default():q==="yesterday"?W0.default().subtract(1,"day"):W0.default(q,Q,!0);if(!G.isValid())throw new Error(`Invalid datetime value "${q}" value provided to the beforeOrEqual rule`);if(!X.isSameOrBefore(G,J))Y.report(m["date.beforeOrEqual"],"date.beforeOrEqual",Y,{expectedValue:q,compare:J})}),SJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isSame(G,J))Y.report(m["date.sameAs"],"date.sameAs",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),fJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(Q.isSame(G,J))Y.report(m["date.notSameAs"],"date.notSameAs",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),hJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isAfter(G,J))Y.report(m["date.afterField"],"date.afterField",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),kJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isSameOrAfter(G,J))Y.report(m["date.afterOrSameAs"],"date.afterOrSameAs",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),yJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isBefore(G,J))Y.report(m["date.beforeField"],"date.beforeField",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),gJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const J=Z.compare||"day",Q=Y.meta.$value,X=Z.format||Y.meta.$formats,q=d.getNestedValue(Z.otherField,Y),G=W0.default(q,X,!0);if(!G.isValid())return;if(!Q.isSameOrBefore(G,J))Y.report(m["date.beforeOrSameAs"],"date.beforeOrSameAs",Y,{otherField:Z.otherField,expectedValue:q,compare:J})}),mJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const Q=Y.meta.$value.day();if(Q!==0&&Q!==6)Y.report(m["date.weekend"],"date.weekend",Y)}),vJ=v(($,Z,Y)=>{if(!Y.meta.$value)return;const Q=Y.meta.$value.day();if(Q===0||Q===6)Y.report(m["date.weekday"],"date.weekday",Y)}),O8=class $ extends U1{static rules={equals:TJ,after:xJ,afterOrEqual:CJ,before:wJ,beforeOrEqual:bJ,sameAs:SJ,notSameAs:fJ,afterField:hJ,afterOrSameAs:kJ,beforeField:yJ,beforeOrSameAs:gJ,weekend:mJ,weekday:vJ};[l0]="vine.date";[t0]=(Z)=>{if(typeof Z!=="string")return!1;return rQ.default(Z,this.options.formats||g1,!0).isValid()};constructor(Z,Y){super(Z,Y||[oB(Z||{})])}equals(Z,Y){return this.use(TJ({expectedValue:Z,...Y}))}after(Z,Y){return this.use(xJ({expectedValue:Z,...Y}))}afterOrEqual(Z,Y){return this.use(CJ({expectedValue:Z,...Y}))}before(Z,Y){return this.use(wJ({expectedValue:Z,...Y}))}beforeOrEqual(Z,Y){return this.use(bJ({expectedValue:Z,...Y}))}sameAs(Z,Y){return this.use(SJ({otherField:Z,...Y}))}notSameAs(Z,Y){return this.use(fJ({otherField:Z,...Y}))}afterField(Z,Y){return this.use(hJ({otherField:Z,...Y}))}afterOrSameAs(Z,Y){return this.use(kJ({otherField:Z,...Y}))}beforeField(Z,Y){return this.use(yJ({otherField:Z,...Y}))}beforeOrSameAs(Z,Y){return this.use(gJ({otherField:Z,...Y}))}weekend(){return this.use(mJ())}weekday(){return this.use(vJ())}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},oQ=class ${#$;#Z=(Z,Y)=>{Y.report(m.union,"union",Y)};constructor(Z){this.#$=Z}otherwise(Z){return this.#Z=Z,this}clone(){const Z=new $(this.#$);return Z.otherwise(this.#Z),Z}[o](Z,Y,J){return{type:"union",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,elseConditionalFnRefId:Y.trackConditional(this.#Z),conditions:this.#$.map((Q)=>Q[o](Z,Y,J))}}},nQ=class{#$;#Z;constructor($,Z){this.#$=Z,this.#Z=$}[o]($,Z,Y){return{conditionalFnRefId:Z.trackConditional(this.#Z),schema:this.#$[o]($,Z,Y)}}};F8.if=function $(Z,Y){return new nQ(Z,Y)};F8.else=function $(Z){return new nQ(()=>!0,Z)};var S9=class extends q9{optional(){return new tB(this)}nullable(){return new nB(this)}},nB=class $ extends S9{#$;constructor(Z){super();this.#$=Z}clone(){return new $(this.#$.clone())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);if(Q.type!=="union")Q.allowNull=!0;return Q}},tB=class $ extends S9{#$;constructor(Z){super();this.#$=Z}clone(){return new $(this.#$.clone())}[o](Z,Y,J){const Q=this.#$[o](Z,Y,J);if(Q.type!=="union")Q.isOptional=!0;return Q}},f9=class extends S9{options;validations;constructor($,Z){super();this.options=$||{bail:!0,allowNull:!1,isOptional:!1},this.validations=Z||[]}cloneValidations(){return this.validations.map(($)=>{return{options:$.options,rule:$.rule}})}cloneOptions(){return{...this.options}}compileValidations($){return this.validations.map((Z)=>{return{ruleFnId:$.track({validator:Z.rule.validator,options:Z.options}),implicit:Z.rule.implicit,isAsync:Z.rule.isAsync}})}parse($){return this.options.parse=$,this}use($){return this.validations.push(y1 in $?$[y1]():$),this}bail($){return this.options.bail=$,this}},tQ=class $ extends f9{#$;#Z=!1;[l0]="vine.array";[t0]=(Z)=>{return Array.isArray(Z)};constructor(Z,Y,J){super(Y,J);this.#$=Z}allowUnknownProperties(){return this.#Z=!0,this}clone(){const Z=new $(this.#$.map((Y)=>Y.clone()),this.cloneOptions(),this.cloneValidations());if(this.#Z)Z.allowUnknownProperties();return Z}[o](Z,Y,J){return{type:"tuple",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,allowUnknownProperties:this.#Z,parseFnId:this.options.parse?Y.trackParser(this.options.parse):void 0,validations:this.compileValidations(Y),properties:this.#$.map((Q,X)=>Q[o](String(X),Y,J))}}},uJ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length<Z.min)Y.report(m["array.minLength"],"array.minLength",Y,Z)}),cJ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length>Z.max)Y.report(m["array.maxLength"],"array.maxLength",Y,Z)}),dJ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length!==Z.size)Y.report(m["array.fixedLength"],"array.fixedLength",Y,Z)}),lJ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length<=0)Y.report(m.notEmpty,"notEmpty",Y)}),pJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isDistinct($,Z.fields))Y.report(m.distinct,"distinct",Y,Z)}),rJ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate($.filter((J)=>d.exists(J)&&J!==""),Y)}),eQ=class $ extends f9{static rules={compact:rJ,notEmpty:lJ,distinct:pJ,minLength:uJ,maxLength:cJ,fixedLength:dJ};#$;[l0]="vine.array";[t0]=(Z)=>{return Array.isArray(Z)};constructor(Z,Y,J){super(Y,J);this.#$=Z}minLength(Z){return this.use(uJ({min:Z}))}maxLength(Z){return this.use(cJ({max:Z}))}fixedLength(Z){return this.use(dJ({size:Z}))}notEmpty(){return this.use(lJ())}distinct(Z){return this.use(pJ({fields:Z}))}compact(){return this.use(rJ())}clone(){return new $(this.#$.clone(),this.cloneOptions(),this.cloneValidations())}[o](Z,Y,J){return{type:"array",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,each:this.#$[o]("*",Y,J),parseFnId:this.options.parse?Y.trackParser(this.options.parse):void 0,validations:this.compileValidations(Y)}}},eB=class $ extends S9{#$;[l0]="types.object";[t0]=(Z)=>{return Z!==null&&typeof Z==="object"&&!Array.isArray(Z)};constructor(Z){super();this.#$=Z}clone(){return new $(this.#$.clone())}[o](Z,Y,J){return J.toCamelCase=!0,this.#$[o](Z,Y,J)}},$X=class $ extends f9{#$;#Z=[];#Y=!1;[l0]="vine.object";[t0]=(Z)=>{return Z!==null&&typeof Z==="object"&&!Array.isArray(Z)};constructor(Z,Y,J){super(Y,J);this.#$=Z}getProperties(){return Object.keys(this.#$).reduce((Z,Y)=>{return Z[Y]=this.#$[Y].clone(),Z},{})}allowUnknownProperties(){return this.#Y=!0,this}merge(Z){return this.#Z.push(Z),this}clone(){const Z=new $(this.getProperties(),this.cloneOptions(),this.cloneValidations());if(this.#Z.forEach((Y)=>Z.merge(Y)),this.#Y)Z.allowUnknownProperties();return Z}toCamelCase(){return new eB(this)}[o](Z,Y,J){return{type:"object",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,parseFnId:this.options.parse?Y.trackParser(this.options.parse):void 0,allowUnknownProperties:this.#Y,validations:this.compileValidations(Y),properties:Object.keys(this.#$).map((Q)=>{return this.#$[Q][o](Q,Y,J)}),groups:this.#Z.map((Q)=>{return Q[o](Y,J)})}}},iJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(Object.keys($).length<Z.min)Y.report(m["record.minLength"],"record.minLength",Y,Z)}),sJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(Object.keys($).length>Z.max)Y.report(m["record.maxLength"],"record.maxLength",Y,Z)}),aJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(Object.keys($).length!==Z.size)Y.report(m["record.fixedLength"],"record.fixedLength",Y,Z)}),oJ=v(($,Z,Y)=>{if(!Y.isValid)return;Z(Object.keys($),Y)}),ZX=class $ extends f9{static rules={maxLength:sJ,minLength:iJ,fixedLength:aJ,validateKeys:oJ};#$;[l0]="vine.object";[t0]=(Z)=>{return Z!==null&&typeof Z==="object"&&!Array.isArray(Z)};constructor(Z,Y,J){super(Y,J);this.#$=Z}minLength(Z){return this.use(iJ({min:Z}))}maxLength(Z){return this.use(sJ({max:Z}))}fixedLength(Z){return this.use(aJ({size:Z}))}validateKeys(...Z){return this.use(oJ(...Z))}clone(){return new $(this.#$.clone(),this.cloneOptions(),this.cloneValidations())}[o](Z,Y,J){return{type:"record",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,bail:this.options.bail,allowNull:this.options.allowNull,isOptional:this.options.isOptional,each:this.#$[o]("*",Y,J),parseFnId:this.options.parse?Y.trackParser(this.options.parse):void 0,validations:this.compileValidations(Y)}}},nJ=v(($,Z,Y)=>{if(typeof $!=="string")Y.report(m.string,"string",Y)}),tJ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isEmail($,Z))Y.report(m.email,"email",Y)}),eJ=v(($,Z,Y)=>{if(!Y.isValid)return;const J=Z&&typeof Z==="function"?Z(Y):Z,Q=J?.locale||"any";if(!d.isMobilePhone($,Q,J))Y.report(m.mobile,"mobile",Y)}),$Q=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isIP($,Z?.version))Y.report(m.ipAddress,"ipAddress",Y)}),ZQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!Z.test($))Y.report(m.regex,"regex",Y)}),YQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isHexColor($))Y.report(m.hexCode,"hexCode",Y)}),JQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isURL($,Z))Y.report(m.url,"url",Y)}),QQ=v(async($,Z,Y)=>{if(!Y.isValid)return;if(!await d.isActiveURL($))Y.report(m.activeUrl,"activeUrl",Y)}),XQ=v(($,Z,Y)=>{if(!Y.isValid)return;let J="a-zA-Z";if(Z){if(Z.allowSpaces)J+="\\s";if(Z.allowDashes)J+="-";if(Z.allowUnderscores)J+="_"}if(!new RegExp(`^[${J}]+\$`).test($))Y.report(m.alpha,"alpha",Y)}),qQ=v(($,Z,Y)=>{if(!Y.isValid)return;let J="a-zA-Z0-9";if(Z){if(Z.allowSpaces)J+="\\s";if(Z.allowDashes)J+="-";if(Z.allowUnderscores)J+="_"}if(!new RegExp(`^[${J}]+\$`).test($))Y.report(m.alphaNumeric,"alphaNumeric",Y)}),GQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length<Z.min)Y.report(m.minLength,"minLength",Y,Z)}),UQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length>Z.max)Y.report(m.maxLength,"maxLength",Y,Z)}),WQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($.length!==Z.size)Y.report(m.fixedLength,"fixedLength",Y,Z)}),BQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!$.endsWith(Z.substring))Y.report(m.endsWith,"endsWith",Y,Z)}),MQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!$.startsWith(Z.substring))Y.report(m.startsWith,"startsWith",Y,Z)}),DQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(d.getNestedValue(Z.otherField,Y)!==$){Y.report(m.sameAs,"sameAs",Y,Z);return}}),KQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(d.getNestedValue(Z.otherField,Y)===$){Y.report(m.notSameAs,"notSameAs",Y,Z);return}}),HQ=v(($,Z,Y)=>{if(!Y.isValid)return;const J=Z?.confirmationField||`${Y.name}_confirmation`;if(Y.parent[J]!==$){Y.report(m.confirmed,"confirmed",Y,{otherField:J});return}}),LQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate($.trim(),Y)}),jQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate(JX.default.default($,Z),Y)}),zQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate($.toLocaleUpperCase(Z),Y)}),OQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate($.toLocaleLowerCase(Z),Y)}),FQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate(N0($),Y)}),AQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate(YX.default.default($),Y)}),PQ=v(($,Z,Y)=>{if(!Y.isValid)return;Y.mutate(H8($,Z),Y)}),IQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!(typeof Z.choices==="function"?Z.choices(Y):Z.choices).includes($)){Y.report(m.in,"in",Y,Z);return}}),EQ=v(($,Z,Y)=>{if(!Y.isValid)return;if((typeof Z.list==="function"?Z.list(Y):Z.list).includes($)){Y.report(m.notIn,"notIn",Y,Z);return}}),VQ=v(($,Z,Y)=>{if(!Y.isValid)return;const J=Z?typeof Z==="function"?Z(Y)?.provider||[]:Z.provider:[];if(!J.length){if(!d.isCreditCard($))Y.report(m.creditCard,"creditCard",Y,{providersList:"credit"})}else if(!J.find((X)=>d.isCreditCard($,{provider:X})))Y.report(m.creditCard,"creditCard",Y,{providers:J,providersList:J.join("/")})}),_Q=v(($,Z,Y)=>{if(!Y.isValid)return;const J=typeof Z==="function"?Z(Y).countryCode:Z.countryCode;if(!J.find((X)=>d.isPassportNumber($,X)))Y.report(m.passport,"passport",Y,{countryCodes:J})}),NQ=v(($,Z,Y)=>{if(!Y.isValid)return;const J=Z?typeof Z==="function"?Z(Y)?.countryCode||[]:Z.countryCode:[];if(!J.length){if(!d.isPostalCode($,"any"))Y.report(m.postalCode,"postalCode",Y)}else if(!J.find((X)=>d.isPostalCode($,X)))Y.report(m.postalCode,"postalCode",Y,{countryCodes:J})}),RQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!Z||!Z.version){if(!d.isUUID($))Y.report(m.uuid,"uuid",Y)}else if(!Z.version.find((Q)=>d.isUUID($,Q)))Y.report(m.uuid,"uuid",Y,Z)}),TQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isAscii($))Y.report(m.ascii,"ascii",Y)}),xQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isIBAN($))Y.report(m.iban,"iban",Y)}),CQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isJWT($))Y.report(m.jwt,"jwt",Y)}),wQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isLatLong($))Y.report(m.coordinates,"coordinates",Y)}),YZ=class $ extends U1{static rules={in:IQ,jwt:CQ,url:JQ,iban:xQ,uuid:RQ,trim:LQ,email:tJ,alpha:XQ,ascii:TQ,notIn:EQ,regex:ZQ,escape:AQ,sameAs:DQ,mobile:eJ,string:nJ,hexCode:YQ,passport:_Q,endsWith:BQ,confirmed:HQ,activeUrl:QQ,minLength:GQ,notSameAs:KQ,maxLength:UQ,ipAddress:$Q,creditCard:VQ,postalCode:NQ,startsWith:MQ,toUpperCase:zQ,toLowerCase:OQ,toCamelCase:FQ,fixedLength:WQ,coordinates:wQ,normalizeUrl:PQ,alphaNumeric:qQ,normalizeEmail:jQ};[l0]="vine.string";[t0]=(Z)=>{return typeof Z==="string"};constructor(Z,Y){super(Z,Y||[nJ()])}url(...Z){return this.use(JQ(...Z))}activeUrl(){return this.use(QQ())}email(...Z){return this.use(tJ(...Z))}mobile(...Z){return this.use(eJ(...Z))}ipAddress(Z){return this.use($Q(Z?{version:Z}:void 0))}hexCode(){return this.use(YQ())}regex(Z){return this.use(ZQ(Z))}alpha(Z){return this.use(XQ(Z))}alphaNumeric(Z){return this.use(qQ(Z))}minLength(Z){return this.use(GQ({min:Z}))}maxLength(Z){return this.use(UQ({max:Z}))}fixedLength(Z){return this.use(WQ({size:Z}))}confirmed(Z){return this.use(HQ(Z))}trim(){return this.use(LQ())}normalizeEmail(Z){return this.use(jQ(Z))}toUpperCase(){return this.use(zQ())}toLowerCase(){return this.use(OQ())}toCamelCase(){return this.use(FQ())}escape(){return this.use(AQ())}normalizeUrl(...Z){return this.use(PQ(...Z))}startsWith(Z){return this.use(MQ({substring:Z}))}endsWith(Z){return this.use(BQ({substring:Z}))}sameAs(Z){return this.use(DQ({otherField:Z}))}notSameAs(Z){return this.use(KQ({otherField:Z}))}in(Z){return this.use(IQ({choices:Z}))}notIn(Z){return this.use(EQ({list:Z}))}creditCard(...Z){return this.use(VQ(...Z))}passport(...Z){return this.use(_Q(...Z))}postalCode(...Z){return this.use(NQ(...Z))}uuid(...Z){return this.use(RQ(...Z))}ascii(){return this.use(TQ())}iban(){return this.use(xQ())}jwt(){return this.use(CQ())}coordinates(){return this.use(wQ())}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},bQ=v(($,Z,Y)=>{const J=Z.strict?$:d.asNumber($);if(typeof J!=="number"||Number.isNaN(J)||J===Number.POSITIVE_INFINITY||J===Number.NEGATIVE_INFINITY){Y.report(m.number,"number",Y);return}Y.mutate(J,Y)}),SQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($<Z.min)Y.report(m.min,"min",Y,Z)}),fQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($>Z.max)Y.report(m.max,"max",Y,Z)}),hQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($<Z.min||$>Z.max)Y.report(m.range,"range",Y,Z)}),kQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($<0)Y.report(m.positive,"positive",Y)}),yQ=v(($,Z,Y)=>{if(!Y.isValid)return;if($>=0)Y.report(m.negative,"negative",Y)}),gQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!d.isDecimal(String($),{force_decimal:Z.range[0]!==0,decimal_digits:Z.range.join(",")}))Y.report(m.decimal,"decimal",Y,{digits:Z.range.join("-")})}),mQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!Number.isInteger($))Y.report(m.withoutDecimals,"withoutDecimals",Y)}),vQ=v(($,Z,Y)=>{if(!Y.isValid)return;if(!Z.values.includes($))Y.report(m["number.in"],"in",Y,Z)}),JZ=class $ extends U1{static rules={in:vQ,max:fQ,min:SQ,range:hQ,number:bQ,decimal:gQ,negative:yQ,positive:kQ,withoutDecimals:mQ};[l0]="vine.number";[t0]=(Z)=>{const Y=d.asNumber(Z);return!Number.isNaN(Y)};constructor(Z,Y){super(Z,Y||[bQ(Z||{})])}min(Z){return this.use(SQ({min:Z}))}max(Z){return this.use(fQ({max:Z}))}range(Z){return this.use(hQ({min:Z[0],max:Z[1]}))}positive(){return this.use(kQ())}negative(){return this.use(yQ())}decimal(Z){return this.use(gQ({range:Array.isArray(Z)?Z:[Z]}))}withoutDecimals(){return this.use(mQ())}clone(){return new $(this.cloneOptions(),this.cloneValidations())}in(Z){return this.use(vQ({values:Z}))}},uQ=v(($,Z,Y)=>{const J=Z.strict===!0?$:d.asBoolean($);if(typeof J!=="boolean"){Y.report(m.boolean,"boolean",Y);return}Y.mutate(J,Y)}),QZ=class $ extends U1{static rules={boolean:uQ};[l0]="vine.boolean";[t0]=(Z)=>{return typeof(this.options.strict===!0?Z:d.asBoolean(Z))==="boolean"};constructor(Z,Y){super(Z,Y||[uQ(Z||{})])}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},cQ=v(($,Z,Y)=>{let J=$;if(typeof Z.expectedValue==="boolean")J=d.asBoolean($);else if(typeof Z.expectedValue==="number")J=d.asNumber($);if(J!==Z.expectedValue){Y.report(m.literal,"literal",Y,Z);return}Y.mutate(J,Y)}),QX=class $ extends U1{static rules={equals:cQ};#$;constructor(Z,Y,J){super(Y,J||[cQ({expectedValue:Z})]);this.#$=Z}clone(){return new $(this.#$,this.cloneOptions(),this.cloneValidations())}},$M=["on","1","yes","true",!0,1],dQ=v(($,Z,Y)=>{if(!$M.includes($))Y.report(m.accepted,"accepted",Y)}),XX=class $ extends U1{static rules={accepted:dQ};constructor(Z,Y){super(Z,Y||[dQ()])}clone(){return new $(this.cloneOptions(),this.cloneValidations())}},ZM=class ${#$;#Z=(Z,Y)=>{Y.report(m.unionGroup,"unionGroup",Y)};constructor(Z){this.#$=Z}clone(){const Z=new $(this.#$);return Z.otherwise(this.#Z),Z}otherwise(Z){return this.#Z=Z,this}[o](Z,Y){return{type:"group",elseConditionalFnRefId:Z.trackConditional(this.#Z),conditions:this.#$.map((J)=>J[o](Z,Y))}}},qX=class{#$;#Z;constructor($,Z){this.#$=Z,this.#Z=$}[o]($,Z){return{schema:{type:"sub_object",properties:Object.keys(this.#$).map((Y)=>{return this.#$[Y][o](Y,$,Z)}),groups:[]},conditionalFnRefId:$.trackConditional(this.#Z)}}};A8.if=function $(Z,Y){return new qX(Z,Y)};A8.else=function $(Z){return new qX(()=>!0,Z)};var YM=class $ extends U1{static rules={enum:e$};#$;constructor(Z,Y,J){super(Y,J||[e$({choices:Object.values(Z)})]);this.#$=Z}clone(){return new $(this.#$,this.cloneOptions(),this.cloneValidations())}},JM=class ${#$;#Z=(Z,Y)=>{Y.report(m.unionOfTypes,"unionOfTypes",Y)};constructor(Z){this.#$=Z}otherwise(Z){return this.#Z=Z,this}clone(){const Z=new $(this.#$);return Z.otherwise(this.#Z),Z}[o](Z,Y,J){return{type:"union",fieldName:Z,propertyName:J.toCamelCase?N0(Z):Z,elseConditionalFnRefId:Y.trackConditional(this.#Z),conditions:this.#$.map((Q)=>{return{conditionalFnRefId:Y.trackConditional((X,q)=>{return Q[t0](X,q)}),schema:Q[o](Z,Y,J)}})}}},QM=class extends q9{group=A8;union=F8;string(){return new YZ}boolean($){return new QZ($)}accepted(){return new XX}number($){return new JZ($)}date($){return new O8($)}literal($){return new QX($)}object($){return new $X($)}array($){return new eQ($)}tuple($){return new tQ($)}record($){return new ZX($)}enum($){if(Array.isArray($)||typeof $==="function")return new ZZ($);return new YM($)}any(){return new pQ}unionOfTypes($){const Z=new Set;return $.forEach((Y)=>{if(!Y[t0]||!Y[l0])throw new Error(`Cannot use "${Y.constructor.name}". The schema type is not compatible for use with "vine.unionOfTypes"`);if(Z.has(Y[l0]))throw new Error(`Cannot use duplicate schema "${Y[l0]}". "vine.unionOfTypes" needs distinct schema types only`);Z.add(Y[l0])}),Z.clear(),new JM($)}},XM={required:m.required,array:m.array,object:m.object},z8=class{#$;messagesProvider;errorReporter;#Z($){const Z=RJ();return{compilerNode:{type:"root",schema:$[o]("",Z,{toCamelCase:!1})},refs:Z.toJSON()}}constructor($,Z){const{compilerNode:Y,refs:J}=this.#Z($);this.#$={schema:Y,refs:J};const Q=Z.metaDataValidator,X=new NJ(Y,{convertEmptyStringsToNull:Z.convertEmptyStringsToNull,messages:XM}).compile();if(this.errorReporter=Z.errorReporter,this.messagesProvider=Z.messagesProvider,Q)this.validate=(q,G)=>{let U=G??{};const M=U.meta??{},B=U.errorReporter??this.errorReporter,W=U.messagesProvider??this.messagesProvider;return Q(M),X(q,M,J,W,B())};else this.validate=(q,G)=>{let U=G??{};const M=U.meta??{},B=U.errorReporter??this.errorReporter,W=U.messagesProvider??this.messagesProvider;return X(q,M,J,W,B())}}async tryValidate($,...[Z]){try{return[null,await this.validate($,Z)]}catch(Y){if(Y instanceof Z8)return[Y,null];throw Y}}toJSON(){const{schema:$,refs:Z}=this.#$;return{schema:structuredClone($),refs:Z}}},GX=class extends QM{messagesProvider=new x9(m,sY);errorReporter=()=>new Y8;convertEmptyStringsToNull=!1;helpers=d;createRule=v;compile($){return new z8($,{convertEmptyStringsToNull:this.convertEmptyStringsToNull,messagesProvider:this.messagesProvider,errorReporter:this.errorReporter})}withMetaData($){return{compile:(Z)=>{return new z8(Z,{convertEmptyStringsToNull:this.convertEmptyStringsToNull,messagesProvider:this.messagesProvider,errorReporter:this.errorReporter,metaDataValidator:$})}}}validate($){return this.compile($.schema).validate($.data,$)}tryValidate($){return this.compile($.schema).tryValidate($.data,$)}},NA=new GX;import{HttpError as aA}from"@stacksjs/error-handling";import{path as nA}from"@stacksjs/path";async function zP($,Z){Array.from({length:$}).forEach(async(Y,J)=>await Z(J))}function UM($,Z=25,Y={}){if(Y={...GM,...Y},!Number.isFinite(Z))throw new TypeError("Expected `wait` to be a finite number");let J,Q,X=[],q,G;const U=(M,B)=>{return q=WM($,M,B),q.finally(()=>{if(q=null,Y.trailing&&G&&!Q){const W=U(M,G);return G=null,W}}),q};return function(...M){if(q){if(Y.trailing)G=M;return q}return new Promise((B)=>{const W=!Q&&Y.leading;if(clearTimeout(Q),Q=setTimeout(()=>{Q=null;const D=Y.leading?J:U(this,M);for(let K of X)K(D);X=[]},Z),W)J=U(this,M),B(J);else X.push(B)})}}async function WM($,Z,Y){return await $.apply(Z,Y)}var GM={trailing:!0};function EP($){$.forEach((Z)=>Z?.())}function VP($,Z){return Z($),$}function NP($){return $!=null}function RP($){return $!==null}function TP($){return $!==void 0}function xP($){return Boolean($)}function fI($,Z){return $=Math.ceil($),Z=Math.floor(Z),Math.floor(Math.random()*(Z-$+1))+$}function XZ($){const Z=Object.create(null);for(let Y of $.split(","))Z[Y]=1;return(Y)=>(Y in Z)}function MZ($){if(Z0($)){const Z={};for(let Y=0;Y<$.length;Y++){const J=$[Y],Q=p0(J)?OM(J):MZ(J);if(Q)for(let X in Q)Z[X]=Q[X]}return Z}else if(p0($)||O0($))return $}function OM($){const Z={};return $.replace(zM,"").split(LM).forEach((Y)=>{if(Y){const J=Y.split(jM);J.length>1&&(Z[J[0].trim()]=J[1].trim())}}),Z}function DZ($){let Z="";if(p0($))Z=$;else if(Z0($))for(let Y=0;Y<$.length;Y++){const J=DZ($[Y]);if(J)Z+=J+" "}else if(O0($)){for(let Y in $)if($[Y])Z+=Y+" "}return Z.trim()}/*! #__NO_SIDE_EFFECTS__ */var f0=Object.freeze({}),BM=Object.freeze([]),_1=()=>{},BX=()=>!1,P8=($)=>$.charCodeAt(0)===111&&$.charCodeAt(1)===110&&($.charCodeAt(2)>122||$.charCodeAt(2)<97);var A0=Object.assign,qZ=($,Z)=>{const Y=$.indexOf(Z);if(Y>-1)$.splice(Y,1)},MM=Object.prototype.hasOwnProperty,L0=($,Z)=>MM.call($,Z),Z0=Array.isArray,m1=($)=>GZ($)==="[object Map]",I8=($)=>GZ($)==="[object Set]";var K0=($)=>typeof $==="function",p0=($)=>typeof $==="string",v1=($)=>typeof $==="symbol",O0=($)=>$!==null&&typeof $==="object",MX=($)=>{return(O0($)||K0($))&&K0($.then)&&K0($.catch)},DM=Object.prototype.toString,GZ=($)=>DM.call($),UZ=($)=>{return GZ($).slice(8,-1)},E8=($)=>GZ($)==="[object Object]",WZ=($)=>p0($)&&$!=="NaN"&&$[0]!=="-"&&""+parseInt($,10)===$;var BZ=($)=>{const Z=Object.create(null);return(Y)=>{return Z[Y]||(Z[Y]=$(Y))}},KM=/-(\w)/g,V8=BZ(($)=>{return $.replace(KM,(Z,Y)=>Y?Y.toUpperCase():"")}),HM=/\B([A-Z])/g,DX=BZ(($)=>$.replace(HM,"-$1").toLowerCase()),h9=BZ(($)=>{return $.charAt(0).toUpperCase()+$.slice(1)}),KX=BZ(($)=>{return $?`on${h9($)}`:""}),W1=($,Z)=>!Object.is($,Z);var _8=($,Z,Y,J=!1)=>{Object.defineProperty($,Z,{configurable:!0,enumerable:!1,writable:J,value:Y})};var N8=($)=>{const Z=p0($)?Number($):NaN;return isNaN(Z)?$:Z},WX,R8=()=>{return WX||(WX=typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:typeof window!=="undefined"?window:typeof global!=="undefined"?global:{})};var LM=/;(?![^(]*\))/g,jM=/:([^]+)/,zM=/\/\*[^]*?\*\//g;var FM="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly";var AM=XZ(FM+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function e0($,...Z){console.warn(`[Vue warn] ${$}`,...Z)}function IZ($){return new PZ($)}function B9(){return h0}function EZ($,Z=!1){if(h0)h0.cleanups.push($);else if(!Z)e0("onScopeDispose() is called when there is no active effect scope to be associated with.")}function PX($,Z=!1){if($.flags|=8,Z){$.next=g9,g9=$;return}$.next=y9,y9=$}function S8(){AX++}function f8(){if(--AX>0)return;if(g9){let Z=g9;g9=void 0;while(Z){const Y=Z.next;Z.next=void 0,Z.flags&=-9,Z=Y}}let $;while(y9){let Z=y9;y9=void 0;while(Z){const Y=Z.next;if(Z.next=void 0,Z.flags&=-9,Z.flags&1)try{Z.trigger()}catch(J){if(!$)$=J}Z=Y}}if($)throw $}function IX($){for(let Z=$.deps;Z;Z=Z.nextDep)Z.version=-1,Z.prevActiveLink=Z.dep.activeLink,Z.dep.activeLink=Z}function EX($){let Z,Y=$.depsTail,J=Y;while(J){const Q=J.prevDep;if(J.version===-1){if(J===Y)Y=Q;h8(J),PM(J)}else Z=J;J.dep.activeLink=J.prevActiveLink,J.prevActiveLink=void 0,J=Q}$.deps=Z,$.depsTail=Y}function w8($){for(let Z=$.deps;Z;Z=Z.nextDep)if(Z.dep.version!==Z.version||Z.dep.computed&&(VX(Z.dep.computed)||Z.dep.version!==Z.version))return!0;if($._dirty)return!0;return!1}function VX($){if($.flags&4&&!($.flags&16))return;if($.flags&=-17,$.globalVersion===m9)return;$.globalVersion=m9;const Z=$.dep;if($.flags|=2,Z.version>0&&!$.isSSR&&$.deps&&!w8($)){$.flags&=-3;return}const Y=J0,J=J1;J0=$,J1=!0;try{IX($);const Q=$.fn($._value);if(Z.version===0||W1(Q,$._value))$._value=Q,Z.version++}catch(Q){throw Z.version++,Q}finally{J0=Y,J1=J,EX($),$.flags&=-3}}function h8($,Z=!1){const{dep:Y,prevSub:J,nextSub:Q}=$;if(J)J.nextSub=Q,$.prevSub=void 0;if(Q)Q.prevSub=J,$.nextSub=void 0;if(Y.subs===$)Y.subs=J;if(Y.subsHead===$)Y.subsHead=Q;if(!Y.subs&&Y.computed){Y.computed.flags&=-5;for(let X=Y.computed.deps;X;X=X.nextDep)h8(X,!0)}if(!Z&&!--Y.sc&&Y.map)Y.map.delete(Y.key)}function PM($){const{prevDep:Z,nextDep:Y}=$;if(Z)Z.nextDep=Y,$.prevDep=void 0;if(Y)Y.prevDep=Z,$.nextDep=void 0}function M9(){_X.push(J1),J1=!1}function D9(){const $=_X.pop();J1=$===void 0?!0:$}function HX($){const{cleanup:Z}=$;if($.cleanup=void 0,Z){const Y=J0;J0=void 0;try{Z()}finally{J0=Y}}}function RX($){if($.dep.sc++,$.sub.flags&4){const Z=$.dep.computed;if(Z&&!$.dep.subs){Z.flags|=20;for(let J=Z.deps;J;J=J.nextDep)RX(J)}const Y=$.dep.subs;if(Y!==$){if($.prevSub=Y,Y)Y.nextSub=$}if($.dep.subsHead===void 0)$.dep.subsHead=$;$.dep.subs=$}}function R0($,Z,Y){if(J1&&J0){let J=FZ.get($);if(!J)FZ.set($,J=new Map);let Q=J.get(Y);if(!Q)J.set(Y,Q=new u9),Q.map=J,Q.key=Y;Q.track({target:$,type:Z,key:Y})}}function L1($,Z,Y,J,Q,X){const q=FZ.get($);if(!q){m9++;return}const G=(U)=>{if(U)U.trigger({target:$,type:Z,key:Y,newValue:J,oldValue:Q,oldTarget:X})};if(S8(),Z==="clear")q.forEach(G);else{const U=Z0($),M=U&&WZ(Y);if(U&&Y==="length"){const B=Number(J);q.forEach((W,D)=>{if(D==="length"||D===v9||!v1(D)&&D>=B)G(W)})}else{if(Y!==void 0)G(q.get(Y));if(M)G(q.get(v9));switch(Z){case"add":if(!U){if(G(q.get(c1)),m1($))G(q.get(b8))}else if(M)G(q.get("length"));break;case"delete":if(!U){if(G(q.get(c1)),m1($))G(q.get(b8))}break;case"set":if(m1($))G(q.get(c1));break}}}f8()}function IM($,Z){const Y=FZ.get($);return Y&&Y.get(Z)}function W9($){const Z=r($);if(Z===$)return Z;return R0(Z,"iterate",v9),w0($)?Z:Z.map(C0)}function _Z($){return R0($=r($),"iterate",v9),$}function x8($,Z,Y){const J=_Z($),Q=J[Z]();if(J!==$&&!w0($))Q._next=Q.next,Q.next=()=>{const X=Q._next();if(X.value)X.value=Y(X.value);return X};return Q}function K1($,Z,Y,J,Q,X){const q=_Z($),G=q!==$&&!w0($),U=q[Z];if(U!==VM[Z]){const W=U.apply($,X);return G?C0(W):W}let M=Y;if(q!==$){if(G)M=function(W,D){return Y.call(this,C0(W),D,$)};else if(Y.length>2)M=function(W,D){return Y.call(this,W,D,$)}}const B=U.call(q,M,J);return G&&Q?Q(B):B}function LX($,Z,Y,J){const Q=_Z($);let X=Y;if(Q!==$){if(!w0($))X=function(q,G,U){return Y.call(this,q,C0(G),U,$)};else if(Y.length>3)X=function(q,G,U){return Y.call(this,q,G,U,$)}}return Q[Z](X,...J)}function C8($,Z,Y){const J=r($);R0(J,"iterate",v9);const Q=J[Z](...Y);if((Q===-1||Q===!1)&&d1(Y[0]))return Y[0]=r(Y[0]),J[Z](...Y);return Q}function k9($,Z,Y=[]){M9(),S8();const J=r($)[Z].apply($,Y);return f8(),D9(),J}function NM($){if(!v1($))$=String($);const Z=r(this);return R0(Z,"has",$),Z.hasOwnProperty($)}function KZ($,Z,Y=!1,J=!1){$=$.__v_raw;const Q=r($),X=r(Z);if(!Y){if(W1(Z,X))R0(Q,"get",Z);R0(Q,"get",X)}const{has:q}=NZ(Q),G=J?m8:Y?v8:C0;if(q.call(Q,Z))return G($.get(Z));else if(q.call(Q,X))return G($.get(X));else if($!==Q)$.get(Z)}function HZ($,Z=!1){const Y=this.__v_raw,J=r(Y),Q=r($);if(!Z){if(W1($,Q))R0(J,"has",$);R0(J,"has",Q)}return $===Q?Y.has($):Y.has($)||Y.has(Q)}function LZ($,Z=!1){return $=$.__v_raw,!Z&&R0(r($),"iterate",c1),Reflect.get($,"size",$)}function jX($,Z=!1){if(!Z&&!w0($)&&!T0($))$=r($);const Y=r(this);if(!NZ(Y).has.call(Y,$))Y.add($),L1(Y,"add",$,$);return this}function zX($,Z,Y=!1){if(!Y&&!w0(Z)&&!T0(Z))Z=r(Z);const J=r(this),{has:Q,get:X}=NZ(J);let q=Q.call(J,$);if(!q)$=r($),q=Q.call(J,$);else xX(J,Q,$);const G=X.call(J,$);if(J.set($,Z),!q)L1(J,"add",$,Z);else if(W1(Z,G))L1(J,"set",$,Z,G);return this}function OX($){const Z=r(this),{has:Y,get:J}=NZ(Z);let Q=Y.call(Z,$);if(!Q)$=r($),Q=Y.call(Z,$);else xX(Z,Y,$);const X=J?J.call(Z,$):void 0,q=Z.delete($);if(Q)L1(Z,"delete",$,void 0,X);return q}function FX(){const $=r(this),Z=$.size!==0,Y=m1($)?new Map($):new Set($),J=$.clear();if(Z)L1($,"clear",void 0,void 0,Y);return J}function jZ($,Z){return function Y(J,Q){const X=this,q=X.__v_raw,G=r(q),U=Z?m8:$?v8:C0;return!$&&R0(G,"iterate",c1),q.forEach((M,B)=>{return J.call(Q,U(M),U(B),X)})}}function zZ($,Z,Y){return function(...J){const Q=this.__v_raw,X=r(Q),q=m1(X),G=$==="entries"||$===Symbol.iterator&&q,U=$==="keys"&&q,M=Q[$](...J),B=Y?m8:Z?v8:C0;return!Z&&R0(X,"iterate",U?b8:c1),{next(){const{value:W,done:D}=M.next();return D?{value:W,done:D}:{value:G?[B(W[0]),B(W[1])]:B(W),done:D}},[Symbol.iterator](){return this}}}}function N1($){return function(...Z){{const Y=Z[0]?`on key "${Z[0]}" `:"";e0(`${h9($)} operation ${Y}failed: target is readonly.`,r(this))}return $==="delete"?!1:$==="clear"?void 0:this}}function wM(){const $={get(X){return KZ(this,X)},get size(){return LZ(this)},has:HZ,add:jX,set:zX,delete:OX,clear:FX,forEach:jZ(!1,!1)},Z={get(X){return KZ(this,X,!1,!0)},get size(){return LZ(this)},has:HZ,add(X){return jX.call(this,X,!0)},set(X,q){return zX.call(this,X,q,!0)},delete:OX,clear:FX,forEach:jZ(!1,!0)},Y={get(X){return KZ(this,X,!0)},get size(){return LZ(this,!0)},has(X){return HZ.call(this,X,!0)},add:N1("add"),set:N1("set"),delete:N1("delete"),clear:N1("clear"),forEach:jZ(!0,!1)},J={get(X){return KZ(this,X,!0,!0)},get size(){return LZ(this,!0)},has(X){return HZ.call(this,X,!0)},add:N1("add"),set:N1("set"),delete:N1("delete"),clear:N1("clear"),forEach:jZ(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((X)=>{$[X]=zZ(X,!1,!1),Y[X]=zZ(X,!0,!1),Z[X]=zZ(X,!1,!0),J[X]=zZ(X,!0,!0)}),[$,Y,Z,J]}function RZ($,Z){const Y=Z?$?hM:fM:$?SM:bM;return(J,Q,X)=>{if(Q==="__v_isReactive")return!$;else if(Q==="__v_isReadonly")return $;else if(Q==="__v_raw")return J;return Reflect.get(L0(Y,Q)&&Q in J?Y:J,Q,X)}}function xX($,Z,Y){const J=r(Y);if(J!==Y&&Z.call($,J)){const Q=UZ($);e0(`Reactive ${Q} contains both the raw and reactive versions of the same object${Q==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}function vM($){switch($){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function uM($){return $.__v_skip||!Object.isExtensible($)?0:vM(UZ($))}function G0($){if(T0($))return $;return TZ($,!1,RM,kM,CX)}function R1($){return TZ($,!1,xM,yM,wX)}function Y0($){return TZ($,!0,TM,gM,bX)}function K9($){return TZ($,!0,CM,mM,SX)}function TZ($,Z,Y,J,Q){if(!O0($))return e0(`value cannot be made ${Z?"readonly":"reactive"}: ${String($)}`),$;if($.__v_raw&&!(Z&&$.__v_isReactive))return $;const X=Q.get($);if(X)return X;const q=uM($);if(q===0)return $;const G=new Proxy($,q===2?J:Y);return Q.set($,G),G}function B1($){if(T0($))return B1($.__v_raw);return!!($&&$.__v_isReactive)}function T0($){return!!($&&$.__v_isReadonly)}function w0($){return!!($&&$.__v_isShallow)}function d1($){return $?!!$.__v_raw:!1}function r($){const Z=$&&$.__v_raw;return Z?r(Z):$}function c9($){if(!L0($,"__v_skip")&&Object.isExtensible($))_8($,"__v_skip",!0);return $}function i($){return $?$.__v_isRef===!0:!1}function F($){return fX($,!1)}function n($){return fX($,!0)}function fX($,Z){if(i($))return $;return new hX($,Z)}function r0($){return i($)?$.value:$}function u8($){return B1($)?$:new Proxy($,cM)}function M1($){return new kX($)}function H9($){if(!d1($))e0("toRefs() expects a reactive object but received a plain one.");const Z=Z0($)?new Array($.length):{};for(let Y in $)Z[Y]=mX($,Y);return Z}function c8($,Z,Y){if(i($))return $;else if(K0($))return new gX($);else if(O0($)&&arguments.length>1)return mX($,Z,Y);else return F($)}function mX($,Z,Y){const J=$[Z];return i(J)?J:new yX($,Z,Y)}function uX($,Z,Y=!1){let J,Q;if(K0($))J=$;else J=$.get,Q=$.set;const X=new vX(J,Q,Y);if(Z&&!Y)X.onTrack=Z.onTrack,X.onTrigger=Z.onTrigger;return X}function cX($,Z=!1,Y=u1){if(Y){let J=AZ.get(Y);if(!J)AZ.set(Y,J=[]);J.push($)}else if(!Z)e0("onWatcherCleanup() was called when there was no active watcher to associate with.")}function dX($,Z,Y=f0){const{immediate:J,deep:Q,once:X,scheduler:q,augmentJob:G,call:U}=Y,M=(I)=>{(Y.onWarn||e0)("Invalid watch source: ",I,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},B=(I)=>{if(Q)return I;if(w0(I)||Q===!1||Q===0)return H1(I,1);return H1(I)};let W,D,K,H,L=!1,z=!1;if(i($))D=()=>$.value,L=w0($);else if(B1($))D=()=>B($),L=!0;else if(Z0($))z=!0,L=$.some((I)=>B1(I)||w0(I)),D=()=>$.map((I)=>{if(i(I))return I.value;else if(B1(I))return B(I);else if(K0(I))return U?U(I,2):I();else M(I)});else if(K0($))if(Z)D=U?()=>U($,2):$;else D=()=>{if(K){M9();try{K()}finally{D9()}}const I=u1;u1=W;try{return U?U($,3,[H]):$(H)}finally{u1=I}};else D=_1,M($);if(Z&&Q){const I=D,h=Q===!0?1/0:Q;D=()=>H1(I(),h)}const j=B9(),O=()=>{if(W.stop(),j)qZ(j.effects,W)};if(X&&Z){const I=Z;Z=(...h)=>{I(...h),O()}}let A=z?new Array($.length).fill(OZ):OZ;const N=(I)=>{if(!(W.flags&1)||!W.dirty&&!I)return;if(Z){const h=W.run();if(Q||L||(z?h.some((R,C)=>W1(R,A[C])):W1(h,A))){if(K)K();const R=u1;u1=W;try{const C=[h,A===OZ?void 0:z&&A[0]===OZ?[]:A,H];U?U(Z,3,C):Z(...C),A=h}finally{u1=R}}}else W.run()};if(G)G(N);if(W=new VZ(D),W.scheduler=q?()=>q(N,!1):N,H=(I)=>cX(I,!1,W),K=W.onStop=()=>{const I=AZ.get(W);if(I){if(U)U(I,4);else for(let h of I)h();AZ.delete(W)}},W.onTrack=Y.onTrack,W.onTrigger=Y.onTrigger,Z)if(J)N(!0);else A=W.run();else if(q)q(N.bind(null,!0),!0);else W.run();return O.pause=W.pause.bind(W),O.resume=W.resume.bind(W),O.stop=O,O}function H1($,Z=1/0,Y){if(Z<=0||!O0($)||$.__v_skip)return $;if(Y=Y||new Set,Y.has($))return $;if(Y.add($),Z--,i($))H1($.value,Z,Y);else if(Z0($))for(let J=0;J<$.length;J++)H1($[J],Z,Y);else if(I8($)||m1($))$.forEach((J)=>{H1(J,Z,Y)});else if(E8($)){for(let J in $)H1($[J],Z,Y);for(let J of Object.getOwnPropertySymbols($))if(Object.prototype.propertyIsEnumerable.call($,J))H1($[J],Z,Y)}return $}var h0;class PZ{constructor($=!1){if(this.detached=$,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=h0,!$&&h0)this.index=(h0.scopes||(h0.scopes=[])).push(this)-1}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let $,Z;if(this.scopes)for($=0,Z=this.scopes.length;$<Z;$++)this.scopes[$].pause();for($=0,Z=this.effects.length;$<Z;$++)this.effects[$].pause()}}resume(){if(this._active){if(this._isPaused){this._isPaused=!1;let $,Z;if(this.scopes)for($=0,Z=this.scopes.length;$<Z;$++)this.scopes[$].resume();for($=0,Z=this.effects.length;$<Z;$++)this.effects[$].resume()}}}run($){if(this._active){const Z=h0;try{return h0=this,$()}finally{h0=Z}}else e0("cannot run an inactive effect scope.")}on(){h0=this}off(){h0=this.parent}stop($){if(this._active){let Z,Y;for(Z=0,Y=this.effects.length;Z<Y;Z++)this.effects[Z].stop();for(Z=0,Y=this.cleanups.length;Z<Y;Z++)this.cleanups[Z]();if(this.scopes)for(Z=0,Y=this.scopes.length;Z<Y;Z++)this.scopes[Z].stop(!0);if(!this.detached&&this.parent&&!$){const J=this.parent.scopes.pop();if(J&&J!==this)this.parent.scopes[this.index]=J,J.index=this.index}this.parent=void 0,this._active=!1}}}var J0;var T8=new WeakSet;class VZ{constructor($){if(this.fn=$,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,h0&&h0.active)h0.effects.push(this)}pause(){this.flags|=64}resume(){if(this.flags&64){if(this.flags&=-65,T8.has(this))T8.delete(this),this.trigger()}}notify(){if(this.flags&2&&!(this.flags&32))return;if(!(this.flags&8))PX(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,HX(this),IX(this);const $=J0,Z=J1;J0=this,J1=!0;try{return this.fn()}finally{if(J0!==this)e0("Active effect was not restored correctly - this is likely a Vue internal bug.");EX(this),J0=$,J1=Z,this.flags&=-3}}stop(){if(this.flags&1){for(let $=this.deps;$;$=$.nextDep)h8($);this.deps=this.depsTail=void 0,HX(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){if(this.flags&64)T8.add(this);else if(this.scheduler)this.scheduler();else this.runIfDirty()}runIfDirty(){if(w8(this))this.run()}get dirty(){return w8(this)}}var AX=0,y9,g9,J1=!0,_X=[],m9=0;class NX{constructor($,Z){this.sub=$,this.dep=Z,this.version=Z.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class u9{constructor($){this.computed=$,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.subsHead=void 0}track($){if(!J0||!J1||J0===this.computed)return;let Z=this.activeLink;if(Z===void 0||Z.sub!==J0){if(Z=this.activeLink=new NX(J0,this),!J0.deps)J0.deps=J0.depsTail=Z;else Z.prevDep=J0.depsTail,J0.depsTail.nextDep=Z,J0.depsTail=Z;RX(Z)}else if(Z.version===-1){if(Z.version=this.version,Z.nextDep){const Y=Z.nextDep;if(Y.prevDep=Z.prevDep,Z.prevDep)Z.prevDep.nextDep=Y;if(Z.prevDep=J0.depsTail,Z.nextDep=void 0,J0.depsTail.nextDep=Z,J0.depsTail=Z,J0.deps===Z)J0.deps=Y}}if(J0.onTrack)J0.onTrack(A0({effect:J0},$));return Z}trigger($){this.version++,m9++,this.notify($)}notify($){S8();try{for(let Z=this.subsHead;Z;Z=Z.nextSub)if(Z.sub.onTrigger&&!(Z.sub.flags&8))Z.sub.onTrigger(A0({effect:Z.sub},$));for(let Z=this.subs;Z;Z=Z.prevSub)if(Z.sub.notify())Z.sub.dep.notify()}finally{f8()}}}var FZ=new WeakMap,c1=Symbol("Object iterate"),b8=Symbol("Map keys iterate"),v9=Symbol("Array iterate"),EM={__proto__:null,[Symbol.iterator](){return x8(this,Symbol.iterator,C0)},concat(...$){return W9(this).concat(...$.map((Z)=>Z0(Z)?W9(Z):Z))},entries(){return x8(this,"entries",($)=>{return $[1]=C0($[1]),$})},every($,Z){return K1(this,"every",$,Z,void 0,arguments)},filter($,Z){return K1(this,"filter",$,Z,(Y)=>Y.map(C0),arguments)},find($,Z){return K1(this,"find",$,Z,C0,arguments)},findIndex($,Z){return K1(this,"findIndex",$,Z,void 0,arguments)},findLast($,Z){return K1(this,"findLast",$,Z,C0,arguments)},findLastIndex($,Z){return K1(this,"findLastIndex",$,Z,void 0,arguments)},forEach($,Z){return K1(this,"forEach",$,Z,void 0,arguments)},includes(...$){return C8(this,"includes",$)},indexOf(...$){return C8(this,"indexOf",$)},join($){return W9(this).join($)},lastIndexOf(...$){return C8(this,"lastIndexOf",$)},map($,Z){return K1(this,"map",$,Z,void 0,arguments)},pop(){return k9(this,"pop")},push(...$){return k9(this,"push",$)},reduce($,...Z){return LX(this,"reduce",$,Z)},reduceRight($,...Z){return LX(this,"reduceRight",$,Z)},shift(){return k9(this,"shift")},some($,Z){return K1(this,"some",$,Z,void 0,arguments)},splice(...$){return k9(this,"splice",$)},toReversed(){return W9(this).toReversed()},toSorted($){return W9(this).toSorted($)},toSpliced(...$){return W9(this).toSpliced(...$)},unshift(...$){return k9(this,"unshift",$)},values(){return x8(this,"values",C0)}},VM=Array.prototype,_M=XZ("__proto__,__v_isRef,__isVue"),TX=new Set(Object.getOwnPropertyNames(Symbol).filter(($)=>$!=="arguments"&&$!=="caller").map(($)=>Symbol[$]).filter(v1));class k8{constructor($=!1,Z=!1){this._isReadonly=$,this._isShallow=Z}get($,Z,Y){const J=this._isReadonly,Q=this._isShallow;if(Z==="__v_isReactive")return!J;else if(Z==="__v_isReadonly")return J;else if(Z==="__v_isShallow")return Q;else if(Z==="__v_raw"){if(Y===(J?Q?SX:bX:Q?wX:CX).get($)||Object.getPrototypeOf($)===Object.getPrototypeOf(Y))return $;return}const X=Z0($);if(!J){let G;if(X&&(G=EM[Z]))return G;if(Z==="hasOwnProperty")return NM}const q=Reflect.get($,Z,i($)?$:Y);if(v1(Z)?TX.has(Z):_M(Z))return q;if(!J)R0($,"get",Z);if(Q)return q;if(i(q))return X&&WZ(Z)?q:q.value;if(O0(q))return J?Y0(q):G0(q);return q}}class y8 extends k8{constructor($=!1){super(!1,$)}set($,Z,Y,J){let Q=$[Z];if(!this._isShallow){const G=T0(Q);if(!w0(Y)&&!T0(Y))Q=r(Q),Y=r(Y);if(!Z0($)&&i(Q)&&!i(Y))if(G)return!1;else return Q.value=Y,!0}const X=Z0($)&&WZ(Z)?Number(Z)<$.length:L0($,Z),q=Reflect.set($,Z,Y,i($)?$:J);if($===r(J)){if(!X)L1($,"add",Z,Y);else if(W1(Y,Q))L1($,"set",Z,Y,Q)}return q}deleteProperty($,Z){const Y=L0($,Z),J=$[Z],Q=Reflect.deleteProperty($,Z);if(Q&&Y)L1($,"delete",Z,void 0,J);return Q}has($,Z){const Y=Reflect.has($,Z);if(!v1(Z)||!TX.has(Z))R0($,"has",Z);return Y}ownKeys($){return R0($,"iterate",Z0($)?"length":c1),Reflect.ownKeys($)}}class g8 extends k8{constructor($=!1){super(!0,$)}set($,Z){return e0(`Set operation on key "${String(Z)}" failed: target is readonly.`,$),!0}deleteProperty($,Z){return e0(`Delete operation on key "${String(Z)}" failed: target is readonly.`,$),!0}}var RM=new y8,TM=new g8,xM=new y8(!0),CM=new g8(!0),m8=($)=>$,NZ=($)=>Reflect.getPrototypeOf($),[bM,SM,fM,hM]=wM(),kM={get:RZ(!1,!1)},yM={get:RZ(!1,!0)},gM={get:RZ(!0,!1)},mM={get:RZ(!0,!0)},CX=new WeakMap,wX=new WeakMap,bX=new WeakMap,SX=new WeakMap,C0=($)=>O0($)?G0($):$,v8=($)=>O0($)?Y0($):$;class hX{constructor($,Z){this.dep=new u9,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=Z?$:r($),this._value=Z?$:C0($),this.__v_isShallow=Z}get value(){return this.dep.track({target:this,type:"get",key:"value"}),this._value}set value($){const Z=this._rawValue,Y=this.__v_isShallow||w0($)||T0($);if($=Y?$:r($),W1($,Z))this._rawValue=$,this._value=Y?$:C0($),this.dep.trigger({target:this,type:"set",key:"value",newValue:$,oldValue:Z})}}var cM={get:($,Z,Y)=>Z==="__v_raw"?$:r0(Reflect.get($,Z,Y)),set:($,Z,Y,J)=>{const Q=$[Z];if(i(Q)&&!i(Y))return Q.value=Y,!0;else return Reflect.set($,Z,Y,J)}};class kX{constructor($){this.__v_isRef=!0,this._value=void 0;const Z=this.dep=new u9,{get:Y,set:J}=$(Z.track.bind(Z),Z.trigger.bind(Z));this._get=Y,this._set=J}get value(){return this._value=this._get()}set value($){this._set($)}}class yX{constructor($,Z,Y){this._object=$,this._key=Z,this._defaultValue=Y,this.__v_isRef=!0,this._value=void 0}get value(){const $=this._object[this._key];return this._value=$===void 0?this._defaultValue:$}set value($){this._object[this._key]=$}get dep(){return IM(r(this._object),this._key)}}class gX{constructor($){this._getter=$,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}class vX{constructor($,Z,Y){this.fn=$,this.setter=Z,this._value=void 0,this.dep=new u9(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=m9-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!Z,this.isSSR=Y}notify(){if(this.flags|=16,!(this.flags&8)&&J0!==this)return PX(this,!0),!0}get value(){const $=this.dep.track({target:this,type:"get",key:"value"});if(VX(this),$)$.version=this.dep.version;return this._value}set value($){if(this.setter)this.setter($);else e0("Write operation failed: computed value is readonly")}}var OZ={},AZ=new WeakMap,u1=void 0;function iM($){p1.push($)}function sM(){p1.pop()}function B0($,...Z){if(d8)return;d8=!0,M9();const Y=p1.length?p1[p1.length-1].component:null,J=Y&&Y.appContext.config.warnHandler,Q=aM();if(J)yZ(J,Y,11,[$+Z.map((X)=>{var q,G;return(G=(q=X.toString)==null?void 0:q.call(X))!=null?G:JSON.stringify(X)}).join(""),Y&&Y.proxy,Q.map(({vnode:X})=>`at <${z5(Y,X.type)}>`).join("\n"),Q]);else{const X=[`[Vue warn]: ${$}`,...Z];if(Q.length)X.push(`
|
|
122
122
|
`,...oM(Q));console.warn(...X)}D9(),d8=!1}function aM(){let $=p1[p1.length-1];if(!$)return[];const Z=[];while($){const Y=Z[0];if(Y&&Y.vnode===$)Y.recurseCount++;else Z.push({vnode:$,recurseCount:0});const J=$.component&&$.component.parent;$=J&&J.vnode}return Z}function oM($){const Z=[];return $.forEach((Y,J)=>{Z.push(...J===0?[]:[`
|
|
123
123
|
`],...nM(Y))}),Z}function nM({vnode:$,recurseCount:Z}){const Y=Z>0?`... (${Z} recursive calls)`:"",J=$.component?$.component.parent==null:!1,Q=` at <${z5($.component,$.type,J)}`,X=">"+Y;return $.props?[Q,...tM($.props),X]:[Q+X]}function tM($){const Z=[],Y=Object.keys($);if(Y.slice(0,3).forEach((J)=>{Z.push(...oX(J,$[J]))}),Y.length>3)Z.push(" ...");return Z}function oX($,Z,Y){if(p0(Z))return Z=JSON.stringify(Z),Y?Z:[`${$}=${Z}`];else if(typeof Z==="number"||typeof Z==="boolean"||Z==null)return Y?Z:[`${$}=${Z}`];else if(i(Z))return Z=oX($,r(Z.value),!0),Y?Z:[`${$}=Ref<`,Z,">"];else if(K0(Z))return[`${$}=fn${Z.name?`<${Z.name}>`:""}`];else return Z=r(Z),Y?Z:[`${$}=`,Z]}function nX($,Z){if($===void 0)return;else if(typeof $!=="number")B0(`${Z} is not a valid number - got ${JSON.stringify($)}.`);else if(isNaN($))B0(`${Z} is NaN - the duration expression might be incorrect.`)}function yZ($,Z,Y,J){try{return J?$(...J):$()}catch(Q){n8(Q,Z,Y)}}function i9($,Z,Y,J){if(K0($)){const Q=yZ($,Z,Y,J);if(Q&&MX(Q))Q.catch((X)=>{n8(X,Z,Y)});return Q}if(Z0($)){const Q=[];for(let X=0;X<$.length;X++)Q.push(i9($[X],Z,Y,J));return Q}else B0(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof $}`)}function n8($,Z,Y,J=!0){const Q=Z?Z.vnode:null,{errorHandler:X,throwUnhandledErrorInProduction:q}=Z&&Z.appContext.config||f0;if(Z){let G=Z.parent;const U=Z.proxy,M=o8[Y];while(G){const B=G.ec;if(B){for(let W=0;W<B.length;W++)if(B[W]($,U,M)===!1)return}G=G.parent}if(X){M9(),yZ(X,null,10,[$,U,M]),D9();return}}eM($,Y,Q,J,q)}function eM($,Z,Y,J=!0,Q=!1){{const X=o8[Z];if(Y)iM(Y);if(B0(`Unhandled error${X?` during execution of ${X}`:""}`),Y)sM();if(J)throw $;else console.error($)}}function E0($){const Z=bZ||tX;return $?Z.then(this?$.bind(this):$):Z}function Z2($){let Z=j1+1,Y=Z1.length;while(Z<Y){const J=Z+Y>>>1,Q=Z1[J],X=p9(Q);if(X<$||X===$&&Q.flags&2)Z=J+1;else Y=J}return Z}function t8($){if(!($.flags&1)){const Z=p9($),Y=Z1[Z1.length-1];if(!Y||!($.flags&2)&&Z>=p9(Y))Z1.push($);else Z1.splice(Z2(Z),0,$);$.flags|=1,eX()}}function eX(){if(!bZ)bZ=tX.then(Z5)}function $5($){if(!Z0($)){if(T1&&$.id===-1)T1.splice(j9+1,0,$);else if(!($.flags&1))O9.push($),$.flags|=1}else O9.push(...$);eX()}function Y2($){if(O9.length){const Z=[...new Set(O9)].sort((Y,J)=>p9(Y)-p9(J));if(O9.length=0,T1){T1.push(...Z);return}T1=Z,$=$||new Map;for(j9=0;j9<T1.length;j9++){const Y=T1[j9];if(Y5($,Y))continue;if(Y.flags&4)Y.flags&=-2;if(!(Y.flags&8))Y();Y.flags&=-2}T1=null,j9=0}}function Z5($){$=$||new Map;const Z=(Y)=>Y5($,Y);try{for(j1=0;j1<Z1.length;j1++){const Y=Z1[j1];if(Y&&!(Y.flags&8)){if(Z(Y))continue;if(Y.flags&4)Y.flags&=-2;if(yZ(Y,Y.i,Y.i?15:14),!(Y.flags&4))Y.flags&=-2}}}finally{for(;j1<Z1.length;j1++){const Y=Z1[j1];if(Y)Y.flags&=-2}if(j1=-1,Z1.length=0,Y2($),bZ=null,Z1.length||O9.length)Z5($)}}function Y5($,Z){const Y=$.get(Z)||0;if(Y>$2){const J=Z.i,Q=J&&j5(J.type);return n8(`Maximum recursive updates exceeded${Q?` in component <${Q}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return $.set(Z,Y+1),!1}function J2($,Z){if(fZ.has($))return!1;return fZ.set($,{initialDef:hZ(Z),instances:new Set}),!0}function hZ($){return O5($)?$.__vccOpts:$}function Q2($,Z){const Y=fZ.get($);if(!Y)return;Y.initialDef.render=Z,[...Y.instances].forEach((J)=>{if(Z)J.render=Z,hZ(J.type).render=Z;J.renderCache=[],SZ=!0,J.update(),SZ=!1})}function X2($,Z){const Y=fZ.get($);if(!Y)return;Z=hZ(Z),lX(Y.initialDef,Z);const J=[...Y.instances];for(let Q=0;Q<J.length;Q++){const X=J[Q],q=hZ(X.type);let G=CZ.get(q);if(!G){if(q!==Y.initialDef)lX(q,Z);CZ.set(q,G=new Set)}if(G.add(X),X.appContext.propsCache.delete(X.type),X.appContext.emitsCache.delete(X.type),X.appContext.optionsCache.delete(X.type),X.ceReload)G.add(X),X.ceReload(Z.styles),G.delete(X);else if(X.parent)t8(()=>{SZ=!0,X.parent.update(),SZ=!1,G.delete(X)});else if(X.appContext.reload)X.appContext.reload();else if(typeof window!=="undefined")window.location.reload();else console.warn("[HMR] Root or manually mounted instance modified. Full reload required.");if(X.root.ce&&X!==X.root)X.root.ce._removeChildStyle(q)}$5(()=>{CZ.clear()})}function lX($,Z){A0($,Z);for(let Y in $)if(Y!=="__file"&&!(Y in Z))delete $[Y]}function l8($){return(Z,Y)=>{try{return $(Z,Y)}catch(J){console.error(J),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}function J5(){const $={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return x1(()=>{$.isMounted=!0}),i1(()=>{$.isUnmounting=!0}),$}function U2($,Z){const{leavingVNodes:Y}=$;let J=Y.get(Z.type);if(!J)J=Object.create(null),Y.set(Z.type,J);return J}function gZ($,Z,Y,J,Q){const{appear:X,mode:q,persisted:G=!1,onBeforeEnter:U,onEnter:M,onAfterEnter:B,onEnterCancelled:W,onBeforeLeave:D,onLeave:K,onAfterLeave:H,onLeaveCancelled:L,onBeforeAppear:z,onAppear:j,onAfterAppear:O,onAppearCancelled:A}=Z,N=String($.key),I=U2(Y,$),h=(_,E)=>{_&&i9(_,J,9,E)},R=(_,E)=>{const b=E[1];if(h(_,E),Z0(_)){if(_.every((V)=>V.length<=1))b()}else if(_.length<=1)b()},C={mode:q,persisted:G,beforeEnter(_){let E=U;if(!Y.isMounted)if(X)E=z||U;else return;if(_[L9])_[L9](!0);const b=I[N];if(b&&w2($,b)&&b.el[L9])b.el[L9]();h(E,[_])},enter(_){let E=M,b=B,V=W;if(!Y.isMounted)if(X)E=j||M,b=O||B,V=A||W;else return;let T=!1;const f=_[xZ]=(k)=>{if(T)return;if(T=!0,k)h(V,[_]);else h(b,[_]);if(C.delayedLeave)C.delayedLeave();_[xZ]=void 0};if(E)R(E,[_,f]);else f()},leave(_,E){const b=String($.key);if(_[xZ])_[xZ](!0);if(Y.isUnmounting)return E();h(D,[_]);let V=!1;const T=_[L9]=(f)=>{if(V)return;if(V=!0,E(),f)h(L,[_]);else h(H,[_]);if(_[L9]=void 0,I[b]===$)delete I[b]};if(I[b]=$,K)R(K,[_,T]);else T()},clone(_){const E=gZ(_,Z,Y,J,Q);if(Q)Q(E);return E}};return C}function s9($,Z){if($.shapeFlag&6&&$.component)$.transition=Z,s9($.component.subTree,Z);else if($.shapeFlag&128)$.ssContent.transition=Z.clone($.ssContent),$.ssFallback.transition=Z.clone($.ssFallback);else $.transition=Z}function e8($,Z=!1,Y){let J=[],Q=0;for(let X=0;X<$.length;X++){let q=$[X];const G=Y==null?q.key:String(Y)+String(q.key!=null?q.key:X);if(q.type===s1){if(q.patchFlag&128)Q++;J=J.concat(e8(q.children,Z,G))}else if(Z||q.type!==M5)J.push(G!=null?r9(q,{key:G}):q)}if(Q>1)for(let X=0;X<J.length;X++)J[X].patchFlag=-2;return J}function r1($,Z){return K0($)?(()=>A0({name:$.name},Z,{setup:$}))():$}function X5($,Z){G5($,"a",Z)}function q5($,Z){G5($,"da",Z)}function G5($,Z,Y=o0){const J=$.__wdc||($.__wdc=()=>{let Q=Y;while(Q){if(Q.isDeactivated)return;Q=Q.parent}return $()});if($Y(Z,J,Y),Y){let Q=Y.parent;while(Q&&Q.parent){if(W2(Q.parent.vnode))B2(J,Z,Y,Q);Q=Q.parent}}}function B2($,Z,Y,J){const Q=$Y(Z,$,J,!0);mZ(()=>{qZ(J[Z],Q)},Y)}function $Y($,Z,Y=o0,J=!1){if(Y){const Q=Y[$]||(Y[$]=[]),X=Z.__weh||(Z.__weh=(...q)=>{M9();const G=L5(Y),U=i9(Z,Y,$,q);return G(),D9(),U});if(J)Q.unshift(X);else Q.push(X);return X}else{const Q=KX(o8[$].replace(/ hook$/,""));B0(`${Q} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}function pX($){return Z0($)?$.reduce((Z,Y)=>(Z[Y]=null,Z),{}):$}function L2($){const Z=$.type,{mixins:Y,extends:J}=Z,{mixins:Q,optionsCache:X,config:{optionMergeStrategies:q}}=$.appContext,G=X.get(Z);let U;if(G)U=G;else if(!Q.length&&!Y&&!J)U=Z;else{if(U={},Q.length)Q.forEach((M)=>kZ(U,M,q,!0));kZ(U,Z,q)}if(O0(Z))X.set(Z,U);return U}function kZ($,Z,Y,J=!1){const{mixins:Q,extends:X}=Z;if(X)kZ($,X,Y,!0);if(Q)Q.forEach((q)=>kZ($,q,Y,!0));for(let q in Z)if(J&&q==="expose")B0('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const G=j2[q]||Y&&Y[q];$[q]=G?G($[q],Z[q]):Z[q]}return $}function rX($,Z){if(!Z)return $;if(!$)return Z;return function Y(){return A0(K0($)?$.call(this,this):$,K0(Z)?Z.call(this,this):Z)}}function z2($,Z){return d9(iX($),iX(Z))}function iX($){if(Z0($)){const Z={};for(let Y=0;Y<$.length;Y++)Z[$[Y]]=$[Y];return Z}return $}function k0($,Z){return $?[...new Set([].concat($,Z))]:Z}function d9($,Z){return $?A0(Object.create(null),$,Z):Z}function sX($,Z){if($){if(Z0($)&&Z0(Z))return[...new Set([...$,...Z])];return A0(Object.create(null),pX($),pX(Z!=null?Z:{}))}else return Z}function O2($,Z){if(!$)return Z;if(!Z)return $;const Y=A0(Object.create(null),$);for(let J in Z)Y[J]=k0($[J],Z[J]);return Y}function F2(){return{app:null,config:{isNativeTag:BX,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}function W5($,Z){if(!o0)B0("provide() can only be used inside setup().");else{let Y=o0.provides;const J=o0.parent&&o0.parent.provides;if(J===Y)Y=o0.provides=Object.create(J);Y[$]=Z}}function O1($,Z,Y=!1){const J=o0||Q1;if(J||r8){const Q=r8?r8._context.provides:J?J.parent==null?J.vnode.appContext&&J.vnode.appContext.provides:J.parent.provides:void 0;if(Q&&$ in Q)return Q[$];else if(arguments.length>1)return Y&&K0(Z)?Z.call(J&&J.proxy):Z;else B0(`injection "${String($)}" not found.`)}else B0("inject() can only be used inside setup() or functional components.")}function Y1($,Z){return YY($,null,Z)}function y($,Z,Y){if(!K0(Z))B0("\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.");return YY($,Z,Y)}function YY($,Z,Y=f0){const{immediate:J,deep:Q,flush:X,once:q}=Y;if(!Z){if(J!==void 0)B0('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.');if(Q!==void 0)B0('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.');if(q!==void 0)B0('watch() "once" option is only respected when using the watch(source, callback, options?) signature.')}const G=A0({},Y);G.onWarn=B0;let U;if(vZ)if(X==="sync"){const D=E2();U=D.__watcherHandles||(D.__watcherHandles=[])}else if(!Z||J)G.once=!0;else{const D=()=>{};return D.stop=_1,D.resume=_1,D.pause=_1,D}const M=o0;G.call=(D,K,H)=>i9(D,M,K,H);let B=!1;if(X==="post")G.scheduler=(D)=>{P2(D,M&&M.suspense)};else if(X!=="sync")B=!0,G.scheduler=(D,K)=>{if(K)D();else t8(D)};G.augmentJob=(D)=>{if(Z)D.flags|=4;if(B){if(D.flags|=2,M)D.id=M.uid,D.i=M}};const W=dX($,Z,G);if(U)U.push(W);return W}function V2($,Z,Y){const J=this.proxy,Q=p0($)?$.includes(".")?_2(J,$):()=>J[$]:$.bind(J,J);let X;if(K0(Z))X=Z;else X=Z.handler,Y=Z;const q=L5(this),G=YY(Q,X.bind(J),Y);return q(),G}function _2($,Z){const Y=Z.split(".");return()=>{let J=$;for(let Q=0;Q<Y.length&&J;Q++)J=J[Y[Q]];return J}}function R2(){N2=!0}function x2($,Z){if(Z&&Z.pendingBranch)if(Z0($))Z.effects.push(...$);else Z.effects.push($);else $5($)}function s8($){return $?$.__v_isVNode===!0:!1}function w2($,Z){if(Z.shapeFlag&6&&$.component){const Y=CZ.get(Z.type);if(Y&&Y.has($.component))return $.shapeFlag&=-257,Z.shapeFlag&=-513,!1}return $.type===Z.type&&$.key===Z.key}function S2($,Z=null,Y=null,J=0,Q=null,X=$===s1?0:1,q=!1,G=!1){const U={__v_isVNode:!0,__v_skip:!0,type:$,props:Z,key:Z&&K5(Z),ref:Z&&wZ(Z),scopeId:q2,slotScopeIds:null,children:Y,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:X,patchFlag:J,dynamicProps:Q,dynamicChildren:null,appContext:null,ctx:Q1};if(G){if(QY(U,Y),X&128)$.normalize(U)}else if(Y)U.shapeFlag|=p0(Y)?8:16;if(U.key!==U.key)B0("VNode created with invalid key (NaN). VNode type:",U.type);if(D5>0&&!q&&z9&&(U.patchFlag>0||X&6)&&U.patchFlag!==32)z9.push(U);return U}function f2($,Z=null,Y=null,J=0,Q=null,X=!1){if(!$||$===M2){if(!$)B0(`Invalid vnode type when creating vnode: ${$}.`);$=M5}if(s8($)){const G=r9($,Z,!0);if(Y)QY(G,Y);if(D5>0&&!X&&z9)if(G.shapeFlag&6)z9[z9.indexOf($)]=G;else z9.push(G);return G.patchFlag=-2,G}if(O5($))$=$.__vccOpts;if(Z){Z=h2(Z);let{class:G,style:U}=Z;if(G&&!p0(G))Z.class=DZ(G);if(O0(U)){if(d1(U)&&!Z0(U))U=A0({},U);Z.style=MZ(U)}}const q=p0($)?1:T2($)?128:G2($)?64:O0($)?4:K0($)?2:0;if(q&4&&d1($))$=r($),B0("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with \`markRaw\` or using \`shallowRef\` instead of \`ref\`.",`
|
|
124
|
-
Component that was made reactive: `,$);return S2($,Z,Y,J,Q,q,X,!0)}function h2($){if(!$)return null;return d1($)||B5($)?A0({},$):$}function r9($,Z,Y=!1,J=!1){const{props:Q,ref:X,patchFlag:q,children:G,transition:U}=$,M=Z?y2(Q||{},Z):Q,B={__v_isVNode:!0,__v_skip:!0,type:$.type,props:M,key:M&&K5(M),ref:Z&&Z.ref?Y&&X?Z0(X)?X.concat(wZ(Z)):[X,wZ(Z)]:wZ(Z):X,scopeId:$.scopeId,slotScopeIds:$.slotScopeIds,children:q===-1&&Z0(G)?G.map(H5):G,target:$.target,targetStart:$.targetStart,targetAnchor:$.targetAnchor,staticCount:$.staticCount,shapeFlag:$.shapeFlag,patchFlag:Z&&$.type!==s1?q===-1?16:q|16:q,dynamicProps:$.dynamicProps,dynamicChildren:$.dynamicChildren,appContext:$.appContext,dirs:$.dirs,transition:U,component:$.component,suspense:$.suspense,ssContent:$.ssContent&&r9($.ssContent),ssFallback:$.ssFallback&&r9($.ssFallback),el:$.el,anchor:$.anchor,ctx:$.ctx,ce:$.ce};if(U&&J)s9(B,U.clone(B));return B}function H5($){const Z=r9($);if(Z0($.children))Z.children=$.children.map(H5);return Z}function k2($=" ",Z=0){return l1(JY,null,$,Z)}function QY($,Z){let Y=0;const{shapeFlag:J}=$;if(Z==null)Z=null;else if(Z0(Z))Y=16;else if(typeof Z==="object")if(J&65){const Q=Z.default;if(Q)Q._c&&(Q._d=!1),QY($,Q()),Q._c&&(Q._d=!0);return}else{Y=32;const Q=Z._;if(!Q&&!B5(Z))Z._ctx=Q1;else if(Q===3&&Q1)if(Q1.slots._===1)Z._=1;else Z._=2,$.patchFlag|=1024}else if(K0(Z))Z={default:Z,_ctx:Q1},Y=32;else if(Z=String(Z),J&64)Y=16,Z=[k2(Z)];else Y=8;$.children=Z,$.shapeFlag|=Y}function y2(...$){const Z={};for(let Y=0;Y<$.length;Y++){const J=$[Y];for(let Q in J)if(Q==="class"){if(Z.class!==J.class)Z.class=DZ([Z.class,J.class])}else if(Q==="style")Z.style=MZ([Z.style,J.style]);else if(P8(Q)){const X=Z[Q],q=J[Q];if(q&&X!==q&&!(Z0(X)&&X.includes(q)))Z[Q]=X?[].concat(X,q):q}else if(Q!=="")Z[Q]=J[Q]}return Z}function m2($){return $.vnode.shapeFlag&4}function v2($){if($.exposed)return $.exposeProxy||($.exposeProxy=new Proxy(u8(c9($.exposed)),{get(Z,Y){if(Y in Z)return Z[Y];else if(Y in l9)return l9[Y]($)},has(Z,Y){return Y in Z||Y in l9}}));else return $.proxy}function j5($,Z=!0){return K0($)?$.displayName||$.name:$.name||Z&&$.__name}function z5($,Z,Y=!1){let J=j5(Z);if(!J&&Z.__file){const Q=Z.__file.match(/([^/\\]+)\.\w+$/);if(Q)J=Q[1]}if(!J&&$&&$.parent){const Q=(X)=>{for(let q in X)if(X[q]===Z)return q};J=Q($.components||$.parent.type.components)||Q($.appContext.components)}return J?c2(J):Y?"App":"Anonymous"}function O5($){return K0($)&&"__vccOpts"in $}function uZ($,Z,Y){const J=arguments.length;if(J===2)if(O0(Z)&&!Z0(Z)){if(s8(Z))return l1($,null,[Z]);return l1($,Z)}else return l1($,null,Z);else{if(J>3)Y=Array.prototype.slice.call(arguments,2);else if(J===3&&s8(Y))Y=[Y];return l1($,Z,Y)}}function F5(){if(typeof window==="undefined")return;const $={style:"color:#3ba776"},Z={style:"color:#1677ff"},Y={style:"color:#f5222d"},J={style:"color:#eb2f96"},Q={__vue_custom_formatter:!0,header(W){if(!O0(W))return null;if(W.__isVue)return["div",$,"VueInstance"];else if(i(W))return["div",{},["span",$,B(W)],"<",G("_value"in W?W._value:W),">"];else if(B1(W))return["div",{},["span",$,w0(W)?"ShallowReactive":"Reactive"],"<",G(W),`>${T0(W)?" (readonly)":""}`];else if(T0(W))return["div",{},["span",$,w0(W)?"ShallowReadonly":"Readonly"],"<",G(W),">"];return null},hasBody(W){return W&&W.__isVue},body(W){if(W&&W.__isVue)return["div",{},...X(W.$)]}};function X(W){const D=[];if(W.type.props&&W.props)D.push(q("props",r(W.props)));if(W.setupState!==f0)D.push(q("setup",W.setupState));if(W.data!==f0)D.push(q("data",r(W.data)));const K=U(W,"computed");if(K)D.push(q("computed",K));const H=U(W,"inject");if(H)D.push(q("injected",H));return D.push(["div",{},["span",{style:J.style+";opacity:0.66"},"$ (internal): "],["object",{object:W}]]),D}function q(W,D){if(D=A0({},D),!Object.keys(D).length)return["span",{}];return["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},W],["div",{style:"padding-left:1.25em"},...Object.keys(D).map((K)=>{return["div",{},["span",J,K+": "],G(D[K],!1)]})]]}function G(W,D=!0){if(typeof W==="number")return["span",Z,W];else if(typeof W==="string")return["span",Y,JSON.stringify(W)];else if(typeof W==="boolean")return["span",J,W];else if(O0(W))return["object",{object:D?r(W):W}];else return["span",Y,String(W)]}function U(W,D){const K=W.type;if(K0(K))return;const H={};for(let L in W.ctx)if(M(K,L,D))H[L]=W.ctx[L];return H}function M(W,D,K){const H=W[K];if(Z0(H)&&H.includes(D)||O0(H)&&D in H)return!0;if(W.extends&&M(W.extends,D,K))return!0;if(W.mixins&&W.mixins.some((L)=>M(L,D,K)))return!0}function B(W){if(w0(W))return"ShallowRef";if(W.effect)return"ComputedRef";return"Ref"}if(window.devtoolsFormatters)window.devtoolsFormatters.push(Q);else window.devtoolsFormatters=[Q]}var p1=[],d8=!1;var o8={["sp"]:"serverPrefetch hook",["bc"]:"beforeCreate hook",["c"]:"created hook",["bm"]:"beforeMount hook",["m"]:"mounted hook",["bu"]:"beforeUpdate hook",["u"]:"updated",["bum"]:"beforeUnmount hook",["um"]:"unmounted hook",["a"]:"activated hook",["da"]:"deactivated hook",["ec"]:"errorCaptured hook",["rtc"]:"renderTracked hook",["rtg"]:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update",[16]:"app unmount cleanup function"},Z1=[],j1=-1,O9=[],T1=null,j9=0,tX=Promise.resolve(),bZ=null,$2=100,p9=($)=>$.id==null?$.flags&2?-1:1/0:$.id,SZ=!1,CZ=new Map;R8().__VUE_HMR_RUNTIME__={createRecord:l8(J2),rerender:l8(Q2),reload:l8(X2)};var fZ=new Map;/*! #__NO_SIDE_EFFECTS__ */var Q1=null,q2=null;var oP=Symbol("_vte"),G2=($)=>$.__isTeleport;var L9=Symbol("_leaveCb"),xZ=Symbol("_enterCb"),$1=[Function,Array],Q5={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$1,onEnter:$1,onAfterEnter:$1,onEnterCancelled:$1,onBeforeLeave:$1,onLeave:$1,onAfterLeave:$1,onLeaveCancelled:$1,onBeforeAppear:$1,onAppear:$1,onAfterAppear:$1,onAppearCancelled:$1};/*! #__NO_SIDE_EFFECTS__ *//*! #__NO_SIDE_EFFECTS__ */var W2=($)=>$.type.__isKeepAlive;var z1=($)=>(Z,Y=o0)=>{if(!vZ||$==="sp")$Y($,(...J)=>Z(...J),Y)},ZY=z1("bm"),x1=z1("m"),U5=z1("bu"),a9=z1("u"),i1=z1("bum"),mZ=z1("um"),nP=z1("sp"),tP=z1("rtg"),eP=z1("rtc");var M2=Symbol.for("v-ndc"),i8=($)=>{if(!$)return null;if(m2($))return v2($);return i8($.parent)},l9=A0(Object.create(null),{$:($)=>$,$el:($)=>$.vnode.el,$data:($)=>$.data,$props:($)=>K9($.props),$attrs:($)=>K9($.attrs),$slots:($)=>K9($.slots),$refs:($)=>K9($.refs),$parent:($)=>i8($.parent),$root:($)=>i8($.root),$host:($)=>$.ce,$emit:($)=>$.emit,$options:($)=>__VUE_OPTIONS_API__?L2($):$.type,$forceUpdate:($)=>$.f||($.f=()=>{t8($.update)}),$nextTick:($)=>$.n||($.n=E0.bind($.proxy)),$watch:($)=>__VUE_OPTIONS_API__?V2.bind($):_1}),D2=($)=>$==="_"||$==="$",p8=($,Z)=>$!==f0&&!$.__isScriptSetup&&L0($,Z),K2={get({_:$},Z){if(Z==="__v_skip")return!0;const{ctx:Y,setupState:J,data:Q,props:X,accessCache:q,type:G,appContext:U}=$;if(Z==="__isVue")return!0;let M;if(Z[0]!=="$"){const K=q[Z];if(K!==void 0)switch(K){case 1:return J[Z];case 2:return Q[Z];case 4:return Y[Z];case 3:return X[Z]}else if(p8(J,Z))return q[Z]=1,J[Z];else if(Q!==f0&&L0(Q,Z))return q[Z]=2,Q[Z];else if((M=$.propsOptions[0])&&L0(M,Z))return q[Z]=3,X[Z];else if(Y!==f0&&L0(Y,Z))return q[Z]=4,Y[Z];else if(!__VUE_OPTIONS_API__||H2)q[Z]=0}const B=l9[Z];let W,D;if(B){if(Z==="$attrs")R0($.attrs,"get",""),R2();else if(Z==="$slots")R0($,"get",Z);return B($)}else if((W=G.__cssModules)&&(W=W[Z]))return W;else if(Y!==f0&&L0(Y,Z))return q[Z]=4,Y[Z];else if(D=U.config.globalProperties,L0(D,Z))return D[Z];else if(Q1&&(!p0(Z)||Z.indexOf("__v")!==0)){if(Q!==f0&&D2(Z[0])&&L0(Q,Z))B0(`Property ${JSON.stringify(Z)} must be accessed via \$data because it starts with a reserved character ("\$" or "_") and is not proxied on the render context.`);else if($===Q1)B0(`Property ${JSON.stringify(Z)} was accessed during render but is not defined on instance.`)}},set({_:$},Z,Y){const{data:J,setupState:Q,ctx:X}=$;if(p8(Q,Z))return Q[Z]=Y,!0;else if(Q.__isScriptSetup&&L0(Q,Z))return B0(`Cannot mutate <script setup> binding "${Z}" from Options API.`),!1;else if(J!==f0&&L0(J,Z))return J[Z]=Y,!0;else if(L0($.props,Z))return B0(`Attempting to mutate prop "${Z}". Props are readonly.`),!1;if(Z[0]==="$"&&Z.slice(1)in $)return B0(`Attempting to mutate public property "${Z}". Properties starting with \$ are reserved and readonly.`),!1;else if(Z in $.appContext.config.globalProperties)Object.defineProperty(X,Z,{enumerable:!0,configurable:!0,value:Y});else X[Z]=Y;return!0},has({_:{data:$,setupState:Z,accessCache:Y,ctx:J,appContext:Q,propsOptions:X}},q){let G;return!!Y[q]||$!==f0&&L0($,q)||p8(Z,q)||(G=X[0])&&L0(G,q)||L0(J,q)||L0(l9,q)||L0(Q.config.globalProperties,q)},defineProperty($,Z,Y){if(Y.get!=null)$._.accessCache[Z]=0;else if(L0(Y,"value"))this.set($,Z,Y.value,null);return Reflect.defineProperty($,Z,Y)}};K2.ownKeys=($)=>{return B0("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys($)};var H2=!0,j2={data:rX,props:sX,emits:sX,methods:d9,computed:d9,beforeCreate:k0,created:k0,beforeMount:k0,mounted:k0,beforeUpdate:k0,updated:k0,beforeDestroy:k0,beforeUnmount:k0,destroyed:k0,unmounted:k0,activated:k0,deactivated:k0,errorCaptured:k0,serverPrefetch:k0,components:d9,directives:d9,watch:O2,provide:rX,inject:z2};var r8=null,A2={};var B5=($)=>Object.getPrototypeOf($)===A2;var P2=x2,I2=Symbol.for("v-scx"),E2=()=>{{const $=O1(I2);if(!$)B0("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.");return $}};var N2=!1;var T2=($)=>$.__isSuspense;var s1=Symbol.for("v-fgt"),JY=Symbol.for("v-txt"),M5=Symbol.for("v-cmt"),C2=Symbol.for("v-stc");var z9=null,D5=1,aX,b2=(...$)=>{return f2(...aX?aX($,Q1):$)},K5=({key:$})=>$!=null?$:null,wZ=({ref:$,ref_key:Z,ref_for:Y})=>{if(typeof $==="number")$=""+$;return $!=null?p0($)||i($)||K0($)?{i:Q1,r:$,k:Z,f:!!Y}:$:null},l1=b2,$I=F2();var o0=null,y0=()=>o0||Q1,a8,g2;{const $=R8(),Z=(Y,J)=>{let Q;if(!(Q=$[Y]))Q=$[Y]=[];return Q.push(J),(X)=>{if(Q.length>1)Q.forEach((q)=>q(X));else Q[0](X)}};a8=Z("__VUE_INSTANCE_SETTERS__",(Y)=>o0=Y),g2=Z("__VUE_SSR_SETTERS__",(Y)=>vZ=Y)}var L5=($)=>{const Z=o0;return a8($),$.scope.on(),()=>{$.scope.off(),a8(Z)}};var vZ=!1;var u2=/(?:^|[-_])(\w)/g,c2=($)=>$.replace(u2,(Z)=>Z.toUpperCase()).replace(/[-_]/g,""),x=($,Z)=>{const Y=uX($,Z,vZ);{const J=y0();if(J&&J.appContext.config.warnRecursiveComputed)Y._warnRecursive=!0}return Y},F9="3.5.11",cZ=B0;function p2($){const Z={};for(let V in $)if(!(V in R5))Z[V]=$[V];if($.css===!1)return Z;const{name:Y="v",type:J,duration:Q,enterFromClass:X=`${Y}-enter-from`,enterActiveClass:q=`${Y}-enter-active`,enterToClass:G=`${Y}-enter-to`,appearFromClass:U=X,appearActiveClass:M=q,appearToClass:B=G,leaveFromClass:W=`${Y}-leave-from`,leaveActiveClass:D=`${Y}-leave-active`,leaveToClass:K=`${Y}-leave-to`}=$,H=r2(Q),L=H&&H[0],z=H&&H[1],{onBeforeEnter:j,onEnter:O,onEnterCancelled:A,onLeave:N,onLeaveCancelled:I,onBeforeAppear:h=j,onAppear:R=O,onAppearCancelled:C=A}=Z,_=(V,T,f)=>{w1(V,T?B:G),w1(V,T?M:q),f&&f()},E=(V,T)=>{V._isLeaving=!1,w1(V,W),w1(V,K),w1(V,D),T&&T()},b=(V)=>{return(T,f)=>{const k=V?R:O,w=()=>_(T,V,f);a1(k,[T,w]),I5(()=>{if(w1(T,V?U:X),F1(T,V?B:G),!P5(k))E5(T,J,L,w)})}};return A0(Z,{onBeforeEnter(V){a1(j,[V]),F1(V,X),F1(V,q)},onBeforeAppear(V){a1(h,[V]),F1(V,U),F1(V,M)},onEnter:b(!1),onAppear:b(!0),onLeave(V,T){V._isLeaving=!0;const f=()=>E(V,T);F1(V,W),F1(V,D),x5(),I5(()=>{if(!V._isLeaving)return;if(w1(V,W),F1(V,K),!P5(N))E5(V,J,z,f)}),a1(N,[V,f])},onEnterCancelled(V){_(V,!1),a1(A,[V])},onAppearCancelled(V){_(V,!0),a1(C,[V])},onLeaveCancelled(V){E(V),a1(I,[V])}})}function r2($){if($==null)return null;else if(O0($))return[XY($.enter),XY($.leave)];else{const Z=XY($);return[Z,Z]}}function XY($){const Z=N8($);return nX(Z,"<transition> explicit duration"),Z}function F1($,Z){Z.split(/\s+/).forEach((Y)=>Y&&$.classList.add(Y)),($[t9]||($[t9]=new Set)).add(Z)}function w1($,Z){Z.split(/\s+/).forEach((J)=>J&&$.classList.remove(J));const Y=$[t9];if(Y){if(Y.delete(Z),!Y.size)$[t9]=void 0}}function I5($){requestAnimationFrame(()=>{requestAnimationFrame($)})}function E5($,Z,Y,J){const Q=$._endId=++i2,X=()=>{if(Q===$._endId)J()};if(Y!=null)return setTimeout(X,Y);const{type:q,timeout:G,propCount:U}=T5($,Z);if(!q)return J();const M=q+"end";let B=0;const W=()=>{$.removeEventListener(M,D),X()},D=(K)=>{if(K.target===$&&++B>=U)W()};setTimeout(()=>{if(B<U)W()},G+1),$.addEventListener(M,D)}function T5($,Z){const Y=window.getComputedStyle($),J=(H)=>(Y[H]||"").split(", "),Q=J(`${C1}Delay`),X=J(`${C1}Duration`),q=V5(Q,X),G=J(`${o9}Delay`),U=J(`${o9}Duration`),M=V5(G,U);let B=null,W=0,D=0;if(Z===C1){if(q>0)B=C1,W=q,D=X.length}else if(Z===o9){if(M>0)B=o9,W=M,D=U.length}else W=Math.max(q,M),B=W>0?q>M?C1:o9:null,D=B?B===C1?X.length:U.length:0;const K=B===C1&&/\b(transform|all)(,|$)/.test(J(`${C1}Property`).toString());return{type:B,timeout:W,propCount:D,hasTransform:K}}function V5($,Z){while($.length<Z.length)$=$.concat($);return Math.max(...Z.map((Y,J)=>_5(Y)+_5($[J])))}function _5($){if($==="auto")return 0;return Number($.slice(0,-1).replace(",","."))*1000}function x5(){return document.body.offsetHeight}function n9($,Z){$.style.display=Z?$[C5]:"none",$[s2]=!Z}function t2($){const Z=$.el;if(Z[dZ])Z[dZ]();if(Z[N5])Z[N5]()}function e2($){b5.set($,$.el.getBoundingClientRect())}function $D($){const Z=w5.get($),Y=b5.get($),J=Z.left-Y.left,Q=Z.top-Y.top;if(J||Q){const X=$.el.style;return X.transform=X.webkitTransform=`translate(${J}px,${Q}px)`,X.transitionDuration="0s",$}}function ZD($,Z,Y){const J=$.cloneNode(),Q=$[t9];if(Q)Q.forEach((G)=>{G.split(/\s+/).forEach((U)=>U&&J.classList.remove(U))});Y.split(/\s+/).forEach((G)=>G&&J.classList.add(G)),J.style.display="none";const X=Z.nodeType===1?Z:Z.parentNode;X.appendChild(J);const{hasTransform:q}=T5(J);return X.removeChild(J),q}var d2=void 0,A5=typeof window!=="undefined"&&window.trustedTypes;if(A5)try{d2=A5.createPolicy("vue",{createHTML:($)=>$})}catch($){cZ(`Error creating trusted types policy: ${$}`)}var C1="transition",o9="animation",t9=Symbol("_vtc"),R5={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},l2=A0({},Q5,R5);var a1=($,Z=[])=>{if(Z0($))$.forEach((Y)=>Y(...Z));else if($)$(...Z)},P5=($)=>{return $?Z0($)?$.some((Z)=>Z.length>1):$.length>1:!1},i2=0,C5=Symbol("_vod"),s2=Symbol("_vsh"),a2={beforeMount($,{value:Z},{transition:Y}){if($[C5]=$.style.display==="none"?"":$.style.display,Y&&Z)Y.beforeEnter($);else n9($,Z)},mounted($,{value:Z},{transition:Y}){if(Y&&Z)Y.enter($)},updated($,{value:Z,oldValue:Y},{transition:J}){if(!Z===!Y)return;if(J)if(Z)J.beforeEnter($),n9($,!0),J.enter($);else J.leave($,()=>{n9($,!1)});else n9($,Z)},beforeUnmount($,{value:Z}){n9($,Z)}};a2.name="show";var jI=Symbol("CSS_VAR_TEXT");var zI=Symbol("_vei");/*! #__NO_SIDE_EFFECTS__ *//*! #__NO_SIDE_EFFECTS__ */var w5=new WeakMap,b5=new WeakMap,dZ=Symbol("_moveCb"),N5=Symbol("_enterCb"),o2=($)=>{return delete $.props.mode,$},n2=o2({name:"TransitionGroup",props:A0({},l2,{tag:String,moveClass:String}),setup($,{slots:Z}){const Y=y0(),J=J5();let Q,X;return a9(()=>{if(!Q.length)return;const q=$.moveClass||`${$.name||"v"}-move`;if(!ZD(Q[0].el,Y.vnode.el,q))return;Q.forEach(t2),Q.forEach(e2);const G=Q.filter($D);x5(),G.forEach((U)=>{const M=U.el,B=M.style;F1(M,q),B.transform=B.webkitTransform=B.transitionDuration="";const W=M[dZ]=(D)=>{if(D&&D.target!==M)return;if(!D||/transform$/.test(D.propertyName))M.removeEventListener("transitionend",W),M[dZ]=null,w1(M,q)};M.addEventListener("transitionend",W)})}),()=>{const q=r($),G=p2(q);let U=q.tag||s1;if(Q=[],X)for(let M=0;M<X.length;M++){const B=X[M];if(B.el&&B.el instanceof Element)Q.push(B),s9(B,gZ(B,G,J,Y)),w5.set(B,B.el.getBoundingClientRect())}X=Z.default?e8(Z.default()):[];for(let M=0;M<X.length;M++){const B=X[M];if(B.key!=null)s9(B,gZ(B,G,J,Y));else if(B.type!==JY)cZ("<TransitionGroup> children must be keyed.")}return l1(U,null,X)}}}),S5=n2;var OI=Symbol("_assign");function YD(){F5()}YD();function qY($,Z,Y){if(Array.isArray($))return $.length=Math.max($.length,Z),$.splice(Z,1,Y),Y;return $[Z]=Y,Y}function GY($,Z){if(Array.isArray($)){$.splice(Z,1);return}delete $[Z]}var e9=!1,$$=!0;function f5($,Z){var Y;const J=n();return Y1(()=>{J.value=$()},{...Z,flush:(Y=Z==null?void 0:Z.flush)!=null?Y:"sync"}),Y0(J)}function lZ($,Z){let Y=void 0,J,Q;const X=F(!0),q=()=>{X.value=!0,Q()};y($,q,{flush:"sync"});const G=typeof Z==="function"?Z:Z.get,U=typeof Z==="function"?void 0:Z.set,M=M1((B,W)=>{return J=B,Q=W,{get(){if(X.value)Y=G(Y),X.value=!1;return J(),Y},set(D){U==null||U(D)}}});if(Object.isExtensible(M))M.trigger=q;return M}function s($){if(B9())return EZ($),!0;return!1}function x0(){const $=new Set,Z=(Q)=>{$.delete(Q)};return{on:(Q)=>{$.add(Q);const X=()=>Z(Q);return s(X),{off:X}},off:Z,trigger:(...Q)=>{return Promise.all(Array.from($).map((X)=>X(...Q)))}}}function QD($){let Z=!1,Y;const J=IZ(!0);return(...Q)=>{if(!Z)Y=J.run(()=>$(...Q)),Z=!0;return Y}}function XD($,Z){const Y=(Z==null?void 0:Z.injectionKey)||Symbol($.name||"InjectionState"),J=Z==null?void 0:Z.defaultValue;return[(...q)=>{const G=$(...q);return k5(Y,G),G},()=>h5(Y,J)]}function qD($){let Z=0,Y,J;const Q=()=>{if(Z-=1,J&&Z<=0)J.stop(),Y=void 0,J=void 0};return(...X)=>{if(Z+=1,!J)J=IZ(!0),Y=J.run(()=>$(...X));return s(Q),Y}}function y5($,Z,{enumerable:Y=!1,unwrap:J=!0}={}){if(!$$&&!F9.startsWith("2.7."))throw new Error("[VueUse] extendRef only works in Vue 2.7 or above.");for(let[Q,X]of Object.entries(Z)){if(Q==="value")continue;if(i(X)&&J)Object.defineProperty($,Q,{get(){return X.value},set(q){X.value=q},enumerable:Y});else Object.defineProperty($,Q,{value:X,enumerable:Y})}return $}function GD($){return r0($)!=null}function WY($,Z){if(typeof Symbol!=="undefined"){const Y={...$};return Object.defineProperty(Y,Symbol.iterator,{enumerable:!1,value(){let J=0;return{next:()=>({value:Z[J++],done:J>Z.length})}}}),Y}else return Object.assign([...Z],$)}function P($){return typeof $==="function"?$():r0($)}function Y$($,Z){const Y=(Z==null?void 0:Z.computedGetter)===!1?r0:P;return function(...J){return x(()=>$.apply(this,J.map((Q)=>Y(Q))))}}function WD($,Z={}){let Y=[],J;if(Array.isArray(Z))Y=Z;else{J=Z;const{includeOwnProperties:Q=!0}=Z;if(Y.push(...Object.keys($)),Q)Y.push(...Object.getOwnPropertyNames($))}return Object.fromEntries(Y.map((Q)=>{const X=$[Q];return[Q,typeof X==="function"?Y$(X.bind($),J):X]}))}function g5($){if(!i($))return G0($);const Z=new Proxy({},{get(Y,J,Q){return r0(Reflect.get($.value,J,Q))},set(Y,J,Q){if(i($.value[J])&&!i(Q))$.value[J].value=Q;else $.value[J]=Q;return!0},deleteProperty(Y,J){return Reflect.deleteProperty($.value,J)},has(Y,J){return Reflect.has($.value,J)},ownKeys(){return Object.keys($.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return G0(Z)}function BY($){return g5(x($))}function BD($,...Z){const Y=Z.flat(),J=Y[0];return BY(()=>typeof J==="function"?Object.fromEntries(Object.entries(H9($)).filter(([Q,X])=>!J(P(X),Q))):Object.fromEntries(Object.entries(H9($)).filter((Q)=>!Y.includes(Q[0]))))}function DD(){var $,Z;return V0&&(($=window==null?void 0:window.navigator)==null?void 0:$.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((Z=window==null?void 0:window.navigator)==null?void 0:Z.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function e1($,Z){function Y(...J){return new Promise((Q,X)=>{Promise.resolve($(()=>Z.apply(this,J),{fn:Z,thisArg:this,args:J})).then(Q).catch(X)})}return Y}function rZ($,Z={}){let Y,J,Q=X0;const X=(G)=>{clearTimeout(G),Q(),Q=X0};return(G)=>{const U=P($),M=P(Z.maxWait);if(Y)X(Y);if(U<=0||M!==void 0&&M<=0){if(J)X(J),J=null;return Promise.resolve(G())}return new Promise((B,W)=>{if(Q=Z.rejectOnCancel?W:B,M&&!J)J=setTimeout(()=>{if(Y)X(Y);J=null,B(G())},M);Y=setTimeout(()=>{if(J)X(J);J=null,B(G())},U)})}}function X$(...$){let Z=0,Y,J=!0,Q=X0,X,q,G,U,M;if(!i($[0])&&typeof $[0]==="object")({delay:q,trailing:G=!0,leading:U=!0,rejectOnCancel:M=!1}=$[0]);else[q,G=!0,U=!0,M=!1]=$;const B=()=>{if(Y)clearTimeout(Y),Y=void 0,Q(),Q=X0};return(D)=>{const K=P(q),H=Date.now()-Z,L=()=>{return X=D()};if(B(),K<=0)return Z=Date.now(),L();if(H>K&&(U||!J))Z=Date.now(),L();else if(G)X=new Promise((z,j)=>{Q=M?j:z,Y=setTimeout(()=>{Z=Date.now(),J=!0,z(L()),B()},Math.max(0,K-H))});if(!U&&!Y)Y=setTimeout(()=>J=!0,K);return J=!1,X}}function KY($=Q$){const Z=F(!0);function Y(){Z.value=!1}function J(){Z.value=!0}const Q=(...X)=>{if(Z.value)$(...X)};return{isActive:Y0(Z),pause:Y,resume:J,eventFilter:Q}}function u5($){const Z=Object.create(null);return(Y)=>{return Z[Y]||(Z[Y]=$(Y))}}function Z$($,Z=!1,Y="Timeout"){return new Promise((J,Q)=>{if(Z)setTimeout(()=>Q(Y),$);else setTimeout(J,$)})}function d5($){return $}function l5($){let Z;function Y(){if(!Z)Z=$();return Z}return Y.reset=async()=>{const J=Z;if(Z=void 0,J)await J},Y}function HY($,...Z){return Z.some((Y)=>(Y in $))}function p5($,Z){var Y;if(typeof $==="number")return $+Z;const J=((Y=$.match(/^-?\d+\.?\d*/))==null?void 0:Y[0])||"",Q=$.slice(J.length),X=Number.parseFloat(J)+Z;if(Number.isNaN(X))return $;return X+Q}function r5($,Z,Y=!1){return Z.reduce((J,Q)=>{if(Q in $){if(!Y||$[Q]!==void 0)J[Q]=$[Q]}return J},{})}function i5($,Z,Y=!1){return Object.fromEntries(Object.entries($).filter(([J,Q])=>{return(!Y||Q!==void 0)&&!Z.includes(J)}))}function s5($){return Object.entries($)}function iZ($){return $||y0()}function F0(...$){if($.length!==1)return c8(...$);const Z=$[0];return typeof Z==="function"?Y0(M1(()=>({get:Z,set:X0}))):F(Z)}function jD($,...Z){const Y=Z.flat(),J=Y[0];return BY(()=>typeof J==="function"?Object.fromEntries(Object.entries(H9($)).filter(([Q,X])=>J(P(X),Q))):Object.fromEntries(Y.map((Q)=>[Q,F0($,Q)])))}function a5($,Z=1e4){return M1((Y,J)=>{let Q=P($),X;const q=()=>setTimeout(()=>{Q=P($),J()},P(Z));return s(()=>{clearTimeout(X)}),{get(){return Y(),Q},set(G){Q=G,J(),clearTimeout(X),X=q()}}})}function q$($,Z=200,Y={}){return e1(rZ(Z,Y),$)}function LY($,Z=200,Y={}){const J=F($.value),Q=q$(()=>{J.value=$.value},Z,Y);return y($,()=>Q()),J}function zD($,Z){return x({get(){var Y;return(Y=$.value)!=null?Y:Z},set(Y){$.value=Y}})}function sZ($,Z=200,Y=!1,J=!0,Q=!1){return e1(X$(Z,Y,J,Q),$)}function jY($,Z=200,Y=!0,J=!0){if(Z<=0)return $;const Q=F($.value),X=sZ(()=>{Q.value=$.value},Z,Y,J);return y($,()=>X()),Q}function o5($,Z={}){let Y=$,J,Q;const X=M1((D,K)=>{return J=D,Q=K,{get(){return q()},set(H){G(H)}}});function q(D=!0){if(D)J();return Y}function G(D,K=!0){var H,L;if(D===Y)return;const z=Y;if(((H=Z.onBeforeChange)==null?void 0:H.call(Z,D,z))===!1)return;if(Y=D,(L=Z.onChanged)==null||L.call(Z,D,z),K)Q()}return y5(X,{get:q,set:G,untrackedGet:()=>q(!1),silentSet:(D)=>G(D,!1),peek:()=>q(!1),lay:(D)=>G(D,!1)},{enumerable:!0})}function $9($,Z,Y={}){const{eventFilter:J=Q$,...Q}=Y;return y($,e1(J,Z),Q)}function n1($,Z,Y={}){const{eventFilter:J,...Q}=Y,{eventFilter:X,pause:q,resume:G,isActive:U}=KY(J);return{stop:$9($,Z,{...Q,eventFilter:X}),pause:q,resume:G,isActive:U}}function aZ($,Z,...[Y]){const{flush:J="sync",deep:Q=!1,immediate:X=!0,direction:q="both",transform:G={}}=Y||{},U=[],M="ltr"in G&&G.ltr||((D)=>D),B="rtl"in G&&G.rtl||((D)=>D);if(q==="both"||q==="ltr")U.push(n1($,(D)=>{U.forEach((K)=>K.pause()),Z.value=M(D),U.forEach((K)=>K.resume())},{flush:J,deep:Q,immediate:X}));if(q==="both"||q==="rtl")U.push(n1(Z,(D)=>{U.forEach((K)=>K.pause()),$.value=B(D),U.forEach((K)=>K.resume())},{flush:J,deep:Q,immediate:X}));return()=>{U.forEach((D)=>D.stop())}}function FD($,Z,Y={}){const{flush:J="sync",deep:Q=!1,immediate:X=!0}=Y;if(!Array.isArray(Z))Z=[Z];return y($,(q)=>Z.forEach((G)=>G.value=q),{flush:J,deep:Q,immediate:X})}function zY($,Z={}){if(!i($))return H9($);const Y=Array.isArray($.value)?Array.from({length:$.value.length}):{};for(let J in $.value)Y[J]=M1(()=>({get(){return $.value[J]},set(Q){var X;if((X=P(Z.replaceRef))!=null?X:!0)if(Array.isArray($.value)){const G=[...$.value];G[J]=Q,$.value=G}else{const G={...$.value,[J]:Q};Object.setPrototypeOf(G,Object.getPrototypeOf($.value)),$.value=G}else $.value[J]=Q}}));return Y}function AD($,Z=!0,Y){if(iZ(Y))ZY($,Y);else if(Z)$();else E0($)}function OY($,Z){if(iZ(Z))i1($,Z)}function P0($,Z=!0,Y){if(iZ())x1($,Y);else if(Z)$();else E0($)}function oZ($,Z){if(iZ(Z))mZ($,Z)}function UY($,Z=!1){function Y(W,{flush:D="sync",deep:K=!1,timeout:H,throwOnTimeout:L}={}){let z=null;const O=[new Promise((A)=>{z=y($,(N)=>{if(W(N)!==Z){if(z)z();else E0(()=>z==null?void 0:z());A(N)}},{flush:D,deep:K,immediate:!0})})];if(H!=null)O.push(Z$(H,L).then(()=>P($)).finally(()=>z==null?void 0:z()));return Promise.race(O)}function J(W,D){if(!i(W))return Y((N)=>N===W,D);const{flush:K="sync",deep:H=!1,timeout:L,throwOnTimeout:z}=D!=null?D:{};let j=null;const A=[new Promise((N)=>{j=y([$,W],([I,h])=>{if(Z!==(I===h)){if(j)j();else E0(()=>j==null?void 0:j());N(I)}},{flush:K,deep:H,immediate:!0})})];if(L!=null)A.push(Z$(L,z).then(()=>P($)).finally(()=>{return j==null||j(),P($)}));return Promise.race(A)}function Q(W){return Y((D)=>Boolean(D),W)}function X(W){return J(null,W)}function q(W){return J(void 0,W)}function G(W){return Y(Number.isNaN,W)}function U(W,D){return Y((K)=>{const H=Array.from(K);return H.includes(W)||H.includes(P(W))},D)}function M(W){return B(1,W)}function B(W=1,D){let K=-1;return Y(()=>{return K+=1,K>=W},D)}if(Array.isArray(P($)))return{toMatch:Y,toContains:U,changed:M,changedTimes:B,get not(){return UY($,!Z)}};else return{toMatch:Y,toBe:J,toBeTruthy:Q,toBeNull:X,toBeNaN:G,toBeUndefined:q,changed:M,changedTimes:B,get not(){return UY($,!Z)}}}function P9($){return UY($)}function PD($,Z){return $===Z}function ID(...$){var Z;const Y=$[0],J=$[1];let Q=(Z=$[2])!=null?Z:PD;if(typeof Q==="string"){const X=Q;Q=(q,G)=>q[X]===G[X]}return x(()=>P(Y).filter((X)=>P(J).findIndex((q)=>Q(X,q))===-1))}function ED($,Z){return x(()=>P($).every((Y,J,Q)=>Z(P(Y),J,Q)))}function VD($,Z){return x(()=>P($).map((Y)=>P(Y)).filter(Z))}function _D($,Z){return x(()=>P(P($).find((Y,J,Q)=>Z(P(Y),J,Q))))}function ND($,Z){return x(()=>P($).findIndex((Y,J,Q)=>Z(P(Y),J,Q)))}function RD($){return J$($)&&HY($,"formIndex","comparator")}function TD(...$){var Z;const Y=$[0],J=$[1];let Q=$[2],X=0;if(RD(Q))X=(Z=Q.fromIndex)!=null?Z:0,Q=Q.comparator;if(typeof Q==="string"){const q=Q;Q=(G,U)=>G[q]===P(U)}return Q=Q!=null?Q:(q,G)=>q===P(G),x(()=>P(Y).slice(X).some((q,G,U)=>Q(P(q),P(J),G,P(U))))}function xD($,Z){return x(()=>P($).map((Y)=>P(Y)).map(Z))}function CD($,Z,...Y){const J=(Q,X,q)=>Z(P(Q),P(X),q);return x(()=>{const Q=P($);return Y.length?Q.reduce(J,P(Y[0])):Q.reduce(J)})}function wD($,Z){return x(()=>P($).some((Y,J,Q)=>Z(P(Y),J,Q)))}function bD($){return Array.from(new Set($))}function SD($,Z){return $.reduce((Y,J)=>{if(!Y.some((Q)=>Z(J,Q,$)))Y.push(J);return Y},[])}function fD($,Z){return x(()=>{const Y=P($).map((J)=>P(J));return Z?SD(Y,Z):bD(Y)})}function hD($=0,Z={}){let Y=r0($);const J=F($),{max:Q=Number.POSITIVE_INFINITY,min:X=Number.NEGATIVE_INFINITY}=Z,q=(W=1)=>J.value=Math.max(Math.min(Q,J.value+W),X),G=(W=1)=>J.value=Math.min(Math.max(X,J.value-W),Q),U=()=>J.value,M=(W)=>J.value=Math.max(X,Math.min(Q,W));return{count:J,inc:q,dec:G,get:U,set:M,reset:(W=Y)=>{return Y=W,M(W)}}}function gD($,Z,Y,J){let Q=$<12?"AM":"PM";if(J)Q=Q.split("").reduce((X,q)=>X+=`${q}.`,"");return Y?Q.toLowerCase():Q}function o1($){const Z=["th","st","nd","rd"],Y=$%100;return $+(Z[(Y-20)%10]||Z[Y]||Z[0])}function mD($,Z,Y={}){var J;const Q=$.getFullYear(),X=$.getMonth(),q=$.getDate(),G=$.getHours(),U=$.getMinutes(),M=$.getSeconds(),B=$.getMilliseconds(),W=$.getDay(),D=(J=Y.customMeridiem)!=null?J:gD,K={Yo:()=>o1(Q),YY:()=>String(Q).slice(-2),YYYY:()=>Q,M:()=>X+1,Mo:()=>o1(X+1),MM:()=>`${X+1}`.padStart(2,"0"),MMM:()=>$.toLocaleDateString(P(Y.locales),{month:"short"}),MMMM:()=>$.toLocaleDateString(P(Y.locales),{month:"long"}),D:()=>String(q),Do:()=>o1(q),DD:()=>`${q}`.padStart(2,"0"),H:()=>String(G),Ho:()=>o1(G),HH:()=>`${G}`.padStart(2,"0"),h:()=>`${G%12||12}`.padStart(1,"0"),ho:()=>o1(G%12||12),hh:()=>`${G%12||12}`.padStart(2,"0"),m:()=>String(U),mo:()=>o1(U),mm:()=>`${U}`.padStart(2,"0"),s:()=>String(M),so:()=>o1(M),ss:()=>`${M}`.padStart(2,"0"),SSS:()=>`${B}`.padStart(3,"0"),d:()=>W,dd:()=>$.toLocaleDateString(P(Y.locales),{weekday:"narrow"}),ddd:()=>$.toLocaleDateString(P(Y.locales),{weekday:"short"}),dddd:()=>$.toLocaleDateString(P(Y.locales),{weekday:"long"}),A:()=>D(G,U),AA:()=>D(G,U,!1,!0),a:()=>D(G,U,!0),aa:()=>D(G,U,!0,!0)};return Z.replace(yD,(H,L)=>{var z,j;return(j=L!=null?L:(z=K[H])==null?void 0:z.call(K))!=null?j:H})}function vD($){if($===null)return new Date(Number.NaN);if($===void 0)return new Date;if($ instanceof Date)return new Date($);if(typeof $==="string"&&!/Z$/i.test($)){const Z=$.match(kD);if(Z){const Y=Z[2]-1||0,J=(Z[7]||"0").substring(0,3);return new Date(Z[1],Y,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,J)}}return new Date($)}function uD($,Z="HH:mm:ss",Y={}){return x(()=>mD(vD(P($)),P(Z),Y))}function A1($,Z=1000,Y={}){const{immediate:J=!0,immediateCallback:Q=!1}=Y;let X=null;const q=F(!1);function G(){if(X)clearInterval(X),X=null}function U(){q.value=!1,G()}function M(){const B=P(Z);if(B<=0)return;if(q.value=!0,Q)$();G(),X=setInterval($,B)}if(J&&V0)M();if(i(Z)||typeof Z==="function"){const B=y(Z,()=>{if(q.value&&V0)M()});s(B)}return s(U),{isActive:q,pause:U,resume:M}}function cD($=1000,Z={}){const{controls:Y=!1,immediate:J=!0,callback:Q}=Z,X=F(0),q=()=>X.value+=1,G=()=>{X.value=0},U=A1(Q?()=>{q(),Q(X.value)}:q,$,{immediate:J});if(Y)return{counter:X,reset:G,...U};else return X}function dD($,Z={}){var Y;const J=F((Y=Z.initialValue)!=null?Y:null);return y($,()=>J.value=t1(),Z),J}function Z9($,Z,Y={}){const{immediate:J=!0}=Y,Q=F(!1);let X=null;function q(){if(X)clearTimeout(X),X=null}function G(){Q.value=!1,q()}function U(...M){q(),Q.value=!0,X=setTimeout(()=>{Q.value=!1,X=null,$(...M)},P(Z))}if(J){if(Q.value=!0,V0)U()}return s(G),{isPending:Y0(Q),start:U,stop:G}}function lD($=1000,Z={}){const{controls:Y=!1,callback:J}=Z,Q=Z9(J!=null?J:X0,$,Z),X=x(()=>!Q.isPending.value);if(Y)return{ready:X,...Q};else return X}function pD($,Z={}){const{method:Y="parseFloat",radix:J,nanToZero:Q}=Z;return x(()=>{let X=P($);if(typeof X==="string")X=Number[Y](X,J);if(Q&&Number.isNaN(X))X=0;return X})}function rD($){return x(()=>`${P($)}`)}function iD($=!1,Z={}){const{truthyValue:Y=!0,falsyValue:J=!1}=Z,Q=i($),X=F($);function q(G){if(arguments.length)return X.value=G,X.value;else{const U=P(Y);return X.value=X.value===U?P(J):U,X.value}}if(Q)return q;else return[X,q]}function sD($,Z,Y){let J=(Y==null?void 0:Y.immediate)?[]:[...$ instanceof Function?$():Array.isArray($)?$:P($)];return y($,(Q,X,q)=>{const G=Array.from({length:J.length}),U=[];for(let B of Q){let W=!1;for(let D=0;D<J.length;D++)if(!G[D]&&B===J[D]){G[D]=!0,W=!0;break}if(!W)U.push(B)}const M=J.filter((B,W)=>!G[W]);Z(Q,J,U,M,q),J=[...Q]},Y)}function aD($,Z,Y){const{count:J,...Q}=Y,X=F(0),q=$9($,(...G)=>{if(X.value+=1,X.value>=P(J))E0(()=>q());Z(...G)},Q);return{count:X,stop:q}}function n5($,Z,Y={}){const{debounce:J=0,maxWait:Q=void 0,...X}=Y;return $9($,Z,{...X,eventFilter:rZ(J,{maxWait:Q})})}function oD($,Z,Y){return y($,Z,{...Y,deep:!0})}function Y9($,Z,Y={}){const{eventFilter:J=Q$,...Q}=Y,X=e1(J,Z);let q,G,U;if(Q.flush==="sync"){const M=F(!1);G=()=>{},q=(B)=>{M.value=!0,B(),M.value=!1},U=y($,(...B)=>{if(!M.value)X(...B)},Q)}else{const M=[],B=F(0),W=F(0);G=()=>{B.value=W.value},M.push(y($,()=>{W.value++},{...Q,flush:"sync"})),q=(D)=>{const K=W.value;D(),B.value+=W.value-K},M.push(y($,(...D)=>{const K=B.value>0&&B.value===W.value;if(B.value=0,W.value=0,K)return;X(...D)},Q)),U=()=>{M.forEach((D)=>D())}}return{stop:U,ignoreUpdates:q,ignorePrevAsyncUpdates:G}}function nD($,Z,Y){return y($,Z,{...Y,immediate:!0})}function tD($,Z,Y){const J=y($,(...Q)=>{return E0(()=>J()),Z(...Q)},Y);return J}function t5($,Z,Y={}){const{throttle:J=0,trailing:Q=!0,leading:X=!0,...q}=Y;return $9($,Z,{...q,eventFilter:X$(J,Q,X)})}function eD($,Z,Y={}){let J;function Q(){if(!J)return;const B=J;J=void 0,B()}function X(B){J=B}const q=(B,W)=>{return Q(),Z(B,W,X)},G=Y9($,q,Y),{ignoreUpdates:U}=G;return{...G,trigger:()=>{let B;return U(()=>{B=q($K($),ZK($))}),B}}}function $K($){if(B1($))return $;if(Array.isArray($))return $.map((Z)=>P(Z));return P($)}function ZK($){return Array.isArray($)?$.map(()=>{return}):void 0}function FY($,Z,Y){const J=y($,(Q,X,q)=>{if(Q){if(Y==null?void 0:Y.once)E0(()=>J());Z(Q,X,q)}},{...Y,once:!1});return J}var A9=new WeakMap,h5=(...$)=>{var Z;const Y=$[0],J=(Z=y0())==null?void 0:Z.proxy;if(J==null)throw new Error("injectLocal must be called in setup");if(A9.has(J)&&Y in A9.get(J))return A9.get(J)[Y];return O1(...$)},k5=($,Z)=>{var Y;const J=(Y=y0())==null?void 0:Y.proxy;if(J==null)throw new Error("provideLocal must be called in setup");if(!A9.has(J))A9.set(J,Object.create(null));const Q=A9.get(J);Q[$]=Z,W5($,Z)},UD=P;var V0=typeof window!=="undefined"&&typeof document!=="undefined",m5=typeof WorkerGlobalScope!=="undefined"&&globalThis instanceof WorkerGlobalScope,v5=($)=>typeof $!=="undefined",MY=($)=>$!=null;var MD=Object.prototype.toString,J$=($)=>MD.call($)==="[object Object]";var t1=()=>+Date.now(),b1=($,Z,Y)=>Math.min(Y,Math.max(Z,$)),X0=()=>{};var DY=($,Z)=>Object.prototype.hasOwnProperty.call($,Z),pZ=DD(),Q$=($)=>{return $()},KD=/\B([A-Z])/g,NI=u5(($)=>$.replace(KD,"-$1").toLowerCase()),HD=/-(\w)/g,c5=u5(($)=>{return $.replace(HD,(Z,Y)=>Y?Y.toUpperCase():"")}),LD=F0,OD=o5,kD=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,yD=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function e5($,Z,Y){return(J)=>{return x(()=>Y(P(J),P($),P(Z)))}}function YK($,Z,Y){return($-Z[0])/(Z[1]-Z[0])*(Y[1]-Y[0])+Y[0]}function $7($,Z,Y=YK){return e5($,Z,Y)}function JK(...$){return x(()=>$.every((Z)=>P(Z)))}function QK($){return x(()=>!P($))}function Z7(...$){return x(()=>$.some((Z)=>P(Z)))}function XK($){return x(()=>Math.abs(P($)))}function nZ($){return $.flatMap((Z)=>{const Y=P(Z);if(Array.isArray(Y))return Y.map((J)=>P(J));return[Y]})}function qK(...$){return x(()=>{const Z=nZ($);return Z.reduce((Y,J)=>Y+=J,0)/Z.length})}function GK($){return x(()=>Math.ceil(P($)))}function UK($,Z,Y){if(typeof $==="function"||T0($))return x(()=>b1(P($),P(Z),P(Y)));const J=F($);return x({get(){return J.value=b1(J.value,P(Z),P(Y))},set(Q){J.value=b1(Q,P(Z),P(Y))}})}function WK($){return x(()=>Math.floor(P($)))}function BK($,...Z){return Y$(Math[$])(...Z)}function MK(...$){return x(()=>{const Z=nZ($);return Math.max(...Z)})}function DK(...$){return x(()=>{const Z=nZ($);return Math.min(...Z)})}function KK($,Z){const Y=$.toString();if($>0&&Y.includes(".")){const Q=10**Y.split(".")[1].length;return $*Q*Z/Q}else return $*Z}function HK($,Z,Y){return x(()=>{var J;const Q=P($),q=10**P(Z);return Math[((J=P(Y))==null?void 0:J.math)||"round"](KK(Q,q))/q})}function LK($,Z,Y,J){return $7(Z,Y,J)($)}function jK($){return x(()=>Math.round(P($)))}function zK(...$){return x(()=>nZ($).reduce((Z,Y)=>Z+=Y,0))}function OK($){return x(()=>Math.trunc(P($)))}var wI=($,Z,Y)=>Math.min(Y,Math.max(Z,$));function hI($){let Z;function Y(){if(!Z)Z=$();return Z}return Y.reset=async()=>{const J=Z;if(Z=void 0,J)await J},Y}function kI(){let $=Promise.resolve();const Z=[];return{async run(Y){const Q=(async()=>{return await $,Y()})();return Z.push(Q),$=Q.catch(()=>{}).finally(()=>{const X=Z.indexOf(Q);if(X>-1)Z.splice(X,1)}),Q},async wait(){while(Z.length>0)await Promise.all(Z)},isWaiting(){return Z.length>0},clear(){Z.length=0,$=Promise.resolve()}}}function yI(){let $,Z;const Y=new Promise((J,Q)=>{$=J,Z=Q});return Y.resolve=$,Y.reject=Z,Y}function S1($){const Z=$.toString();return FK.test(Z)?Z:`(?:${Z})`}function l($){const Z=(Y)=>l(`(?<${Y}>${`${$}`.replace(AK,"$1$2")})`);return{toString:()=>$.toString(),and:Object.assign((...Y)=>l(`${$}${X1(...Y)}`),{referenceTo:(Y)=>l(`${$}\\k<${Y}>`)}),or:(...Y)=>l(`(?:${$}|${X1(...Y)})`),after:(...Y)=>l(`(?<=${X1(...Y)})${$}`),before:(...Y)=>l(`${$}(?=${X1(...Y)})`),notAfter:(...Y)=>l(`(?<!${X1(...Y)})${$}`),notBefore:(...Y)=>l(`${$}(?!${X1(...Y)})`),times:Object.assign((Y)=>l(`${S1($)}{${Y}}`),{any:()=>l(`${S1($)}*`),atLeast:(Y)=>l(`${S1($)}{${Y},}`),atMost:(Y)=>l(`${S1($)}{0,${Y}}`),between:(Y,J)=>l(`${S1($)}{${Y},${J}}`)}),optionally:()=>l(`${S1($)}?`),as:Z,groupedAs:Z,grouped:()=>l(`${$}`.replace(PK,"($1$3)$2")),at:{lineStart:()=>l(`^${$}`),lineEnd:()=>l(`${$}\$`)}}}function Y7($){return l(`[${$.replace(/[-\\^\]]/g,"\\$&")}]`)}function J7($){return l(`[^${$.replace(/[-\\^\]]/g,"\\$&")}]`)}function Q7(...$){return l(`(?:${$.map((Z)=>X1(Z)).join("|")})`)}function j7(...$){return l(`${S1(X1(...$))}?`)}function X1(...$){return l($.map((Z)=>typeof Z==="string"?Z.replace(IK,"\\$&"):Z).join(""))}function z7(...$){return l(`${S1(X1(...$))}+`)}var FK=/^(\(.*\)|\\?.)$/,AK=/^(?:\(\?:(.+)\)|(\(?.+\)?))$/,PK=/^(?:\(\?:(.+)\)([?+*]|{[\d,]+})?|(.+))$/,IK=/[.*+?^${}()|[\]\\/]/g,X7=l("."),q7=l("\\b\\w+\\b"),G7=l("\\w"),U7=l("\\b"),W7=l("\\d"),B7=l("\\s"),M7=Object.assign(l("[a-zA-Z]"),{lowercase:l("[a-z]"),uppercase:l("[A-Z]")}),D7=l("\\t"),K7=l("\\n"),H7=l("\\r"),L7={word:l("\\W+"),wordChar:l("\\W"),wordBoundary:l("\\B"),digit:l("\\D"),whitespace:l("\\S"),letter:Object.assign(l("[^a-zA-Z]"),{lowercase:l("[^a-z]"),uppercase:l("[^A-Z]")}),tab:l("[^\\t]"),linefeed:l("[^\\n]"),carriageReturn:l("[^\\r]")},O7="d",F7="i",A7="g",P7="m",I7="s",E7="u",V7="y";function dI($,Z={}){return new RegExp($,Z.flags)}function rI($,Z){const{retries:Y=3,initialDelay:J=1000,backoffFactor:Q=2,jitter:X=!0}=Z;return new Promise((q,G)=>{let U=0;const M=async()=>{try{q(await $())}catch(B){if(U>=Y)G(B);else{const W=EK(U,J,Q,X);setTimeout(()=>M(),W),U++}}};M()})}function EK($,Z,Y,J){let Q=Z*Y**$;if(J){const X=Math.random(),q=Q*0.3;Q=Q+q*(X-0.5)*2}return Q}function sI($){if($<0||!Number.isInteger($))throw new Error("sleep() requires a non-negative integer");return new Promise((Z)=>setTimeout(Z,$))}function aI($){if($<0||!Number.isInteger($))throw new Error("wait() requires a non-negative integer");return new Promise((Z)=>setTimeout(Z,$))}function oI($){if($<0||!Number.isInteger($))throw new Error("delay() requires a non-negative integer");return new Promise((Z)=>setTimeout(Z,$))}function nI($,Z={}){return new Promise((Y)=>{const{interval:J,timeout:Q}=VK(Z);if($()){Y();return}const X=()=>{if($())Y();else setTimeout(X,J)};if(Q)setTimeout(Y,Q);X()})}function VK($){if(typeof $==="number")return{interval:100,timeout:$};return{interval:$.interval??100,timeout:$.timeout??0}}function tI($,Z={}){return new Promise((Y)=>{const{interval:J=100,timeout:Q=0}=Z;if(!$()){Y();return}const X=()=>{if(!$())Y();else setTimeout(X,J)};if(Q)setTimeout(Y,Q);X()})}function $E($,Z=300){let Y,J,Q;return function(...X){if(!Y)$.apply(this,X),Q=Date.now(),Y=!0;else clearTimeout(J),J=setTimeout(()=>{if(Date.now()-Q>=Z)$.apply(this,X),Q=Date.now()},Math.max(Z-(Date.now()-Q),0))}}function k7($,Z,Y){let J;if(i(Y))J={evaluating:Y};else J=Y||{};const{lazy:Q=!1,evaluating:X=void 0,shallow:q=!0,onError:G=X0}=J,U=F(!Q),M=q?n(Z):F(Z);let B=0;if(Y1(async(W)=>{if(!U.value)return;B++;const D=B;let K=!1;if(X)Promise.resolve().then(()=>{X.value=!0});try{const H=await $((L)=>{W(()=>{if(X)X.value=!1;if(!K)L()})});if(D===B)M.value=H}catch(H){G(H)}finally{if(X&&D===B)X.value=!1;K=!0}}),Q)return x(()=>{return U.value=!0,M.value});else return M}function _K($,Z,Y,J){let Q=O1($);if(Y)Q=O1($,Y);if(J)Q=O1($,Y,J);if(typeof Z==="function")return x((X)=>Z(Q,X));else return x({get:(X)=>Z.get(Q,X),set:Z.set})}function NK($={}){if(!$$&&!F9.startsWith("2.7."))throw new Error("[VueUse] createReusableTemplate only works in Vue 2.7 or above.");const{inheritAttrs:Z=!0}=$,Y=n(),J=r1({setup(X,{slots:q}){return()=>{Y.value=q.default}}}),Q=r1({inheritAttrs:Z,setup(X,{attrs:q,slots:G}){return()=>{var U;if(!Y.value)throw new Error("[VueUse] Failed to find the definition of reusable template");const M=(U=Y.value)==null?void 0:U.call(Y,{...RK(q),$slots:G});return Z&&(M==null?void 0:M.length)===1?M[0]:M}}});return WY({define:J,reuse:Q},[J,Q])}function RK($){const Z={};for(let Y in $)Z[c5(Y)]=$[Y];return Z}function TK($={}){if(!$$)throw new Error("[VueUse] createTemplatePromise only works in Vue 3 or above.");let Z=0;const Y=F([]);function J(...q){const G=R1({key:Z++,args:q,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:$});return Y.value.push(G),G.promise=new Promise((U,M)=>{G.resolve=(B)=>{return G.isResolving=!0,U(B)},G.reject=M}).finally(()=>{G.promise=void 0;const U=Y.value.indexOf(G);if(U!==-1)Y.value.splice(U,1)}),G.promise}function Q(...q){if($.singleton&&Y.value.length>0)return Y.value[0].promise;return J(...q)}const X=r1((q,{slots:G})=>{const U=()=>Y.value.map((M)=>{var B;return uZ(s1,{key:M.key},(B=G.default)==null?void 0:B.call(G,M))});if($.transition)return()=>uZ(S5,$.transition,U);return U});return X.start=Q,X}function xK($){return function(...Z){return $.apply(this,Z.map((Y)=>P(Y)))}}function a($){var Z;const Y=P($);return(Z=Y==null?void 0:Y.$el)!=null?Z:Y}function S(...$){let Z,Y,J,Q;if(typeof $[0]==="string"||Array.isArray($[0]))[Y,J,Q]=$,Z=c;else[Z,Y,J,Q]=$;if(!Z)return X0;if(!Array.isArray(Y))Y=[Y];if(!Array.isArray(J))J=[J];const X=[],q=()=>{X.forEach((B)=>B()),X.length=0},G=(B,W,D,K)=>{return B.addEventListener(W,D,K),()=>B.removeEventListener(W,D,K)},U=y(()=>[a(Z),P(Q)],([B,W])=>{if(q(),!B)return;const D=J$(W)?{...W}:W;X.push(...Y.flatMap((K)=>{return J.map((H)=>G(B,K,H,D))}))},{immediate:!0,flush:"post"}),M=()=>{U(),q()};return s(M),M}function wK($,Z,Y={}){const{window:J=c,ignore:Q=[],capture:X=!0,detectIframe:q=!1}=Y;if(!J)return X0;if(pZ&&!_7)_7=!0,Array.from(J.document.body.children).forEach((K)=>K.addEventListener("click",X0)),J.document.documentElement.addEventListener("click",X0);let G=!0;const U=(K)=>{return P(Q).some((H)=>{if(typeof H==="string")return Array.from(J.document.querySelectorAll(H)).some((L)=>L===K.target||K.composedPath().includes(L));else{const L=a(H);return L&&(K.target===L||K.composedPath().includes(L))}})},M=(K)=>{const H=a($);if(!H||H===K.target||K.composedPath().includes(H))return;if(K.detail===0)G=!U(K);if(!G){G=!0;return}Z(K)};let B=!1;const W=[S(J,"click",(K)=>{if(!B)B=!0,setTimeout(()=>{B=!1},0),M(K)},{passive:!0,capture:X}),S(J,"pointerdown",(K)=>{const H=a($);G=!U(K)&&!!(H&&!K.composedPath().includes(H))},{passive:!0}),q&&S(J,"blur",(K)=>{setTimeout(()=>{var H;const L=a($);if(((H=J.document.activeElement)==null?void 0:H.tagName)==="IFRAME"&&!(L==null?void 0:L.contains(J.document.activeElement)))Z(K)},0)})].filter(Boolean);return()=>W.forEach((K)=>K())}function bK($){if(typeof $==="function")return $;else if(typeof $==="string")return(Z)=>Z.key===$;else if(Array.isArray($))return(Z)=>$.includes(Z.key);return()=>!0}function X6(...$){let Z,Y,J={};if($.length===3)Z=$[0],Y=$[1],J=$[2];else if($.length===2)if(typeof $[1]==="object")Z=!0,Y=$[0],J=$[1];else Z=$[0],Y=$[1];else Z=!0,Y=$[0];const{target:Q=c,eventName:X="keydown",passive:q=!1,dedupe:G=!1}=J,U=bK(Z);return S(Q,X,(B)=>{if(B.repeat&&P(G))return;if(U(B))Y(B)},q)}function SK($,Z,Y={}){return X6($,Z,{...Y,eventName:"keydown"})}function fK($,Z,Y={}){return X6($,Z,{...Y,eventName:"keypress"})}function hK($,Z,Y={}){return X6($,Z,{...Y,eventName:"keyup"})}function gK($,Z,Y){var J,Q;const X=x(()=>a($));let q,G,U,M=!1;function B(){if(q)clearTimeout(q),q=void 0;G=void 0,U=void 0,M=!1}function W(j){var O,A,N;const[I,h,R]=[U,G,M];if(B(),!(Y==null?void 0:Y.onMouseUp)||!h||!I)return;if(((O=Y==null?void 0:Y.modifiers)==null?void 0:O.self)&&j.target!==X.value)return;if((A=Y==null?void 0:Y.modifiers)==null?void 0:A.prevent)j.preventDefault();if((N=Y==null?void 0:Y.modifiers)==null?void 0:N.stop)j.stopPropagation();const C=j.x-h.x,_=j.y-h.y,E=Math.sqrt(C*C+_*_);Y.onMouseUp(j.timeStamp-I,E,R)}function D(j){var O,A,N,I;if(((O=Y==null?void 0:Y.modifiers)==null?void 0:O.self)&&j.target!==X.value)return;if(B(),(A=Y==null?void 0:Y.modifiers)==null?void 0:A.prevent)j.preventDefault();if((N=Y==null?void 0:Y.modifiers)==null?void 0:N.stop)j.stopPropagation();G={x:j.x,y:j.y},U=j.timeStamp,q=setTimeout(()=>{M=!0,Z(j)},(I=Y==null?void 0:Y.delay)!=null?I:kK)}function K(j){var O,A,N,I;if(((O=Y==null?void 0:Y.modifiers)==null?void 0:O.self)&&j.target!==X.value)return;if(!G||(Y==null?void 0:Y.distanceThreshold)===!1)return;if((A=Y==null?void 0:Y.modifiers)==null?void 0:A.prevent)j.preventDefault();if((N=Y==null?void 0:Y.modifiers)==null?void 0:N.stop)j.stopPropagation();const h=j.x-G.x,R=j.y-G.y;if(Math.sqrt(h*h+R*R)>=((I=Y==null?void 0:Y.distanceThreshold)!=null?I:yK))B()}const H={capture:(J=Y==null?void 0:Y.modifiers)==null?void 0:J.capture,once:(Q=Y==null?void 0:Y.modifiers)==null?void 0:Q.once},L=[S(X,"pointerdown",D,H),S(X,"pointermove",K,H),S(X,["pointerup","pointerleave"],W,H)];return()=>L.forEach((j)=>j())}function mK(){const{activeElement:$,body:Z}=document;if(!$)return!1;if($===Z)return!1;switch($.tagName){case"INPUT":case"TEXTAREA":return!0}return $.hasAttribute("contenteditable")}function vK({keyCode:$,metaKey:Z,ctrlKey:Y,altKey:J}){if(Z||Y||J)return!1;if($>=48&&$<=57)return!0;if($>=65&&$<=90)return!0;if($>=97&&$<=122)return!0;return!1}function uK($,Z={}){const{document:Y=g0}=Z,J=(Q)=>{if(!mK()&&vK(Q))$(Q)};if(Y)S(Y,"keydown",J,{passive:!0})}function cK($,Z=null){const Y=y0();let J=()=>{};const Q=M1((X,q)=>{return J=q,{get(){var G,U;return X(),(U=(G=Y==null?void 0:Y.proxy)==null?void 0:G.$refs[$])!=null?U:Z},set(){}}});return P0(J),a9(J),Q}function y7(){const $=F(!1),Z=y0();if(Z)x1(()=>{$.value=!0},e9?void 0:Z);return $}function t($){const Z=y7();return x(()=>{return Z.value,Boolean($())})}function E9($,Z,Y={}){const{window:J=c,...Q}=Y;let X;const q=t(()=>J&&("MutationObserver"in J)),G=()=>{if(X)X.disconnect(),X=void 0},U=x(()=>{const D=P($),K=(Array.isArray(D)?D:[D]).map(a).filter(MY);return new Set(K)}),M=y(()=>U.value,(D)=>{if(G(),q.value&&D.size)X=new MutationObserver(Z),D.forEach((K)=>X.observe(K,Q))},{immediate:!0,flush:"post"}),B=()=>{return X==null?void 0:X.takeRecords()},W=()=>{M(),G()};return s(W),{isSupported:q,stop:W,takeRecords:B}}function g7($={}){var Z;const{window:Y=c,deep:J=!0,triggerOnRemoval:Q=!1}=$,X=(Z=$.document)!=null?Z:Y==null?void 0:Y.document,q=()=>{var M;let B=X==null?void 0:X.activeElement;if(J)while(B==null?void 0:B.shadowRoot)B=(M=B==null?void 0:B.shadowRoot)==null?void 0:M.activeElement;return B},G=F(),U=()=>{G.value=q()};if(Y)S(Y,"blur",(M)=>{if(M.relatedTarget!==null)return;U()},!0),S(Y,"focus",U,!0);if(Q)E9(X,(M)=>{M.filter((B)=>B.removedNodes.length).map((B)=>Array.from(B.removedNodes)).flat().forEach((B)=>{if(B===G.value)U()})},{childList:!0,subtree:!0});return U(),G}function J9($,Z={}){const{immediate:Y=!0,fpsLimit:J=void 0,window:Q=c}=Z,X=F(!1),q=J?1000/J:null;let G=0,U=null;function M(D){if(!X.value||!Q)return;if(!G)G=D;const K=D-G;if(q&&K<q){U=Q.requestAnimationFrame(M);return}G=D,$({delta:K,timestamp:D}),U=Q.requestAnimationFrame(M)}function B(){if(!X.value&&Q)X.value=!0,G=0,U=Q.requestAnimationFrame(M)}function W(){if(X.value=!1,U!=null&&Q)Q.cancelAnimationFrame(U),U=null}if(Y)B();return s(W),{isActive:Y0(X),pause:W,resume:B}}function dK($,Z,Y){let J,Q;if(J$(Y))J=Y,Q=i5(Y,["window","immediate","commitStyles","persist","onReady","onError"]);else J={duration:Y},Q=Y;const{window:X=c,immediate:q=!0,commitStyles:G,persist:U,playbackRate:M=1,onReady:B,onError:W=(w)=>{console.error(w)}}=J,D=t(()=>X&&HTMLElement&&("animate"in HTMLElement.prototype)),K=n(void 0),H=R1({startTime:null,currentTime:null,timeline:null,playbackRate:M,pending:!1,playState:q?"idle":"paused",replaceState:"active"}),L=x(()=>H.pending),z=x(()=>H.playState),j=x(()=>H.replaceState),O=x({get(){return H.startTime},set(w){if(H.startTime=w,K.value)K.value.startTime=w}}),A=x({get(){return H.currentTime},set(w){if(H.currentTime=w,K.value)K.value.currentTime=w,f()}}),N=x({get(){return H.timeline},set(w){if(H.timeline=w,K.value)K.value.timeline=w}}),I=x({get(){return H.playbackRate},set(w){if(H.playbackRate=w,K.value)K.value.playbackRate=w}}),h=()=>{if(K.value)try{K.value.play(),f()}catch(w){k(),W(w)}else b()},R=()=>{var w;try{(w=K.value)==null||w.pause(),k()}catch(g){W(g)}},C=()=>{var w;if(!K.value)b();try{(w=K.value)==null||w.reverse(),f()}catch(g){k(),W(g)}},_=()=>{var w;try{(w=K.value)==null||w.finish(),k()}catch(g){W(g)}},E=()=>{var w;try{(w=K.value)==null||w.cancel(),k()}catch(g){W(g)}};y(()=>a($),(w)=>{if(w)b()}),y(()=>Z,(w)=>{if(K.value)b();if(!a($)&&K.value)K.value.effect=new KeyframeEffect(a($),P(w),Q)},{deep:!0}),P0(()=>b(!0),!1),s(E);function b(w){const g=a($);if(!D.value||!g)return;if(!K.value)K.value=g.animate(P(Z),Q);if(U)K.value.persist();if(M!==1)K.value.playbackRate=M;if(w&&!q)K.value.pause();else f();B==null||B(K.value)}S(K,["cancel","finish","remove"],k),S(K,"finish",()=>{var w;if(G)(w=K.value)==null||w.commitStyles()});const{resume:V,pause:T}=J9(()=>{if(!K.value)return;H.pending=K.value.pending,H.playState=K.value.playState,H.replaceState=K.value.replaceState,H.startTime=K.value.startTime,H.currentTime=K.value.currentTime,H.timeline=K.value.timeline,H.playbackRate=K.value.playbackRate},{immediate:!1});function f(){if(D.value)V()}function k(){if(D.value&&X)X.requestAnimationFrame(T)}return{isSupported:D,animate:K,play:h,pause:R,reverse:C,finish:_,cancel:E,pending:L,playState:z,replaceState:j,startTime:O,currentTime:A,timeline:N,playbackRate:I}}function lK($,Z){const{interrupt:Y=!0,onError:J=X0,onFinished:Q=X0,signal:X}=Z||{},q={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},G=Array.from(Array.from({length:$.length}),()=>({state:q.pending,data:null})),U=G0(G),M=F(-1);if(!$||$.length===0)return Q(),{activeIndex:M,result:U};function B(W,D){M.value++,U[M.value].data=D,U[M.value].state=W}return $.reduce((W,D)=>{return W.then((K)=>{var H;if(X==null?void 0:X.aborted){B(q.aborted,new Error("aborted"));return}if(((H=U[M.value])==null?void 0:H.state)===q.rejected&&Y){Q();return}const L=D(K).then((z)=>{if(B(q.fulfilled,z),M.value===$.length-1)Q();return z});if(!X)return L;return Promise.race([L,pK(X)])}).catch((K)=>{if(X==null?void 0:X.aborted)return B(q.aborted,K),K;return B(q.rejected,K),J(),K})},Promise.resolve()),{activeIndex:M,result:U}}function pK($){return new Promise((Z,Y)=>{const J=new Error("aborted");if($.aborted)Y(J);else $.addEventListener("abort",()=>Y(J),{once:!0})})}function m7($,Z,Y){const{immediate:J=!0,delay:Q=0,onError:X=X0,onSuccess:q=X0,resetOnExecute:G=!0,shallow:U=!0,throwError:M}=Y!=null?Y:{},B=U?n(Z):F(Z),W=F(!1),D=F(!1),K=n(void 0);async function H(j=0,...O){if(G)B.value=Z;if(K.value=void 0,W.value=!1,D.value=!0,j>0)await Z$(j);const A=typeof $==="function"?$(...O):$;try{const N=await A;B.value=N,W.value=!0,q(N)}catch(N){if(K.value=N,X(N),M)throw N}finally{D.value=!1}return B.value}if(J)H(Q);const L={state:B,isReady:W,isLoading:D,error:K,execute:H};function z(){return new Promise((j,O)=>{P9(D).toBe(!1).then(()=>j(L)).catch(O)})}return{...L,then(j,O){return z().then(j,O)}}}function rK($){if(!$)return G$.null;if($ instanceof Map)return G$.map;else if($ instanceof Set)return G$.set;else if(Array.isArray($))return G$.array;else return G$.object}function iK($,Z){const Y=F(""),J=F();function Q(){if(!V0)return;return J.value=new Promise((X,q)=>{try{const G=P($);if(G==null)X("");else if(typeof G==="string")X(AY(new Blob([G],{type:"text/plain"})));else if(G instanceof Blob)X(AY(G));else if(G instanceof ArrayBuffer)X(window.btoa(String.fromCharCode(...new Uint8Array(G))));else if(G instanceof HTMLCanvasElement)X(G.toDataURL(Z==null?void 0:Z.type,Z==null?void 0:Z.quality));else if(G instanceof HTMLImageElement){const U=G.cloneNode(!1);U.crossOrigin="Anonymous",sK(U).then(()=>{const M=document.createElement("canvas"),B=M.getContext("2d");M.width=U.width,M.height=U.height,B.drawImage(U,0,0,M.width,M.height),X(M.toDataURL(Z==null?void 0:Z.type,Z==null?void 0:Z.quality))}).catch(q)}else if(typeof G==="object"){const M=((Z==null?void 0:Z.serializer)||rK(G))(G);return X(AY(new Blob([M],{type:"application/json"})))}else q(new Error("target is unsupported types"))}catch(G){q(G)}}),J.value.then((X)=>Y.value=X),J.value}if(i($)||typeof $==="function")y($,Q,{immediate:!0});else Q();return{base64:Y,promise:J,execute:Q}}function sK($){return new Promise((Z,Y)=>{if(!$.complete)$.onload=()=>{Z()},$.onerror=Y;else Z()})}function AY($){return new Promise((Z,Y)=>{const J=new FileReader;J.onload=(Q)=>{Z(Q.target.result)},J.onerror=Y,J.readAsDataURL($)})}function aK($={}){const{navigator:Z=s0}=$,Y=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],J=t(()=>Z&&("getBattery"in Z)&&typeof Z.getBattery==="function"),Q=F(!1),X=F(0),q=F(0),G=F(1);let U;function M(){Q.value=this.charging,X.value=this.chargingTime||0,q.value=this.dischargingTime||0,G.value=this.level}if(J.value)Z.getBattery().then((B)=>{U=B,M.call(U),S(U,Y,M,{passive:!0})});return{isSupported:J,charging:Q,chargingTime:X,dischargingTime:q,level:G}}function oK($){let{acceptAllDevices:Z=!1}=$||{};const{filters:Y=void 0,optionalServices:J=void 0,navigator:Q=s0}=$||{},X=t(()=>Q&&("bluetooth"in Q)),q=n(void 0),G=n(null);y(q,()=>{W()});async function U(){if(!X.value)return;if(G.value=null,Y&&Y.length>0)Z=!1;try{q.value=await(Q==null?void 0:Q.bluetooth.requestDevice({acceptAllDevices:Z,filters:Y,optionalServices:J}))}catch(D){G.value=D}}const M=F(),B=x(()=>{var D;return((D=M.value)==null?void 0:D.connected)||!1});async function W(){if(G.value=null,q.value&&q.value.gatt){q.value.addEventListener("gattserverdisconnected",()=>{});try{M.value=await q.value.gatt.connect()}catch(D){G.value=D}}}return P0(()=>{var D;if(q.value)(D=q.value.gatt)==null||D.connect()}),s(()=>{var D;if(q.value)(D=q.value.gatt)==null||D.disconnect()}),{isSupported:X,isConnected:B,device:q,requestDevice:U,server:M,error:G}}function i0($,Z={}){const{window:Y=c}=Z,J=t(()=>Y&&("matchMedia"in Y)&&typeof Y.matchMedia==="function");let Q;const X=F(!1),q=(M)=>{X.value=M.matches},G=()=>{if(!Q)return;if("removeEventListener"in Q)Q.removeEventListener("change",q);else Q.removeListener(q)},U=Y1(()=>{if(!J.value)return;if(G(),Q=Y.matchMedia(P($)),"addEventListener"in Q)Q.addEventListener("change",q);else Q.addListener(q);X.value=Q.matches});return s(()=>{U(),G(),Q=void 0}),X}function XH($,Z={}){function Y(B,W){let D=P($[P(B)]);if(W!=null)D=p5(D,W);if(typeof D==="number")D=`${D}px`;return D}const{window:J=c,strategy:Q="min-width"}=Z;function X(B){if(!J)return!1;return J.matchMedia(B).matches}const q=(B)=>{return i0(()=>`(min-width: ${Y(B)})`,Z)},G=(B)=>{return i0(()=>`(max-width: ${Y(B)})`,Z)},U=Object.keys($).reduce((B,W)=>{return Object.defineProperty(B,W,{get:()=>Q==="min-width"?q(W):G(W),enumerable:!0,configurable:!0}),B},{});function M(){const B=Object.keys($).map((W)=>[W,q(W)]);return x(()=>B.filter(([,W])=>W.value).map(([W])=>W))}return Object.assign(U,{greaterOrEqual:q,smallerOrEqual:G,greater(B){return i0(()=>`(min-width: ${Y(B,0.1)})`,Z)},smaller(B){return i0(()=>`(max-width: ${Y(B,-0.1)})`,Z)},between(B,W){return i0(()=>`(min-width: ${Y(B)}) and (max-width: ${Y(W,-0.1)})`,Z)},isGreater(B){return X(`(min-width: ${Y(B,0.1)})`)},isGreaterOrEqual(B){return X(`(min-width: ${Y(B)})`)},isSmaller(B){return X(`(max-width: ${Y(B,-0.1)})`)},isSmallerOrEqual(B){return X(`(max-width: ${Y(B)})`)},isInBetween(B,W){return X(`(min-width: ${Y(B)}) and (max-width: ${Y(W,-0.1)})`)},current:M,active(){const B=M();return x(()=>B.value.length===0?"":B.value.at(-1))}})}function qH($){const{name:Z,window:Y=c}=$,J=t(()=>Y&&("BroadcastChannel"in Y)),Q=F(!1),X=F(),q=F(),G=n(null),U=(B)=>{if(X.value)X.value.postMessage(B)},M=()=>{if(X.value)X.value.close();Q.value=!0};if(J.value)P0(()=>{G.value=null,X.value=new BroadcastChannel(Z),X.value.addEventListener("message",(B)=>{q.value=B.data},{passive:!0}),X.value.addEventListener("messageerror",(B)=>{G.value=B},{passive:!0}),X.value.addEventListener("close",()=>{Q.value=!0})});return s(()=>{M()}),{isSupported:J,channel:X,data:q,post:U,close:M,error:G,isClosed:Q}}function GH($={}){const{window:Z=c}=$,Y=Object.fromEntries(N7.map((X)=>[X,F()]));for(let[X,q]of s5(Y))y(q,(G)=>{if(!(Z==null?void 0:Z.location)||Z.location[X]===G)return;Z.location[X]=G});const J=(X)=>{var q;const{state:G,length:U}=(Z==null?void 0:Z.history)||{},{origin:M}=(Z==null?void 0:Z.location)||{};for(let B of N7)Y[B].value=(q=Z==null?void 0:Z.location)==null?void 0:q[B];return G0({trigger:X,state:G,length:U,origin:M,...Y})},Q=F(J("load"));if(Z)S(Z,"popstate",()=>Q.value=J("popstate"),{passive:!0}),S(Z,"hashchange",()=>Q.value=J("hashchange"),{passive:!0});return Q}function UH($,Z=(J,Q)=>J===Q,Y){const J=F($.value);return y(()=>$.value,(Q)=>{if(!Z(Q,J.value))J.value=Q},Y),J}function J6($,Z={}){const{controls:Y=!1,navigator:J=s0}=Z,Q=t(()=>J&&("permissions"in J)),X=n(),q=typeof $==="string"?{name:$}:$,G=n(),U=()=>{var B,W;G.value=(W=(B=X.value)==null?void 0:B.state)!=null?W:"prompt"};S(X,"change",U);const M=l5(async()=>{if(!Q.value)return;if(!X.value)try{X.value=await J.permissions.query(q)}catch(B){X.value=void 0}finally{U()}if(Y)return r(X.value)});if(M(),Y)return{state:G,isSupported:Q,query:M};else return G}function WH($={}){const{navigator:Z=s0,read:Y=!1,source:J,copiedDuring:Q=1500,legacy:X=!1}=$,q=t(()=>Z&&("clipboard"in Z)),G=J6("clipboard-read"),U=J6("clipboard-write"),M=x(()=>q.value||X),B=F(""),W=F(!1),D=Z9(()=>W.value=!1,Q);function K(){if(q.value&&j(G.value))Z.clipboard.readText().then((O)=>{B.value=O});else B.value=z()}if(M.value&&Y)S(["copy","cut"],K);async function H(O=P(J)){if(M.value&&O!=null){if(q.value&&j(U.value))await Z.clipboard.writeText(O);else L(O);B.value=O,W.value=!0,D.start()}}function L(O){const A=document.createElement("textarea");A.value=O!=null?O:"",A.style.position="absolute",A.style.opacity="0",document.body.appendChild(A),A.select(),document.execCommand("copy"),A.remove()}function z(){var O,A,N;return(N=(A=(O=document==null?void 0:document.getSelection)==null?void 0:O.call(document))==null?void 0:A.toString())!=null?N:""}function j(O){return O==="granted"||O==="prompt"}return{isSupported:M,text:B,copied:W,copy:H}}function BH($={}){const{navigator:Z=s0,read:Y=!1,source:J,copiedDuring:Q=1500}=$,X=t(()=>Z&&("clipboard"in Z)),q=F([]),G=F(!1),U=Z9(()=>G.value=!1,Q);function M(){if(X.value)Z.clipboard.read().then((W)=>{q.value=W})}if(X.value&&Y)S(["copy","cut"],M);async function B(W=P(J)){if(X.value&&W!=null)await Z.clipboard.write(W),q.value=W,G.value=!0,U.start()}return{isSupported:X,content:q,copied:G,copy:B}}function M$($){return JSON.parse(JSON.stringify($))}function MH($,Z={}){const Y=F({}),{manual:J,clone:Q=M$,deep:X=!0,immediate:q=!0}=Z;function G(){Y.value=Q(P($))}if(!J&&(i($)||typeof $==="function"))y($,G,{...Z,deep:X,immediate:q});else G();return{cloned:Y,sync:G}}function DH(){if(!(eZ in tZ))tZ[eZ]=tZ[eZ]||{};return tZ[eZ]}function q6($,Z){return v7[$]||Z}function KH($,Z){v7[$]=Z}function RY($){return i0("(prefers-color-scheme: dark)",$)}function u7($){return $==null?"any":$ instanceof Set?"set":$ instanceof Map?"map":$ instanceof Date?"date":typeof $==="boolean"?"boolean":typeof $==="string"?"string":typeof $==="object"?"object":!Number.isNaN($)?"number":"any"}function G6($,Z,Y,J={}){var Q;const{flush:X="pre",deep:q=!0,listenToStorageChanges:G=!0,writeDefaults:U=!0,mergeDefaults:M=!1,shallow:B,window:W=c,eventFilter:D,onError:K=(E)=>{console.error(E)},initOnMounted:H}=J,L=(B?n:F)(typeof Z==="function"?Z():Z);if(!Y)try{Y=q6("getDefaultStorage",()=>{var E;return(E=c)==null?void 0:E.localStorage})()}catch(E){K(E)}if(!Y)return L;const z=P(Z),j=u7(z),O=(Q=J.serializer)!=null?Q:c7[j],{pause:A,resume:N}=n1(L,()=>h(L.value),{flush:X,deep:q,eventFilter:D});if(W&&G)P0(()=>{if(Y instanceof Storage)S(W,"storage",C);else S(W,NY,_);if(H)C()});if(!H)C();function I(E,b){if(W){const V={key:$,oldValue:E,newValue:b,storageArea:Y};W.dispatchEvent(Y instanceof Storage?new StorageEvent("storage",V):new CustomEvent(NY,{detail:V}))}}function h(E){try{const b=Y.getItem($);if(E==null)I(b,null),Y.removeItem($);else{const V=O.write(E);if(b!==V)Y.setItem($,V),I(b,V)}}catch(b){K(b)}}function R(E){const b=E?E.newValue:Y.getItem($);if(b==null){if(U&&z!=null)Y.setItem($,O.write(z));return z}else if(!E&&M){const V=O.read(b);if(typeof M==="function")return M(V,z);else if(j==="object"&&!Array.isArray(V))return{...z,...V};return V}else if(typeof b!=="string")return b;else return O.read(b)}function C(E){if(E&&E.storageArea!==Y)return;if(E&&E.key==null){L.value=z;return}if(E&&E.key!==$)return;A();try{if((E==null?void 0:E.newValue)!==O.write(L.value))L.value=R(E)}catch(b){K(b)}finally{if(E)E0(N);else N()}}function _(E){C(E.detail)}return L}function d7($={}){const{selector:Z="html",attribute:Y="class",initialValue:J="auto",window:Q=c,storage:X,storageKey:q="vueuse-color-scheme",listenToStorageChanges:G=!0,storageRef:U,emitAuto:M,disableTransition:B=!0}=$,W={auto:"",light:"light",dark:"dark",...$.modes||{}},D=RY({window:Q}),K=x(()=>D.value?"dark":"light"),H=U||(q==null?F0(J):G6(q,J,X,{window:Q,listenToStorageChanges:G})),L=x(()=>H.value==="auto"?K.value:H.value),z=q6("updateHTMLAttrs",(N,I,h)=>{const R=typeof N==="string"?Q==null?void 0:Q.document.querySelector(N):a(N);if(!R)return;const C=new Set,_=new Set;let E=null;if(I==="class"){const V=h.split(/\s/g);Object.values(W).flatMap((T)=>(T||"").split(/\s/g)).filter(Boolean).forEach((T)=>{if(V.includes(T))C.add(T);else _.add(T)})}else E={key:I,value:h};if(C.size===0&&_.size===0&&E===null)return;let b;if(B)b=Q.document.createElement("style"),b.appendChild(document.createTextNode(HH)),Q.document.head.appendChild(b);for(let V of C)R.classList.add(V);for(let V of _)R.classList.remove(V);if(E)R.setAttribute(E.key,E.value);if(B)Q.getComputedStyle(b).opacity,document.head.removeChild(b)});function j(N){var I;z(Z,Y,(I=W[N])!=null?I:N)}function O(N){if($.onChanged)$.onChanged(N,j);else j(N)}y(L,O,{flush:"post",immediate:!0}),P0(()=>O(L.value));const A=x({get(){return M?H.value:L.value},set(N){H.value=N}});try{return Object.assign(A,{store:H,system:K,state:L})}catch(N){return A}}function LH($=F(!1)){const Z=x0(),Y=x0(),J=x0();let Q=X0;const X=(U)=>{return J.trigger(U),$.value=!0,new Promise((M)=>{Q=M})},q=(U)=>{$.value=!1,Z.trigger(U),Q({data:U,isCanceled:!1})},G=(U)=>{$.value=!1,Y.trigger(U),Q({data:U,isCanceled:!0})};return{isRevealed:x(()=>$.value),reveal:X,confirm:q,cancel:G,onReveal:J.on,onConfirm:Z.on,onCancel:Y.on}}function W$($,Z,Y={}){const{window:J=c,initialValue:Q,observe:X=!1}=Y,q=F(Q),G=x(()=>{var M;return a(Z)||((M=J==null?void 0:J.document)==null?void 0:M.documentElement)});function U(){var M;const B=P($),W=P(G);if(W&&J&&B){const D=(M=J.getComputedStyle(W).getPropertyValue(B))==null?void 0:M.trim();q.value=D||Q}}if(X)E9(G,U,{attributeFilter:["style","class"],window:J});return y([G,()=>P($)],(M,B)=>{if(B[0]&&B[1])B[0].style.removeProperty(B[1]);U()},{immediate:!0}),y(q,(M)=>{var B;const W=P($);if(((B=G.value)==null?void 0:B.style)&&W)if(M==null)G.value.style.removeProperty(W);else G.value.style.setProperty(W,M)}),q}function l7($){const Z=y0(),Y=lZ(()=>null,()=>$?a($):Z.proxy.$el);return a9(Y.trigger),x1(Y.trigger),Y}function jH($,Z){const Y=n(M()),J=F0($),Q=x({get(){var B;const W=J.value;let D=(Z==null?void 0:Z.getIndexOf)?Z.getIndexOf(Y.value,W):W.indexOf(Y.value);if(D<0)D=(B=Z==null?void 0:Z.fallbackIndex)!=null?B:0;return D},set(B){X(B)}});function X(B){const W=J.value,D=W.length,K=(B%D+D)%D,H=W[K];return Y.value=H,H}function q(B=1){return X(Q.value+B)}function G(B=1){return q(B)}function U(B=1){return q(-B)}function M(){var B,W;return(W=P((B=Z==null?void 0:Z.initialValue)!=null?B:P($)[0]))!=null?W:void 0}return y(J,()=>X(Q.value)),{state:Y,index:Q,next:G,prev:U,go:X}}function zH($={}){const{valueDark:Z="dark",valueLight:Y="",window:J=c}=$,Q=d7({...$,onChanged:(G,U)=>{var M;if($.onChanged)(M=$.onChanged)==null||M.call($,G==="dark",U,G);else U(G)},modes:{dark:Z,light:Y}}),X=x(()=>{if(Q.system)return Q.system.value;else return RY({window:J}).value?"dark":"light"});return x({get(){return Q.value==="dark"},set(G){const U=G?"dark":"light";if(X.value===U)Q.value="auto";else Q.value=U}})}function p7($){return $}function OH($,Z){return $.value=Z}function FH($){return $?typeof $==="function"?$:M$:p7}function AH($){return $?typeof $==="function"?$:M$:p7}function r7($,Z={}){const{clone:Y=!1,dump:J=FH(Y),parse:Q=AH(Y),setSource:X=OH}=Z;function q(){return c9({snapshot:J($.value),timestamp:t1()})}const G=F(q()),U=F([]),M=F([]),B=(A)=>{X($,Q(A.snapshot)),G.value=A},W=()=>{if(U.value.unshift(G.value),G.value=q(),Z.capacity&&U.value.length>Z.capacity)U.value.splice(Z.capacity,Number.POSITIVE_INFINITY);if(M.value.length)M.value.splice(0,M.value.length)},D=()=>{U.value.splice(0,U.value.length),M.value.splice(0,M.value.length)},K=()=>{const A=U.value.shift();if(A)M.value.unshift(G.value),B(A)},H=()=>{const A=M.value.shift();if(A)U.value.unshift(G.value),B(A)},L=()=>{B(G.value)},z=x(()=>[G.value,...U.value]),j=x(()=>U.value.length>0),O=x(()=>M.value.length>0);return{source:$,undoStack:U,redoStack:M,last:G,history:z,canUndo:j,canRedo:O,clear:D,commit:W,reset:L,undo:K,redo:H}}function TY($,Z={}){const{deep:Y=!1,flush:J="pre",eventFilter:Q}=Z,{eventFilter:X,pause:q,resume:G,isActive:U}=KY(Q),{ignoreUpdates:M,ignorePrevAsyncUpdates:B,stop:W}=Y9($,z,{deep:Y,flush:J,eventFilter:X});function D(N,I){B(),M(()=>{N.value=I})}const K=r7($,{...Z,clone:Z.clone||Y,setSource:D}),{clear:H,commit:L}=K;function z(){B(),L()}function j(N){if(G(),N)z()}function O(N){let I=!1;const h=()=>I=!0;if(M(()=>{N(h)}),!I)z()}function A(){W(),H()}return{...K,isTracking:U,pause:q,resume:j,commit:z,batch:O,dispose:A}}function PH($,Z={}){const Y=Z.debounce?rZ(Z.debounce):void 0;return{...TY($,{...Z,eventFilter:Y})}}function IH($={}){const{window:Z=c,eventFilter:Y=Q$}=$,J=F({x:null,y:null,z:null}),Q=F({alpha:null,beta:null,gamma:null}),X=F(0),q=F({x:null,y:null,z:null});if(Z){const G=e1(Y,(U)=>{J.value=U.acceleration,q.value=U.accelerationIncludingGravity,Q.value=U.rotationRate,X.value=U.interval});S(Z,"devicemotion",G)}return{acceleration:J,accelerationIncludingGravity:q,rotationRate:Q,interval:X}}function i7($={}){const{window:Z=c}=$,Y=t(()=>Z&&("DeviceOrientationEvent"in Z)),J=F(!1),Q=F(null),X=F(null),q=F(null);if(Z&&Y.value)S(Z,"deviceorientation",(G)=>{J.value=G.absolute,Q.value=G.alpha,X.value=G.beta,q.value=G.gamma});return{isSupported:Y,isAbsolute:J,alpha:Q,beta:X,gamma:q}}function EH($={}){const{window:Z=c}=$,Y=F(1);if(Z){let J=function(){Y.value=Z.devicePixelRatio,Q(),X=Z.matchMedia(`(resolution: ${Y.value}dppx)`),X.addEventListener("change",J,{once:!0})},Q=function(){X==null||X.removeEventListener("change",J)},X;J(),s(Q)}return{pixelRatio:Y}}function VH($={}){const{navigator:Z=s0,requestPermissions:Y=!1,constraints:J={audio:!0,video:!0},onUpdated:Q}=$,X=F([]),q=x(()=>X.value.filter((H)=>H.kind==="videoinput")),G=x(()=>X.value.filter((H)=>H.kind==="audioinput")),U=x(()=>X.value.filter((H)=>H.kind==="audiooutput")),M=t(()=>Z&&Z.mediaDevices&&Z.mediaDevices.enumerateDevices),B=F(!1);let W;async function D(){if(!M.value)return;if(X.value=await Z.mediaDevices.enumerateDevices(),Q==null||Q(X.value),W)W.getTracks().forEach((H)=>H.stop()),W=null}async function K(){if(!M.value)return!1;if(B.value)return!0;const{state:H,query:L}=J6("camera",{controls:!0});if(await L(),H.value!=="granted")W=await Z.mediaDevices.getUserMedia(J),D(),B.value=!0;else B.value=!0;return B.value}if(M.value){if(Y)K();S(Z.mediaDevices,"devicechange",D),D()}return{devices:X,ensurePermissions:K,permissionGranted:B,videoInputs:q,audioInputs:G,audioOutputs:U,isSupported:M}}function _H($={}){var Z;const Y=F((Z=$.enabled)!=null?Z:!1),J=$.video,Q=$.audio,{navigator:X=s0}=$,q=t(()=>{var K;return(K=X==null?void 0:X.mediaDevices)==null?void 0:K.getDisplayMedia}),G={audio:Q,video:J},U=n();async function M(){var K;if(!q.value||U.value)return;return U.value=await X.mediaDevices.getDisplayMedia(G),(K=U.value)==null||K.getTracks().forEach((H)=>H.addEventListener("ended",W)),U.value}async function B(){var K;(K=U.value)==null||K.getTracks().forEach((H)=>H.stop()),U.value=void 0}function W(){B(),Y.value=!1}async function D(){if(await M(),U.value)Y.value=!0;return U.value}return y(Y,(K)=>{if(K)M();else B()},{immediate:!0}),{isSupported:q,stream:U,start:D,stop:W,enabled:Y}}function s7($={}){const{document:Z=g0}=$;if(!Z)return F("visible");const Y=F(Z.visibilityState);return S(Z,"visibilitychange",()=>{Y.value=Z.visibilityState}),Y}function NH($,Z={}){var Y,J;const{pointerTypes:Q,preventDefault:X,stopPropagation:q,exact:G,onMove:U,onEnd:M,onStart:B,initialValue:W,axis:D="both",draggingElement:K=c,containerElement:H,handle:L=$,buttons:z=[0]}=Z,j=F((Y=P(W))!=null?Y:{x:0,y:0}),O=F(),A=(C)=>{if(Q)return Q.includes(C.pointerType);return!0},N=(C)=>{if(P(X))C.preventDefault();if(P(q))C.stopPropagation()},I=(C)=>{var _;if(!P(z).includes(C.button))return;if(P(Z.disabled)||!A(C))return;if(P(G)&&C.target!==P($))return;const E=P(H),b=(_=E==null?void 0:E.getBoundingClientRect)==null?void 0:_.call(E),V=P($).getBoundingClientRect(),T={x:C.clientX-(E?V.left-b.left+E.scrollLeft:V.left),y:C.clientY-(E?V.top-b.top+E.scrollTop:V.top)};if((B==null?void 0:B(T,C))===!1)return;O.value=T,N(C)},h=(C)=>{if(P(Z.disabled)||!A(C))return;if(!O.value)return;const _=P(H),E=P($).getBoundingClientRect();let{x:b,y:V}=j.value;if(D==="x"||D==="both"){if(b=C.clientX-O.value.x,_)b=Math.min(Math.max(0,b),_.scrollWidth-E.width)}if(D==="y"||D==="both"){if(V=C.clientY-O.value.y,_)V=Math.min(Math.max(0,V),_.scrollHeight-E.height)}j.value={x:b,y:V},U==null||U(j.value,C),N(C)},R=(C)=>{if(P(Z.disabled)||!A(C))return;if(!O.value)return;O.value=void 0,M==null||M(j.value,C),N(C)};if(V0){const C={capture:(J=Z.capture)!=null?J:!0};S(L,"pointerdown",I,C),S(K,"pointermove",h,C),S(K,"pointerup",R,C)}return{...zY(j),position:j,isDragging:x(()=>!!O.value),style:x(()=>`left:${j.value.x}px;top:${j.value.y}px;`)}}function RH($,Z={}){var Y,J;const Q=F(!1),X=n(null);let q=0,G=!0;if(V0){const U=typeof Z==="function"?{onDrop:Z}:Z,M=(Y=U.multiple)!=null?Y:!0,B=(J=U.preventDefaultForUnhandled)!=null?J:!1,W=(L)=>{var z,j;const O=Array.from((j=(z=L.dataTransfer)==null?void 0:z.files)!=null?j:[]);return O.length===0?null:M?O:[O[0]]},D=(L)=>{if(U.dataTypes){const z=r0(U.dataTypes);return typeof z==="function"?z(L):z?z.some((j)=>L.includes(j)):!0}return!0},K=(L)=>{var z,j;const O=Array.from((j=(z=L.dataTransfer)==null?void 0:z.items)!=null?j:[]),A=O.filter((h)=>h.kind==="file").map((h)=>h.type),N=D(A),I=M||O.filter((h)=>h.kind==="file").length<=1;return N&&I},H=(L,z)=>{var j,O,A,N;if(G=K(L),!G){if(B)L.preventDefault();if(L.dataTransfer)L.dataTransfer.dropEffect="none";return}if(L.preventDefault(),L.dataTransfer)L.dataTransfer.dropEffect="copy";const I=W(L);switch(z){case"enter":q+=1,Q.value=!0,(j=U.onEnter)==null||j.call(U,null,L);break;case"over":(O=U.onOver)==null||O.call(U,null,L);break;case"leave":if(q-=1,q===0)Q.value=!1;(A=U.onLeave)==null||A.call(U,null,L);break;case"drop":if(q=0,Q.value=!1,G)X.value=I,(N=U.onDrop)==null||N.call(U,I,L);break}};S($,"dragenter",(L)=>H(L,"enter")),S($,"dragover",(L)=>H(L,"over")),S($,"dragleave",(L)=>H(L,"leave")),S($,"drop",(L)=>H(L,"drop"))}return{files:X,isOverDropZone:Q}}function U6($,Z,Y={}){const{window:J=c,...Q}=Y;let X;const q=t(()=>J&&("ResizeObserver"in J)),G=()=>{if(X)X.disconnect(),X=void 0},U=x(()=>{const W=P($);return Array.isArray(W)?W.map((D)=>a(D)):[a(W)]}),M=y(U,(W)=>{if(G(),q.value&&J){X=new ResizeObserver(Z);for(let D of W)if(D)X.observe(D,Q)}},{immediate:!0,flush:"post"}),B=()=>{G(),M()};return s(B),{isSupported:q,stop:B}}function TH($,Z={}){const{reset:Y=!0,windowResize:J=!0,windowScroll:Q=!0,immediate:X=!0,updateTiming:q="sync"}=Z,G=F(0),U=F(0),M=F(0),B=F(0),W=F(0),D=F(0),K=F(0),H=F(0);function L(){const j=a($);if(!j){if(Y)G.value=0,U.value=0,M.value=0,B.value=0,W.value=0,D.value=0,K.value=0,H.value=0;return}const O=j.getBoundingClientRect();G.value=O.height,U.value=O.bottom,M.value=O.left,B.value=O.right,W.value=O.top,D.value=O.width,K.value=O.x,H.value=O.y}function z(){if(q==="sync")L();else if(q==="next-frame")requestAnimationFrame(()=>L())}if(U6($,z),y(()=>a($),(j)=>!j&&z()),E9($,z,{attributeFilter:["style","class"]}),Q)S("scroll",z,{capture:!0,passive:!0});if(J)S("resize",z,{passive:!0});return P0(()=>{if(X)z()}),{height:G,bottom:U,left:M,right:B,top:W,width:D,x:K,y:H,update:z}}function xH($){const{x:Z,y:Y,document:J=g0,multiple:Q,interval:X="requestAnimationFrame",immediate:q=!0}=$,G=t(()=>{if(P(Q))return J&&"elementsFromPoint"in J;return J&&"elementFromPoint"in J}),U=F(null),M=()=>{var W,D;U.value=P(Q)?(W=J==null?void 0:J.elementsFromPoint(P(Z),P(Y)))!=null?W:[]:(D=J==null?void 0:J.elementFromPoint(P(Z),P(Y)))!=null?D:null},B=X==="requestAnimationFrame"?J9(M,{immediate:q}):A1(M,X,{immediate:q});return{isSupported:G,element:U,...B}}function CH($,Z={}){const{delayEnter:Y=0,delayLeave:J=0,window:Q=c}=Z,X=F(!1);let q;const G=(U)=>{const M=U?Y:J;if(q)clearTimeout(q),q=void 0;if(M)q=setTimeout(()=>X.value=U,M);else X.value=U};if(!Q)return X;return S($,"mouseenter",()=>G(!0),{passive:!0}),S($,"mouseleave",()=>G(!1),{passive:!0}),X}function a7($,Z={width:0,height:0},Y={}){const{window:J=c,box:Q="content-box"}=Y,X=x(()=>{var W,D;return(D=(W=a($))==null?void 0:W.namespaceURI)==null?void 0:D.includes("svg")}),q=F(Z.width),G=F(Z.height),{stop:U}=U6($,([W])=>{const D=Q==="border-box"?W.borderBoxSize:Q==="content-box"?W.contentBoxSize:W.devicePixelContentBoxSize;if(J&&X.value){const K=a($);if(K){const H=K.getBoundingClientRect();q.value=H.width,G.value=H.height}}else if(D){const K=Array.isArray(D)?D:[D];q.value=K.reduce((H,{inlineSize:L})=>H+L,0),G.value=K.reduce((H,{blockSize:L})=>H+L,0)}else q.value=W.contentRect.width,G.value=W.contentRect.height},Y);P0(()=>{const W=a($);if(W)q.value="offsetWidth"in W?W.offsetWidth:Z.width,G.value="offsetHeight"in W?W.offsetHeight:Z.height});const M=y(()=>a($),(W)=>{q.value=W?Z.width:0,G.value=W?Z.height:0});function B(){U(),M()}return{width:q,height:G,stop:B}}function o7($,Z,Y={}){const{root:J,rootMargin:Q="0px",threshold:X=0,window:q=c,immediate:G=!0}=Y,U=t(()=>q&&("IntersectionObserver"in q)),M=x(()=>{const H=P($);return(Array.isArray(H)?H:[H]).map(a).filter(MY)});let B=X0;const W=F(G),D=U.value?y(()=>[M.value,a(J),W.value],([H,L])=>{if(B(),!W.value)return;if(!H.length)return;const z=new IntersectionObserver(Z,{root:a(L),rootMargin:Q,threshold:X});H.forEach((j)=>j&&z.observe(j)),B=()=>{z.disconnect(),B=X0}},{immediate:G,flush:"post"}):X0,K=()=>{B(),D(),W.value=!1};return s(K),{isSupported:U,isActive:W,pause(){B(),W.value=!1},resume(){W.value=!0},stop:K}}function n7($,Z={}){const{window:Y=c,scrollTarget:J,threshold:Q=0}=Z,X=F(!1);return o7($,(q)=>{let G=X.value,U=0;for(let M of q)if(M.time>=U)U=M.time,G=M.isIntersecting;X.value=G},{root:J,window:Y,threshold:Q}),X}function wH($){const Z=B9();function Y(G){var U;const M=U$.get($)||new Set;M.add(G),U$.set($,M);const B=()=>Q(G);return(U=Z==null?void 0:Z.cleanups)==null||U.push(B),B}function J(G){function U(...M){Q(U),G(...M)}return Y(U)}function Q(G){const U=U$.get($);if(!U)return;if(U.delete(G),!U.size)X()}function X(){U$.delete($)}function q(G,U){var M;(M=U$.get($))==null||M.forEach((B)=>B(G,U))}return{on:Y,once:J,off:Q,emit:q,reset:X}}function bH($){if($===!0)return{};return $}function SH($,Z=[],Y={}){const J=F(null),Q=F(null),X=F("CONNECTING"),q=F(null),G=n(null),U=F0($),M=n(null);let B=!1,W=0;const{withCredentials:D=!1,immediate:K=!0}=Y,H=()=>{if(V0&&q.value)q.value.close(),q.value=null,X.value="CLOSED",B=!0},L=()=>{if(B||typeof U.value==="undefined")return;const j=new EventSource(U.value,{withCredentials:D});X.value="CONNECTING",q.value=j,j.onopen=()=>{X.value="OPEN",G.value=null},j.onerror=(O)=>{if(X.value="CLOSED",G.value=O,j.readyState===2&&!B&&Y.autoReconnect){j.close();const{retries:A=-1,delay:N=1000,onFailed:I}=bH(Y.autoReconnect);if(W+=1,typeof A==="number"&&(A<0||W<A))setTimeout(L,N);else if(typeof A==="function"&&A())setTimeout(L,N);else I==null||I()}},j.onmessage=(O)=>{J.value=null,Q.value=O.data,M.value=O.lastEventId};for(let O of Z)S(j,O,(A)=>{J.value=O,Q.value=A.data||null})},z=()=>{if(!V0)return;H(),B=!1,W=0,L()};if(K)y(U,z,{immediate:!0});return s(H),{eventSource:q,event:J,data:Q,status:X,error:G,open:z,close:H,lastEventId:M}}function fH($={}){const{initialValue:Z=""}=$,Y=t(()=>typeof window!=="undefined"&&("EyeDropper"in window)),J=F(Z);async function Q(X){if(!Y.value)return;const G=await new window.EyeDropper().open(X);return J.value=G.sRGBHex,G}return{isSupported:Y,sRGBHex:J,open:Q}}function hH($=null,Z={}){const{baseUrl:Y="",rel:J="icon",document:Q=g0}=Z,X=F0($),q=(G)=>{const U=Q==null?void 0:Q.head.querySelectorAll(`link[rel*="${J}"]`);if(!U||U.length===0){const M=Q==null?void 0:Q.createElement("link");if(M)M.rel=J,M.href=`${Y}${G}`,M.type=`image/${G.split(".").pop()}`,Q==null||Q.head.append(M);return}U==null||U.forEach((M)=>M.href=`${Y}${G}`)};return y(X,(G,U)=>{if(typeof G==="string"&&G!==U)q(G)},{immediate:!0}),X}function Q6($){return $&&HY($,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function gH($){return yH.test($)}function B$($){if(typeof Headers!=="undefined"&&$ instanceof Headers)return Object.fromEntries($.entries());return $}function I9($,...Z){if($==="overwrite")return async(Y)=>{const J=Z[Z.length-1];if(J)return{...Y,...await J(Y)};return Y};else return async(Y)=>{for(let J of Z)if(J)Y={...Y,...await J(Y)};return Y}}function mH($={}){const Z=$.combination||"chain",Y=$.options||{},J=$.fetchOptions||{};function Q(X,...q){const G=x(()=>{const B=P($.baseUrl),W=P(X);return B&&!gH(W)?vH(B,W):W});let U=Y,M=J;if(q.length>0)if(Q6(q[0]))U={...U,...q[0],beforeFetch:I9(Z,Y.beforeFetch,q[0].beforeFetch),afterFetch:I9(Z,Y.afterFetch,q[0].afterFetch),onFetchError:I9(Z,Y.onFetchError,q[0].onFetchError)};else M={...M,...q[0],headers:{...B$(M.headers)||{},...B$(q[0].headers)||{}}};if(q.length>1&&Q6(q[1]))U={...U,...q[1],beforeFetch:I9(Z,Y.beforeFetch,q[1].beforeFetch),afterFetch:I9(Z,Y.afterFetch,q[1].afterFetch),onFetchError:I9(Z,Y.onFetchError,q[1].onFetchError)};return t7(G,M,U)}return Q}function t7($,...Z){var Y;const J=typeof AbortController==="function";let Q={},X={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const q={method:"GET",type:"text",payload:void 0};if(Z.length>0)if(Q6(Z[0]))X={...X,...Z[0]};else Q=Z[0];if(Z.length>1){if(Q6(Z[1]))X={...X,...Z[1]}}const{fetch:G=(Y=c)==null?void 0:Y.fetch,initialData:U,timeout:M}=X,B=x0(),W=x0(),D=x0(),K=F(!1),H=F(!1),L=F(!1),z=F(null),j=n(null),O=n(null),A=n(U||null),N=x(()=>J&&H.value);let I,h;const R=()=>{if(J)I==null||I.abort(),I=new AbortController,I.signal.onabort=()=>L.value=!0,Q={...Q,signal:I.signal}},C=(w)=>{H.value=w,K.value=!w};if(M)h=Z9(R,M,{immediate:!1});let _=0;const E=async(w=!1)=>{var g,u;R(),C(!0),O.value=null,z.value=null,L.value=!1,_+=1;const p=_,e={method:q.method,headers:{}};if(q.payload){const U0=B$(e.headers),I0=P(q.payload);if(!q.payloadType&&I0&&Object.getPrototypeOf(I0)===Object.prototype&&!(I0 instanceof FormData))q.payloadType="json";if(q.payloadType)U0["Content-Type"]=(g=kH[q.payloadType])!=null?g:q.payloadType;e.body=q.payloadType==="json"?JSON.stringify(I0):I0}let q0=!1;const M0={url:P($),options:{...e,...Q},cancel:()=>{q0=!0}};if(X.beforeFetch)Object.assign(M0,await X.beforeFetch(M0));if(q0||!G)return C(!1),Promise.resolve(null);let j0=null;if(h)h.start();return G(M0.url,{...e,...M0.options,headers:{...B$(e.headers),...B$((u=M0.options)==null?void 0:u.headers)}}).then(async(U0)=>{if(j.value=U0,z.value=U0.status,j0=await U0.clone()[q.type](),!U0.ok)throw A.value=U||null,new Error(U0.statusText);if(X.afterFetch)({data:j0}=await X.afterFetch({data:j0,response:U0}));return A.value=j0,B.trigger(U0),U0}).catch(async(U0)=>{let I0=U0.message||U0.name;if(X.onFetchError)({error:I0,data:j0}=await X.onFetchError({data:j0,error:U0,response:j.value}));if(O.value=I0,X.updateDataOnError)A.value=j0;if(W.trigger(U0),w)throw U0;return null}).finally(()=>{if(p===_)C(!1);if(h)h.stop();D.trigger(null)})},b=F0(X.refetch);y([b,F0($)],([w])=>w&&E(),{deep:!0});const V={isFinished:Y0(K),isFetching:Y0(H),statusCode:z,response:j,error:O,data:A,canAbort:N,aborted:L,abort:R,execute:E,onFetchResponse:B.on,onFetchError:W.on,onFetchFinally:D.on,get:T("GET"),put:T("PUT"),post:T("POST"),delete:T("DELETE"),patch:T("PATCH"),head:T("HEAD"),options:T("OPTIONS"),json:k("json"),text:k("text"),blob:k("blob"),arrayBuffer:k("arrayBuffer"),formData:k("formData")};function T(w){return(g,u)=>{if(!H.value){if(q.method=w,q.payload=g,q.payloadType=u,i(q.payload))y([b,F0(q.payload)],([p])=>p&&E(),{deep:!0});return{...V,then(p,e){return f().then(p,e)}}}return}}function f(){return new Promise((w,g)=>{P9(K).toBe(!0).then(()=>w(V)).catch((u)=>g(u))})}function k(w){return()=>{if(!H.value)return q.type=w,{...V,then(g,u){return f().then(g,u)}};return}}if(X.immediate)Promise.resolve().then(()=>E());return{...V,then(w,g){return f().then(w,g)}}}function vH($,Z){if(!$.endsWith("/")&&!Z.startsWith("/"))return`${$}/${Z}`;return`${$}${Z}`}function cH($={}){const{document:Z=g0}=$,Y=F(null),{on:J,trigger:Q}=x0(),{on:X,trigger:q}=x0();let G;if(Z)G=Z.createElement("input"),G.type="file",G.onchange=(B)=>{const W=B.target;Y.value=W.files,Q(Y.value)},G.oncancel=()=>{q()};const U=()=>{if(Y.value=null,G&&G.value)G.value="",Q(null)},M=(B)=>{if(!G)return;const W={...uH,...$,...B};if(G.multiple=W.multiple,G.accept=W.accept,G.webkitdirectory=W.directory,DY(W,"capture"))G.capture=W.capture;if(W.reset)U();G.click()};return{files:Y0(Y),open:M,reset:U,onCancel:X,onChange:J}}function dH($={}){const{window:Z=c,dataType:Y="Text"}=$,J=Z,Q=t(()=>J&&("showSaveFilePicker"in J)&&("showOpenFilePicker"in J)),X=F(),q=F(),G=F(),U=x(()=>{var O,A;return(A=(O=G.value)==null?void 0:O.name)!=null?A:""}),M=x(()=>{var O,A;return(A=(O=G.value)==null?void 0:O.type)!=null?A:""}),B=x(()=>{var O,A;return(A=(O=G.value)==null?void 0:O.size)!=null?A:0}),W=x(()=>{var O,A;return(A=(O=G.value)==null?void 0:O.lastModified)!=null?A:0});async function D(O={}){if(!Q.value)return;const[A]=await J.showOpenFilePicker({...P($),...O});X.value=A,await j()}async function K(O={}){if(!Q.value)return;X.value=await J.showSaveFilePicker({...$,...O}),q.value=void 0,await j()}async function H(O={}){if(!Q.value)return;if(!X.value)return L(O);if(q.value){const A=await X.value.createWritable();await A.write(q.value),await A.close()}await z()}async function L(O={}){if(!Q.value)return;if(X.value=await J.showSaveFilePicker({...$,...O}),q.value){const A=await X.value.createWritable();await A.write(q.value),await A.close()}await z()}async function z(){var O;G.value=await((O=X.value)==null?void 0:O.getFile())}async function j(){var O,A;await z();const N=P(Y);if(N==="Text")q.value=await((O=G.value)==null?void 0:O.text());else if(N==="ArrayBuffer")q.value=await((A=G.value)==null?void 0:A.arrayBuffer());else if(N==="Blob")q.value=G.value}return y(()=>P(Y),j),{isSupported:Q,data:q,file:G,fileName:U,fileMIME:M,fileSize:B,fileLastModified:W,open:D,create:K,save:H,saveAs:L,updateData:j}}function lH($,Z={}){const{initialValue:Y=!1,focusVisible:J=!1,preventScroll:Q=!1}=Z,X=F(!1),q=x(()=>a($));S(q,"focus",(U)=>{var M,B;if(!J||((B=(M=U.target).matches)==null?void 0:B.call(M,":focus-visible")))X.value=!0}),S(q,"blur",()=>X.value=!1);const G=x({get:()=>X.value,set(U){var M,B;if(!U&&X.value)(M=q.value)==null||M.blur();else if(U&&!X.value)(B=q.value)==null||B.focus({preventScroll:Q})}});return y(q,()=>{G.value=Y},{immediate:!0,flush:"post"}),{focused:G}}function iH($,Z={}){const{window:Y=c}=Z,J=x(()=>a($)),Q=F(!1),X=x(()=>Q.value),q=g7(Z);if(!Y||!q.value)return{focused:X};return S(J,pH,()=>Q.value=!0),S(J,rH,()=>Q.value=!1),{focused:X}}function sH($){var Z;const Y=F(0);if(typeof performance==="undefined")return Y;const J=(Z=$==null?void 0:$.every)!=null?Z:10;let Q=performance.now(),X=0;return J9(()=>{if(X+=1,X>=J){const q=performance.now(),G=q-Q;Y.value=Math.round(1000/(G/X)),Q=q,X=0}}),Y}function aH($,Z={}){const{document:Y=g0,autoExit:J=!1}=Z,Q=x(()=>{var j;return(j=a($))!=null?j:Y==null?void 0:Y.querySelector("html")}),X=F(!1),q=x(()=>{return["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find((j)=>Y&&(j in Y)||Q.value&&(j in Q.value))}),G=x(()=>{return["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find((j)=>Y&&(j in Y)||Q.value&&(j in Q.value))}),U=x(()=>{return["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find((j)=>Y&&(j in Y)||Q.value&&(j in Q.value))}),M=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find((j)=>Y&&(j in Y)),B=t(()=>Q.value&&Y&&q.value!==void 0&&G.value!==void 0&&U.value!==void 0),W=()=>{if(M)return(Y==null?void 0:Y[M])===Q.value;return!1},D=()=>{if(U.value)if(Y&&Y[U.value]!=null)return Y[U.value];else{const j=Q.value;if((j==null?void 0:j[U.value])!=null)return Boolean(j[U.value])}return!1};async function K(){if(!B.value||!X.value)return;if(G.value)if((Y==null?void 0:Y[G.value])!=null)await Y[G.value]();else{const j=Q.value;if((j==null?void 0:j[G.value])!=null)await j[G.value]()}X.value=!1}async function H(){if(!B.value||X.value)return;if(D())await K();const j=Q.value;if(q.value&&(j==null?void 0:j[q.value])!=null)await j[q.value](),X.value=!0}async function L(){await(X.value?K():H())}const z=()=>{const j=D();if(!j||j&&W())X.value=j};if(S(Y,R7,z,!1),S(()=>a(Q),R7,z,!1),J)s(K);return{isSupported:B,isFullscreen:X,enter:H,exit:K,toggle:L}}function oH($){return x(()=>{if($.value)return{buttons:{a:$.value.buttons[0],b:$.value.buttons[1],x:$.value.buttons[2],y:$.value.buttons[3]},bumper:{left:$.value.buttons[4],right:$.value.buttons[5]},triggers:{left:$.value.buttons[6],right:$.value.buttons[7]},stick:{left:{horizontal:$.value.axes[0],vertical:$.value.axes[1],button:$.value.buttons[10]},right:{horizontal:$.value.axes[2],vertical:$.value.axes[3],button:$.value.buttons[11]}},dpad:{up:$.value.buttons[12],down:$.value.buttons[13],left:$.value.buttons[14],right:$.value.buttons[15]},back:$.value.buttons[8],start:$.value.buttons[9]};return null})}function nH($={}){const{navigator:Z=s0}=$,Y=t(()=>Z&&("getGamepads"in Z)),J=F([]),Q=x0(),X=x0(),q=(K)=>{const H=[],L="vibrationActuator"in K?K.vibrationActuator:null;if(L)H.push(L);if(K.hapticActuators)H.push(...K.hapticActuators);return{id:K.id,index:K.index,connected:K.connected,mapping:K.mapping,timestamp:K.timestamp,vibrationActuator:K.vibrationActuator,hapticActuators:H,axes:K.axes.map((z)=>z),buttons:K.buttons.map((z)=>({pressed:z.pressed,touched:z.touched,value:z.value}))}},G=()=>{const K=(Z==null?void 0:Z.getGamepads())||[];for(let H of K)if(H&&J.value[H.index])J.value[H.index]=q(H)},{isActive:U,pause:M,resume:B}=J9(G),W=(K)=>{if(!J.value.some(({index:H})=>H===K.index))J.value.push(q(K)),Q.trigger(K.index);B()},D=(K)=>{J.value=J.value.filter((H)=>H.index!==K.index),X.trigger(K.index)};return S("gamepadconnected",(K)=>W(K.gamepad)),S("gamepaddisconnected",(K)=>D(K.gamepad)),P0(()=>{const K=(Z==null?void 0:Z.getGamepads())||[];for(let H of K)if(H&&J.value[H.index])W(H)}),M(),{isSupported:Y,onConnected:Q.on,onDisconnected:X.on,gamepads:J,pause:M,resume:B,isActive:U}}function tH($={}){const{enableHighAccuracy:Z=!0,maximumAge:Y=30000,timeout:J=27000,navigator:Q=s0,immediate:X=!0}=$,q=t(()=>Q&&("geolocation"in Q)),G=F(null),U=n(null),M=F({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function B(H){G.value=H.timestamp,M.value=H.coords,U.value=null}let W;function D(){if(q.value)W=Q.geolocation.watchPosition(B,(H)=>U.value=H,{enableHighAccuracy:Z,maximumAge:Y,timeout:J})}if(X)D();function K(){if(W&&Q)Q.geolocation.clearWatch(W)}return s(()=>{K()}),{isSupported:q,coords:M,locatedAt:G,error:U,resume:D,pause:K}}function ZL($=$L,Z={}){const{initialState:Y=!1,listenForVisibilityChange:J=!0,events:Q=eH,window:X=c,eventFilter:q=X$(50)}=Z,G=F(Y),U=F(t1());let M;const B=()=>{G.value=!1,clearTimeout(M),M=setTimeout(()=>G.value=!0,$)},W=e1(q,()=>{U.value=t1(),B()});if(X){const D=X.document;for(let K of Q)S(X,K,W,{passive:!0});if(J)S(D,"visibilitychange",()=>{if(!D.hidden)W()});B()}return{idle:G,lastActive:U,reset:B}}async function YL($){return new Promise((Z,Y)=>{const J=new Image,{src:Q,srcset:X,sizes:q,class:G,loading:U,crossorigin:M,referrerPolicy:B}=$;if(J.src=Q,X)J.srcset=X;if(q)J.sizes=q;if(G)J.className=G;if(U)J.loading=U;if(M)J.crossOrigin=M;if(B)J.referrerPolicy=B;J.onload=()=>Z(J),J.onerror=Y})}function JL($,Z={}){const Y=m7(()=>YL(P($)),void 0,{resetOnExecute:!0,...Z});return y(()=>P($),()=>Y.execute(Z.delay),{deep:!0}),Y}function Y6($){if(typeof Window!=="undefined"&&$ instanceof Window)return $.document.documentElement;if(typeof Document!=="undefined"&&$ instanceof Document)return $.documentElement;return $}function e7($,Z={}){const{throttle:Y=0,idle:J=200,onStop:Q=X0,onScroll:X=X0,offset:q={left:0,right:0,top:0,bottom:0},eventListenerOptions:G={capture:!1,passive:!0},behavior:U="auto",window:M=c,onError:B=(R)=>{console.error(R)}}=Z,W=F(0),D=F(0),K=x({get(){return W.value},set(R){L(R,void 0)}}),H=x({get(){return D.value},set(R){L(void 0,R)}});function L(R,C){var _,E,b,V;if(!M)return;const T=P($);if(!T)return;(b=T instanceof Document?M.document.body:T)==null||b.scrollTo({top:(_=P(C))!=null?_:H.value,left:(E=P(R))!=null?E:K.value,behavior:P(U)});const f=((V=T==null?void 0:T.document)==null?void 0:V.documentElement)||(T==null?void 0:T.documentElement)||T;if(K!=null)W.value=f.scrollLeft;if(H!=null)D.value=f.scrollTop}const z=F(!1),j=G0({left:!0,right:!1,top:!0,bottom:!1}),O=G0({left:!1,right:!1,top:!1,bottom:!1}),A=(R)=>{if(!z.value)return;z.value=!1,O.left=!1,O.right=!1,O.top=!1,O.bottom=!1,Q(R)},N=q$(A,Y+J),I=(R)=>{var C;if(!M)return;const _=((C=R==null?void 0:R.document)==null?void 0:C.documentElement)||(R==null?void 0:R.documentElement)||a(R),{display:E,flexDirection:b}=getComputedStyle(_),V=_.scrollLeft;O.left=V<W.value,O.right=V>W.value;const T=Math.abs(V)<=(q.left||0),f=Math.abs(V)+_.clientWidth>=_.scrollWidth-(q.right||0)-T7;if(E==="flex"&&b==="row-reverse")j.left=f,j.right=T;else j.left=T,j.right=f;W.value=V;let k=_.scrollTop;if(R===M.document&&!k)k=M.document.body.scrollTop;O.top=k<D.value,O.bottom=k>D.value;const w=Math.abs(k)<=(q.top||0),g=Math.abs(k)+_.clientHeight>=_.scrollHeight-(q.bottom||0)-T7;if(E==="flex"&&b==="column-reverse")j.top=g,j.bottom=w;else j.top=w,j.bottom=g;D.value=k},h=(R)=>{var C;if(!M)return;const _=(C=R.target.documentElement)!=null?C:R.target;I(_),z.value=!0,N(R),X(R)};return S($,"scroll",Y?sZ(h,Y,!0,!1):h,G),P0(()=>{try{const R=P($);if(!R)return;I(R)}catch(R){B(R)}}),S($,"scrollend",A,G),{x:K,y:H,isScrolling:z,arrivedState:j,directions:O,measure(){const R=P($);if(M&&R)I(R)}}}function QL($,Z,Y={}){var J;const{direction:Q="bottom",interval:X=100,canLoadMore:q=()=>!0}=Y,G=G0(e7($,{...Y,offset:{[Q]:(J=Y.distance)!=null?J:0,...Y.offset}})),U=F(),M=x(()=>!!U.value),B=x(()=>{return Y6(P($))}),W=n7(B);function D(){if(G.measure(),!B.value||!W.value||!q(B.value))return;const{scrollHeight:H,clientHeight:L,scrollWidth:z,clientWidth:j}=B.value,O=Q==="bottom"||Q==="top"?H<=L:z<=j;if(G.arrivedState[Q]||O){if(!U.value)U.value=Promise.all([Z(G),new Promise((A)=>setTimeout(A,X))]).finally(()=>{U.value=null,E0(()=>D())})}}const K=y(()=>[G.arrivedState[Q],W.value],D,{immediate:!0});return oZ(K),{isLoading:M,reset(){E0(()=>D())}}}function qL($,Z={}){const{events:Y=XL,document:J=g0,initial:Q=null}=Z,X=F(Q);if(J)Y.forEach((q)=>{S(J,q,(G)=>{if(typeof G.getModifierState==="function")X.value=G.getModifierState($)})});return X}function GL($,Z,Y={}){const{window:J=c}=Y;return G6($,Z,J==null?void 0:J.localStorage,Y)}function WL($={}){const{reactive:Z=!1,target:Y=c,aliasMap:J=UL,passive:Q=!0,onEventFired:X=X0}=$,q=G0(new Set),G={toJSON(){return{}},current:q},U=Z?G0(G):G,M=new Set,B=new Set;function W(L,z){if(L in U)if(Z)U[L]=z;else U[L].value=z}function D(){q.clear();for(let L of B)W(L,!1)}function K(L,z){var j,O;const A=(j=L.key)==null?void 0:j.toLowerCase(),I=[(O=L.code)==null?void 0:O.toLowerCase(),A].filter(Boolean);if(A)if(z)q.add(A);else q.delete(A);for(let h of I)B.add(h),W(h,z);if(A==="meta"&&!z)M.forEach((h)=>{q.delete(h),W(h,!1)}),M.clear();else if(typeof L.getModifierState==="function"&&L.getModifierState("Meta")&&z)[...q,...I].forEach((h)=>M.add(h))}S(Y,"keydown",(L)=>{return K(L,!0),X(L)},{passive:Q}),S(Y,"keyup",(L)=>{return K(L,!1),X(L)},{passive:Q}),S("blur",D,{passive:!0}),S("focus",D,{passive:!0});const H=new Proxy(U,{get(L,z,j){if(typeof z!=="string")return Reflect.get(L,z,j);if(z=z.toLowerCase(),z in J)z=J[z];if(!(z in U))if(/[+_-]/.test(z)){const A=z.split(/[+_-]/g).map((N)=>N.trim());U[z]=x(()=>A.every((N)=>P(H[N])))}else U[z]=F(!1);const O=Reflect.get(L,z,j);return Z?P(O):O}});return H}function PY($,Z){if(P($))Z(P($))}function BL($){let Z=[];for(let Y=0;Y<$.length;++Y)Z=[...Z,[$.start(Y),$.end(Y)]];return Z}function IY($){return Array.from($).map(({label:Z,kind:Y,language:J,mode:Q,activeCues:X,cues:q,inBandMetadataTrackDispatchType:G},U)=>({id:U,label:Z,kind:Y,language:J,mode:Q,activeCues:X,cues:q,inBandMetadataTrackDispatchType:G}))}function DL($,Z={}){$=F0($),Z={...ML,...Z};const{document:Y=g0}=Z,J=F(0),Q=F(0),X=F(!1),q=F(1),G=F(!1),U=F(!1),M=F(!1),B=F(1),W=F(!1),D=F([]),K=F([]),H=F(-1),L=F(!1),z=F(!1),j=Y&&"pictureInPictureEnabled"in Y,O=x0(),A=(E)=>{PY($,(b)=>{if(E){const V=typeof E==="number"?E:E.id;b.textTracks[V].mode="disabled"}else for(let V=0;V<b.textTracks.length;++V)b.textTracks[V].mode="disabled";H.value=-1})},N=(E,b=!0)=>{PY($,(V)=>{const T=typeof E==="number"?E:E.id;if(b)A();V.textTracks[T].mode="showing",H.value=T})},I=()=>{return new Promise((E,b)=>{PY($,async(V)=>{if(j)if(!L.value)V.requestPictureInPicture().then(E).catch(b);else Y.exitPictureInPicture().then(E).catch(b)})})};Y1(()=>{if(!Y)return;const E=P($);if(!E)return;const b=P(Z.src);let V=[];if(!b)return;if(typeof b==="string")V=[{src:b}];else if(Array.isArray(b))V=b;else if(J$(b))V=[b];E.querySelectorAll("source").forEach((T)=>{T.removeEventListener("error",O.trigger),T.remove()}),V.forEach(({src:T,type:f})=>{const k=Y.createElement("source");k.setAttribute("src",T),k.setAttribute("type",f||""),k.addEventListener("error",O.trigger),E.appendChild(k)}),E.load()}),s(()=>{const E=P($);if(!E)return;E.querySelectorAll("source").forEach((b)=>b.removeEventListener("error",O.trigger))}),y([$,q],()=>{const E=P($);if(!E)return;E.volume=q.value}),y([$,z],()=>{const E=P($);if(!E)return;E.muted=z.value}),y([$,B],()=>{const E=P($);if(!E)return;E.playbackRate=B.value}),Y1(()=>{if(!Y)return;const E=P(Z.tracks),b=P($);if(!E||!E.length||!b)return;b.querySelectorAll("track").forEach((V)=>V.remove()),E.forEach(({default:V,kind:T,label:f,src:k,srcLang:w},g)=>{const u=Y.createElement("track");if(u.default=V||!1,u.kind=T,u.label=f,u.src=k,u.srclang=w,u.default)H.value=g;b.appendChild(u)})});const{ignoreUpdates:h}=Y9(J,(E)=>{const b=P($);if(!b)return;b.currentTime=E}),{ignoreUpdates:R}=Y9(M,(E)=>{const b=P($);if(!b)return;if(E)b.play();else b.pause()});S($,"timeupdate",()=>h(()=>J.value=P($).currentTime)),S($,"durationchange",()=>Q.value=P($).duration),S($,"progress",()=>D.value=BL(P($).buffered)),S($,"seeking",()=>X.value=!0),S($,"seeked",()=>X.value=!1),S($,["waiting","loadstart"],()=>{G.value=!0,R(()=>M.value=!1)}),S($,"loadeddata",()=>G.value=!1),S($,"playing",()=>{G.value=!1,U.value=!1,R(()=>M.value=!0)}),S($,"ratechange",()=>B.value=P($).playbackRate),S($,"stalled",()=>W.value=!0),S($,"ended",()=>U.value=!0),S($,"pause",()=>R(()=>M.value=!1)),S($,"play",()=>R(()=>M.value=!0)),S($,"enterpictureinpicture",()=>L.value=!0),S($,"leavepictureinpicture",()=>L.value=!1),S($,"volumechange",()=>{const E=P($);if(!E)return;q.value=E.volume,z.value=E.muted});const C=[],_=y([$],()=>{const E=P($);if(!E)return;_(),C[0]=S(E.textTracks,"addtrack",()=>K.value=IY(E.textTracks)),C[1]=S(E.textTracks,"removetrack",()=>K.value=IY(E.textTracks)),C[2]=S(E.textTracks,"change",()=>K.value=IY(E.textTracks))});return s(()=>C.forEach((E)=>E())),{currentTime:J,duration:Q,waiting:G,seeking:X,ended:U,stalled:W,buffered:D,playing:M,rate:B,volume:q,muted:z,tracks:K,selectedTrack:H,enableTrack:N,disableTrack:A,supportsPictureInPicture:j,togglePictureInPicture:I,isPictureInPicture:L,onSourceError:O.on}}function KL(){const $=R1({});return{get:(Z)=>$[Z],set:(Z,Y)=>qY($,Z,Y),has:(Z)=>DY($,Z),delete:(Z)=>GY($,Z),clear:()=>{Object.keys($).forEach((Z)=>{GY($,Z)})}}}function HL($,Z){const J=(()=>{if(Z==null?void 0:Z.cache)return R1(Z.cache);if(e9)return KL();return R1(new Map)})(),Q=(...B)=>(Z==null?void 0:Z.getKey)?Z.getKey(...B):JSON.stringify(B),X=(B,...W)=>{return J.set(B,$(...W)),J.get(B)},q=(...B)=>X(Q(...B),...B),G=(...B)=>{J.delete(Q(...B))},U=()=>{J.clear()},M=(...B)=>{const W=Q(...B);if(J.has(W))return J.get(W);return X(W,...B)};return M.load=q,M.delete=G,M.clear=U,M.generateKey=Q,M.cache=J,M}function LL($={}){const Z=F(),Y=t(()=>typeof performance!=="undefined"&&("memory"in performance));if(Y.value){const{interval:J=1000}=$;A1(()=>{Z.value=performance.memory},J,{immediate:$.immediate,immediateCallback:$.immediateCallback})}return{isSupported:Y,memory:Z}}function $q($={}){const{type:Z="page",touch:Y=!0,resetOnTouchEnds:J=!1,initialValue:Q={x:0,y:0},window:X=c,target:q=X,scroll:G=!0,eventFilter:U}=$;let M=null;const B=F(Q.x),W=F(Q.y),D=F(null),K=typeof Z==="function"?Z:jL[Z],H=(I)=>{const h=K(I);if(M=I,h)[B.value,W.value]=h,D.value="mouse"},L=(I)=>{if(I.touches.length>0){const h=K(I.touches[0]);if(h)[B.value,W.value]=h,D.value="touch"}},z=()=>{if(!M||!X)return;const I=K(M);if(M instanceof MouseEvent&&I)B.value=I[0]+X.scrollX,W.value=I[1]+X.scrollY},j=()=>{B.value=Q.x,W.value=Q.y},O=U?(I)=>U(()=>H(I),{}):(I)=>H(I),A=U?(I)=>U(()=>L(I),{}):(I)=>L(I),N=U?()=>U(()=>z(),{}):()=>z();if(q){const I={passive:!0};if(S(q,["mousemove","dragover"],O,I),Y&&Z!=="movement"){if(S(q,["touchstart","touchmove"],A,I),J)S(q,"touchend",j,I)}if(G&&Z==="page")S(X,"scroll",N,{passive:!0})}return{x:B,y:W,sourceType:D}}function Zq($,Z={}){const{handleOutside:Y=!0,window:J=c}=Z,Q=Z.type||"page",{x:X,y:q,sourceType:G}=$q(Z),U=F($!=null?$:J==null?void 0:J.document.body),M=F(0),B=F(0),W=F(0),D=F(0),K=F(0),H=F(0),L=F(!0);let z=()=>{};if(J)z=y([U,X,q],()=>{const j=a(U);if(!j||!(j instanceof Element))return;const{left:O,top:A,width:N,height:I}=j.getBoundingClientRect();W.value=O+(Q==="page"?J.pageXOffset:0),D.value=A+(Q==="page"?J.pageYOffset:0),K.value=I,H.value=N;const h=X.value-W.value,R=q.value-D.value;if(L.value=N===0||I===0||h<0||R<0||h>N||R>I,Y||!L.value)M.value=h,B.value=R},{immediate:!0}),S(document,"mouseleave",()=>{L.value=!0});return{x:X,y:q,sourceType:G,elementX:M,elementY:B,elementPositionX:W,elementPositionY:D,elementHeight:K,elementWidth:H,isOutside:L,stop:z}}function zL($={}){const{touch:Z=!0,drag:Y=!0,capture:J=!1,initialValue:Q=!1,window:X=c}=$,q=F(Q),G=F(null);if(!X)return{pressed:q,sourceType:G};const U=(W)=>()=>{q.value=!0,G.value=W},M=()=>{q.value=!1,G.value=null},B=x(()=>a($.target)||X);if(S(B,"mousedown",U("mouse"),{passive:!0,capture:J}),S(X,"mouseleave",M,{passive:!0,capture:J}),S(X,"mouseup",M,{passive:!0,capture:J}),Y)S(B,"dragstart",U("mouse"),{passive:!0,capture:J}),S(X,"drop",M,{passive:!0,capture:J}),S(X,"dragend",M,{passive:!0,capture:J});if(Z)S(B,"touchstart",U("touch"),{passive:!0,capture:J}),S(X,"touchend",M,{passive:!0,capture:J}),S(X,"touchcancel",M,{passive:!0,capture:J});return{pressed:q,sourceType:G}}function OL($={}){const{window:Z=c}=$,Y=Z==null?void 0:Z.navigator,J=t(()=>Y&&("language"in Y)),Q=F(Y==null?void 0:Y.language);return S(Z,"languagechange",()=>{if(Y)Q.value=Y.language}),{isSupported:J,language:Q}}function Yq($={}){const{window:Z=c}=$,Y=Z==null?void 0:Z.navigator,J=t(()=>Y&&("connection"in Y)),Q=F(!0),X=F(!1),q=F(void 0),G=F(void 0),U=F(void 0),M=F(void 0),B=F(void 0),W=F(void 0),D=F("unknown"),K=J.value&&Y.connection;function H(){if(!Y)return;if(Q.value=Y.onLine,q.value=Q.value?void 0:Date.now(),G.value=Q.value?Date.now():void 0,K)U.value=K.downlink,M.value=K.downlinkMax,W.value=K.effectiveType,B.value=K.rtt,X.value=K.saveData,D.value=K.type}if(Z)S(Z,"offline",()=>{Q.value=!1,q.value=Date.now()}),S(Z,"online",()=>{Q.value=!0,G.value=Date.now()});if(K)S(K,"change",H,!1);return H(),{isSupported:Y0(J),isOnline:Y0(Q),saveData:Y0(X),offlineAt:Y0(q),onlineAt:Y0(G),downlink:Y0(U),downlinkMax:Y0(M),effectiveType:Y0(W),rtt:Y0(B),type:Y0(D)}}function Jq($={}){const{controls:Z=!1,interval:Y="requestAnimationFrame"}=$,J=F(new Date),Q=()=>J.value=new Date,X=Y==="requestAnimationFrame"?J9(Q,{immediate:!0}):A1(Q,Y,{immediate:!0});if(Z)return{now:J,...X};else return J}function FL($){const Z=F(),Y=()=>{if(Z.value)URL.revokeObjectURL(Z.value);Z.value=void 0};return y(()=>P($),(J)=>{if(Y(),J)Z.value=URL.createObjectURL(J)},{immediate:!0}),s(Y),Y0(Z)}function x7($,Z,Y){if(typeof $==="function"||T0($))return x(()=>b1(P($),P(Z),P(Y)));const J=F($);return x({get(){return J.value=b1(J.value,P(Z),P(Y))},set(Q){J.value=b1(Q,P(Z),P(Y))}})}function AL($){const{total:Z=Number.POSITIVE_INFINITY,pageSize:Y=10,page:J=1,onPageChange:Q=X0,onPageSizeChange:X=X0,onPageCountChange:q=X0}=$,G=x7(Y,1,Number.POSITIVE_INFINITY),U=x(()=>Math.max(1,Math.ceil(P(Z)/P(G)))),M=x7(J,1,U),B=x(()=>M.value===1),W=x(()=>M.value===U.value);if(i(J))aZ(J,M,{direction:T0(J)?"ltr":"both"});if(i(Y))aZ(Y,G,{direction:T0(Y)?"ltr":"both"});function D(){M.value--}function K(){M.value++}const H={currentPage:M,currentPageSize:G,pageCount:U,isFirstPage:B,isLastPage:W,prev:D,next:K};return y(M,()=>{Q(G0(H))}),y(G,()=>{X(G0(H))}),y(U,()=>{q(G0(H))}),H}function PL($={}){const{isOnline:Z}=Yq($);return Z}function IL($={}){const{window:Z=c}=$,Y=F(!1),J=(Q)=>{if(!Z)return;Q=Q||Z.event;const X=Q.relatedTarget||Q.toElement;Y.value=!X};if(Z)S(Z,"mouseout",J,{passive:!0}),S(Z.document,"mouseleave",J,{passive:!0}),S(Z.document,"mouseenter",J,{passive:!0});return Y}function Qq($={}){const{window:Z=c}=$,Y=t(()=>Z&&("screen"in Z)&&("orientation"in Z.screen)),J=Y.value?Z.screen.orientation:{},Q=F(J.type),X=F(J.angle||0);if(Y.value)S(Z,"orientationchange",()=>{Q.value=J.type,X.value=J.angle});return{isSupported:Y,orientation:Q,angle:X,lockOrientation:(U)=>{if(Y.value&&typeof J.lock==="function")return J.lock(U);return Promise.reject(new Error("Not supported"))},unlockOrientation:()=>{if(Y.value&&typeof J.unlock==="function")J.unlock()}}}function EL($,Z={}){const{deviceOrientationTiltAdjust:Y=(z)=>z,deviceOrientationRollAdjust:J=(z)=>z,mouseTiltAdjust:Q=(z)=>z,mouseRollAdjust:X=(z)=>z,window:q=c}=Z,G=G0(i7({window:q})),U=G0(Qq({window:q})),{elementX:M,elementY:B,elementWidth:W,elementHeight:D}=Zq($,{handleOutside:!1,window:q}),K=x(()=>{if(G.isSupported&&(G.alpha!=null&&G.alpha!==0||G.gamma!=null&&G.gamma!==0))return"deviceOrientation";return"mouse"}),H=x(()=>{if(K.value==="deviceOrientation"){let z;switch(U.orientation){case"landscape-primary":z=G.gamma/90;break;case"landscape-secondary":z=-G.gamma/90;break;case"portrait-primary":z=-G.beta/90;break;case"portrait-secondary":z=G.beta/90;break;default:z=-G.beta/90}return J(z)}else{const z=-(B.value-D.value/2)/D.value;return X(z)}}),L=x(()=>{if(K.value==="deviceOrientation"){let z;switch(U.orientation){case"landscape-primary":z=G.beta/90;break;case"landscape-secondary":z=-G.beta/90;break;case"portrait-primary":z=G.gamma/90;break;case"portrait-secondary":z=-G.gamma/90;break;default:z=G.gamma/90}return Y(z)}else{const z=(M.value-W.value/2)/W.value;return Q(z)}});return{roll:H,tilt:L,source:K}}function VL($=l7()){const Z=n(),Y=()=>{const J=a($);if(J)Z.value=J.parentElement};return P0(Y),y(()=>P($),Y),Z}function _L($,Z){const{window:Y=c,immediate:J=!0,...Q}=$,X=t(()=>Y&&("PerformanceObserver"in Y));let q;const G=()=>{q==null||q.disconnect()},U=()=>{if(X.value)G(),q=new PerformanceObserver(Z),q.observe(Q)};if(s(G),J)U();return{isSupported:X,start:U,stop:G}}function RL($={}){const{target:Z=c}=$,Y=F(!1),J=F($.initialValue||{});Object.assign(J.value,Xq,J.value);const Q=(X)=>{if(Y.value=!0,$.pointerTypes&&!$.pointerTypes.includes(X.pointerType))return;J.value=r5(X,NL,!1)};if(Z){const X={passive:!0};S(Z,["pointerdown","pointermove","pointerup"],Q,X),S(Z,"pointerleave",()=>Y.value=!1,X)}return{...zY(J),isInside:Y}}function TL($,Z={}){const{document:Y=g0}=Z,J=t(()=>Y&&("pointerLockElement"in Y)),Q=F(),X=F();let q;if(J.value)S(Y,"pointerlockchange",()=>{var M;const B=(M=Y.pointerLockElement)!=null?M:Q.value;if(q&&B===q){if(Q.value=Y.pointerLockElement,!Q.value)q=X.value=null}}),S(Y,"pointerlockerror",()=>{var M;const B=(M=Y.pointerLockElement)!=null?M:Q.value;if(q&&B===q){const W=Y.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${W} pointer lock.`)}});async function G(M){var B;if(!J.value)throw new Error("Pointer Lock API is not supported by your browser.");if(X.value=M instanceof Event?M.currentTarget:null,q=M instanceof Event?(B=a($))!=null?B:X.value:a(M),!q)throw new Error("Target element undefined.");return q.requestPointerLock(),await P9(Q).toBe(q)}async function U(){if(!Q.value)return!1;return Y.exitPointerLock(),await P9(Q).toBeNull(),!0}return{isSupported:J,element:Q,triggerElement:X,lock:G,unlock:U}}function xL($,Z={}){const Y=F0($),{threshold:J=50,onSwipe:Q,onSwipeEnd:X,onSwipeStart:q,disableTextSelect:G=!1}=Z,U=G0({x:0,y:0}),M=(R,C)=>{U.x=R,U.y=C},B=G0({x:0,y:0}),W=(R,C)=>{B.x=R,B.y=C},D=x(()=>U.x-B.x),K=x(()=>U.y-B.y),{max:H,abs:L}=Math,z=x(()=>H(L(D.value),L(K.value))>=J),j=F(!1),O=F(!1),A=x(()=>{if(!z.value)return"none";if(L(D.value)>L(K.value))return D.value>0?"left":"right";else return K.value>0?"up":"down"}),N=(R)=>{var C,_,E;const b=R.buttons===0,V=R.buttons===1;return(E=(_=(C=Z.pointerTypes)==null?void 0:C.includes(R.pointerType))!=null?_:b||V)!=null?E:!0},I=[S($,"pointerdown",(R)=>{if(!N(R))return;O.value=!0;const C=R.target;C==null||C.setPointerCapture(R.pointerId);const{clientX:_,clientY:E}=R;M(_,E),W(_,E),q==null||q(R)}),S($,"pointermove",(R)=>{if(!N(R))return;if(!O.value)return;const{clientX:C,clientY:_}=R;if(W(C,_),!j.value&&z.value)j.value=!0;if(j.value)Q==null||Q(R)}),S($,"pointerup",(R)=>{if(!N(R))return;if(j.value)X==null||X(R,A.value);O.value=!1,j.value=!1})];P0(()=>{var R,C,_,E,b,V,T,f;if((C=(R=Y.value)==null?void 0:R.style)==null||C.setProperty("touch-action","none"),G)(E=(_=Y.value)==null?void 0:_.style)==null||E.setProperty("-webkit-user-select","none"),(V=(b=Y.value)==null?void 0:b.style)==null||V.setProperty("-ms-user-select","none"),(f=(T=Y.value)==null?void 0:T.style)==null||f.setProperty("user-select","none")});const h=()=>I.forEach((R)=>R());return{isSwiping:Y0(j),direction:Y0(A),posStart:Y0(U),posEnd:Y0(B),distanceX:D,distanceY:K,stop:h}}function CL($){const Z=i0("(prefers-color-scheme: light)",$),Y=i0("(prefers-color-scheme: dark)",$);return x(()=>{if(Y.value)return"dark";if(Z.value)return"light";return"no-preference"})}function wL($){const Z=i0("(prefers-contrast: more)",$),Y=i0("(prefers-contrast: less)",$),J=i0("(prefers-contrast: custom)",$);return x(()=>{if(Z.value)return"more";if(Y.value)return"less";if(J.value)return"custom";return"no-preference"})}function bL($={}){const{window:Z=c}=$;if(!Z)return F(["en"]);const Y=Z.navigator,J=F(Y.languages);return S(Z,"languagechange",()=>{J.value=Y.languages}),J}function SL($){const Z=i0("(prefers-reduced-motion: reduce)",$);return x(()=>{if(Z.value)return"reduce";return"no-preference"})}function fL($,Z){const Y=n(Z);return y(F0($),(J,Q)=>{Y.value=Q},{flush:"sync"}),Y0(Y)}function hL(){const $=F(""),Z=F(""),Y=F(""),J=F("");if(V0){const X=W$(C7),q=W$(w7),G=W$(b7),U=W$(S7);X.value="env(safe-area-inset-top, 0px)",q.value="env(safe-area-inset-right, 0px)",G.value="env(safe-area-inset-bottom, 0px)",U.value="env(safe-area-inset-left, 0px)",Q(),S("resize",q$(Q))}function Q(){$.value=$6(C7),Z.value=$6(w7),Y.value=$6(b7),J.value=$6(S7)}return{top:$,right:Z,bottom:Y,left:J,update:Q}}function $6($){return getComputedStyle(document.documentElement).getPropertyValue($)}function kL($,Z=X0,Y={}){const{immediate:J=!0,manual:Q=!1,type:X="text/javascript",async:q=!0,crossOrigin:G,referrerPolicy:U,noModule:M,defer:B,document:W=g0,attrs:D={}}=Y,K=F(null);let H=null;const L=(O)=>new Promise((A,N)=>{const I=(C)=>{return K.value=C,A(C),C};if(!W){A(!1);return}let h=!1,R=W.querySelector(`script[src="${P($)}"]`);if(!R){if(R=W.createElement("script"),R.type=X,R.async=q,R.src=P($),B)R.defer=B;if(G)R.crossOrigin=G;if(M)R.noModule=M;if(U)R.referrerPolicy=U;Object.entries(D).forEach(([C,_])=>R==null?void 0:R.setAttribute(C,_)),h=!0}else if(R.hasAttribute("data-loaded"))I(R);if(R.addEventListener("error",(C)=>N(C)),R.addEventListener("abort",(C)=>N(C)),R.addEventListener("load",()=>{R.setAttribute("data-loaded","true"),Z(R),I(R)}),h)R=W.head.appendChild(R);if(!O)I(R)}),z=(O=!0)=>{if(!H)H=L(O);return H},j=()=>{if(!W)return;if(H=null,K.value)K.value=null;const O=W.querySelector(`script[src="${P($)}"]`);if(O)W.head.removeChild(O)};if(J&&!Q)P0(z);if(!Q)oZ(j);return{scriptTag:K,load:z,unload:j}}function qq($){const Z=window.getComputedStyle($);if(Z.overflowX==="scroll"||Z.overflowY==="scroll"||Z.overflowX==="auto"&&$.clientWidth<$.scrollWidth||Z.overflowY==="auto"&&$.clientHeight<$.scrollHeight)return!0;else{const Y=$.parentNode;if(!Y||Y.tagName==="BODY")return!1;return qq(Y)}}function yL($){const Z=$||window.event,Y=Z.target;if(qq(Y))return!1;if(Z.touches.length>1)return!0;if(Z.preventDefault)Z.preventDefault();return!1}function gL($,Z=!1){const Y=F(Z);let J=null,Q="";y(F0($),(G)=>{const U=Y6(P(G));if(U){const M=U;if(!EY.get(M))EY.set(M,M.style.overflow);if(M.style.overflow!=="hidden")Q=M.style.overflow;if(M.style.overflow==="hidden")return Y.value=!0;if(Y.value)return M.style.overflow="hidden"}},{immediate:!0});const X=()=>{const G=Y6(P($));if(!G||Y.value)return;if(pZ)J=S(G,"touchmove",(U)=>{yL(U)},{passive:!1});G.style.overflow="hidden",Y.value=!0},q=()=>{const G=Y6(P($));if(!G||!Y.value)return;if(pZ)J==null||J();G.style.overflow=Q,EY.delete(G),Y.value=!1};return s(q),x({get(){return Y.value},set(G){if(G)X();else q()}})}function mL($,Z,Y={}){const{window:J=c}=Y;return G6($,Z,J==null?void 0:J.sessionStorage,Y)}function vL($={},Z={}){const{navigator:Y=s0}=Z,J=Y,Q=t(()=>J&&("canShare"in J));return{isSupported:Q,share:async(q={})=>{if(Q.value){const G={...P($),...P(q)};let U=!0;if(G.files&&J.canShare)U=J.canShare({files:G.files});if(U)return J.share(G)}}}}function cL(...$){var Z,Y,J,Q;const[X]=$;let q=Z6,G={};if($.length===2)if(typeof $[1]==="object")G=$[1],q=(Z=G.compareFn)!=null?Z:Z6;else q=(Y=$[1])!=null?Y:Z6;else if($.length>2)q=(J=$[1])!=null?J:Z6,G=(Q=$[2])!=null?Q:{};const{dirty:U=!1,sortFn:M=uL}=G;if(!U)return x(()=>M([...P(X)],q));return Y1(()=>{const B=M(P(X),q);if(i(X))X.value=B;else X.splice(0,X.length,...B)}),X}function dL($={}){const{interimResults:Z=!0,continuous:Y=!0,maxAlternatives:J=1,window:Q=c}=$,X=F0($.lang||"en-US"),q=F(!1),G=F(!1),U=F(""),M=n(void 0),B=(z=!q.value)=>{q.value=z},W=()=>{q.value=!0},D=()=>{q.value=!1},K=Q&&(Q.SpeechRecognition||Q.webkitSpeechRecognition),H=t(()=>K);let L;if(H.value)L=new K,L.continuous=Y,L.interimResults=Z,L.lang=P(X),L.maxAlternatives=J,L.onstart=()=>{G.value=!1},y(X,(z)=>{if(L&&!q.value)L.lang=z}),L.onresult=(z)=>{const j=z.results[z.resultIndex],{transcript:O}=j[0];G.value=j.isFinal,U.value=O,M.value=void 0},L.onerror=(z)=>{M.value=z},L.onend=()=>{q.value=!1,L.lang=P(X)},y(q,()=>{if(q.value)L.start();else L.stop()});return s(()=>{q.value=!1}),{isSupported:H,isListening:q,isFinal:G,recognition:L,result:U,error:M,toggle:B,start:W,stop:D}}function lL($,Z={}){const{pitch:Y=1,rate:J=1,volume:Q=1,window:X=c}=Z,q=X&&X.speechSynthesis,G=t(()=>q),U=F(!1),M=F("init"),B=F0($||""),W=F0(Z.lang||"en-US"),D=n(void 0),K=(O=!U.value)=>{U.value=O},H=(O)=>{O.lang=P(W),O.voice=P(Z.voice)||null,O.pitch=P(Y),O.rate=P(J),O.volume=Q,O.onstart=()=>{U.value=!0,M.value="play"},O.onpause=()=>{U.value=!1,M.value="pause"},O.onresume=()=>{U.value=!0,M.value="play"},O.onend=()=>{U.value=!1,M.value="end"},O.onerror=(A)=>{D.value=A}},L=x(()=>{U.value=!1,M.value="init";const O=new SpeechSynthesisUtterance(B.value);return H(O),O}),z=()=>{if(q.cancel(),L)q.speak(L.value)},j=()=>{q.cancel(),U.value=!1};if(G.value){if(H(L.value),y(W,(O)=>{if(L.value&&!U.value)L.value.lang=O}),Z.voice)y(Z.voice,()=>{q.cancel()});y(U,()=>{if(U.value)q.resume();else q.pause()})}return s(()=>{U.value=!1}),{isSupported:G,isPlaying:U,status:M,utterance:L,error:D,stop:j,toggle:K,speak:z}}function pL($,Z){const Y=F($),J=x(()=>Array.isArray(Y.value)?Y.value:Object.keys(Y.value)),Q=F(J.value.indexOf(Z!=null?Z:J.value[0])),X=x(()=>B(Q.value)),q=x(()=>Q.value===0),G=x(()=>Q.value===J.value.length-1),U=x(()=>J.value[Q.value+1]),M=x(()=>J.value[Q.value-1]);function B(I){if(Array.isArray(Y.value))return Y.value[I];return Y.value[J.value[I]]}function W(I){if(!J.value.includes(I))return;return B(J.value.indexOf(I))}function D(I){if(J.value.includes(I))Q.value=J.value.indexOf(I)}function K(){if(G.value)return;Q.value++}function H(){if(q.value)return;Q.value--}function L(I){if(N(I))D(I)}function z(I){return J.value.indexOf(I)===Q.value+1}function j(I){return J.value.indexOf(I)===Q.value-1}function O(I){return J.value.indexOf(I)===Q.value}function A(I){return Q.value<J.value.indexOf(I)}function N(I){return Q.value>J.value.indexOf(I)}return{steps:Y,stepNames:J,index:Q,current:X,next:U,previous:M,isFirst:q,isLast:G,at:B,get:W,goTo:D,goToNext:K,goToPrevious:H,goBackTo:L,isNext:z,isPrevious:j,isCurrent:O,isBefore:A,isAfter:N}}function rL($,Z,Y,J={}){var Q;const{flush:X="pre",deep:q=!0,listenToStorageChanges:G=!0,writeDefaults:U=!0,mergeDefaults:M=!1,shallow:B,window:W=c,eventFilter:D,onError:K=(A)=>{console.error(A)}}=J,H=P(Z),L=u7(H),z=(B?n:F)(Z),j=(Q=J.serializer)!=null?Q:c7[L];if(!Y)try{Y=q6("getDefaultStorageAsync",()=>{var A;return(A=c)==null?void 0:A.localStorage})()}catch(A){K(A)}async function O(A){if(!Y||A&&A.key!==$)return;try{const N=A?A.newValue:await Y.getItem($);if(N==null){if(z.value=H,U&&H!==null)await Y.setItem($,await j.write(H))}else if(M){const I=await j.read(N);if(typeof M==="function")z.value=M(I,H);else if(L==="object"&&!Array.isArray(I))z.value={...H,...I};else z.value=I}else z.value=await j.read(N)}catch(N){K(N)}}if(O(),W&&G)S(W,"storage",(A)=>Promise.resolve().then(()=>O(A)));if(Y)$9(z,async()=>{try{if(z.value==null)await Y.removeItem($);else await Y.setItem($,await j.write(z.value))}catch(A){K(A)}},{flush:X,deep:q,eventFilter:D});return z}function sL($,Z={}){const Y=F(!1),{document:J=g0,immediate:Q=!0,manual:X=!1,id:q=`vueuse_styletag_${++iL}`}=Z,G=F($);let U=()=>{};const M=()=>{if(!J)return;const W=J.getElementById(q)||J.createElement("style");if(!W.isConnected){if(W.id=q,Z.media)W.media=Z.media;J.head.appendChild(W)}if(Y.value)return;U=y(G,(D)=>{W.textContent=D},{immediate:!0}),Y.value=!0},B=()=>{if(!J||!Y.value)return;U(),J.head.removeChild(J.getElementById(q)),Y.value=!1};if(Q&&!X)P0(M);if(!X)s(B);return{id:q,css:G,unload:B,load:M,isLoaded:Y0(Y)}}function aL($,Z={}){const{threshold:Y=50,onSwipe:J,onSwipeEnd:Q,onSwipeStart:X,passive:q=!0,window:G=c}=Z,U=G0({x:0,y:0}),M=G0({x:0,y:0}),B=x(()=>U.x-M.x),W=x(()=>U.y-M.y),{max:D,abs:K}=Math,H=x(()=>D(K(B.value),K(W.value))>=Y),L=F(!1),z=x(()=>{if(!H.value)return"none";if(K(B.value)>K(W.value))return B.value>0?"left":"right";else return W.value>0?"up":"down"}),j=(_)=>[_.touches[0].clientX,_.touches[0].clientY],O=(_,E)=>{U.x=_,U.y=E},A=(_,E)=>{M.x=_,M.y=E};let N;const I=oL(G==null?void 0:G.document);if(!q)N=I?{passive:!1,capture:!0}:{capture:!0};else N=I?{passive:!0}:{capture:!1};const h=(_)=>{if(L.value)Q==null||Q(_,z.value);L.value=!1},R=[S($,"touchstart",(_)=>{if(_.touches.length!==1)return;if(N.capture&&!N.passive)_.preventDefault();const[E,b]=j(_);O(E,b),A(E,b),X==null||X(_)},N),S($,"touchmove",(_)=>{if(_.touches.length!==1)return;const[E,b]=j(_);if(A(E,b),!L.value&&H.value)L.value=!0;if(L.value)J==null||J(_)},N),S($,["touchend","touchcancel"],h,N)];return{isPassiveEventSupported:I,isSwiping:L,direction:z,coordsStart:U,coordsEnd:M,lengthX:B,lengthY:W,stop:()=>R.forEach((_)=>_())}}function oL($){if(!$)return!1;let Z=!1;const Y={get passive(){return Z=!0,!1}};return $.addEventListener("x",X0,Y),$.removeEventListener("x",X0),Z}function nL(){const $=F([]);return $.value.set=(Z)=>{if(Z)$.value.push(Z)},U5(()=>{$.value.length=0}),$}function tL($={}){const{document:Z=g0,selector:Y="html",observe:J=!1,initialValue:Q="ltr"}=$;function X(){var G,U;return(U=(G=Z==null?void 0:Z.querySelector(Y))==null?void 0:G.getAttribute("dir"))!=null?U:Q}const q=F(X());if(P0(()=>q.value=X()),J&&Z)E9(Z.querySelector(Y),()=>q.value=X(),{attributes:!0});return x({get(){return q.value},set(G){var U,M;if(q.value=G,!Z)return;if(q.value)(U=Z.querySelector(Y))==null||U.setAttribute("dir",q.value);else(M=Z.querySelector(Y))==null||M.removeAttribute("dir")}})}function eL($){var Z;const Y=(Z=$.rangeCount)!=null?Z:0;return Array.from({length:Y},(J,Q)=>$.getRangeAt(Q))}function $j($={}){const{window:Z=c}=$,Y=F(null),J=x(()=>{var G,U;return(U=(G=Y.value)==null?void 0:G.toString())!=null?U:""}),Q=x(()=>Y.value?eL(Y.value):[]),X=x(()=>Q.value.map((G)=>G.getBoundingClientRect()));function q(){if(Y.value=null,Z)Y.value=Z.getSelection()}if(Z)S(Z.document,"selectionchange",q);return{text:J,rects:X,ranges:Q,selection:Y}}function Zj($){var Z;const Y=F($==null?void 0:$.element),J=F($==null?void 0:$.input),Q=(Z=$==null?void 0:$.styleProp)!=null?Z:"height",X=F(1),q=F(0);function G(){var U;if(!Y.value)return;let M="";Y.value.style[Q]="1px",X.value=(U=Y.value)==null?void 0:U.scrollHeight;const B=P($==null?void 0:$.styleTarget);if(B)B.style[Q]=`${X.value}px`;else M=`${X.value}px`;Y.value.style[Q]=M}if(y([J,Y],()=>E0(G),{immediate:!0}),y(X,()=>{var U;return(U=$==null?void 0:$.onResize)==null?void 0:U.call($)}),U6(Y,([{contentRect:U}])=>{if(q.value===U.width)return;q.value=U.width,G()}),$==null?void 0:$.watch)y($.watch,G,{immediate:!0,deep:!0});return{textarea:Y,input:J,triggerResize:G}}function Yj($,Z={}){const{throttle:Y=200,trailing:J=!0}=Z,Q=X$(Y,J);return{...TY($,{...Z,eventFilter:Q})}}function Xj($){return $.toISOString().slice(0,10)}function qj($,Z={}){const{controls:Y=!1,updateInterval:J=30000}=Z,{now:Q,...X}=Jq({interval:J,controls:!0}),q=x(()=>Gq(new Date(P($)),Z,P(Q)));if(Y)return{timeAgo:q,...X};else return q}function Gq($,Z={},Y=Date.now()){var J;const{max:Q,messages:X=Qj,fullDateFormatter:q=Xj,units:G=Jj,showSecond:U=!1,rounding:M="round"}=Z,B=typeof M==="number"?(z)=>+z.toFixed(M):Math[M],W=+Y-+$,D=Math.abs(W);function K(z,j){return B(Math.abs(z)/j.value)}function H(z,j){const O=K(z,j),A=z>0,N=L(j.name,O,A);return L(A?"past":"future",N,A)}function L(z,j,O){const A=X[z];if(typeof A==="function")return A(j,O);return A.replace("{0}",j.toString())}if(D<60000&&!U)return X.justNow;if(typeof Q==="number"&&D>Q)return q(new Date($));if(typeof Q==="string"){const z=(J=G.find((j)=>j.name===Q))==null?void 0:J.max;if(z&&D>z)return q(new Date($))}for(let[z,j]of G.entries()){if(K(W,j)<=0&&G[z-1])return H(W,G[z-1]);if(D<j.max)return H(W,j)}return X.invalid}function Gj($,Z,Y){const{start:J}=Z9(X,Z,{immediate:!1}),Q=F(!1);async function X(){if(!Q.value)return;await $(),J()}function q(){if(!Q.value)Q.value=!0,X()}function G(){Q.value=!1}if(Y==null?void 0:Y.immediate)q();return s(G),{isActive:Q,pause:G,resume:q}}function Uj($={}){const{controls:Z=!1,offset:Y=0,immediate:J=!0,interval:Q="requestAnimationFrame",callback:X}=$,q=F(t1()+Y),G=()=>q.value=t1()+Y,U=X?()=>{G(),X(q.value)}:G,M=Q==="requestAnimationFrame"?J9(U,{immediate:J}):A1(U,Q,{immediate:J});if(Z)return{timestamp:q,...M};else return q}function Wj($=null,Z={}){var Y,J,Q;const{document:X=g0,restoreOnUnmount:q=(W)=>W}=Z,G=(Y=X==null?void 0:X.title)!=null?Y:"",U=F0((J=$!=null?$:X==null?void 0:X.title)!=null?J:null),M=$&&typeof $==="function";function B(W){if(!("titleTemplate"in Z))return W;const D=Z.titleTemplate||"%s";return typeof D==="function"?D(W):P(D).replace(/%s/g,W)}if(y(U,(W,D)=>{if(W!==D&&X)X.title=B(typeof W==="string"?W:"")},{immediate:!0}),Z.observe&&!Z.titleTemplate&&X&&!M)E9((Q=X.head)==null?void 0:Q.querySelector("title"),()=>{if(X&&X.title!==U.value)U.value=B(X.title)},{childList:!0});return OY(()=>{if(q){const W=q(G,U.value||"");if(W!=null&&X)X.title=W}}),U}function Bj([$,Z,Y,J]){const Q=(B,W)=>1-3*W+3*B,X=(B,W)=>3*W-6*B,q=(B)=>3*B,G=(B,W,D)=>((Q(W,D)*B+X(W,D))*B+q(W))*B,U=(B,W,D)=>3*Q(W,D)*B*B+2*X(W,D)*B+q(W),M=(B)=>{let W=B;for(let D=0;D<4;++D){const K=U(W,$,Y);if(K===0)return W;const H=G(W,$,Y)-B;W-=H/K}return W};return(B)=>$===Z&&Y===J?B:G(M(B),Z,J)}function f7($,Z,Y){return $+Y*(Z-$)}function VY($){return(typeof $==="number"?[$]:$)||[]}function Uq($,Z,Y,J={}){var Q,X;const q=P(Z),G=P(Y),U=VY(q),M=VY(G),B=(Q=P(J.duration))!=null?Q:1000,W=Date.now(),D=Date.now()+B,K=typeof J.transition==="function"?J.transition:(X=P(J.transition))!=null?X:d5,H=typeof K==="function"?K:Bj(K);return new Promise((L)=>{$.value=q;const z=()=>{var j;if((j=J.abort)==null?void 0:j.call(J)){L();return}const O=Date.now(),A=H((O-W)/B),N=VY($.value).map((I,h)=>f7(U[h],M[h],A));if(Array.isArray($.value))$.value=N.map((I,h)=>{var R,C;return f7((R=U[h])!=null?R:0,(C=M[h])!=null?C:0,A)});else if(typeof $.value==="number")$.value=N[0];if(O<D)requestAnimationFrame(z);else $.value=G,L()};z()})}function Mj($,Z={}){let Y=0;const J=()=>{const X=P($);return typeof X==="number"?X:X.map(P)},Q=F(J());return y(J,async(X)=>{var q,G;if(P(Z.disabled))return;const U=++Y;if(Z.delay)await Z$(P(Z.delay));if(U!==Y)return;const M=Array.isArray(X)?X.map(P):P(X);(q=Z.onStarted)==null||q.call(Z),await Uq(Q,Q.value,M,{...Z,abort:()=>{var B;return U!==Y||((B=Z.abort)==null?void 0:B.call(Z))}}),(G=Z.onFinished)==null||G.call(Z)},{deep:!0}),y(()=>P(Z.disabled),(X)=>{if(X)Y++,Q.value=J()}),s(()=>{Y++}),x(()=>P(Z.disabled)?J():Q.value)}function Dj($="history",Z={}){const{initialValue:Y={},removeNullishValues:J=!0,removeFalsyValues:Q=!1,write:X=!0,window:q=c}=Z;if(!q)return G0(Y);const G=G0({});function U(){if($==="history")return q.location.search||"";else if($==="hash"){const j=q.location.hash||"",O=j.indexOf("?");return O>0?j.slice(O):""}else return(q.location.hash||"").replace(/^#/,"")}function M(j){const O=j.toString();if($==="history")return`${O?`?${O}`:""}${q.location.hash||""}`;if($==="hash-params")return`${q.location.search||""}${O?`#${O}`:""}`;const A=q.location.hash||"#",N=A.indexOf("?");if(N>0)return`${A.slice(0,N)}${O?`?${O}`:""}`;return`${A}${O?`?${O}`:""}`}function B(){return new URLSearchParams(U())}function W(j){const O=new Set(Object.keys(G));for(let A of j.keys()){const N=j.getAll(A);G[A]=N.length>1?N:j.get(A)||"",O.delete(A)}Array.from(O).forEach((A)=>delete G[A])}const{pause:D,resume:K}=n1(G,()=>{const j=new URLSearchParams("");Object.keys(G).forEach((O)=>{const A=G[O];if(Array.isArray(A))A.forEach((N)=>j.append(O,N));else if(J&&A==null)j.delete(O);else if(Q&&!A)j.delete(O);else j.set(O,A)}),H(j)},{deep:!0});function H(j,O){if(D(),O)W(j);q.history.replaceState(q.history.state,q.document.title,q.location.pathname+M(j)),K()}function L(){if(!X)return;H(B(),!0)}if(S(q,"popstate",L,!1),$!=="history")S(q,"hashchange",L,!1);const z=B();if(z.keys().next().value)W(z);else Object.assign(G,Y);return G}function Kj($={}){var Z,Y;const J=F((Z=$.enabled)!=null?Z:!1),Q=F((Y=$.autoSwitch)!=null?Y:!0),X=F($.constraints),{navigator:q=s0}=$,G=t(()=>{var L;return(L=q==null?void 0:q.mediaDevices)==null?void 0:L.getUserMedia}),U=n();function M(L){switch(L){case"video":{if(X.value)return X.value.video||!1;break}case"audio":{if(X.value)return X.value.audio||!1;break}}}async function B(){if(!G.value||U.value)return;return U.value=await q.mediaDevices.getUserMedia({video:M("video"),audio:M("audio")}),U.value}function W(){var L;(L=U.value)==null||L.getTracks().forEach((z)=>z.stop()),U.value=void 0}function D(){W(),J.value=!1}async function K(){if(await B(),U.value)J.value=!0;return U.value}async function H(){return W(),await K()}return y(J,(L)=>{if(L)B();else W()},{immediate:!0}),y(X,()=>{if(Q.value&&U.value)H()},{immediate:!0}),s(()=>{D()}),{isSupported:G,stream:U,start:K,stop:D,restart:H,constraints:X,enabled:J,autoSwitch:Q}}function Wq($,Z,Y,J={}){var Q,X,q,G,U;const{clone:M=!1,passive:B=!1,eventName:W,deep:D=!1,defaultValue:K,shouldEmit:H}=J,L=y0(),z=Y||(L==null?void 0:L.emit)||((Q=L==null?void 0:L.$emit)==null?void 0:Q.bind(L))||((q=(X=L==null?void 0:L.proxy)==null?void 0:X.$emit)==null?void 0:q.bind(L==null?void 0:L.proxy));let j=W;if(!Z)if(e9){const I=(U=(G=L==null?void 0:L.proxy)==null?void 0:G.$options)==null?void 0:U.model;if(Z=(I==null?void 0:I.value)||"value",!W)j=(I==null?void 0:I.event)||"input"}else Z="modelValue";j=j||`update:${Z.toString()}`;const O=(I)=>!M?I:typeof M==="function"?M(I):M$(I),A=()=>v5($[Z])?O($[Z]):K,N=(I)=>{if(H){if(H(I))z(j,I)}else z(j,I)};if(B){const I=A(),h=F(I);let R=!1;return y(()=>$[Z],(C)=>{if(!R)R=!0,h.value=O(C),E0(()=>R=!1)}),y(h,(C)=>{if(!R&&(C!==$[Z]||D))N(C)},{deep:D}),h}else return x({get(){return A()},set(I){N(I)}})}function Hj($,Z,Y={}){const J={};for(let Q in $)J[Q]=Wq($,Q,Z,Y);return J}function Lj($){const{pattern:Z=[],interval:Y=0,navigator:J=s0}=$||{},Q=t(()=>typeof J!=="undefined"&&("vibrate"in J)),X=F0(Z);let q;const G=(M=X.value)=>{if(Q.value)J.vibrate(M)},U=()=>{if(Q.value)J.vibrate(0);q==null||q.pause()};if(Y>0)q=A1(G,Y,{immediate:!1,immediateCallback:!1});return{isSupported:Q,pattern:Z,intervalControls:q,vibrate:G,stop:U}}function jj($,Z){const{containerStyle:Y,wrapperProps:J,scrollTo:Q,calculateRange:X,currentList:q,containerRef:G}="itemHeight"in Z?Fj(Z,$):Oj(Z,$);return{list:q,scrollTo:Q,containerProps:{ref:G,onScroll:()=>{X()},style:Y},wrapperProps:J}}function Bq($){const Z=F(null),Y=a7(Z),J=F([]),Q=n($);return{state:F({start:0,end:10}),source:Q,currentList:J,size:Y,containerRef:Z}}function Mq($,Z,Y){return(J)=>{if(typeof Y==="number")return Math.ceil(J/Y);const{start:Q=0}=$.value;let X=0,q=0;for(let G=Q;G<Z.value.length;G++){const U=Y(G);if(X+=U,q=G,X>J)break}return q-Q}}function Dq($,Z){return(Y)=>{if(typeof Z==="number")return Math.floor(Y/Z)+1;let J=0,Q=0;for(let X=0;X<$.value.length;X++){const q=Z(X);if(J+=q,J>=Y){Q=X;break}}return Q+1}}function Kq($,Z,Y,J,{containerRef:Q,state:X,currentList:q,source:G}){return()=>{const U=Q.value;if(U){const M=Y($==="vertical"?U.scrollTop:U.scrollLeft),B=J($==="vertical"?U.clientHeight:U.clientWidth),W=M-Z,D=M+B+Z;X.value={start:W<0?0:W,end:D>G.value.length?G.value.length:D},q.value=G.value.slice(X.value.start,X.value.end).map((K,H)=>({data:K,index:H+X.value.start}))}}}function Hq($,Z){return(Y)=>{if(typeof $==="number")return Y*$;return Z.value.slice(0,Y).reduce((Q,X,q)=>Q+$(q),0)}}function Lq($,Z,Y,J){y([$.width,$.height,Z,Y],()=>{J()})}function jq($,Z){return x(()=>{if(typeof $==="number")return Z.value.length*$;return Z.value.reduce((Y,J,Q)=>Y+$(Q),0)})}function zq($,Z,Y,J){return(Q)=>{if(J.value)J.value[zj[$]]=Y(Q),Z()}}function Oj($,Z){const Y=Bq(Z),{state:J,source:Q,currentList:X,size:q,containerRef:G}=Y,U={overflowX:"auto"},{itemWidth:M,overscan:B=5}=$,W=Mq(J,Q,M),D=Dq(Q,M),K=Kq("horizontal",B,D,W,Y),H=Hq(M,Q),L=x(()=>H(J.value.start)),z=jq(M,Q);Lq(q,Z,G,K);const j=zq("horizontal",K,H,G),O=x(()=>{return{style:{height:"100%",width:`${z.value-L.value}px`,marginLeft:`${L.value}px`,display:"flex"}}});return{scrollTo:j,calculateRange:K,wrapperProps:O,containerStyle:U,currentList:X,containerRef:G}}function Fj($,Z){const Y=Bq(Z),{state:J,source:Q,currentList:X,size:q,containerRef:G}=Y,U={overflowY:"auto"},{itemHeight:M,overscan:B=5}=$,W=Mq(J,Q,M),D=Dq(Q,M),K=Kq("vertical",B,D,W,Y),H=Hq(M,Q),L=x(()=>H(J.value.start)),z=jq(M,Q);Lq(q,Z,G,K);const j=zq("vertical",K,H,G),O=x(()=>{return{style:{width:"100%",height:`${z.value-L.value}px`,marginTop:`${L.value}px`}}});return{calculateRange:K,scrollTo:j,containerStyle:U,wrapperProps:O,currentList:X,containerRef:G}}function Aj($={}){const{navigator:Z=s0,document:Y=g0}=$,J=F(!1),Q=n(null),X=s7({document:Y}),q=t(()=>Z&&("wakeLock"in Z)),G=x(()=>!!Q.value&&X.value==="visible");if(q.value)S(Q,"release",()=>{var W,D;J.value=(D=(W=Q.value)==null?void 0:W.type)!=null?D:!1}),FY(()=>X.value==="visible"&&(Y==null?void 0:Y.visibilityState)==="visible"&&J.value,(W)=>{J.value=!1,U(W)});async function U(W){var D;await((D=Q.value)==null?void 0:D.release()),Q.value=q.value?await Z.wakeLock.request(W):null}async function M(W){if(X.value==="visible")await U(W);else J.value=W}async function B(){J.value=!1;const W=Q.value;Q.value=null,await(W==null?void 0:W.release())}return{sentinel:Q,isSupported:q,isActive:G,request:M,forceRequest:U,release:B}}function Pj($={}){const{window:Z=c,requestPermissions:Y=!0}=$,J=$,Q=t(()=>{if(!Z||!("Notification"in Z))return!1;try{new Notification("")}catch(O){return!1}return!0}),X=F(Q.value&&"permission"in Notification&&Notification.permission==="granted"),q=F(null),G=async()=>{if(!Q.value)return;if(!X.value&&Notification.permission!=="denied"){if(await Notification.requestPermission()==="granted")X.value=!0}return X.value},{on:U,trigger:M}=x0(),{on:B,trigger:W}=x0(),{on:D,trigger:K}=x0(),{on:H,trigger:L}=x0(),z=async(O)=>{if(!Q.value||!X.value)return;const A=Object.assign({},J,O);return q.value=new Notification(A.title||"",A),q.value.onclick=M,q.value.onshow=W,q.value.onerror=K,q.value.onclose=L,q.value},j=()=>{if(q.value)q.value.close();q.value=null};if(Y)P0(G);if(s(j),Q.value&&Z){const O=Z.document;S(O,"visibilitychange",(A)=>{if(A.preventDefault(),O.visibilityState==="visible")j()})}return{isSupported:Q,notification:q,ensurePermissions:G,permissionGranted:X,show:z,close:j,onClick:U,onShow:B,onError:D,onClose:H}}function _Y($){if($===!0)return{};return $}function Ij($,Z={}){const{onConnected:Y,onDisconnected:J,onError:Q,onMessage:X,immediate:q=!0,autoClose:G=!0,protocols:U=[]}=Z,M=F(null),B=F("CLOSED"),W=F(),D=F0($);let K,H,L=!1,z=0,j=[],O;const A=()=>{if(j.length&&W.value&&B.value==="OPEN"){for(let _ of j)W.value.send(_);j=[]}},N=()=>{clearTimeout(O),O=void 0},I=(_=1000,E)=>{if(!V0||!W.value)return;L=!0,N(),K==null||K(),W.value.close(_,E),W.value=void 0},h=(_,E=!0)=>{if(!W.value||B.value!=="OPEN"){if(E)j.push(_);return!1}return A(),W.value.send(_),!0},R=()=>{if(L||typeof D.value==="undefined")return;const _=new WebSocket(D.value,U);W.value=_,B.value="CONNECTING",_.onopen=()=>{B.value="OPEN",z=0,Y==null||Y(_),H==null||H(),A()},_.onclose=(E)=>{if(B.value="CLOSED",J==null||J(_,E),!L&&Z.autoReconnect&&_===W.value){const{retries:b=-1,delay:V=1000,onFailed:T}=_Y(Z.autoReconnect);if(typeof b==="number"&&(b<0||z<b))z+=1,setTimeout(R,V);else if(typeof b==="function"&&b())setTimeout(R,V);else T==null||T()}},_.onerror=(E)=>{Q==null||Q(_,E)},_.onmessage=(E)=>{if(Z.heartbeat){N();const{message:b=h7,responseMessage:V=b}=_Y(Z.heartbeat);if(E.data===V)return}M.value=E.data,X==null||X(_,E)}};if(Z.heartbeat){const{message:_=h7,interval:E=1000,pongTimeout:b=1000}=_Y(Z.heartbeat),{pause:V,resume:T}=A1(()=>{if(h(_,!1),O!=null)return;O=setTimeout(()=>{I(),L=!1},b)},E,{immediate:!1});K=V,H=T}if(G){if(V0)S("beforeunload",()=>I());s(I)}const C=()=>{if(!V0&&!m5)return;I(),L=!1,z=0,R()};if(q)C();return y(D,C),{data:M,status:B,close:I,send:h,open:C,ws:W}}function Ej($,Z,Y){const{window:J=c}=Y!=null?Y:{},Q=F(null),X=n(),q=(...U)=>{if(!X.value)return;X.value.postMessage(...U)},G=function U(){if(!X.value)return;X.value.terminate()};if(J){if(typeof $==="string")X.value=new Worker($,Z);else if(typeof $==="function")X.value=$();else X.value=$;X.value.onmessage=(U)=>{Q.value=U.data},s(()=>{if(X.value)X.value.terminate()})}return{data:Q,post:q,terminate:G,worker:X}}function Vj($,Z){if($.length===0&&Z.length===0)return"";const Y=$.map((X)=>`'${X}'`).toString(),J=Z.filter((X)=>typeof X==="function").map((X)=>{const q=X.toString();if(q.trim().startsWith("function"))return q;else return`const ${X.name} = ${q}`}).join(";"),Q=`importScripts(${Y});`;return`${Y.trim()===""?"":Q} ${J}`}function _j($){return(Z)=>{const Y=Z.data[0];return Promise.resolve($.apply(void 0,Y)).then((J)=>{postMessage(["SUCCESS",J])}).catch((J)=>{postMessage(["ERROR",J])})}}function Nj($,Z,Y){const J=`${Vj(Z,Y)}; onmessage=(${_j})(${$})`,Q=new Blob([J],{type:"text/javascript"});return URL.createObjectURL(Q)}function Rj($,Z={}){const{dependencies:Y=[],localDependencies:J=[],timeout:Q,window:X=c}=Z,q=F(),G=F("PENDING"),U=F({}),M=F(),B=(H="PENDING")=>{if(q.value&&q.value._url&&X)q.value.terminate(),URL.revokeObjectURL(q.value._url),U.value={},q.value=void 0,X.clearTimeout(M.value),G.value=H};B(),s(B);const W=()=>{const H=Nj($,Y,J),L=new Worker(H);if(L._url=H,L.onmessage=(z)=>{const{resolve:j=()=>{},reject:O=()=>{}}=U.value,[A,N]=z.data;switch(A){case"SUCCESS":j(N),B(A);break;default:O(N),B("ERROR");break}},L.onerror=(z)=>{const{reject:j=()=>{}}=U.value;z.preventDefault(),j(z),B("ERROR")},Q)M.value=setTimeout(()=>B("TIMEOUT_EXPIRED"),Q);return L},D=(...H)=>new Promise((L,z)=>{var j;U.value={resolve:L,reject:z},(j=q.value)==null||j.postMessage([[...H]]),G.value="RUNNING"});return{workerFn:(...H)=>{if(G.value==="RUNNING")return console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject();return q.value=W(),D(...H)},workerStatus:G,workerTerminate:B}}function Tj($={}){const{window:Z=c}=$;if(!Z)return F(!1);const Y=F(Z.document.hasFocus());return S(Z,"blur",()=>{Y.value=!1}),S(Z,"focus",()=>{Y.value=!0}),Y}function xj($={}){const{window:Z=c,behavior:Y="auto"}=$;if(!Z)return{x:F(0),y:F(0)};const J=F(Z.scrollX),Q=F(Z.scrollY),X=x({get(){return J.value},set(G){scrollTo({left:G,behavior:Y})}}),q=x({get(){return Q.value},set(G){scrollTo({top:G,behavior:Y})}});return S(Z,"scroll",()=>{J.value=Z.scrollX,Q.value=Z.scrollY},{capture:!1,passive:!0}),{x:X,y:q}}function Cj($={}){const{window:Z=c,initialWidth:Y=Number.POSITIVE_INFINITY,initialHeight:J=Number.POSITIVE_INFINITY,listenOrientation:Q=!0,includeScrollbar:X=!0,type:q="inner"}=$,G=F(Y),U=F(J),M=()=>{if(Z)if(q==="outer")G.value=Z.outerWidth,U.value=Z.outerHeight;else if(X)G.value=Z.innerWidth,U.value=Z.innerHeight;else G.value=Z.document.documentElement.clientWidth,U.value=Z.document.documentElement.clientHeight};if(M(),P0(M),S("resize",M,{passive:!0}),Q){const B=i0("(orientation: portrait)");y(B,()=>M())}return{width:G,height:U}}var c=V0?window:void 0,g0=V0?window.document:void 0,s0=V0?window.navigator:void 0,CK=V0?window.location:void 0,_7=!1,kK=500,yK=10,G$={array:($)=>JSON.stringify($),object:($)=>JSON.stringify($),set:($)=>JSON.stringify(Array.from($)),map:($)=>JSON.stringify(Object.fromEntries($)),null:()=>""},nK={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},tK={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},eK={xs:0,sm:600,md:960,lg:1264,xl:1904};var $H=eK,ZH={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},YH={xs:0,sm:600,md:1024,lg:1440,xl:1920},JH={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},QH={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};var N7=["hash","host","hostname","href","pathname","port","protocol","search"],tZ=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{},eZ="__vueuse_ssr_handlers__",v7=DH(),c7={boolean:{read:($)=>$==="true",write:($)=>String($)},object:{read:($)=>JSON.parse($),write:($)=>JSON.stringify($)},number:{read:($)=>Number.parseFloat($),write:($)=>String($)},any:{read:($)=>$,write:($)=>String($)},string:{read:($)=>$,write:($)=>String($)},map:{read:($)=>new Map(JSON.parse($)),write:($)=>JSON.stringify(Array.from($.entries()))},set:{read:($)=>new Set(JSON.parse($)),write:($)=>JSON.stringify(Array.from($))},date:{read:($)=>new Date($),write:($)=>$.toISOString()}},NY="vueuse-storage",HH="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}",U$=new Map,kH={json:"application/json",text:"text/plain"},yH=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i,uH={multiple:!0,accept:"*",reset:!1,directory:!1},pH="focusin",rH="focusout",R7=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"],eH=["mousemove","mousedown","resize","keydown","touchstart","wheel"],$L=60000,T7=1,XL=["mousedown","mouseup","keydown","keyup"],UL={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"},ML={src:"",tracks:[]},jL={page:($)=>[$.pageX,$.pageY],client:($)=>[$.clientX,$.clientY],screen:($)=>[$.screenX,$.screenY],movement:($)=>$ instanceof Touch?null:[$.movementX,$.movementY]},Xq={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},NL=Object.keys(Xq),C7="--vueuse-safe-area-top",w7="--vueuse-safe-area-right",b7="--vueuse-safe-area-bottom",S7="--vueuse-safe-area-left",EY=new WeakMap,uL=($,Z)=>$.sort(Z),Z6=($,Z)=>$-Z,iL=0,Jj=[{max:60000,value:1000,name:"second"},{max:2760000,value:60000,name:"minute"},{max:72000000,value:3600000,name:"hour"},{max:518400000,value:86400000,name:"day"},{max:2419200000,value:604800000,name:"week"},{max:28512000000,value:2592000000,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536000000,name:"year"}],Qj={justNow:"just now",past:($)=>$.match(/\d/)?`${$} ago`:$,future:($)=>$.match(/\d/)?`in ${$}`:$,month:($,Z)=>$===1?Z?"last month":"next month":`${$} month${$>1?"s":""}`,year:($,Z)=>$===1?Z?"last year":"next year":`${$} year${$>1?"s":""}`,day:($,Z)=>$===1?Z?"yesterday":"tomorrow":`${$} day${$>1?"s":""}`,week:($,Z)=>$===1?Z?"last week":"next week":`${$} week${$>1?"s":""}`,hour:($)=>`${$} hour${$>1?"s":""}`,minute:($)=>`${$} minute${$>1?"s":""}`,second:($)=>`${$} second${$>1?"s":""}`,invalid:""};var zj={horizontal:"scrollLeft",vertical:"scrollTop"},h7="ping";function Oq($){return $}function Sj($){let Z=9;for(let Y=0;Y<$.length;)Z=Math.imul(Z^$.charCodeAt(Y++),387420489);return((Z^Z>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function CY($){return $._h||Sj($._d?$._d:`${$.tag}:${$.textContent||$.innerHTML||""}:${Object.entries($.props).map(([Z,Y])=>`${Z}:${String(Y)}`).join(",")}`)}function Fq($,Z){const{props:Y,tag:J}=$;if(wj.includes(J))return J;if(J==="link"&&Y.rel==="canonical")return"canonical";if(Y.charset)return"charset";const Q=["id"];if(J==="meta")Q.push(...["name","property","http-equiv"]);for(let X of Q)if(typeof Y[X]!=="undefined"){const q=String(Y[X]);if(Z&&!Z(q))return!1;return`${J}:${X}:${q}`}return!1}function W6($){const Z=$.replace(/([A-Z])/g,"-$1").toLowerCase(),Y=Z.split("-")[0];if(fj.includes(Y)||Y==="twitter")return $.replace(/([A-Z])/g,":$1").toLowerCase();return Z}function hj($,Z){const Y=$==="class"?" ":";";if(typeof Z==="object"&&!Array.isArray(Z))Z=Object.entries(Z).filter(([,J])=>J).map(([J,Q])=>$==="style"?`${J}:${Q}`:J);return(Array.isArray(Z)?Z.join(Y):Z).split(Y).filter((J)=>J.trim()).filter(Boolean).join(Y)}async function Aq($,Z){for(let Y of Object.keys($)){if(["class","style"].includes(Y)){$[Y]=hj(Y,$[Y]);continue}if($[Y]instanceof Promise)$[Y]=await $[Y];if(!Z&&!bj.includes(Y)){const J=String($[Y]),Q=Y.startsWith("data-");if(J==="true"||J==="")$[Y]=Q?"true":!0;else if(!$[Y])if(Q&&J==="false")$[Y]="false";else delete $[Y]}}return $}var B6=["base","meta","link","style","script","noscript"];var wj=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],bj=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"];var m0=($)=>({keyValue:$,metaKey:"property"}),xY=($)=>({keyValue:$}),qE={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){return`${W6($)}=${Z}`}}},articleExpirationTime:m0("article:expiration_time"),articleModifiedTime:m0("article:modified_time"),articlePublishedTime:m0("article:published_time"),bookReleaseDate:m0("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:$,value:Z}){return`${W6($)} ${Z}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:m0("fb:app_id"),msapplicationConfig:xY("msapplication-Config"),msapplicationTileColor:xY("msapplication-TileColor"),msapplicationTileImage:xY("msapplication-TileImage"),ogAudioSecureUrl:m0("og:audio:secure_url"),ogAudioUrl:m0("og:audio"),ogImageSecureUrl:m0("og:image:secure_url"),ogImageUrl:m0("og:image"),ogSiteName:m0("og:site_name"),ogVideoSecureUrl:m0("og:video:secure_url"),ogVideoUrl:m0("og:video"),profileFirstName:m0("profile:first_name"),profileLastName:m0("profile:last_name"),profileUsername:m0("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:$,value:Z}){if($==="seconds")return`${Z}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){if(typeof Z==="boolean")return`${W6($)}`;else return`${W6($)}:${Z}`}}},xUaCompatible:{metaKey:"http-equiv"}},fj=["og","book","article","profile"];async function kj($,Z={}){const Y=Z.document||$.resolvedOptions.document;if(!Y||!$.dirty)return;const J={shouldRender:!0,tags:[]};if(await $.hooks.callHook("dom:beforeRender",J),!J.shouldRender)return;const Q=(await $.resolveTags()).map((B)=>({tag:B,id:B6.includes(B.tag)?CY(B):B.tag,shouldRender:!0}));let X=$._dom;if(!X){X={elMap:{htmlAttrs:Y.documentElement,bodyAttrs:Y.body}};for(let B of["body","head"]){const W=Y[B]?.children,D=[];for(let K of[...W].filter((H)=>B6.includes(H.tagName.toLowerCase()))){const H={tag:K.tagName.toLowerCase(),props:await Aq(K.getAttributeNames().reduce((j,O)=>({...j,[O]:K.getAttribute(O)}),{})),innerHTML:K.innerHTML};let L=1,z=Fq(H);while(z&&D.find((j)=>j._d===z))z=`${z}:${L++}`;H._d=z||void 0,D.push(H),X.elMap[K.getAttribute("data-hid")||CY(H)]=K}}}X.pendingSideEffects={...X.sideEffects||{}},X.sideEffects={};function q(B,W,D){const K=`${B}:${W}`;X.sideEffects[K]=D,delete X.pendingSideEffects[K]}function G({id:B,$el:W,tag:D}){const K=D.tag.endsWith("Attrs");if(X.elMap[B]=W,!K)["textContent","innerHTML"].forEach((H)=>{D[H]&&D[H]!==W[H]&&(W[H]=D[H])}),q(B,"el",()=>{X.elMap[B]?.remove(),delete X.elMap[B]});for(let[H,L]of Object.entries(D._eventHandlers||{}))if(W.getAttribute(`data-${H}`)!=="")(D.tag==="bodyAttrs"?Y.defaultView:W).addEventListener(H.replace("on",""),L.bind(W)),W.setAttribute(`data-${H}`,"");Object.entries(D.props).forEach(([H,L])=>{const z=`attr:${H}`;if(H==="class")for(let j of(L||"").split(" ").filter(Boolean))K&&q(B,`${z}:${j}`,()=>W.classList.remove(j)),!W.classList.contains(j)&&W.classList.add(j);else if(H==="style")for(let j of(L||"").split(";").filter(Boolean)){const[O,...A]=j.split(":").map((N)=>N.trim());q(B,`${z}:${j}:${O}`,()=>{W.style.removeProperty(O)}),W.style.setProperty(O,A.join(":"))}else W.getAttribute(H)!==L&&W.setAttribute(H,L===!0?"":String(L)),K&&q(B,z,()=>W.removeAttribute(H))})}const U=[],M={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(let B of Q){const{tag:W,shouldRender:D,id:K}=B;if(!D)continue;if(W.tag==="title"){Y.title=W.textContent;continue}if(B.$el=B.$el||X.elMap[K],B.$el)G(B);else B6.includes(W.tag)&&U.push(B)}for(let B of U){const W=B.tag.tagPosition||"head";B.$el=Y.createElement(B.tag.tag),G(B),M[W]=M[W]||Y.createDocumentFragment(),M[W].appendChild(B.$el)}for(let B of Q)await $.hooks.callHook("dom:renderTag",B,Y,q);M.head&&Y.head.appendChild(M.head),M.bodyOpen&&Y.body.insertBefore(M.bodyOpen,Y.body.firstChild),M.bodyClose&&Y.body.appendChild(M.bodyClose),Object.values(X.pendingSideEffects).forEach((B)=>B()),$._dom=X,$.dirty=!1,await $.hooks.callHook("dom:rendered",{renders:Q})}async function yj($,Z={}){const Y=Z.delayFn||((J)=>setTimeout(J,10));return $._domUpdatePromise=$._domUpdatePromise||new Promise((J)=>Y(async()=>{await kj($,Z),delete $._domUpdatePromise,J()}))}function Pq($){return Oq((Z)=>{const Y=Z.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Y&&Z.push(JSON.parse(Y)),{mode:"client",hooks:{"entries:updated":function(J){yj(J,$)}}}})}function q1($){return $}function D$($){let Z=9;for(let Y=0;Y<$.length;)Z=Math.imul(Z^$.charCodeAt(Y++),387420489);return((Z^Z>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Nq($){if($._h)return $._h;if($._d)return D$($._d);let Z=`${$.tag}:${$.textContent||$.innerHTML||""}:`;for(let Y in $.props)Z+=`${Y}:${String($.props[Y])},`;return D$(Z)}function M6($){const Z=$.replace(/([A-Z])/g,"-$1").toLowerCase(),Y=Z.indexOf("-"),J=Z.substring(0,Y);if(J==="twitter"||uj.has(J))return $.replace(/([A-Z])/g,":$1").toLowerCase();return Z}function cj($,Z){if($ instanceof Promise)return $.then(Z);return Z($)}function bY($,Z,Y,J){const Q=J||lj(typeof Z==="object"&&typeof Z!=="function"&&!(Z instanceof Promise)?{...Z}:{[$==="script"||$==="noscript"||$==="style"?"innerHTML":"textContent"]:Z},$==="templateParams"||$==="titleTemplate");if(Q instanceof Promise)return Q.then((q)=>bY($,Z,Y,q));const X={tag:$,props:Q};for(let q of Vq){const G=X.props[q]!==void 0?X.props[q]:Y[q];if(G!==void 0){if(!(q==="innerHTML"||q==="textContent"||q==="children")||gj.has(X.tag))X[q==="children"?"innerHTML":q]=G;delete X.props[q]}}if(X.props.body)X.tagPosition="bodyClose",delete X.props.body;if(X.tag==="script"){if(typeof X.innerHTML==="object")X.innerHTML=JSON.stringify(X.innerHTML),X.props.type=X.props.type||"application/json"}return Array.isArray(X.props.content)?X.props.content.map((q)=>({...X,props:{...X.props,content:q}})):X}function dj($,Z){const Y=$==="class"?" ":";";if(Z&&typeof Z==="object"&&!Array.isArray(Z))Z=Object.entries(Z).filter(([,J])=>J).map(([J,Q])=>$==="style"?`${J}:${Q}`:J);return String(Array.isArray(Z)?Z.join(Y):Z)?.split(Y).filter((J)=>Boolean(J.trim())).join(Y)}function Rq($,Z,Y,J){for(let Q=J;Q<Y.length;Q+=1){const X=Y[Q];if(X==="class"||X==="style"){$[X]=dj(X,$[X]);continue}if($[X]instanceof Promise)return $[X].then((q)=>{return $[X]=q,Rq($,Z,Y,Q)});if(!Z&&!Vq.has(X)){const q=String($[X]),G=X.startsWith("data-");if(q==="true"||q==="")$[X]=G?"true":!0;else if(!$[X])if(G&&q==="false")$[X]="false";else delete $[X]}}}function lj($,Z=!1){const Y=Rq($,Z,Object.keys($),0);if(Y instanceof Promise)return Y.then(()=>$);return $}function Tq($,Z,Y){for(let J=Y;J<Z.length;J+=1){const Q=Z[J];if(Q instanceof Promise)return Q.then((X)=>{return Z[J]=X,Tq($,Z,J)});if(Array.isArray(Q))$.push(...Q);else $.push(Q)}}function xq($){const Z=[],Y=$.resolvedInput;for(let Q in Y){if(!Object.prototype.hasOwnProperty.call(Y,Q))continue;const X=Y[Q];if(X===void 0||!mj.has(Q))continue;if(Array.isArray(X)){for(let q of X)Z.push(bY(Q,q,$));continue}Z.push(bY(Q,X,$))}if(Z.length===0)return[];const J=[];return cj(Tq(J,Z,0),()=>J.map((Q,X)=>{return Q._e=$._i,$.mode&&(Q._m=$.mode),Q._p=($._i<<pj)+X,Q}))}function K$($){const Z=$.tagPriority;if(typeof Z==="number")return Z;let Y=100;if($.tag==="meta"){if($.props["http-equiv"]==="content-security-policy")Y=-30;else if($.props.charset)Y=-20;else if($.props.name==="viewport")Y=-15}else if($.tag==="link"&&$.props.rel==="preconnect")Y=20;else if($.tag in Iq)Y=Iq[$.tag];if(Z&&Z in Eq)return Y+Eq[Z];return Y}function wq($){const{props:Z,tag:Y}=$;if(vj.has(Y))return Y;if(Y==="link"&&Z.rel==="canonical")return"canonical";if(Z.charset)return"charset";if(Z.id)return`${Y}:id:${Z.id}`;for(let J of rj)if(Z[J]!==void 0)return`${Y}:${J}:${Z[J]}`;return!1}function ij($,Z){let Y;if(Z==="s"||Z==="pageTitle")Y=$.pageTitle;else if(Z.includes(".")){const J=Z.indexOf(".");Y=$[Z.substring(0,J)]?.[Z.substring(J+1)]}else Y=$[Z];return Y!==void 0?(Y||"").replace(/"/g,'\\"'):void 0}function H$($,Z,Y){if(typeof $!=="string"||!$.includes("%"))return $;let J=$;try{J=decodeURI($)}catch{}const Q=J.match(/%\w+(?:\.\w+)?/g);if(!Q)return $;const X=$.includes(f1);if($=$.replace(/%\w+(?:\.\w+)?/g,(q)=>{if(q===f1||!Q.includes(q))return q;const G=ij(Z,q.slice(1));return G!==void 0?G:q}).trim(),X){if($.endsWith(f1))$=$.slice(0,-f1.length);if($.startsWith(f1))$=$.slice(f1.length);$=$.replace(sj,Y).trim()}return $}function kY($,Z){if($==null)return Z||null;if(typeof $==="function")return $(Z);return $}var gj=new Set(["title","titleTemplate","script","style","noscript"]),SY=new Set(["base","meta","link","style","script","noscript"]),mj=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),vj=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Vq=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),_q=typeof window!=="undefined",fY=["getActiveHead","useHead","useSeoMeta","useHeadSafe","useServerHead","useServerSeoMeta","useServerHeadSafe"];var v0=($)=>({keyValue:$,metaKey:"property"}),wY=($)=>({keyValue:$}),BE={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){return`${M6($)}=${Z}`}}},articleExpirationTime:v0("article:expiration_time"),articleModifiedTime:v0("article:modified_time"),articlePublishedTime:v0("article:published_time"),bookReleaseDate:v0("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:$,value:Z}){return`${M6($)} ${Z}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:v0("fb:app_id"),msapplicationConfig:wY("msapplication-Config"),msapplicationTileColor:wY("msapplication-TileColor"),msapplicationTileImage:wY("msapplication-TileImage"),ogAudioSecureUrl:v0("og:audio:secure_url"),ogAudioUrl:v0("og:audio"),ogImageSecureUrl:v0("og:image:secure_url"),ogImageUrl:v0("og:image"),ogSiteName:v0("og:site_name"),ogVideoSecureUrl:v0("og:video:secure_url"),ogVideoUrl:v0("og:video"),profileFirstName:v0("profile:first_name"),profileLastName:v0("profile:last_name"),profileUsername:v0("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:$,value:Z}){if($==="seconds")return`${Z}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){if(typeof Z==="boolean")return`${M6($)}`;else return`${M6($)}:${Z}`}}},xUaCompatible:{metaKey:"http-equiv"}},uj=new Set(["og","book","article","profile"]);var pj=10;var hY=new Set(["onload","onerror","onabort","onprogress","onloadstart"]);var Iq={base:-10,title:10},Eq={critical:-80,high:-10,low:20},Cq=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],rj=["name","property","http-equiv"],f1="%separator",sj=new RegExp(`${f1}(?:\\s*${f1})*`,"g");function gY($,Z={},Y){for(let J in $){const Q=$[J],X=Y?`${Y}:${J}`:J;if(typeof Q==="object"&&Q!==null)gY(Q,Z,X);else if(typeof Q==="function")Z[X]=Q}return Z}function nj($,Z){const Y=Z.shift(),J=bq(Y);return $.reduce((Q,X)=>Q.then(()=>J.run(()=>X(...Z))),Promise.resolve())}function tj($,Z){const Y=Z.shift(),J=bq(Y);return Promise.all($.map((Q)=>J.run(()=>Q(...Z))))}function yY($,Z){for(let Y of[...$])Y(Z)}function fq(){return new Sq}var aj={run:($)=>$()},oj=()=>aj,bq=typeof console.createTask!=="undefined"?console.createTask:oj;class Sq{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook($,Z,Y={}){if(!$||typeof Z!=="function")return()=>{};const J=$;let Q;while(this._deprecatedHooks[$])Q=this._deprecatedHooks[$],$=Q.to;if(Q&&!Y.allowDeprecated){let X=Q.message;if(!X)X=`${J} hook has been deprecated`+(Q.to?`, please use ${Q.to}`:"");if(!this._deprecatedMessages)this._deprecatedMessages=new Set;if(!this._deprecatedMessages.has(X))console.warn(X),this._deprecatedMessages.add(X)}if(!Z.name)try{Object.defineProperty(Z,"name",{get:()=>"_"+$.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[$]=this._hooks[$]||[],this._hooks[$].push(Z),()=>{if(Z)this.removeHook($,Z),Z=void 0}}hookOnce($,Z){let Y,J=(...Q)=>{if(typeof Y==="function")Y();return Y=void 0,J=void 0,Z(...Q)};return Y=this.hook($,J),Y}removeHook($,Z){if(this._hooks[$]){const Y=this._hooks[$].indexOf(Z);if(Y!==-1)this._hooks[$].splice(Y,1);if(this._hooks[$].length===0)delete this._hooks[$]}}deprecateHook($,Z){this._deprecatedHooks[$]=typeof Z==="string"?{to:Z}:Z;const Y=this._hooks[$]||[];delete this._hooks[$];for(let J of Y)this.hook($,J)}deprecateHooks($){Object.assign(this._deprecatedHooks,$);for(let Z in $)this.deprecateHook(Z,$[Z])}addHooks($){const Z=gY($),Y=Object.keys(Z).map((J)=>this.hook(J,Z[J]));return()=>{for(let J of Y.splice(0,Y.length))J()}}removeHooks($){const Z=gY($);for(let Y in Z)this.removeHook(Y,Z[Y])}removeAllHooks(){for(let $ in this._hooks)delete this._hooks[$]}callHook($,...Z){return Z.unshift($),this.callHookWith(nj,$,...Z)}callHookParallel($,...Z){return Z.unshift($),this.callHookWith(tj,$,...Z)}callHookWith($,Z,...Y){const J=this._before||this._after?{name:Z,args:Y,context:{}}:void 0;if(this._before)yY(this._before,J);const Q=$(Z in this._hooks?[...this._hooks[Z]]:[],Y);if(Q instanceof Promise)return Q.finally(()=>{if(this._after&&J)yY(this._after,J)});if(this._after&&J)yY(this._after,J);return Q}beforeEach($){return this._before=this._before||[],this._before.push($),()=>{if(this._before!==void 0){const Z=this._before.indexOf($);if(Z!==-1)this._before.splice(Z,1)}}}afterEach($){return this._after=this._after||[],this._after.push($),()=>{if(this._after!==void 0){const Z=this._after.indexOf($);if(Z!==-1)this._after.splice(Z,1)}}}}function yq($={}){const Z=Hz($);return Z.use(Pq()),kq=Z}function hq($,Z){return!$||$==="server"&&Z||$==="client"&&!Z}function Hz($={}){const Z=fq();Z.addHooks($.hooks||{}),$.document=$.document||(_q?document:void 0);const Y=!$.document,J=()=>{G.dirty=!0,Z.callHook("entries:updated",G)};let Q=0,X=[];const q=[],G={plugins:q,dirty:!1,resolvedOptions:$,hooks:Z,headEntries(){return X},use(U){const M=typeof U==="function"?U(G):U;if(!M.key||!q.some((B)=>B.key===M.key))q.push(M),hq(M.mode,Y)&&Z.addHooks(M.hooks||{})},push(U,M){delete M?.head;const B={_i:Q++,input:U,...M};if(hq(B.mode,Y))X.push(B),J();return{dispose(){X=X.filter((W)=>W._i!==B._i),J()},patch(W){for(let D of X)if(D._i===B._i)D.input=B.input=W;J()}}},async resolveTags(){const U={tags:[],entries:[...X]};await Z.callHook("entries:resolve",U);for(let M of U.entries){const B=M.resolvedInput||M.input;if(M.resolvedInput=await(M.transform?M.transform(B):B),M.resolvedInput)for(let W of await xq(M)){const D={tag:W,entry:M,resolvedOptions:G.resolvedOptions};await Z.callHook("tag:normalise",D),U.tags.push(D.tag)}}return await Z.callHook("tags:beforeResolve",U),await Z.callHook("tags:resolve",U),await Z.callHook("tags:afterResolve",U),U.tags},ssr:Y};return[Yz,Gz,Qz,qz,Uz,Mz,Dz,Kz,...$?.plugins||[]].forEach((U)=>G.use(U)),G.hooks.callHook("init",G),G}function gq(){return kq}function jz(){}var Zz=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Yz=q1({hooks:{"tag:normalise":({tag:$})=>{if($.props.hid)$.key=$.props.hid,delete $.props.hid;if($.props.vmid)$.key=$.props.vmid,delete $.props.vmid;if($.props.key)$.key=$.props.key,delete $.props.key;const Z=wq($);if(Z&&!Z.startsWith("meta:og:")&&!Z.startsWith("meta:twitter:"))delete $.key;const Y=Z||($.key?`${$.tag}:${$.key}`:!1);if(Y)$._d=Y},"tags:resolve":($)=>{const Z=Object.create(null);for(let J of $.tags){const Q=(J.key?`${J.tag}:${J.key}`:J._d)||Nq(J),X=Z[Q];if(X){let G=J?.tagDuplicateStrategy;if(!G&&Zz.has(J.tag))G="merge";if(G==="merge"){const U=X.props;if(U.style&&J.props.style){if(U.style[U.style.length-1]!==";")U.style+=";";J.props.style=`${U.style} ${J.props.style}`}if(U.class&&J.props.class)J.props.class=`${U.class} ${J.props.class}`;else if(U.class)J.props.class=U.class;Z[Q].props={...U,...J.props};continue}else if(J._e===X._e){X._duped=X._duped||[],J._d=`${X._d}:${X._duped.length+1}`,X._duped.push(J);continue}else if(K$(J)>K$(X))continue}if(!(J.innerHTML||J.textContent||Object.keys(J.props).length!==0)&&SY.has(J.tag)){delete Z[Q];continue}Z[Q]=J}const Y=[];for(let J in Z){const Q=Z[J],X=Q._duped;if(Y.push(Q),X)delete Q._duped,Y.push(...X)}$.tags=Y,$.tags=$.tags.filter((J)=>!(J.tag==="meta"&&(J.props.name||J.props.property)&&!J.props.content))}}}),Jz=new Set(["script","link","bodyAttrs"]),Qz=q1(($)=>({hooks:{"tags:resolve":(Z)=>{for(let Y of Z.tags){if(!Jz.has(Y.tag))continue;const J=Y.props;for(let Q in J){if(Q[0]!=="o"||Q[1]!=="n")continue;if(!Object.prototype.hasOwnProperty.call(J,Q))continue;const X=J[Q];if(typeof X!=="function")continue;if($.ssr&&hY.has(Q))J[Q]=`this.dataset.${Q}fired = true`;else delete J[Q];Y._eventHandlers=Y._eventHandlers||{},Y._eventHandlers[Q]=X}if($.ssr&&Y._eventHandlers&&(Y.props.src||Y.props.href))Y.key=Y.key||D$(Y.props.src||Y.props.href)}},"dom:renderTag":({$el:Z,tag:Y})=>{const J=Z?.dataset;if(!J)return;for(let Q in J){if(!Q.endsWith("fired"))continue;const X=Q.slice(0,-5);if(!hY.has(X))continue;Y._eventHandlers?.[X]?.call(Z,new Event(X.substring(2)))}}}})),Xz=new Set(["link","style","script","noscript"]),qz=q1({hooks:{"tag:normalise":({tag:$})=>{if($.key&&Xz.has($.tag))$.props["data-hid"]=$._h=D$($.key)}}}),Gz=q1({mode:"server",hooks:{"tags:beforeResolve":($)=>{const Z={};let Y=!1;for(let J of $.tags){if(J._m!=="server"||J.tag!=="titleTemplate"&&J.tag!=="templateParams"&&J.tag!=="title")continue;Z[J.tag]=J.tag==="title"||J.tag==="titleTemplate"?J.textContent:J.props,Y=!0}if(Y)$.tags.push({tag:"script",innerHTML:JSON.stringify(Z),props:{id:"unhead:payload",type:"application/json"}})}}}),Uz=q1({hooks:{"tags:resolve":($)=>{for(let Z of $.tags){if(typeof Z.tagPriority!=="string")continue;for(let{prefix:Y,offset:J}of Cq){if(!Z.tagPriority.startsWith(Y))continue;const Q=Z.tagPriority.substring(Y.length),X=$.tags.find((q)=>q._d===Q)?._p;if(X!==void 0){Z._p=X+J;break}}}$.tags.sort((Z,Y)=>{const J=K$(Z),Q=K$(Y);if(J<Q)return-1;else if(J>Q)return 1;return Z._p-Y._p})}}}),Wz={meta:"content",link:"href",htmlAttrs:"lang"},Bz=["innerHTML","textContent"],Mz=q1(($)=>({hooks:{"tags:resolve":(Z)=>{const{tags:Y}=Z;let J;for(let q=0;q<Y.length;q+=1){if(Y[q].tag!=="templateParams")continue;J=Z.tags.splice(q,1)[0].props,q-=1}const Q=J||{},X=Q.separator||"|";delete Q.separator,Q.pageTitle=H$(Q.pageTitle||Y.find((q)=>q.tag==="title")?.textContent||"",Q,X);for(let q of Y){if(q.processTemplateParams===!1)continue;const G=Wz[q.tag];if(G&&typeof q.props[G]==="string")q.props[G]=H$(q.props[G],Q,X);else if(q.processTemplateParams||q.tag==="titleTemplate"||q.tag==="title"){for(let U of Bz)if(typeof q[U]==="string")q[U]=H$(q[U],Q,X)}}$._templateParams=Q,$._separator=X},"tags:afterResolve":({tags:Z})=>{let Y;for(let J=0;J<Z.length;J+=1){const Q=Z[J];if(Q.tag==="title"&&Q.processTemplateParams!==!1)Y=Q}if(Y?.textContent)Y.textContent=H$(Y.textContent,$._templateParams,$._separator)}}})),Dz=q1({hooks:{"tags:resolve":($)=>{const{tags:Z}=$;let Y,J;for(let Q=0;Q<Z.length;Q+=1){const X=Z[Q];if(X.tag==="title")Y=X;else if(X.tag==="titleTemplate")J=X}if(J&&Y){const Q=kY(J.textContent,Y.textContent);if(Q!==null)Y.textContent=Q||Y.textContent;else $.tags.splice($.tags.indexOf(Y),1)}else if(J){const Q=kY(J.textContent);if(Q!==null)J.textContent=Q,J.tag="title",J=void 0}if(J)$.tags.splice($.tags.indexOf(J),1)}}}),Kz=q1({hooks:{"tags:afterResolve":($)=>{for(let Z of $.tags)if(typeof Z.innerHTML==="string")if(Z.innerHTML&&(Z.props.type==="application/ld+json"||Z.props.type==="application/json"))Z.innerHTML=Z.innerHTML.replace(/</g,"\\u003C");else Z.innerHTML=Z.innerHTML.replace(new RegExp(`</${Z.tag}`,"g"),`<\\/${Z.tag}`)}}}),kq;var Lz=Symbol("ScriptProxyTarget");jz[Lz]=!0;function zz($){return typeof $==="function"?$():r0($)}function V9($){if($ instanceof Promise||$ instanceof Date||$ instanceof RegExp)return $;const Z=zz($);if(!$||!Z)return Z;if(Array.isArray(Z))return Z.map((Y)=>V9(Y));if(typeof Z==="object"){const Y={};for(let J in Z){if(!Object.prototype.hasOwnProperty.call(Z,J))continue;if(J==="titleTemplate"||J[0]==="o"&&J[1]==="n"){Y[J]=r0(Z[J]);continue}Y[J]=V9(Z[J])}return Y}return Z}function Fz($){return{install(Y){if(h1)Y.config.globalProperties.$unhead=$,Y.config.globalProperties.$head=$,Y.provide(D6,$)}}.install}function mY($={}){$.domDelayFn=$.domDelayFn||((Y)=>E0(()=>setTimeout(()=>Y(),0)));const Z=yq($);return Z.use(Oz),Z.install=Fz(Z),Z}function L$(){if(vq in mq)return mq[vq]();const $=O1(D6);if(!$)console.warn("Unhead is missing Vue context, falling back to shared context. This may have unexpected results.");return $||gq()}var h1=F9[0]==="3",Oz=q1({hooks:{"entries:resolve":($)=>{for(let Z of $.entries)Z.resolvedInput=V9(Z.input)}}}),D6="usehead",mq=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{},vq="__unhead_injection_handler__";function uq($,Z={}){const Y=Z.head||L$();if(Y){if(!Y.ssr)return Az(Y,$,Z);return Y.push($,Z)}}function Az($,Z,Y={}){const J=F(!1),Q=F({});Y1(()=>{Q.value=J.value?{}:V9(Z)});const X=$.push(Q.value,Y);if(y(Q,(G)=>{X.patch(G)}),y0())i1(()=>{X.dispose()}),q5(()=>{J.value=!0}),X5(()=>{J.value=!1});return X}var Pz=["injectHead"],wE={"@unhead/vue":[...Pz,...fY]},cq=($,Z)=>{$.mixin({beforeCreate(){const Y=this.$options,J=Y.provide;Y.provide=function(){let Q;if(typeof J==="function")Q=J.call(this);else Q=J||{};return{...Q,[D6]:Z}}}})};function dq($){const Z=$;return Z.headTags=$.resolveTags,Z.addEntry=$.push,Z.addHeadObjs=$.push,Z.addReactiveEntry=(Y,J)=>{const Q=uq(Y,J);if(Q!==void 0)return Q.dispose;return()=>{}},Z.removeHeadObjs=()=>{},Z.updateDOM=()=>{$.hooks.callHook("entries:updated",$)},Z.unhead=$,Z}function K6($){const Z=$.replace(/([A-Z])/g,"-$1").toLowerCase(),Y=Z.indexOf("-"),J=Z.substring(0,Y);if(J==="twitter"||Iz.has(J))return $.replace(/([A-Z])/g,":$1").toLowerCase();return Z}var uY=new Set(["meta","link","base"]),pq=new Set(["title","titleTemplate","script","style","noscript"]);var u0=($)=>({keyValue:$,metaKey:"property"}),vY=($)=>({keyValue:$}),yE={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){return`${K6($)}=${Z}`}}},articleExpirationTime:u0("article:expiration_time"),articleModifiedTime:u0("article:modified_time"),articlePublishedTime:u0("article:published_time"),bookReleaseDate:u0("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:$,value:Z}){return`${K6($)} ${Z}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:u0("fb:app_id"),msapplicationConfig:vY("msapplication-Config"),msapplicationTileColor:vY("msapplication-TileColor"),msapplicationTileImage:vY("msapplication-TileImage"),ogAudioSecureUrl:u0("og:audio:secure_url"),ogAudioUrl:u0("og:audio"),ogImageSecureUrl:u0("og:image:secure_url"),ogImageUrl:u0("og:image"),ogSiteName:u0("og:site_name"),ogVideoSecureUrl:u0("og:video:secure_url"),ogVideoUrl:u0("og:video"),profileFirstName:u0("profile:first_name"),profileLastName:u0("profile:last_name"),profileUsername:u0("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:$,value:Z}){if($==="seconds")return`${Z}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){if(typeof Z==="boolean")return`${K6($)}`;else return`${K6($)}:${Z}`}}},xUaCompatible:{metaKey:"http-equiv"}},Iz=new Set(["og","book","article","profile"]);var lq="%separator",gE=new RegExp(`${lq}(?:\\s*${lq})*`,"g");function Ez($){return String($).replace(/"/g,""")}function cY($){let Z="";for(let Y in $){if(!Object.prototype.hasOwnProperty.call($,Y))continue;const J=$[Y];if(J!==!1&&J!==null)Z+=J===!0?` ${Y}`:` ${Y}="${Ez(J)}"`}return Z}function Vz($,Z){const Y={htmlAttrs:{},bodyAttrs:{},tags:{head:"",bodyClose:"",bodyOpen:""}},J=!Z?.omitLineBreaks?"\n":"";for(let Q of $){if(Object.keys(Q.props).length===0&&!Q.innerHTML&&!Q.textContent)continue;if(Q.tag==="htmlAttrs"||Q.tag==="bodyAttrs"){Object.assign(Y[Q.tag],Q.props);continue}const X=Nz(Q),q=Q.tagPosition||"head";Y.tags[q]+=Y.tags[q]?`${J}${X}`:X}return{headTags:Y.tags.head,bodyTags:Y.tags.bodyClose,bodyTagsOpen:Y.tags.bodyOpen,htmlAttrs:cY(Y.htmlAttrs),bodyAttrs:cY(Y.bodyAttrs)}}function _z($){return $.replace(/[&<>"'/]/g,(Z)=>{switch(Z){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"'":return"'";case"/":return"/";default:return Z}})}function Nz($){const Z=cY($.props),Y=`<${$.tag}${Z}>`;if(!pq.has($.tag))return uY.has($.tag)?Y:`${Y}</${$.tag}>`;let J=String($.innerHTML||"");if($.textContent)J=_z(String($.textContent));return uY.has($.tag)?Y:`${Y}${J}</${$.tag}>`}async function rq($,Z){const Y={shouldRender:!0};if(await $.hooks.callHook("ssr:beforeRender",Y),!Y.shouldRender)return{headTags:"",bodyTags:"",bodyTagsOpen:"",htmlAttrs:"",bodyAttrs:""};const J={tags:await $.resolveTags()};await $.hooks.callHook("ssr:render",J);const Q=Vz(J.tags,Z),X={tags:J.tags,html:Q};return await $.hooks.callHook("ssr:rendered",X),X.html}function iq($,Z){const Y=!h1?$.tag:$.type,J=Y==="html"?"htmlAttrs":Y==="body"?"bodyAttrs":Y;if(typeof J!=="string"||!(J in Z))return;const Q=!h1?$.data:$,X=(!h1?Q.attrs:$.props)||{};if(!h1){if(Q.staticClass)X.class=Q.staticClass;if(Q.staticStyle)X.style=Object.entries(Q.staticStyle).map(([q,G])=>`${q}:${G}`).join(";")}if($.children){const q=!h1?"text":"children";X.children=Array.isArray($.children)?$.children[0][q]:$[q]}if(Array.isArray(Z[J]))Z[J].push(X);else if(J==="title")Z.title=X.children;else Z[J]=X}function Rz($){const Z={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(let Y of $)if(typeof Y.type==="symbol"&&Array.isArray(Y.children))for(let J of Y.children)iq(J,Z);else iq(Y,Z);return Z}var sq=r1({name:"Head",setup($,{slots:Z}){const Y=L$(),J=F({}),Q=Y.push(J);return i1(()=>{Q.dispose()}),()=>{return Y1(()=>{if(!Z.default)return;Q.patch(Rz(Z.default()))}),null}}});function Tz($,Z){const Y=mY(Z||{}),J=dq(Y);if($)J.push($);return J}var xz=cq,Cz=($)=>rq($.unhead);var wz=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],bz=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Sz=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],fz=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],aq=($,Z,Y)=>{let J=$;if(typeof Z==="string"||Array.isArray(Z))J=$.toLocaleString(Z,Y);else if(Z===!0||Y!==void 0)J=$.toLocaleString(void 0,Y);return J};function oq($,Z){if(!Number.isFinite($))throw new TypeError(`Expected a finite number, got ${typeof $}: ${$}`);Z={bits:!1,binary:!1,space:!0,...Z};const Y=Z.bits?Z.binary?fz:Sz:Z.binary?bz:wz,J=Z.space?" ":"";if(Z.signed&&$===0)return` 0${J}${Y[0]}`;const Q=$<0,X=Q?"-":Z.signed?"+":"";if(Q)$=-$;let q;if(Z.minimumFractionDigits!==void 0)q={minimumFractionDigits:Z.minimumFractionDigits};if(Z.maximumFractionDigits!==void 0)q={maximumFractionDigits:Z.maximumFractionDigits,...q};if($<1){const B=aq($,Z.locale,q);return X+B+J+Y[0]}const G=Math.min(Math.floor(Z.binary?Math.log($)/Math.log(1024):Math.log10($)/3),Y.length-1);if($/=(Z.binary?1024:1000)**G,!q)$=$.toPrecision(3);const U=aq(Number($),Z.locale,q),M=Y[G];return X+U+J+M}export{G7 as wordChar,U7 as wordBoundary,q7 as word,O7 as withIndices,B7 as whitespace,FY as whenever,$9 as watchWithFilter,eD as watchTriggerable,t5 as watchThrottled,n1 as watchPausable,tD as watchOnce,nD as watchImmediate,Y9 as watchIgnorable,oD as watchDeep,n5 as watchDebounced,aD as watchAtMost,sD as watchArray,tI as waitWhile,nI as waitUntil,aI as wait,Cj as useWindowSize,xj as useWindowScroll,Tj as useWindowFocus,Rj as useWebWorkerFn,Ej as useWebWorker,Ij as useWebSocket,Pj as useWebNotification,Aj as useWakeLock,jj as useVirtualList,Lj as useVibrate,Hj as useVModels,Wq as useVModel,Kj as useUserMedia,Dj as useUrlSearchParams,OK as useTrunc,Mj as useTransition,iD as useToggle,rD as useToString,pD as useToNumber,Wj as useTitle,Uj as useTimestamp,Gj as useTimeoutPoll,Z9 as useTimeoutFn,lD as useTimeout,qj as useTimeAgo,Yj as useThrottledRefHistory,sZ as useThrottleFn,jY as useThrottle,Zj as useTextareaAutosize,$j as useTextSelection,tL as useTextDirection,nL as useTemplateRefsList,aL as useSwipe,t as useSupported,zK as useSum,sL as useStyleTag,rL as useStorageAsync,G6 as useStorage,pL as useStepper,lL as useSpeechSynthesis,dL as useSpeechRecognition,cL as useSorted,vL as useShare,mL as useSessionStorage,gL as useScrollLock,e7 as useScroll,kL as useScriptTag,hL as useScreenSafeArea,Qq as useScreenOrientation,jK as useRound,U6 as useResizeObserver,TY as useRefHistory,J9 as useRafFn,LK as useProjection,fL as usePrevious,SL as usePreferredReducedMotion,bL as usePreferredLanguages,RY as usePreferredDark,wL as usePreferredContrast,CL as usePreferredColorScheme,HK as usePrecision,xL as usePointerSwipe,TL as usePointerLock,RL as usePointer,J6 as usePermission,_L as usePerformanceObserver,VL as useParentElement,EL as useParallax,IL as usePageLeave,PL as useOnline,AL as useOffsetPagination,FL as useObjectUrl,Jq as useNow,Yq as useNetwork,OL as useNavigatorLanguage,E9 as useMutationObserver,zL as useMousePressed,Zq as useMouseInElement,$q as useMouse,y7 as useMounted,DK as useMin,LL as useMemory,HL as useMemoize,i0 as useMediaQuery,DL as useMediaControls,MK as useMax,BK as useMath,r7 as useManualRefHistory,WL as useMagicKeys,GL as useLocalStorage,dD as useLastChanged,qL as useKeyModifier,A1 as useIntervalFn,cD as useInterval,o7 as useIntersectionObserver,QL as useInfiniteScroll,JL as useImage,ZL as useIdle,tH as useGeolocation,nH as useGamepad,aH as useFullscreen,sH as useFps,iH as useFocusWithin,lH as useFocus,WK as useFloor,dH as useFileSystemAccess,cH as useFileDialog,t7 as useFetch,hH as useFavicon,fH as useEyeDropper,SH as useEventSource,S as useEventListener,wH as useEventBus,n7 as useElementVisibility,a7 as useElementSize,CH as useElementHover,xH as useElementByPoint,TH as useElementBounding,RH as useDropZone,NH as useDraggable,s7 as useDocumentVisibility,_H as useDisplayMedia,VH as useDevicesList,EH as useDevicePixelRatio,i7 as useDeviceOrientation,IH as useDeviceMotion,PH as useDebouncedRefHistory,q$ as useDebounceFn,LY as useDebounce,uD as useDateFormat,zH as useDark,jH as useCycleList,l7 as useCurrentElement,W$ as useCssVar,hD as useCounter,LH as useConfirmDialog,d7 as useColorMode,MH as useCloned,BH as useClipboardItems,WH as useClipboard,UK as useClamp,GK as useCeil,UH as useCached,GH as useBrowserLocation,qH as useBroadcastChannel,XH as useBreakpoints,oK as useBluetooth,aK as useBattery,iK as useBase64,qK as useAverage,m7 as useAsyncState,lK as useAsyncQueue,fD as useArrayUnique,wD as useArraySome,CD as useArrayReduce,xD as useArrayMap,TD as useArrayIncludes,ND as useArrayFindIndex,_D as useArrayFind,VD as useArrayFilter,ED as useArrayEvery,ID as useArrayDifference,dK as useAnimate,g7 as useActiveElement,XK as useAbs,P9 as until,a as unrefElement,E7 as unicode,oZ as tryOnUnmounted,s as tryOnScopeDispose,P0 as tryOnMounted,OY as tryOnBeforeUnmount,AD as tryOnBeforeMount,F6 as toString,g5 as toReactive,t5 as throttledWatch,jY as throttledRef,$E as throttle,cK as templateRef,IP as tap,D7 as tab,FD as syncRefs,aZ as syncRef,V7 as sticky,sI as sleep,KH as setSSRHandler,rI as retry,UD as resolveUnref,LD as resolveRef,Cz as renderHeadToString,o5 as refWithControl,jY as refThrottled,zD as refDefault,LY as refDebounced,a5 as refAutoReset,oq as readableSize,jD as reactivePick,BD as reactiveOmit,BY as reactiveComputed,WD as reactifyObject,Y$ as reactify,bI as rand,k5 as provideLocal,n1 as pausableWatch,Z7 as or,z7 as oneOrMore,uK as onStartTyping,gK as onLongPress,hK as onKeyUp,X6 as onKeyStroke,fK as onKeyPressed,SK as onKeyDown,wK as onClickOutside,NP as notUndefined,VP as notNullish,L7 as not,_P as noNull,P7 as multiline,j7 as maybe,oH as mapGamepadToXbox360Controller,WY as makeDestructurable,LP as loop,Z7 as logicOr,QK as logicNot,K7 as linefeed,M7 as letter,RP as isTruthy,GD as isDefined,h5 as injectLocal,Y9 as ignorableWatch,A7 as global,q6 as getSSRHandler,Gq as formatTimeAgo,y5 as extendRef,Uq as executeTransition,X1 as exactly,f5 as eagerComputed,I7 as dotAll,W7 as digit,oI as delay,c as defaultWindow,s0 as defaultNavigator,CK as defaultLocation,g0 as defaultDocument,n5 as debouncedWatch,LY as debouncedRef,UM as debounce,NY as customStorageEventName,xK as createUnrefFn,TK as createTemplatePromise,hI as createSingletonPromise,qD as createSharedComposable,NK as createReusableTemplate,dI as createRegExp,Y$ as createReactiveFn,kI as createPromiseLock,$7 as createProjection,XD as createInjectionState,Tz as createHead,QD as createGlobalState,e5 as createGenericProjection,mH as createFetch,x0 as createEventHook,yI as createControlledPromise,OD as controlledRef,lZ as controlledComputed,lZ as computedWithControl,_K as computedInject,f5 as computedEager,k7 as computedAsync,M$ as cloneFnJSON,wI as clamp,J7 as charNotIn,Y7 as charIn,X7 as char,F7 as caseInsensitive,H7 as carriageReturn,EK as calculateDelay,$H as breakpointsVuetify,nK as breakpointsTailwind,JH as breakpointsSematic,YH as breakpointsQuasar,QH as breakpointsMasterCss,tK as breakpointsBootstrapV5,ZH as breakpointsAntDesign,PP as batchInvoke,a5 as autoResetRef,k7 as asyncComputed,Q7 as anyOf,JK as and,xz as HeadVuePlugin,sq as Head};
|
|
124
|
+
Component that was made reactive: `,$);return S2($,Z,Y,J,Q,q,X,!0)}function h2($){if(!$)return null;return d1($)||B5($)?A0({},$):$}function r9($,Z,Y=!1,J=!1){const{props:Q,ref:X,patchFlag:q,children:G,transition:U}=$,M=Z?y2(Q||{},Z):Q,B={__v_isVNode:!0,__v_skip:!0,type:$.type,props:M,key:M&&K5(M),ref:Z&&Z.ref?Y&&X?Z0(X)?X.concat(wZ(Z)):[X,wZ(Z)]:wZ(Z):X,scopeId:$.scopeId,slotScopeIds:$.slotScopeIds,children:q===-1&&Z0(G)?G.map(H5):G,target:$.target,targetStart:$.targetStart,targetAnchor:$.targetAnchor,staticCount:$.staticCount,shapeFlag:$.shapeFlag,patchFlag:Z&&$.type!==s1?q===-1?16:q|16:q,dynamicProps:$.dynamicProps,dynamicChildren:$.dynamicChildren,appContext:$.appContext,dirs:$.dirs,transition:U,component:$.component,suspense:$.suspense,ssContent:$.ssContent&&r9($.ssContent),ssFallback:$.ssFallback&&r9($.ssFallback),el:$.el,anchor:$.anchor,ctx:$.ctx,ce:$.ce};if(U&&J)s9(B,U.clone(B));return B}function H5($){const Z=r9($);if(Z0($.children))Z.children=$.children.map(H5);return Z}function k2($=" ",Z=0){return l1(JY,null,$,Z)}function QY($,Z){let Y=0;const{shapeFlag:J}=$;if(Z==null)Z=null;else if(Z0(Z))Y=16;else if(typeof Z==="object")if(J&65){const Q=Z.default;if(Q)Q._c&&(Q._d=!1),QY($,Q()),Q._c&&(Q._d=!0);return}else{Y=32;const Q=Z._;if(!Q&&!B5(Z))Z._ctx=Q1;else if(Q===3&&Q1)if(Q1.slots._===1)Z._=1;else Z._=2,$.patchFlag|=1024}else if(K0(Z))Z={default:Z,_ctx:Q1},Y=32;else if(Z=String(Z),J&64)Y=16,Z=[k2(Z)];else Y=8;$.children=Z,$.shapeFlag|=Y}function y2(...$){const Z={};for(let Y=0;Y<$.length;Y++){const J=$[Y];for(let Q in J)if(Q==="class"){if(Z.class!==J.class)Z.class=DZ([Z.class,J.class])}else if(Q==="style")Z.style=MZ([Z.style,J.style]);else if(P8(Q)){const X=Z[Q],q=J[Q];if(q&&X!==q&&!(Z0(X)&&X.includes(q)))Z[Q]=X?[].concat(X,q):q}else if(Q!=="")Z[Q]=J[Q]}return Z}function m2($){return $.vnode.shapeFlag&4}function v2($){if($.exposed)return $.exposeProxy||($.exposeProxy=new Proxy(u8(c9($.exposed)),{get(Z,Y){if(Y in Z)return Z[Y];else if(Y in l9)return l9[Y]($)},has(Z,Y){return Y in Z||Y in l9}}));else return $.proxy}function j5($,Z=!0){return K0($)?$.displayName||$.name:$.name||Z&&$.__name}function z5($,Z,Y=!1){let J=j5(Z);if(!J&&Z.__file){const Q=Z.__file.match(/([^/\\]+)\.\w+$/);if(Q)J=Q[1]}if(!J&&$&&$.parent){const Q=(X)=>{for(let q in X)if(X[q]===Z)return q};J=Q($.components||$.parent.type.components)||Q($.appContext.components)}return J?c2(J):Y?"App":"Anonymous"}function O5($){return K0($)&&"__vccOpts"in $}function uZ($,Z,Y){const J=arguments.length;if(J===2)if(O0(Z)&&!Z0(Z)){if(s8(Z))return l1($,null,[Z]);return l1($,Z)}else return l1($,null,Z);else{if(J>3)Y=Array.prototype.slice.call(arguments,2);else if(J===3&&s8(Y))Y=[Y];return l1($,Z,Y)}}function F5(){if(typeof window==="undefined")return;const $={style:"color:#3ba776"},Z={style:"color:#1677ff"},Y={style:"color:#f5222d"},J={style:"color:#eb2f96"},Q={__vue_custom_formatter:!0,header(W){if(!O0(W))return null;if(W.__isVue)return["div",$,"VueInstance"];else if(i(W))return["div",{},["span",$,B(W)],"<",G("_value"in W?W._value:W),">"];else if(B1(W))return["div",{},["span",$,w0(W)?"ShallowReactive":"Reactive"],"<",G(W),`>${T0(W)?" (readonly)":""}`];else if(T0(W))return["div",{},["span",$,w0(W)?"ShallowReadonly":"Readonly"],"<",G(W),">"];return null},hasBody(W){return W&&W.__isVue},body(W){if(W&&W.__isVue)return["div",{},...X(W.$)]}};function X(W){const D=[];if(W.type.props&&W.props)D.push(q("props",r(W.props)));if(W.setupState!==f0)D.push(q("setup",W.setupState));if(W.data!==f0)D.push(q("data",r(W.data)));const K=U(W,"computed");if(K)D.push(q("computed",K));const H=U(W,"inject");if(H)D.push(q("injected",H));return D.push(["div",{},["span",{style:J.style+";opacity:0.66"},"$ (internal): "],["object",{object:W}]]),D}function q(W,D){if(D=A0({},D),!Object.keys(D).length)return["span",{}];return["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},W],["div",{style:"padding-left:1.25em"},...Object.keys(D).map((K)=>{return["div",{},["span",J,K+": "],G(D[K],!1)]})]]}function G(W,D=!0){if(typeof W==="number")return["span",Z,W];else if(typeof W==="string")return["span",Y,JSON.stringify(W)];else if(typeof W==="boolean")return["span",J,W];else if(O0(W))return["object",{object:D?r(W):W}];else return["span",Y,String(W)]}function U(W,D){const K=W.type;if(K0(K))return;const H={};for(let L in W.ctx)if(M(K,L,D))H[L]=W.ctx[L];return H}function M(W,D,K){const H=W[K];if(Z0(H)&&H.includes(D)||O0(H)&&D in H)return!0;if(W.extends&&M(W.extends,D,K))return!0;if(W.mixins&&W.mixins.some((L)=>M(L,D,K)))return!0}function B(W){if(w0(W))return"ShallowRef";if(W.effect)return"ComputedRef";return"Ref"}if(window.devtoolsFormatters)window.devtoolsFormatters.push(Q);else window.devtoolsFormatters=[Q]}var p1=[],d8=!1;var o8={["sp"]:"serverPrefetch hook",["bc"]:"beforeCreate hook",["c"]:"created hook",["bm"]:"beforeMount hook",["m"]:"mounted hook",["bu"]:"beforeUpdate hook",["u"]:"updated",["bum"]:"beforeUnmount hook",["um"]:"unmounted hook",["a"]:"activated hook",["da"]:"deactivated hook",["ec"]:"errorCaptured hook",["rtc"]:"renderTracked hook",["rtg"]:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update",[16]:"app unmount cleanup function"},Z1=[],j1=-1,O9=[],T1=null,j9=0,tX=Promise.resolve(),bZ=null,$2=100,p9=($)=>$.id==null?$.flags&2?-1:1/0:$.id,SZ=!1,CZ=new Map;R8().__VUE_HMR_RUNTIME__={createRecord:l8(J2),rerender:l8(Q2),reload:l8(X2)};var fZ=new Map;/*! #__NO_SIDE_EFFECTS__ */var Q1=null,q2=null;var tP=Symbol("_vte"),G2=($)=>$.__isTeleport;var L9=Symbol("_leaveCb"),xZ=Symbol("_enterCb"),$1=[Function,Array],Q5={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$1,onEnter:$1,onAfterEnter:$1,onEnterCancelled:$1,onBeforeLeave:$1,onLeave:$1,onAfterLeave:$1,onLeaveCancelled:$1,onBeforeAppear:$1,onAppear:$1,onAfterAppear:$1,onAppearCancelled:$1};/*! #__NO_SIDE_EFFECTS__ *//*! #__NO_SIDE_EFFECTS__ */var W2=($)=>$.type.__isKeepAlive;var z1=($)=>(Z,Y=o0)=>{if(!vZ||$==="sp")$Y($,(...J)=>Z(...J),Y)},ZY=z1("bm"),x1=z1("m"),U5=z1("bu"),a9=z1("u"),i1=z1("bum"),mZ=z1("um"),eP=z1("sp"),$I=z1("rtg"),ZI=z1("rtc");var M2=Symbol.for("v-ndc"),i8=($)=>{if(!$)return null;if(m2($))return v2($);return i8($.parent)},l9=A0(Object.create(null),{$:($)=>$,$el:($)=>$.vnode.el,$data:($)=>$.data,$props:($)=>K9($.props),$attrs:($)=>K9($.attrs),$slots:($)=>K9($.slots),$refs:($)=>K9($.refs),$parent:($)=>i8($.parent),$root:($)=>i8($.root),$host:($)=>$.ce,$emit:($)=>$.emit,$options:($)=>__VUE_OPTIONS_API__?L2($):$.type,$forceUpdate:($)=>$.f||($.f=()=>{t8($.update)}),$nextTick:($)=>$.n||($.n=E0.bind($.proxy)),$watch:($)=>__VUE_OPTIONS_API__?V2.bind($):_1}),D2=($)=>$==="_"||$==="$",p8=($,Z)=>$!==f0&&!$.__isScriptSetup&&L0($,Z),K2={get({_:$},Z){if(Z==="__v_skip")return!0;const{ctx:Y,setupState:J,data:Q,props:X,accessCache:q,type:G,appContext:U}=$;if(Z==="__isVue")return!0;let M;if(Z[0]!=="$"){const K=q[Z];if(K!==void 0)switch(K){case 1:return J[Z];case 2:return Q[Z];case 4:return Y[Z];case 3:return X[Z]}else if(p8(J,Z))return q[Z]=1,J[Z];else if(Q!==f0&&L0(Q,Z))return q[Z]=2,Q[Z];else if((M=$.propsOptions[0])&&L0(M,Z))return q[Z]=3,X[Z];else if(Y!==f0&&L0(Y,Z))return q[Z]=4,Y[Z];else if(!__VUE_OPTIONS_API__||H2)q[Z]=0}const B=l9[Z];let W,D;if(B){if(Z==="$attrs")R0($.attrs,"get",""),R2();else if(Z==="$slots")R0($,"get",Z);return B($)}else if((W=G.__cssModules)&&(W=W[Z]))return W;else if(Y!==f0&&L0(Y,Z))return q[Z]=4,Y[Z];else if(D=U.config.globalProperties,L0(D,Z))return D[Z];else if(Q1&&(!p0(Z)||Z.indexOf("__v")!==0)){if(Q!==f0&&D2(Z[0])&&L0(Q,Z))B0(`Property ${JSON.stringify(Z)} must be accessed via \$data because it starts with a reserved character ("\$" or "_") and is not proxied on the render context.`);else if($===Q1)B0(`Property ${JSON.stringify(Z)} was accessed during render but is not defined on instance.`)}},set({_:$},Z,Y){const{data:J,setupState:Q,ctx:X}=$;if(p8(Q,Z))return Q[Z]=Y,!0;else if(Q.__isScriptSetup&&L0(Q,Z))return B0(`Cannot mutate <script setup> binding "${Z}" from Options API.`),!1;else if(J!==f0&&L0(J,Z))return J[Z]=Y,!0;else if(L0($.props,Z))return B0(`Attempting to mutate prop "${Z}". Props are readonly.`),!1;if(Z[0]==="$"&&Z.slice(1)in $)return B0(`Attempting to mutate public property "${Z}". Properties starting with \$ are reserved and readonly.`),!1;else if(Z in $.appContext.config.globalProperties)Object.defineProperty(X,Z,{enumerable:!0,configurable:!0,value:Y});else X[Z]=Y;return!0},has({_:{data:$,setupState:Z,accessCache:Y,ctx:J,appContext:Q,propsOptions:X}},q){let G;return!!Y[q]||$!==f0&&L0($,q)||p8(Z,q)||(G=X[0])&&L0(G,q)||L0(J,q)||L0(l9,q)||L0(Q.config.globalProperties,q)},defineProperty($,Z,Y){if(Y.get!=null)$._.accessCache[Z]=0;else if(L0(Y,"value"))this.set($,Z,Y.value,null);return Reflect.defineProperty($,Z,Y)}};K2.ownKeys=($)=>{return B0("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys($)};var H2=!0,j2={data:rX,props:sX,emits:sX,methods:d9,computed:d9,beforeCreate:k0,created:k0,beforeMount:k0,mounted:k0,beforeUpdate:k0,updated:k0,beforeDestroy:k0,beforeUnmount:k0,destroyed:k0,unmounted:k0,activated:k0,deactivated:k0,errorCaptured:k0,serverPrefetch:k0,components:d9,directives:d9,watch:O2,provide:rX,inject:z2};var r8=null,A2={};var B5=($)=>Object.getPrototypeOf($)===A2;var P2=x2,I2=Symbol.for("v-scx"),E2=()=>{{const $=O1(I2);if(!$)B0("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.");return $}};var N2=!1;var T2=($)=>$.__isSuspense;var s1=Symbol.for("v-fgt"),JY=Symbol.for("v-txt"),M5=Symbol.for("v-cmt"),C2=Symbol.for("v-stc");var z9=null,D5=1,aX,b2=(...$)=>{return f2(...aX?aX($,Q1):$)},K5=({key:$})=>$!=null?$:null,wZ=({ref:$,ref_key:Z,ref_for:Y})=>{if(typeof $==="number")$=""+$;return $!=null?p0($)||i($)||K0($)?{i:Q1,r:$,k:Z,f:!!Y}:$:null},l1=b2,YI=F2();var o0=null,y0=()=>o0||Q1,a8,g2;{const $=R8(),Z=(Y,J)=>{let Q;if(!(Q=$[Y]))Q=$[Y]=[];return Q.push(J),(X)=>{if(Q.length>1)Q.forEach((q)=>q(X));else Q[0](X)}};a8=Z("__VUE_INSTANCE_SETTERS__",(Y)=>o0=Y),g2=Z("__VUE_SSR_SETTERS__",(Y)=>vZ=Y)}var L5=($)=>{const Z=o0;return a8($),$.scope.on(),()=>{$.scope.off(),a8(Z)}};var vZ=!1;var u2=/(?:^|[-_])(\w)/g,c2=($)=>$.replace(u2,(Z)=>Z.toUpperCase()).replace(/[-_]/g,""),x=($,Z)=>{const Y=uX($,Z,vZ);{const J=y0();if(J&&J.appContext.config.warnRecursiveComputed)Y._warnRecursive=!0}return Y},F9="3.5.11",cZ=B0;function p2($){const Z={};for(let V in $)if(!(V in R5))Z[V]=$[V];if($.css===!1)return Z;const{name:Y="v",type:J,duration:Q,enterFromClass:X=`${Y}-enter-from`,enterActiveClass:q=`${Y}-enter-active`,enterToClass:G=`${Y}-enter-to`,appearFromClass:U=X,appearActiveClass:M=q,appearToClass:B=G,leaveFromClass:W=`${Y}-leave-from`,leaveActiveClass:D=`${Y}-leave-active`,leaveToClass:K=`${Y}-leave-to`}=$,H=r2(Q),L=H&&H[0],z=H&&H[1],{onBeforeEnter:j,onEnter:O,onEnterCancelled:A,onLeave:N,onLeaveCancelled:I,onBeforeAppear:h=j,onAppear:R=O,onAppearCancelled:C=A}=Z,_=(V,T,f)=>{w1(V,T?B:G),w1(V,T?M:q),f&&f()},E=(V,T)=>{V._isLeaving=!1,w1(V,W),w1(V,K),w1(V,D),T&&T()},b=(V)=>{return(T,f)=>{const k=V?R:O,w=()=>_(T,V,f);a1(k,[T,w]),I5(()=>{if(w1(T,V?U:X),F1(T,V?B:G),!P5(k))E5(T,J,L,w)})}};return A0(Z,{onBeforeEnter(V){a1(j,[V]),F1(V,X),F1(V,q)},onBeforeAppear(V){a1(h,[V]),F1(V,U),F1(V,M)},onEnter:b(!1),onAppear:b(!0),onLeave(V,T){V._isLeaving=!0;const f=()=>E(V,T);F1(V,W),F1(V,D),x5(),I5(()=>{if(!V._isLeaving)return;if(w1(V,W),F1(V,K),!P5(N))E5(V,J,z,f)}),a1(N,[V,f])},onEnterCancelled(V){_(V,!1),a1(A,[V])},onAppearCancelled(V){_(V,!0),a1(C,[V])},onLeaveCancelled(V){E(V),a1(I,[V])}})}function r2($){if($==null)return null;else if(O0($))return[XY($.enter),XY($.leave)];else{const Z=XY($);return[Z,Z]}}function XY($){const Z=N8($);return nX(Z,"<transition> explicit duration"),Z}function F1($,Z){Z.split(/\s+/).forEach((Y)=>Y&&$.classList.add(Y)),($[t9]||($[t9]=new Set)).add(Z)}function w1($,Z){Z.split(/\s+/).forEach((J)=>J&&$.classList.remove(J));const Y=$[t9];if(Y){if(Y.delete(Z),!Y.size)$[t9]=void 0}}function I5($){requestAnimationFrame(()=>{requestAnimationFrame($)})}function E5($,Z,Y,J){const Q=$._endId=++i2,X=()=>{if(Q===$._endId)J()};if(Y!=null)return setTimeout(X,Y);const{type:q,timeout:G,propCount:U}=T5($,Z);if(!q)return J();const M=q+"end";let B=0;const W=()=>{$.removeEventListener(M,D),X()},D=(K)=>{if(K.target===$&&++B>=U)W()};setTimeout(()=>{if(B<U)W()},G+1),$.addEventListener(M,D)}function T5($,Z){const Y=window.getComputedStyle($),J=(H)=>(Y[H]||"").split(", "),Q=J(`${C1}Delay`),X=J(`${C1}Duration`),q=V5(Q,X),G=J(`${o9}Delay`),U=J(`${o9}Duration`),M=V5(G,U);let B=null,W=0,D=0;if(Z===C1){if(q>0)B=C1,W=q,D=X.length}else if(Z===o9){if(M>0)B=o9,W=M,D=U.length}else W=Math.max(q,M),B=W>0?q>M?C1:o9:null,D=B?B===C1?X.length:U.length:0;const K=B===C1&&/\b(transform|all)(,|$)/.test(J(`${C1}Property`).toString());return{type:B,timeout:W,propCount:D,hasTransform:K}}function V5($,Z){while($.length<Z.length)$=$.concat($);return Math.max(...Z.map((Y,J)=>_5(Y)+_5($[J])))}function _5($){if($==="auto")return 0;return Number($.slice(0,-1).replace(",","."))*1000}function x5(){return document.body.offsetHeight}function n9($,Z){$.style.display=Z?$[C5]:"none",$[s2]=!Z}function t2($){const Z=$.el;if(Z[dZ])Z[dZ]();if(Z[N5])Z[N5]()}function e2($){b5.set($,$.el.getBoundingClientRect())}function $D($){const Z=w5.get($),Y=b5.get($),J=Z.left-Y.left,Q=Z.top-Y.top;if(J||Q){const X=$.el.style;return X.transform=X.webkitTransform=`translate(${J}px,${Q}px)`,X.transitionDuration="0s",$}}function ZD($,Z,Y){const J=$.cloneNode(),Q=$[t9];if(Q)Q.forEach((G)=>{G.split(/\s+/).forEach((U)=>U&&J.classList.remove(U))});Y.split(/\s+/).forEach((G)=>G&&J.classList.add(G)),J.style.display="none";const X=Z.nodeType===1?Z:Z.parentNode;X.appendChild(J);const{hasTransform:q}=T5(J);return X.removeChild(J),q}var d2=void 0,A5=typeof window!=="undefined"&&window.trustedTypes;if(A5)try{d2=A5.createPolicy("vue",{createHTML:($)=>$})}catch($){cZ(`Error creating trusted types policy: ${$}`)}var C1="transition",o9="animation",t9=Symbol("_vtc"),R5={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},l2=A0({},Q5,R5);var a1=($,Z=[])=>{if(Z0($))$.forEach((Y)=>Y(...Z));else if($)$(...Z)},P5=($)=>{return $?Z0($)?$.some((Z)=>Z.length>1):$.length>1:!1},i2=0,C5=Symbol("_vod"),s2=Symbol("_vsh"),a2={beforeMount($,{value:Z},{transition:Y}){if($[C5]=$.style.display==="none"?"":$.style.display,Y&&Z)Y.beforeEnter($);else n9($,Z)},mounted($,{value:Z},{transition:Y}){if(Y&&Z)Y.enter($)},updated($,{value:Z,oldValue:Y},{transition:J}){if(!Z===!Y)return;if(J)if(Z)J.beforeEnter($),n9($,!0),J.enter($);else J.leave($,()=>{n9($,!1)});else n9($,Z)},beforeUnmount($,{value:Z}){n9($,Z)}};a2.name="show";var OI=Symbol("CSS_VAR_TEXT");var FI=Symbol("_vei");/*! #__NO_SIDE_EFFECTS__ *//*! #__NO_SIDE_EFFECTS__ */var w5=new WeakMap,b5=new WeakMap,dZ=Symbol("_moveCb"),N5=Symbol("_enterCb"),o2=($)=>{return delete $.props.mode,$},n2=o2({name:"TransitionGroup",props:A0({},l2,{tag:String,moveClass:String}),setup($,{slots:Z}){const Y=y0(),J=J5();let Q,X;return a9(()=>{if(!Q.length)return;const q=$.moveClass||`${$.name||"v"}-move`;if(!ZD(Q[0].el,Y.vnode.el,q))return;Q.forEach(t2),Q.forEach(e2);const G=Q.filter($D);x5(),G.forEach((U)=>{const M=U.el,B=M.style;F1(M,q),B.transform=B.webkitTransform=B.transitionDuration="";const W=M[dZ]=(D)=>{if(D&&D.target!==M)return;if(!D||/transform$/.test(D.propertyName))M.removeEventListener("transitionend",W),M[dZ]=null,w1(M,q)};M.addEventListener("transitionend",W)})}),()=>{const q=r($),G=p2(q);let U=q.tag||s1;if(Q=[],X)for(let M=0;M<X.length;M++){const B=X[M];if(B.el&&B.el instanceof Element)Q.push(B),s9(B,gZ(B,G,J,Y)),w5.set(B,B.el.getBoundingClientRect())}X=Z.default?e8(Z.default()):[];for(let M=0;M<X.length;M++){const B=X[M];if(B.key!=null)s9(B,gZ(B,G,J,Y));else if(B.type!==JY)cZ("<TransitionGroup> children must be keyed.")}return l1(U,null,X)}}}),S5=n2;var AI=Symbol("_assign");function YD(){F5()}YD();function qY($,Z,Y){if(Array.isArray($))return $.length=Math.max($.length,Z),$.splice(Z,1,Y),Y;return $[Z]=Y,Y}function GY($,Z){if(Array.isArray($)){$.splice(Z,1);return}delete $[Z]}var e9=!1,$$=!0;function f5($,Z){var Y;const J=n();return Y1(()=>{J.value=$()},{...Z,flush:(Y=Z==null?void 0:Z.flush)!=null?Y:"sync"}),Y0(J)}function lZ($,Z){let Y=void 0,J,Q;const X=F(!0),q=()=>{X.value=!0,Q()};y($,q,{flush:"sync"});const G=typeof Z==="function"?Z:Z.get,U=typeof Z==="function"?void 0:Z.set,M=M1((B,W)=>{return J=B,Q=W,{get(){if(X.value)Y=G(Y),X.value=!1;return J(),Y},set(D){U==null||U(D)}}});if(Object.isExtensible(M))M.trigger=q;return M}function s($){if(B9())return EZ($),!0;return!1}function x0(){const $=new Set,Z=(Q)=>{$.delete(Q)};return{on:(Q)=>{$.add(Q);const X=()=>Z(Q);return s(X),{off:X}},off:Z,trigger:(...Q)=>{return Promise.all(Array.from($).map((X)=>X(...Q)))}}}function QD($){let Z=!1,Y;const J=IZ(!0);return(...Q)=>{if(!Z)Y=J.run(()=>$(...Q)),Z=!0;return Y}}function XD($,Z){const Y=(Z==null?void 0:Z.injectionKey)||Symbol($.name||"InjectionState"),J=Z==null?void 0:Z.defaultValue;return[(...q)=>{const G=$(...q);return k5(Y,G),G},()=>h5(Y,J)]}function qD($){let Z=0,Y,J;const Q=()=>{if(Z-=1,J&&Z<=0)J.stop(),Y=void 0,J=void 0};return(...X)=>{if(Z+=1,!J)J=IZ(!0),Y=J.run(()=>$(...X));return s(Q),Y}}function y5($,Z,{enumerable:Y=!1,unwrap:J=!0}={}){if(!$$&&!F9.startsWith("2.7."))throw new Error("[VueUse] extendRef only works in Vue 2.7 or above.");for(let[Q,X]of Object.entries(Z)){if(Q==="value")continue;if(i(X)&&J)Object.defineProperty($,Q,{get(){return X.value},set(q){X.value=q},enumerable:Y});else Object.defineProperty($,Q,{value:X,enumerable:Y})}return $}function GD($){return r0($)!=null}function WY($,Z){if(typeof Symbol!=="undefined"){const Y={...$};return Object.defineProperty(Y,Symbol.iterator,{enumerable:!1,value(){let J=0;return{next:()=>({value:Z[J++],done:J>Z.length})}}}),Y}else return Object.assign([...Z],$)}function P($){return typeof $==="function"?$():r0($)}function Y$($,Z){const Y=(Z==null?void 0:Z.computedGetter)===!1?r0:P;return function(...J){return x(()=>$.apply(this,J.map((Q)=>Y(Q))))}}function WD($,Z={}){let Y=[],J;if(Array.isArray(Z))Y=Z;else{J=Z;const{includeOwnProperties:Q=!0}=Z;if(Y.push(...Object.keys($)),Q)Y.push(...Object.getOwnPropertyNames($))}return Object.fromEntries(Y.map((Q)=>{const X=$[Q];return[Q,typeof X==="function"?Y$(X.bind($),J):X]}))}function g5($){if(!i($))return G0($);const Z=new Proxy({},{get(Y,J,Q){return r0(Reflect.get($.value,J,Q))},set(Y,J,Q){if(i($.value[J])&&!i(Q))$.value[J].value=Q;else $.value[J]=Q;return!0},deleteProperty(Y,J){return Reflect.deleteProperty($.value,J)},has(Y,J){return Reflect.has($.value,J)},ownKeys(){return Object.keys($.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return G0(Z)}function BY($){return g5(x($))}function BD($,...Z){const Y=Z.flat(),J=Y[0];return BY(()=>typeof J==="function"?Object.fromEntries(Object.entries(H9($)).filter(([Q,X])=>!J(P(X),Q))):Object.fromEntries(Object.entries(H9($)).filter((Q)=>!Y.includes(Q[0]))))}function DD(){var $,Z;return V0&&(($=window==null?void 0:window.navigator)==null?void 0:$.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((Z=window==null?void 0:window.navigator)==null?void 0:Z.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function e1($,Z){function Y(...J){return new Promise((Q,X)=>{Promise.resolve($(()=>Z.apply(this,J),{fn:Z,thisArg:this,args:J})).then(Q).catch(X)})}return Y}function rZ($,Z={}){let Y,J,Q=X0;const X=(G)=>{clearTimeout(G),Q(),Q=X0};return(G)=>{const U=P($),M=P(Z.maxWait);if(Y)X(Y);if(U<=0||M!==void 0&&M<=0){if(J)X(J),J=null;return Promise.resolve(G())}return new Promise((B,W)=>{if(Q=Z.rejectOnCancel?W:B,M&&!J)J=setTimeout(()=>{if(Y)X(Y);J=null,B(G())},M);Y=setTimeout(()=>{if(J)X(J);J=null,B(G())},U)})}}function X$(...$){let Z=0,Y,J=!0,Q=X0,X,q,G,U,M;if(!i($[0])&&typeof $[0]==="object")({delay:q,trailing:G=!0,leading:U=!0,rejectOnCancel:M=!1}=$[0]);else[q,G=!0,U=!0,M=!1]=$;const B=()=>{if(Y)clearTimeout(Y),Y=void 0,Q(),Q=X0};return(D)=>{const K=P(q),H=Date.now()-Z,L=()=>{return X=D()};if(B(),K<=0)return Z=Date.now(),L();if(H>K&&(U||!J))Z=Date.now(),L();else if(G)X=new Promise((z,j)=>{Q=M?j:z,Y=setTimeout(()=>{Z=Date.now(),J=!0,z(L()),B()},Math.max(0,K-H))});if(!U&&!Y)Y=setTimeout(()=>J=!0,K);return J=!1,X}}function KY($=Q$){const Z=F(!0);function Y(){Z.value=!1}function J(){Z.value=!0}const Q=(...X)=>{if(Z.value)$(...X)};return{isActive:Y0(Z),pause:Y,resume:J,eventFilter:Q}}function u5($){const Z=Object.create(null);return(Y)=>{return Z[Y]||(Z[Y]=$(Y))}}function Z$($,Z=!1,Y="Timeout"){return new Promise((J,Q)=>{if(Z)setTimeout(()=>Q(Y),$);else setTimeout(J,$)})}function d5($){return $}function l5($){let Z;function Y(){if(!Z)Z=$();return Z}return Y.reset=async()=>{const J=Z;if(Z=void 0,J)await J},Y}function HY($,...Z){return Z.some((Y)=>(Y in $))}function p5($,Z){var Y;if(typeof $==="number")return $+Z;const J=((Y=$.match(/^-?\d+\.?\d*/))==null?void 0:Y[0])||"",Q=$.slice(J.length),X=Number.parseFloat(J)+Z;if(Number.isNaN(X))return $;return X+Q}function r5($,Z,Y=!1){return Z.reduce((J,Q)=>{if(Q in $){if(!Y||$[Q]!==void 0)J[Q]=$[Q]}return J},{})}function i5($,Z,Y=!1){return Object.fromEntries(Object.entries($).filter(([J,Q])=>{return(!Y||Q!==void 0)&&!Z.includes(J)}))}function s5($){return Object.entries($)}function iZ($){return $||y0()}function F0(...$){if($.length!==1)return c8(...$);const Z=$[0];return typeof Z==="function"?Y0(M1(()=>({get:Z,set:X0}))):F(Z)}function jD($,...Z){const Y=Z.flat(),J=Y[0];return BY(()=>typeof J==="function"?Object.fromEntries(Object.entries(H9($)).filter(([Q,X])=>J(P(X),Q))):Object.fromEntries(Y.map((Q)=>[Q,F0($,Q)])))}function a5($,Z=1e4){return M1((Y,J)=>{let Q=P($),X;const q=()=>setTimeout(()=>{Q=P($),J()},P(Z));return s(()=>{clearTimeout(X)}),{get(){return Y(),Q},set(G){Q=G,J(),clearTimeout(X),X=q()}}})}function q$($,Z=200,Y={}){return e1(rZ(Z,Y),$)}function LY($,Z=200,Y={}){const J=F($.value),Q=q$(()=>{J.value=$.value},Z,Y);return y($,()=>Q()),J}function zD($,Z){return x({get(){var Y;return(Y=$.value)!=null?Y:Z},set(Y){$.value=Y}})}function sZ($,Z=200,Y=!1,J=!0,Q=!1){return e1(X$(Z,Y,J,Q),$)}function jY($,Z=200,Y=!0,J=!0){if(Z<=0)return $;const Q=F($.value),X=sZ(()=>{Q.value=$.value},Z,Y,J);return y($,()=>X()),Q}function o5($,Z={}){let Y=$,J,Q;const X=M1((D,K)=>{return J=D,Q=K,{get(){return q()},set(H){G(H)}}});function q(D=!0){if(D)J();return Y}function G(D,K=!0){var H,L;if(D===Y)return;const z=Y;if(((H=Z.onBeforeChange)==null?void 0:H.call(Z,D,z))===!1)return;if(Y=D,(L=Z.onChanged)==null||L.call(Z,D,z),K)Q()}return y5(X,{get:q,set:G,untrackedGet:()=>q(!1),silentSet:(D)=>G(D,!1),peek:()=>q(!1),lay:(D)=>G(D,!1)},{enumerable:!0})}function $9($,Z,Y={}){const{eventFilter:J=Q$,...Q}=Y;return y($,e1(J,Z),Q)}function n1($,Z,Y={}){const{eventFilter:J,...Q}=Y,{eventFilter:X,pause:q,resume:G,isActive:U}=KY(J);return{stop:$9($,Z,{...Q,eventFilter:X}),pause:q,resume:G,isActive:U}}function aZ($,Z,...[Y]){const{flush:J="sync",deep:Q=!1,immediate:X=!0,direction:q="both",transform:G={}}=Y||{},U=[],M="ltr"in G&&G.ltr||((D)=>D),B="rtl"in G&&G.rtl||((D)=>D);if(q==="both"||q==="ltr")U.push(n1($,(D)=>{U.forEach((K)=>K.pause()),Z.value=M(D),U.forEach((K)=>K.resume())},{flush:J,deep:Q,immediate:X}));if(q==="both"||q==="rtl")U.push(n1(Z,(D)=>{U.forEach((K)=>K.pause()),$.value=B(D),U.forEach((K)=>K.resume())},{flush:J,deep:Q,immediate:X}));return()=>{U.forEach((D)=>D.stop())}}function FD($,Z,Y={}){const{flush:J="sync",deep:Q=!1,immediate:X=!0}=Y;if(!Array.isArray(Z))Z=[Z];return y($,(q)=>Z.forEach((G)=>G.value=q),{flush:J,deep:Q,immediate:X})}function zY($,Z={}){if(!i($))return H9($);const Y=Array.isArray($.value)?Array.from({length:$.value.length}):{};for(let J in $.value)Y[J]=M1(()=>({get(){return $.value[J]},set(Q){var X;if((X=P(Z.replaceRef))!=null?X:!0)if(Array.isArray($.value)){const G=[...$.value];G[J]=Q,$.value=G}else{const G={...$.value,[J]:Q};Object.setPrototypeOf(G,Object.getPrototypeOf($.value)),$.value=G}else $.value[J]=Q}}));return Y}function AD($,Z=!0,Y){if(iZ(Y))ZY($,Y);else if(Z)$();else E0($)}function OY($,Z){if(iZ(Z))i1($,Z)}function P0($,Z=!0,Y){if(iZ())x1($,Y);else if(Z)$();else E0($)}function oZ($,Z){if(iZ(Z))mZ($,Z)}function UY($,Z=!1){function Y(W,{flush:D="sync",deep:K=!1,timeout:H,throwOnTimeout:L}={}){let z=null;const O=[new Promise((A)=>{z=y($,(N)=>{if(W(N)!==Z){if(z)z();else E0(()=>z==null?void 0:z());A(N)}},{flush:D,deep:K,immediate:!0})})];if(H!=null)O.push(Z$(H,L).then(()=>P($)).finally(()=>z==null?void 0:z()));return Promise.race(O)}function J(W,D){if(!i(W))return Y((N)=>N===W,D);const{flush:K="sync",deep:H=!1,timeout:L,throwOnTimeout:z}=D!=null?D:{};let j=null;const A=[new Promise((N)=>{j=y([$,W],([I,h])=>{if(Z!==(I===h)){if(j)j();else E0(()=>j==null?void 0:j());N(I)}},{flush:K,deep:H,immediate:!0})})];if(L!=null)A.push(Z$(L,z).then(()=>P($)).finally(()=>{return j==null||j(),P($)}));return Promise.race(A)}function Q(W){return Y((D)=>Boolean(D),W)}function X(W){return J(null,W)}function q(W){return J(void 0,W)}function G(W){return Y(Number.isNaN,W)}function U(W,D){return Y((K)=>{const H=Array.from(K);return H.includes(W)||H.includes(P(W))},D)}function M(W){return B(1,W)}function B(W=1,D){let K=-1;return Y(()=>{return K+=1,K>=W},D)}if(Array.isArray(P($)))return{toMatch:Y,toContains:U,changed:M,changedTimes:B,get not(){return UY($,!Z)}};else return{toMatch:Y,toBe:J,toBeTruthy:Q,toBeNull:X,toBeNaN:G,toBeUndefined:q,changed:M,changedTimes:B,get not(){return UY($,!Z)}}}function P9($){return UY($)}function PD($,Z){return $===Z}function ID(...$){var Z;const Y=$[0],J=$[1];let Q=(Z=$[2])!=null?Z:PD;if(typeof Q==="string"){const X=Q;Q=(q,G)=>q[X]===G[X]}return x(()=>P(Y).filter((X)=>P(J).findIndex((q)=>Q(X,q))===-1))}function ED($,Z){return x(()=>P($).every((Y,J,Q)=>Z(P(Y),J,Q)))}function VD($,Z){return x(()=>P($).map((Y)=>P(Y)).filter(Z))}function _D($,Z){return x(()=>P(P($).find((Y,J,Q)=>Z(P(Y),J,Q))))}function ND($,Z){return x(()=>P($).findIndex((Y,J,Q)=>Z(P(Y),J,Q)))}function RD($){return J$($)&&HY($,"formIndex","comparator")}function TD(...$){var Z;const Y=$[0],J=$[1];let Q=$[2],X=0;if(RD(Q))X=(Z=Q.fromIndex)!=null?Z:0,Q=Q.comparator;if(typeof Q==="string"){const q=Q;Q=(G,U)=>G[q]===P(U)}return Q=Q!=null?Q:(q,G)=>q===P(G),x(()=>P(Y).slice(X).some((q,G,U)=>Q(P(q),P(J),G,P(U))))}function xD($,Z){return x(()=>P($).map((Y)=>P(Y)).map(Z))}function CD($,Z,...Y){const J=(Q,X,q)=>Z(P(Q),P(X),q);return x(()=>{const Q=P($);return Y.length?Q.reduce(J,P(Y[0])):Q.reduce(J)})}function wD($,Z){return x(()=>P($).some((Y,J,Q)=>Z(P(Y),J,Q)))}function bD($){return Array.from(new Set($))}function SD($,Z){return $.reduce((Y,J)=>{if(!Y.some((Q)=>Z(J,Q,$)))Y.push(J);return Y},[])}function fD($,Z){return x(()=>{const Y=P($).map((J)=>P(J));return Z?SD(Y,Z):bD(Y)})}function hD($=0,Z={}){let Y=r0($);const J=F($),{max:Q=Number.POSITIVE_INFINITY,min:X=Number.NEGATIVE_INFINITY}=Z,q=(W=1)=>J.value=Math.max(Math.min(Q,J.value+W),X),G=(W=1)=>J.value=Math.min(Math.max(X,J.value-W),Q),U=()=>J.value,M=(W)=>J.value=Math.max(X,Math.min(Q,W));return{count:J,inc:q,dec:G,get:U,set:M,reset:(W=Y)=>{return Y=W,M(W)}}}function gD($,Z,Y,J){let Q=$<12?"AM":"PM";if(J)Q=Q.split("").reduce((X,q)=>X+=`${q}.`,"");return Y?Q.toLowerCase():Q}function o1($){const Z=["th","st","nd","rd"],Y=$%100;return $+(Z[(Y-20)%10]||Z[Y]||Z[0])}function mD($,Z,Y={}){var J;const Q=$.getFullYear(),X=$.getMonth(),q=$.getDate(),G=$.getHours(),U=$.getMinutes(),M=$.getSeconds(),B=$.getMilliseconds(),W=$.getDay(),D=(J=Y.customMeridiem)!=null?J:gD,K={Yo:()=>o1(Q),YY:()=>String(Q).slice(-2),YYYY:()=>Q,M:()=>X+1,Mo:()=>o1(X+1),MM:()=>`${X+1}`.padStart(2,"0"),MMM:()=>$.toLocaleDateString(P(Y.locales),{month:"short"}),MMMM:()=>$.toLocaleDateString(P(Y.locales),{month:"long"}),D:()=>String(q),Do:()=>o1(q),DD:()=>`${q}`.padStart(2,"0"),H:()=>String(G),Ho:()=>o1(G),HH:()=>`${G}`.padStart(2,"0"),h:()=>`${G%12||12}`.padStart(1,"0"),ho:()=>o1(G%12||12),hh:()=>`${G%12||12}`.padStart(2,"0"),m:()=>String(U),mo:()=>o1(U),mm:()=>`${U}`.padStart(2,"0"),s:()=>String(M),so:()=>o1(M),ss:()=>`${M}`.padStart(2,"0"),SSS:()=>`${B}`.padStart(3,"0"),d:()=>W,dd:()=>$.toLocaleDateString(P(Y.locales),{weekday:"narrow"}),ddd:()=>$.toLocaleDateString(P(Y.locales),{weekday:"short"}),dddd:()=>$.toLocaleDateString(P(Y.locales),{weekday:"long"}),A:()=>D(G,U),AA:()=>D(G,U,!1,!0),a:()=>D(G,U,!0),aa:()=>D(G,U,!0,!0)};return Z.replace(yD,(H,L)=>{var z,j;return(j=L!=null?L:(z=K[H])==null?void 0:z.call(K))!=null?j:H})}function vD($){if($===null)return new Date(Number.NaN);if($===void 0)return new Date;if($ instanceof Date)return new Date($);if(typeof $==="string"&&!/Z$/i.test($)){const Z=$.match(kD);if(Z){const Y=Z[2]-1||0,J=(Z[7]||"0").substring(0,3);return new Date(Z[1],Y,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,J)}}return new Date($)}function uD($,Z="HH:mm:ss",Y={}){return x(()=>mD(vD(P($)),P(Z),Y))}function A1($,Z=1000,Y={}){const{immediate:J=!0,immediateCallback:Q=!1}=Y;let X=null;const q=F(!1);function G(){if(X)clearInterval(X),X=null}function U(){q.value=!1,G()}function M(){const B=P(Z);if(B<=0)return;if(q.value=!0,Q)$();G(),X=setInterval($,B)}if(J&&V0)M();if(i(Z)||typeof Z==="function"){const B=y(Z,()=>{if(q.value&&V0)M()});s(B)}return s(U),{isActive:q,pause:U,resume:M}}function cD($=1000,Z={}){const{controls:Y=!1,immediate:J=!0,callback:Q}=Z,X=F(0),q=()=>X.value+=1,G=()=>{X.value=0},U=A1(Q?()=>{q(),Q(X.value)}:q,$,{immediate:J});if(Y)return{counter:X,reset:G,...U};else return X}function dD($,Z={}){var Y;const J=F((Y=Z.initialValue)!=null?Y:null);return y($,()=>J.value=t1(),Z),J}function Z9($,Z,Y={}){const{immediate:J=!0}=Y,Q=F(!1);let X=null;function q(){if(X)clearTimeout(X),X=null}function G(){Q.value=!1,q()}function U(...M){q(),Q.value=!0,X=setTimeout(()=>{Q.value=!1,X=null,$(...M)},P(Z))}if(J){if(Q.value=!0,V0)U()}return s(G),{isPending:Y0(Q),start:U,stop:G}}function lD($=1000,Z={}){const{controls:Y=!1,callback:J}=Z,Q=Z9(J!=null?J:X0,$,Z),X=x(()=>!Q.isPending.value);if(Y)return{ready:X,...Q};else return X}function pD($,Z={}){const{method:Y="parseFloat",radix:J,nanToZero:Q}=Z;return x(()=>{let X=P($);if(typeof X==="string")X=Number[Y](X,J);if(Q&&Number.isNaN(X))X=0;return X})}function rD($){return x(()=>`${P($)}`)}function iD($=!1,Z={}){const{truthyValue:Y=!0,falsyValue:J=!1}=Z,Q=i($),X=F($);function q(G){if(arguments.length)return X.value=G,X.value;else{const U=P(Y);return X.value=X.value===U?P(J):U,X.value}}if(Q)return q;else return[X,q]}function sD($,Z,Y){let J=(Y==null?void 0:Y.immediate)?[]:[...$ instanceof Function?$():Array.isArray($)?$:P($)];return y($,(Q,X,q)=>{const G=Array.from({length:J.length}),U=[];for(let B of Q){let W=!1;for(let D=0;D<J.length;D++)if(!G[D]&&B===J[D]){G[D]=!0,W=!0;break}if(!W)U.push(B)}const M=J.filter((B,W)=>!G[W]);Z(Q,J,U,M,q),J=[...Q]},Y)}function aD($,Z,Y){const{count:J,...Q}=Y,X=F(0),q=$9($,(...G)=>{if(X.value+=1,X.value>=P(J))E0(()=>q());Z(...G)},Q);return{count:X,stop:q}}function n5($,Z,Y={}){const{debounce:J=0,maxWait:Q=void 0,...X}=Y;return $9($,Z,{...X,eventFilter:rZ(J,{maxWait:Q})})}function oD($,Z,Y){return y($,Z,{...Y,deep:!0})}function Y9($,Z,Y={}){const{eventFilter:J=Q$,...Q}=Y,X=e1(J,Z);let q,G,U;if(Q.flush==="sync"){const M=F(!1);G=()=>{},q=(B)=>{M.value=!0,B(),M.value=!1},U=y($,(...B)=>{if(!M.value)X(...B)},Q)}else{const M=[],B=F(0),W=F(0);G=()=>{B.value=W.value},M.push(y($,()=>{W.value++},{...Q,flush:"sync"})),q=(D)=>{const K=W.value;D(),B.value+=W.value-K},M.push(y($,(...D)=>{const K=B.value>0&&B.value===W.value;if(B.value=0,W.value=0,K)return;X(...D)},Q)),U=()=>{M.forEach((D)=>D())}}return{stop:U,ignoreUpdates:q,ignorePrevAsyncUpdates:G}}function nD($,Z,Y){return y($,Z,{...Y,immediate:!0})}function tD($,Z,Y){const J=y($,(...Q)=>{return E0(()=>J()),Z(...Q)},Y);return J}function t5($,Z,Y={}){const{throttle:J=0,trailing:Q=!0,leading:X=!0,...q}=Y;return $9($,Z,{...q,eventFilter:X$(J,Q,X)})}function eD($,Z,Y={}){let J;function Q(){if(!J)return;const B=J;J=void 0,B()}function X(B){J=B}const q=(B,W)=>{return Q(),Z(B,W,X)},G=Y9($,q,Y),{ignoreUpdates:U}=G;return{...G,trigger:()=>{let B;return U(()=>{B=q($K($),ZK($))}),B}}}function $K($){if(B1($))return $;if(Array.isArray($))return $.map((Z)=>P(Z));return P($)}function ZK($){return Array.isArray($)?$.map(()=>{return}):void 0}function FY($,Z,Y){const J=y($,(Q,X,q)=>{if(Q){if(Y==null?void 0:Y.once)E0(()=>J());Z(Q,X,q)}},{...Y,once:!1});return J}var A9=new WeakMap,h5=(...$)=>{var Z;const Y=$[0],J=(Z=y0())==null?void 0:Z.proxy;if(J==null)throw new Error("injectLocal must be called in setup");if(A9.has(J)&&Y in A9.get(J))return A9.get(J)[Y];return O1(...$)},k5=($,Z)=>{var Y;const J=(Y=y0())==null?void 0:Y.proxy;if(J==null)throw new Error("provideLocal must be called in setup");if(!A9.has(J))A9.set(J,Object.create(null));const Q=A9.get(J);Q[$]=Z,W5($,Z)},UD=P;var V0=typeof window!=="undefined"&&typeof document!=="undefined",m5=typeof WorkerGlobalScope!=="undefined"&&globalThis instanceof WorkerGlobalScope,v5=($)=>typeof $!=="undefined",MY=($)=>$!=null;var MD=Object.prototype.toString,J$=($)=>MD.call($)==="[object Object]";var t1=()=>+Date.now(),b1=($,Z,Y)=>Math.min(Y,Math.max(Z,$)),X0=()=>{};var DY=($,Z)=>Object.prototype.hasOwnProperty.call($,Z),pZ=DD(),Q$=($)=>{return $()},KD=/\B([A-Z])/g,TI=u5(($)=>$.replace(KD,"-$1").toLowerCase()),HD=/-(\w)/g,c5=u5(($)=>{return $.replace(HD,(Z,Y)=>Y?Y.toUpperCase():"")}),LD=F0,OD=o5,kD=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,yD=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function e5($,Z,Y){return(J)=>{return x(()=>Y(P(J),P($),P(Z)))}}function YK($,Z,Y){return($-Z[0])/(Z[1]-Z[0])*(Y[1]-Y[0])+Y[0]}function $7($,Z,Y=YK){return e5($,Z,Y)}function JK(...$){return x(()=>$.every((Z)=>P(Z)))}function QK($){return x(()=>!P($))}function Z7(...$){return x(()=>$.some((Z)=>P(Z)))}function XK($){return x(()=>Math.abs(P($)))}function nZ($){return $.flatMap((Z)=>{const Y=P(Z);if(Array.isArray(Y))return Y.map((J)=>P(J));return[Y]})}function qK(...$){return x(()=>{const Z=nZ($);return Z.reduce((Y,J)=>Y+=J,0)/Z.length})}function GK($){return x(()=>Math.ceil(P($)))}function UK($,Z,Y){if(typeof $==="function"||T0($))return x(()=>b1(P($),P(Z),P(Y)));const J=F($);return x({get(){return J.value=b1(J.value,P(Z),P(Y))},set(Q){J.value=b1(Q,P(Z),P(Y))}})}function WK($){return x(()=>Math.floor(P($)))}function BK($,...Z){return Y$(Math[$])(...Z)}function MK(...$){return x(()=>{const Z=nZ($);return Math.max(...Z)})}function DK(...$){return x(()=>{const Z=nZ($);return Math.min(...Z)})}function KK($,Z){const Y=$.toString();if($>0&&Y.includes(".")){const Q=10**Y.split(".")[1].length;return $*Q*Z/Q}else return $*Z}function HK($,Z,Y){return x(()=>{var J;const Q=P($),q=10**P(Z);return Math[((J=P(Y))==null?void 0:J.math)||"round"](KK(Q,q))/q})}function LK($,Z,Y,J){return $7(Z,Y,J)($)}function jK($){return x(()=>Math.round(P($)))}function zK(...$){return x(()=>nZ($).reduce((Z,Y)=>Z+=Y,0))}function OK($){return x(()=>Math.trunc(P($)))}var SI=($,Z,Y)=>Math.min(Y,Math.max(Z,$));function yI($){let Z;function Y(){if(!Z)Z=$();return Z}return Y.reset=async()=>{const J=Z;if(Z=void 0,J)await J},Y}function gI(){let $=Promise.resolve();const Z=[];return{async run(Y){const Q=(async()=>{return await $,Y()})();return Z.push(Q),$=Q.catch(()=>{}).finally(()=>{const X=Z.indexOf(Q);if(X>-1)Z.splice(X,1)}),Q},async wait(){while(Z.length>0)await Promise.all(Z)},isWaiting(){return Z.length>0},clear(){Z.length=0,$=Promise.resolve()}}}function mI(){let $,Z;const Y=new Promise((J,Q)=>{$=J,Z=Q});return Y.resolve=$,Y.reject=Z,Y}function S1($){const Z=$.toString();return FK.test(Z)?Z:`(?:${Z})`}function l($){const Z=(Y)=>l(`(?<${Y}>${`${$}`.replace(AK,"$1$2")})`);return{toString:()=>$.toString(),and:Object.assign((...Y)=>l(`${$}${X1(...Y)}`),{referenceTo:(Y)=>l(`${$}\\k<${Y}>`)}),or:(...Y)=>l(`(?:${$}|${X1(...Y)})`),after:(...Y)=>l(`(?<=${X1(...Y)})${$}`),before:(...Y)=>l(`${$}(?=${X1(...Y)})`),notAfter:(...Y)=>l(`(?<!${X1(...Y)})${$}`),notBefore:(...Y)=>l(`${$}(?!${X1(...Y)})`),times:Object.assign((Y)=>l(`${S1($)}{${Y}}`),{any:()=>l(`${S1($)}*`),atLeast:(Y)=>l(`${S1($)}{${Y},}`),atMost:(Y)=>l(`${S1($)}{0,${Y}}`),between:(Y,J)=>l(`${S1($)}{${Y},${J}}`)}),optionally:()=>l(`${S1($)}?`),as:Z,groupedAs:Z,grouped:()=>l(`${$}`.replace(PK,"($1$3)$2")),at:{lineStart:()=>l(`^${$}`),lineEnd:()=>l(`${$}\$`)}}}function Y7($){return l(`[${$.replace(/[-\\^\]]/g,"\\$&")}]`)}function J7($){return l(`[^${$.replace(/[-\\^\]]/g,"\\$&")}]`)}function Q7(...$){return l(`(?:${$.map((Z)=>X1(Z)).join("|")})`)}function j7(...$){return l(`${S1(X1(...$))}?`)}function X1(...$){return l($.map((Z)=>typeof Z==="string"?Z.replace(IK,"\\$&"):Z).join(""))}function z7(...$){return l(`${S1(X1(...$))}+`)}var FK=/^(\(.*\)|\\?.)$/,AK=/^(?:\(\?:(.+)\)|(\(?.+\)?))$/,PK=/^(?:\(\?:(.+)\)([?+*]|{[\d,]+})?|(.+))$/,IK=/[.*+?^${}()|[\]\\/]/g,X7=l("."),q7=l("\\b\\w+\\b"),G7=l("\\w"),U7=l("\\b"),W7=l("\\d"),B7=l("\\s"),M7=Object.assign(l("[a-zA-Z]"),{lowercase:l("[a-z]"),uppercase:l("[A-Z]")}),D7=l("\\t"),K7=l("\\n"),H7=l("\\r"),L7={word:l("\\W+"),wordChar:l("\\W"),wordBoundary:l("\\B"),digit:l("\\D"),whitespace:l("\\S"),letter:Object.assign(l("[^a-zA-Z]"),{lowercase:l("[^a-z]"),uppercase:l("[^A-Z]")}),tab:l("[^\\t]"),linefeed:l("[^\\n]"),carriageReturn:l("[^\\r]")},O7="d",F7="i",A7="g",P7="m",I7="s",E7="u",V7="y";function pI($,Z={}){return new RegExp($,Z.flags)}function sI($,Z){const{retries:Y=3,initialDelay:J=1000,backoffFactor:Q=2,jitter:X=!0}=Z;return new Promise((q,G)=>{let U=0;const M=async()=>{try{q(await $())}catch(B){if(U>=Y)G(B);else{const W=EK(U,J,Q,X);setTimeout(()=>M(),W),U++}}};M()})}function EK($,Z,Y,J){let Q=Z*Y**$;if(J){const X=Math.random(),q=Q*0.3;Q=Q+q*(X-0.5)*2}return Q}function oI($){if($<0||!Number.isInteger($))throw new Error("sleep() requires a non-negative integer");return new Promise((Z)=>setTimeout(Z,$))}function nI($){if($<0||!Number.isInteger($))throw new Error("wait() requires a non-negative integer");return new Promise((Z)=>setTimeout(Z,$))}function tI($){if($<0||!Number.isInteger($))throw new Error("delay() requires a non-negative integer");return new Promise((Z)=>setTimeout(Z,$))}function eI($,Z={}){return new Promise((Y)=>{const{interval:J,timeout:Q}=VK(Z);if($()){Y();return}const X=()=>{if($())Y();else setTimeout(X,J)};if(Q)setTimeout(Y,Q);X()})}function VK($){if(typeof $==="number")return{interval:100,timeout:$};return{interval:$.interval??100,timeout:$.timeout??0}}function $E($,Z={}){return new Promise((Y)=>{const{interval:J=100,timeout:Q=0}=Z;if(!$()){Y();return}const X=()=>{if(!$())Y();else setTimeout(X,J)};if(Q)setTimeout(Y,Q);X()})}function YE($,Z=300){let Y,J,Q;return function(...X){if(!Y)$.apply(this,X),Q=Date.now(),Y=!0;else clearTimeout(J),J=setTimeout(()=>{if(Date.now()-Q>=Z)$.apply(this,X),Q=Date.now()},Math.max(Z-(Date.now()-Q),0))}}function k7($,Z,Y){let J;if(i(Y))J={evaluating:Y};else J=Y||{};const{lazy:Q=!1,evaluating:X=void 0,shallow:q=!0,onError:G=X0}=J,U=F(!Q),M=q?n(Z):F(Z);let B=0;if(Y1(async(W)=>{if(!U.value)return;B++;const D=B;let K=!1;if(X)Promise.resolve().then(()=>{X.value=!0});try{const H=await $((L)=>{W(()=>{if(X)X.value=!1;if(!K)L()})});if(D===B)M.value=H}catch(H){G(H)}finally{if(X&&D===B)X.value=!1;K=!0}}),Q)return x(()=>{return U.value=!0,M.value});else return M}function _K($,Z,Y,J){let Q=O1($);if(Y)Q=O1($,Y);if(J)Q=O1($,Y,J);if(typeof Z==="function")return x((X)=>Z(Q,X));else return x({get:(X)=>Z.get(Q,X),set:Z.set})}function NK($={}){if(!$$&&!F9.startsWith("2.7."))throw new Error("[VueUse] createReusableTemplate only works in Vue 2.7 or above.");const{inheritAttrs:Z=!0}=$,Y=n(),J=r1({setup(X,{slots:q}){return()=>{Y.value=q.default}}}),Q=r1({inheritAttrs:Z,setup(X,{attrs:q,slots:G}){return()=>{var U;if(!Y.value)throw new Error("[VueUse] Failed to find the definition of reusable template");const M=(U=Y.value)==null?void 0:U.call(Y,{...RK(q),$slots:G});return Z&&(M==null?void 0:M.length)===1?M[0]:M}}});return WY({define:J,reuse:Q},[J,Q])}function RK($){const Z={};for(let Y in $)Z[c5(Y)]=$[Y];return Z}function TK($={}){if(!$$)throw new Error("[VueUse] createTemplatePromise only works in Vue 3 or above.");let Z=0;const Y=F([]);function J(...q){const G=R1({key:Z++,args:q,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:$});return Y.value.push(G),G.promise=new Promise((U,M)=>{G.resolve=(B)=>{return G.isResolving=!0,U(B)},G.reject=M}).finally(()=>{G.promise=void 0;const U=Y.value.indexOf(G);if(U!==-1)Y.value.splice(U,1)}),G.promise}function Q(...q){if($.singleton&&Y.value.length>0)return Y.value[0].promise;return J(...q)}const X=r1((q,{slots:G})=>{const U=()=>Y.value.map((M)=>{var B;return uZ(s1,{key:M.key},(B=G.default)==null?void 0:B.call(G,M))});if($.transition)return()=>uZ(S5,$.transition,U);return U});return X.start=Q,X}function xK($){return function(...Z){return $.apply(this,Z.map((Y)=>P(Y)))}}function a($){var Z;const Y=P($);return(Z=Y==null?void 0:Y.$el)!=null?Z:Y}function S(...$){let Z,Y,J,Q;if(typeof $[0]==="string"||Array.isArray($[0]))[Y,J,Q]=$,Z=c;else[Z,Y,J,Q]=$;if(!Z)return X0;if(!Array.isArray(Y))Y=[Y];if(!Array.isArray(J))J=[J];const X=[],q=()=>{X.forEach((B)=>B()),X.length=0},G=(B,W,D,K)=>{return B.addEventListener(W,D,K),()=>B.removeEventListener(W,D,K)},U=y(()=>[a(Z),P(Q)],([B,W])=>{if(q(),!B)return;const D=J$(W)?{...W}:W;X.push(...Y.flatMap((K)=>{return J.map((H)=>G(B,K,H,D))}))},{immediate:!0,flush:"post"}),M=()=>{U(),q()};return s(M),M}function wK($,Z,Y={}){const{window:J=c,ignore:Q=[],capture:X=!0,detectIframe:q=!1}=Y;if(!J)return X0;if(pZ&&!_7)_7=!0,Array.from(J.document.body.children).forEach((K)=>K.addEventListener("click",X0)),J.document.documentElement.addEventListener("click",X0);let G=!0;const U=(K)=>{return P(Q).some((H)=>{if(typeof H==="string")return Array.from(J.document.querySelectorAll(H)).some((L)=>L===K.target||K.composedPath().includes(L));else{const L=a(H);return L&&(K.target===L||K.composedPath().includes(L))}})},M=(K)=>{const H=a($);if(!H||H===K.target||K.composedPath().includes(H))return;if(K.detail===0)G=!U(K);if(!G){G=!0;return}Z(K)};let B=!1;const W=[S(J,"click",(K)=>{if(!B)B=!0,setTimeout(()=>{B=!1},0),M(K)},{passive:!0,capture:X}),S(J,"pointerdown",(K)=>{const H=a($);G=!U(K)&&!!(H&&!K.composedPath().includes(H))},{passive:!0}),q&&S(J,"blur",(K)=>{setTimeout(()=>{var H;const L=a($);if(((H=J.document.activeElement)==null?void 0:H.tagName)==="IFRAME"&&!(L==null?void 0:L.contains(J.document.activeElement)))Z(K)},0)})].filter(Boolean);return()=>W.forEach((K)=>K())}function bK($){if(typeof $==="function")return $;else if(typeof $==="string")return(Z)=>Z.key===$;else if(Array.isArray($))return(Z)=>$.includes(Z.key);return()=>!0}function X6(...$){let Z,Y,J={};if($.length===3)Z=$[0],Y=$[1],J=$[2];else if($.length===2)if(typeof $[1]==="object")Z=!0,Y=$[0],J=$[1];else Z=$[0],Y=$[1];else Z=!0,Y=$[0];const{target:Q=c,eventName:X="keydown",passive:q=!1,dedupe:G=!1}=J,U=bK(Z);return S(Q,X,(B)=>{if(B.repeat&&P(G))return;if(U(B))Y(B)},q)}function SK($,Z,Y={}){return X6($,Z,{...Y,eventName:"keydown"})}function fK($,Z,Y={}){return X6($,Z,{...Y,eventName:"keypress"})}function hK($,Z,Y={}){return X6($,Z,{...Y,eventName:"keyup"})}function gK($,Z,Y){var J,Q;const X=x(()=>a($));let q,G,U,M=!1;function B(){if(q)clearTimeout(q),q=void 0;G=void 0,U=void 0,M=!1}function W(j){var O,A,N;const[I,h,R]=[U,G,M];if(B(),!(Y==null?void 0:Y.onMouseUp)||!h||!I)return;if(((O=Y==null?void 0:Y.modifiers)==null?void 0:O.self)&&j.target!==X.value)return;if((A=Y==null?void 0:Y.modifiers)==null?void 0:A.prevent)j.preventDefault();if((N=Y==null?void 0:Y.modifiers)==null?void 0:N.stop)j.stopPropagation();const C=j.x-h.x,_=j.y-h.y,E=Math.sqrt(C*C+_*_);Y.onMouseUp(j.timeStamp-I,E,R)}function D(j){var O,A,N,I;if(((O=Y==null?void 0:Y.modifiers)==null?void 0:O.self)&&j.target!==X.value)return;if(B(),(A=Y==null?void 0:Y.modifiers)==null?void 0:A.prevent)j.preventDefault();if((N=Y==null?void 0:Y.modifiers)==null?void 0:N.stop)j.stopPropagation();G={x:j.x,y:j.y},U=j.timeStamp,q=setTimeout(()=>{M=!0,Z(j)},(I=Y==null?void 0:Y.delay)!=null?I:kK)}function K(j){var O,A,N,I;if(((O=Y==null?void 0:Y.modifiers)==null?void 0:O.self)&&j.target!==X.value)return;if(!G||(Y==null?void 0:Y.distanceThreshold)===!1)return;if((A=Y==null?void 0:Y.modifiers)==null?void 0:A.prevent)j.preventDefault();if((N=Y==null?void 0:Y.modifiers)==null?void 0:N.stop)j.stopPropagation();const h=j.x-G.x,R=j.y-G.y;if(Math.sqrt(h*h+R*R)>=((I=Y==null?void 0:Y.distanceThreshold)!=null?I:yK))B()}const H={capture:(J=Y==null?void 0:Y.modifiers)==null?void 0:J.capture,once:(Q=Y==null?void 0:Y.modifiers)==null?void 0:Q.once},L=[S(X,"pointerdown",D,H),S(X,"pointermove",K,H),S(X,["pointerup","pointerleave"],W,H)];return()=>L.forEach((j)=>j())}function mK(){const{activeElement:$,body:Z}=document;if(!$)return!1;if($===Z)return!1;switch($.tagName){case"INPUT":case"TEXTAREA":return!0}return $.hasAttribute("contenteditable")}function vK({keyCode:$,metaKey:Z,ctrlKey:Y,altKey:J}){if(Z||Y||J)return!1;if($>=48&&$<=57)return!0;if($>=65&&$<=90)return!0;if($>=97&&$<=122)return!0;return!1}function uK($,Z={}){const{document:Y=g0}=Z,J=(Q)=>{if(!mK()&&vK(Q))$(Q)};if(Y)S(Y,"keydown",J,{passive:!0})}function cK($,Z=null){const Y=y0();let J=()=>{};const Q=M1((X,q)=>{return J=q,{get(){var G,U;return X(),(U=(G=Y==null?void 0:Y.proxy)==null?void 0:G.$refs[$])!=null?U:Z},set(){}}});return P0(J),a9(J),Q}function y7(){const $=F(!1),Z=y0();if(Z)x1(()=>{$.value=!0},e9?void 0:Z);return $}function t($){const Z=y7();return x(()=>{return Z.value,Boolean($())})}function E9($,Z,Y={}){const{window:J=c,...Q}=Y;let X;const q=t(()=>J&&("MutationObserver"in J)),G=()=>{if(X)X.disconnect(),X=void 0},U=x(()=>{const D=P($),K=(Array.isArray(D)?D:[D]).map(a).filter(MY);return new Set(K)}),M=y(()=>U.value,(D)=>{if(G(),q.value&&D.size)X=new MutationObserver(Z),D.forEach((K)=>X.observe(K,Q))},{immediate:!0,flush:"post"}),B=()=>{return X==null?void 0:X.takeRecords()},W=()=>{M(),G()};return s(W),{isSupported:q,stop:W,takeRecords:B}}function g7($={}){var Z;const{window:Y=c,deep:J=!0,triggerOnRemoval:Q=!1}=$,X=(Z=$.document)!=null?Z:Y==null?void 0:Y.document,q=()=>{var M;let B=X==null?void 0:X.activeElement;if(J)while(B==null?void 0:B.shadowRoot)B=(M=B==null?void 0:B.shadowRoot)==null?void 0:M.activeElement;return B},G=F(),U=()=>{G.value=q()};if(Y)S(Y,"blur",(M)=>{if(M.relatedTarget!==null)return;U()},!0),S(Y,"focus",U,!0);if(Q)E9(X,(M)=>{M.filter((B)=>B.removedNodes.length).map((B)=>Array.from(B.removedNodes)).flat().forEach((B)=>{if(B===G.value)U()})},{childList:!0,subtree:!0});return U(),G}function J9($,Z={}){const{immediate:Y=!0,fpsLimit:J=void 0,window:Q=c}=Z,X=F(!1),q=J?1000/J:null;let G=0,U=null;function M(D){if(!X.value||!Q)return;if(!G)G=D;const K=D-G;if(q&&K<q){U=Q.requestAnimationFrame(M);return}G=D,$({delta:K,timestamp:D}),U=Q.requestAnimationFrame(M)}function B(){if(!X.value&&Q)X.value=!0,G=0,U=Q.requestAnimationFrame(M)}function W(){if(X.value=!1,U!=null&&Q)Q.cancelAnimationFrame(U),U=null}if(Y)B();return s(W),{isActive:Y0(X),pause:W,resume:B}}function dK($,Z,Y){let J,Q;if(J$(Y))J=Y,Q=i5(Y,["window","immediate","commitStyles","persist","onReady","onError"]);else J={duration:Y},Q=Y;const{window:X=c,immediate:q=!0,commitStyles:G,persist:U,playbackRate:M=1,onReady:B,onError:W=(w)=>{console.error(w)}}=J,D=t(()=>X&&HTMLElement&&("animate"in HTMLElement.prototype)),K=n(void 0),H=R1({startTime:null,currentTime:null,timeline:null,playbackRate:M,pending:!1,playState:q?"idle":"paused",replaceState:"active"}),L=x(()=>H.pending),z=x(()=>H.playState),j=x(()=>H.replaceState),O=x({get(){return H.startTime},set(w){if(H.startTime=w,K.value)K.value.startTime=w}}),A=x({get(){return H.currentTime},set(w){if(H.currentTime=w,K.value)K.value.currentTime=w,f()}}),N=x({get(){return H.timeline},set(w){if(H.timeline=w,K.value)K.value.timeline=w}}),I=x({get(){return H.playbackRate},set(w){if(H.playbackRate=w,K.value)K.value.playbackRate=w}}),h=()=>{if(K.value)try{K.value.play(),f()}catch(w){k(),W(w)}else b()},R=()=>{var w;try{(w=K.value)==null||w.pause(),k()}catch(g){W(g)}},C=()=>{var w;if(!K.value)b();try{(w=K.value)==null||w.reverse(),f()}catch(g){k(),W(g)}},_=()=>{var w;try{(w=K.value)==null||w.finish(),k()}catch(g){W(g)}},E=()=>{var w;try{(w=K.value)==null||w.cancel(),k()}catch(g){W(g)}};y(()=>a($),(w)=>{if(w)b()}),y(()=>Z,(w)=>{if(K.value)b();if(!a($)&&K.value)K.value.effect=new KeyframeEffect(a($),P(w),Q)},{deep:!0}),P0(()=>b(!0),!1),s(E);function b(w){const g=a($);if(!D.value||!g)return;if(!K.value)K.value=g.animate(P(Z),Q);if(U)K.value.persist();if(M!==1)K.value.playbackRate=M;if(w&&!q)K.value.pause();else f();B==null||B(K.value)}S(K,["cancel","finish","remove"],k),S(K,"finish",()=>{var w;if(G)(w=K.value)==null||w.commitStyles()});const{resume:V,pause:T}=J9(()=>{if(!K.value)return;H.pending=K.value.pending,H.playState=K.value.playState,H.replaceState=K.value.replaceState,H.startTime=K.value.startTime,H.currentTime=K.value.currentTime,H.timeline=K.value.timeline,H.playbackRate=K.value.playbackRate},{immediate:!1});function f(){if(D.value)V()}function k(){if(D.value&&X)X.requestAnimationFrame(T)}return{isSupported:D,animate:K,play:h,pause:R,reverse:C,finish:_,cancel:E,pending:L,playState:z,replaceState:j,startTime:O,currentTime:A,timeline:N,playbackRate:I}}function lK($,Z){const{interrupt:Y=!0,onError:J=X0,onFinished:Q=X0,signal:X}=Z||{},q={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},G=Array.from(Array.from({length:$.length}),()=>({state:q.pending,data:null})),U=G0(G),M=F(-1);if(!$||$.length===0)return Q(),{activeIndex:M,result:U};function B(W,D){M.value++,U[M.value].data=D,U[M.value].state=W}return $.reduce((W,D)=>{return W.then((K)=>{var H;if(X==null?void 0:X.aborted){B(q.aborted,new Error("aborted"));return}if(((H=U[M.value])==null?void 0:H.state)===q.rejected&&Y){Q();return}const L=D(K).then((z)=>{if(B(q.fulfilled,z),M.value===$.length-1)Q();return z});if(!X)return L;return Promise.race([L,pK(X)])}).catch((K)=>{if(X==null?void 0:X.aborted)return B(q.aborted,K),K;return B(q.rejected,K),J(),K})},Promise.resolve()),{activeIndex:M,result:U}}function pK($){return new Promise((Z,Y)=>{const J=new Error("aborted");if($.aborted)Y(J);else $.addEventListener("abort",()=>Y(J),{once:!0})})}function m7($,Z,Y){const{immediate:J=!0,delay:Q=0,onError:X=X0,onSuccess:q=X0,resetOnExecute:G=!0,shallow:U=!0,throwError:M}=Y!=null?Y:{},B=U?n(Z):F(Z),W=F(!1),D=F(!1),K=n(void 0);async function H(j=0,...O){if(G)B.value=Z;if(K.value=void 0,W.value=!1,D.value=!0,j>0)await Z$(j);const A=typeof $==="function"?$(...O):$;try{const N=await A;B.value=N,W.value=!0,q(N)}catch(N){if(K.value=N,X(N),M)throw N}finally{D.value=!1}return B.value}if(J)H(Q);const L={state:B,isReady:W,isLoading:D,error:K,execute:H};function z(){return new Promise((j,O)=>{P9(D).toBe(!1).then(()=>j(L)).catch(O)})}return{...L,then(j,O){return z().then(j,O)}}}function rK($){if(!$)return G$.null;if($ instanceof Map)return G$.map;else if($ instanceof Set)return G$.set;else if(Array.isArray($))return G$.array;else return G$.object}function iK($,Z){const Y=F(""),J=F();function Q(){if(!V0)return;return J.value=new Promise((X,q)=>{try{const G=P($);if(G==null)X("");else if(typeof G==="string")X(AY(new Blob([G],{type:"text/plain"})));else if(G instanceof Blob)X(AY(G));else if(G instanceof ArrayBuffer)X(window.btoa(String.fromCharCode(...new Uint8Array(G))));else if(G instanceof HTMLCanvasElement)X(G.toDataURL(Z==null?void 0:Z.type,Z==null?void 0:Z.quality));else if(G instanceof HTMLImageElement){const U=G.cloneNode(!1);U.crossOrigin="Anonymous",sK(U).then(()=>{const M=document.createElement("canvas"),B=M.getContext("2d");M.width=U.width,M.height=U.height,B.drawImage(U,0,0,M.width,M.height),X(M.toDataURL(Z==null?void 0:Z.type,Z==null?void 0:Z.quality))}).catch(q)}else if(typeof G==="object"){const M=((Z==null?void 0:Z.serializer)||rK(G))(G);return X(AY(new Blob([M],{type:"application/json"})))}else q(new Error("target is unsupported types"))}catch(G){q(G)}}),J.value.then((X)=>Y.value=X),J.value}if(i($)||typeof $==="function")y($,Q,{immediate:!0});else Q();return{base64:Y,promise:J,execute:Q}}function sK($){return new Promise((Z,Y)=>{if(!$.complete)$.onload=()=>{Z()},$.onerror=Y;else Z()})}function AY($){return new Promise((Z,Y)=>{const J=new FileReader;J.onload=(Q)=>{Z(Q.target.result)},J.onerror=Y,J.readAsDataURL($)})}function aK($={}){const{navigator:Z=s0}=$,Y=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],J=t(()=>Z&&("getBattery"in Z)&&typeof Z.getBattery==="function"),Q=F(!1),X=F(0),q=F(0),G=F(1);let U;function M(){Q.value=this.charging,X.value=this.chargingTime||0,q.value=this.dischargingTime||0,G.value=this.level}if(J.value)Z.getBattery().then((B)=>{U=B,M.call(U),S(U,Y,M,{passive:!0})});return{isSupported:J,charging:Q,chargingTime:X,dischargingTime:q,level:G}}function oK($){let{acceptAllDevices:Z=!1}=$||{};const{filters:Y=void 0,optionalServices:J=void 0,navigator:Q=s0}=$||{},X=t(()=>Q&&("bluetooth"in Q)),q=n(void 0),G=n(null);y(q,()=>{W()});async function U(){if(!X.value)return;if(G.value=null,Y&&Y.length>0)Z=!1;try{q.value=await(Q==null?void 0:Q.bluetooth.requestDevice({acceptAllDevices:Z,filters:Y,optionalServices:J}))}catch(D){G.value=D}}const M=F(),B=x(()=>{var D;return((D=M.value)==null?void 0:D.connected)||!1});async function W(){if(G.value=null,q.value&&q.value.gatt){q.value.addEventListener("gattserverdisconnected",()=>{});try{M.value=await q.value.gatt.connect()}catch(D){G.value=D}}}return P0(()=>{var D;if(q.value)(D=q.value.gatt)==null||D.connect()}),s(()=>{var D;if(q.value)(D=q.value.gatt)==null||D.disconnect()}),{isSupported:X,isConnected:B,device:q,requestDevice:U,server:M,error:G}}function i0($,Z={}){const{window:Y=c}=Z,J=t(()=>Y&&("matchMedia"in Y)&&typeof Y.matchMedia==="function");let Q;const X=F(!1),q=(M)=>{X.value=M.matches},G=()=>{if(!Q)return;if("removeEventListener"in Q)Q.removeEventListener("change",q);else Q.removeListener(q)},U=Y1(()=>{if(!J.value)return;if(G(),Q=Y.matchMedia(P($)),"addEventListener"in Q)Q.addEventListener("change",q);else Q.addListener(q);X.value=Q.matches});return s(()=>{U(),G(),Q=void 0}),X}function XH($,Z={}){function Y(B,W){let D=P($[P(B)]);if(W!=null)D=p5(D,W);if(typeof D==="number")D=`${D}px`;return D}const{window:J=c,strategy:Q="min-width"}=Z;function X(B){if(!J)return!1;return J.matchMedia(B).matches}const q=(B)=>{return i0(()=>`(min-width: ${Y(B)})`,Z)},G=(B)=>{return i0(()=>`(max-width: ${Y(B)})`,Z)},U=Object.keys($).reduce((B,W)=>{return Object.defineProperty(B,W,{get:()=>Q==="min-width"?q(W):G(W),enumerable:!0,configurable:!0}),B},{});function M(){const B=Object.keys($).map((W)=>[W,q(W)]);return x(()=>B.filter(([,W])=>W.value).map(([W])=>W))}return Object.assign(U,{greaterOrEqual:q,smallerOrEqual:G,greater(B){return i0(()=>`(min-width: ${Y(B,0.1)})`,Z)},smaller(B){return i0(()=>`(max-width: ${Y(B,-0.1)})`,Z)},between(B,W){return i0(()=>`(min-width: ${Y(B)}) and (max-width: ${Y(W,-0.1)})`,Z)},isGreater(B){return X(`(min-width: ${Y(B,0.1)})`)},isGreaterOrEqual(B){return X(`(min-width: ${Y(B)})`)},isSmaller(B){return X(`(max-width: ${Y(B,-0.1)})`)},isSmallerOrEqual(B){return X(`(max-width: ${Y(B)})`)},isInBetween(B,W){return X(`(min-width: ${Y(B)}) and (max-width: ${Y(W,-0.1)})`)},current:M,active(){const B=M();return x(()=>B.value.length===0?"":B.value.at(-1))}})}function qH($){const{name:Z,window:Y=c}=$,J=t(()=>Y&&("BroadcastChannel"in Y)),Q=F(!1),X=F(),q=F(),G=n(null),U=(B)=>{if(X.value)X.value.postMessage(B)},M=()=>{if(X.value)X.value.close();Q.value=!0};if(J.value)P0(()=>{G.value=null,X.value=new BroadcastChannel(Z),X.value.addEventListener("message",(B)=>{q.value=B.data},{passive:!0}),X.value.addEventListener("messageerror",(B)=>{G.value=B},{passive:!0}),X.value.addEventListener("close",()=>{Q.value=!0})});return s(()=>{M()}),{isSupported:J,channel:X,data:q,post:U,close:M,error:G,isClosed:Q}}function GH($={}){const{window:Z=c}=$,Y=Object.fromEntries(N7.map((X)=>[X,F()]));for(let[X,q]of s5(Y))y(q,(G)=>{if(!(Z==null?void 0:Z.location)||Z.location[X]===G)return;Z.location[X]=G});const J=(X)=>{var q;const{state:G,length:U}=(Z==null?void 0:Z.history)||{},{origin:M}=(Z==null?void 0:Z.location)||{};for(let B of N7)Y[B].value=(q=Z==null?void 0:Z.location)==null?void 0:q[B];return G0({trigger:X,state:G,length:U,origin:M,...Y})},Q=F(J("load"));if(Z)S(Z,"popstate",()=>Q.value=J("popstate"),{passive:!0}),S(Z,"hashchange",()=>Q.value=J("hashchange"),{passive:!0});return Q}function UH($,Z=(J,Q)=>J===Q,Y){const J=F($.value);return y(()=>$.value,(Q)=>{if(!Z(Q,J.value))J.value=Q},Y),J}function J6($,Z={}){const{controls:Y=!1,navigator:J=s0}=Z,Q=t(()=>J&&("permissions"in J)),X=n(),q=typeof $==="string"?{name:$}:$,G=n(),U=()=>{var B,W;G.value=(W=(B=X.value)==null?void 0:B.state)!=null?W:"prompt"};S(X,"change",U);const M=l5(async()=>{if(!Q.value)return;if(!X.value)try{X.value=await J.permissions.query(q)}catch(B){X.value=void 0}finally{U()}if(Y)return r(X.value)});if(M(),Y)return{state:G,isSupported:Q,query:M};else return G}function WH($={}){const{navigator:Z=s0,read:Y=!1,source:J,copiedDuring:Q=1500,legacy:X=!1}=$,q=t(()=>Z&&("clipboard"in Z)),G=J6("clipboard-read"),U=J6("clipboard-write"),M=x(()=>q.value||X),B=F(""),W=F(!1),D=Z9(()=>W.value=!1,Q);function K(){if(q.value&&j(G.value))Z.clipboard.readText().then((O)=>{B.value=O});else B.value=z()}if(M.value&&Y)S(["copy","cut"],K);async function H(O=P(J)){if(M.value&&O!=null){if(q.value&&j(U.value))await Z.clipboard.writeText(O);else L(O);B.value=O,W.value=!0,D.start()}}function L(O){const A=document.createElement("textarea");A.value=O!=null?O:"",A.style.position="absolute",A.style.opacity="0",document.body.appendChild(A),A.select(),document.execCommand("copy"),A.remove()}function z(){var O,A,N;return(N=(A=(O=document==null?void 0:document.getSelection)==null?void 0:O.call(document))==null?void 0:A.toString())!=null?N:""}function j(O){return O==="granted"||O==="prompt"}return{isSupported:M,text:B,copied:W,copy:H}}function BH($={}){const{navigator:Z=s0,read:Y=!1,source:J,copiedDuring:Q=1500}=$,X=t(()=>Z&&("clipboard"in Z)),q=F([]),G=F(!1),U=Z9(()=>G.value=!1,Q);function M(){if(X.value)Z.clipboard.read().then((W)=>{q.value=W})}if(X.value&&Y)S(["copy","cut"],M);async function B(W=P(J)){if(X.value&&W!=null)await Z.clipboard.write(W),q.value=W,G.value=!0,U.start()}return{isSupported:X,content:q,copied:G,copy:B}}function M$($){return JSON.parse(JSON.stringify($))}function MH($,Z={}){const Y=F({}),{manual:J,clone:Q=M$,deep:X=!0,immediate:q=!0}=Z;function G(){Y.value=Q(P($))}if(!J&&(i($)||typeof $==="function"))y($,G,{...Z,deep:X,immediate:q});else G();return{cloned:Y,sync:G}}function DH(){if(!(eZ in tZ))tZ[eZ]=tZ[eZ]||{};return tZ[eZ]}function q6($,Z){return v7[$]||Z}function KH($,Z){v7[$]=Z}function RY($){return i0("(prefers-color-scheme: dark)",$)}function u7($){return $==null?"any":$ instanceof Set?"set":$ instanceof Map?"map":$ instanceof Date?"date":typeof $==="boolean"?"boolean":typeof $==="string"?"string":typeof $==="object"?"object":!Number.isNaN($)?"number":"any"}function G6($,Z,Y,J={}){var Q;const{flush:X="pre",deep:q=!0,listenToStorageChanges:G=!0,writeDefaults:U=!0,mergeDefaults:M=!1,shallow:B,window:W=c,eventFilter:D,onError:K=(E)=>{console.error(E)},initOnMounted:H}=J,L=(B?n:F)(typeof Z==="function"?Z():Z);if(!Y)try{Y=q6("getDefaultStorage",()=>{var E;return(E=c)==null?void 0:E.localStorage})()}catch(E){K(E)}if(!Y)return L;const z=P(Z),j=u7(z),O=(Q=J.serializer)!=null?Q:c7[j],{pause:A,resume:N}=n1(L,()=>h(L.value),{flush:X,deep:q,eventFilter:D});if(W&&G)P0(()=>{if(Y instanceof Storage)S(W,"storage",C);else S(W,NY,_);if(H)C()});if(!H)C();function I(E,b){if(W){const V={key:$,oldValue:E,newValue:b,storageArea:Y};W.dispatchEvent(Y instanceof Storage?new StorageEvent("storage",V):new CustomEvent(NY,{detail:V}))}}function h(E){try{const b=Y.getItem($);if(E==null)I(b,null),Y.removeItem($);else{const V=O.write(E);if(b!==V)Y.setItem($,V),I(b,V)}}catch(b){K(b)}}function R(E){const b=E?E.newValue:Y.getItem($);if(b==null){if(U&&z!=null)Y.setItem($,O.write(z));return z}else if(!E&&M){const V=O.read(b);if(typeof M==="function")return M(V,z);else if(j==="object"&&!Array.isArray(V))return{...z,...V};return V}else if(typeof b!=="string")return b;else return O.read(b)}function C(E){if(E&&E.storageArea!==Y)return;if(E&&E.key==null){L.value=z;return}if(E&&E.key!==$)return;A();try{if((E==null?void 0:E.newValue)!==O.write(L.value))L.value=R(E)}catch(b){K(b)}finally{if(E)E0(N);else N()}}function _(E){C(E.detail)}return L}function d7($={}){const{selector:Z="html",attribute:Y="class",initialValue:J="auto",window:Q=c,storage:X,storageKey:q="vueuse-color-scheme",listenToStorageChanges:G=!0,storageRef:U,emitAuto:M,disableTransition:B=!0}=$,W={auto:"",light:"light",dark:"dark",...$.modes||{}},D=RY({window:Q}),K=x(()=>D.value?"dark":"light"),H=U||(q==null?F0(J):G6(q,J,X,{window:Q,listenToStorageChanges:G})),L=x(()=>H.value==="auto"?K.value:H.value),z=q6("updateHTMLAttrs",(N,I,h)=>{const R=typeof N==="string"?Q==null?void 0:Q.document.querySelector(N):a(N);if(!R)return;const C=new Set,_=new Set;let E=null;if(I==="class"){const V=h.split(/\s/g);Object.values(W).flatMap((T)=>(T||"").split(/\s/g)).filter(Boolean).forEach((T)=>{if(V.includes(T))C.add(T);else _.add(T)})}else E={key:I,value:h};if(C.size===0&&_.size===0&&E===null)return;let b;if(B)b=Q.document.createElement("style"),b.appendChild(document.createTextNode(HH)),Q.document.head.appendChild(b);for(let V of C)R.classList.add(V);for(let V of _)R.classList.remove(V);if(E)R.setAttribute(E.key,E.value);if(B)Q.getComputedStyle(b).opacity,document.head.removeChild(b)});function j(N){var I;z(Z,Y,(I=W[N])!=null?I:N)}function O(N){if($.onChanged)$.onChanged(N,j);else j(N)}y(L,O,{flush:"post",immediate:!0}),P0(()=>O(L.value));const A=x({get(){return M?H.value:L.value},set(N){H.value=N}});try{return Object.assign(A,{store:H,system:K,state:L})}catch(N){return A}}function LH($=F(!1)){const Z=x0(),Y=x0(),J=x0();let Q=X0;const X=(U)=>{return J.trigger(U),$.value=!0,new Promise((M)=>{Q=M})},q=(U)=>{$.value=!1,Z.trigger(U),Q({data:U,isCanceled:!1})},G=(U)=>{$.value=!1,Y.trigger(U),Q({data:U,isCanceled:!0})};return{isRevealed:x(()=>$.value),reveal:X,confirm:q,cancel:G,onReveal:J.on,onConfirm:Z.on,onCancel:Y.on}}function W$($,Z,Y={}){const{window:J=c,initialValue:Q,observe:X=!1}=Y,q=F(Q),G=x(()=>{var M;return a(Z)||((M=J==null?void 0:J.document)==null?void 0:M.documentElement)});function U(){var M;const B=P($),W=P(G);if(W&&J&&B){const D=(M=J.getComputedStyle(W).getPropertyValue(B))==null?void 0:M.trim();q.value=D||Q}}if(X)E9(G,U,{attributeFilter:["style","class"],window:J});return y([G,()=>P($)],(M,B)=>{if(B[0]&&B[1])B[0].style.removeProperty(B[1]);U()},{immediate:!0}),y(q,(M)=>{var B;const W=P($);if(((B=G.value)==null?void 0:B.style)&&W)if(M==null)G.value.style.removeProperty(W);else G.value.style.setProperty(W,M)}),q}function l7($){const Z=y0(),Y=lZ(()=>null,()=>$?a($):Z.proxy.$el);return a9(Y.trigger),x1(Y.trigger),Y}function jH($,Z){const Y=n(M()),J=F0($),Q=x({get(){var B;const W=J.value;let D=(Z==null?void 0:Z.getIndexOf)?Z.getIndexOf(Y.value,W):W.indexOf(Y.value);if(D<0)D=(B=Z==null?void 0:Z.fallbackIndex)!=null?B:0;return D},set(B){X(B)}});function X(B){const W=J.value,D=W.length,K=(B%D+D)%D,H=W[K];return Y.value=H,H}function q(B=1){return X(Q.value+B)}function G(B=1){return q(B)}function U(B=1){return q(-B)}function M(){var B,W;return(W=P((B=Z==null?void 0:Z.initialValue)!=null?B:P($)[0]))!=null?W:void 0}return y(J,()=>X(Q.value)),{state:Y,index:Q,next:G,prev:U,go:X}}function zH($={}){const{valueDark:Z="dark",valueLight:Y="",window:J=c}=$,Q=d7({...$,onChanged:(G,U)=>{var M;if($.onChanged)(M=$.onChanged)==null||M.call($,G==="dark",U,G);else U(G)},modes:{dark:Z,light:Y}}),X=x(()=>{if(Q.system)return Q.system.value;else return RY({window:J}).value?"dark":"light"});return x({get(){return Q.value==="dark"},set(G){const U=G?"dark":"light";if(X.value===U)Q.value="auto";else Q.value=U}})}function p7($){return $}function OH($,Z){return $.value=Z}function FH($){return $?typeof $==="function"?$:M$:p7}function AH($){return $?typeof $==="function"?$:M$:p7}function r7($,Z={}){const{clone:Y=!1,dump:J=FH(Y),parse:Q=AH(Y),setSource:X=OH}=Z;function q(){return c9({snapshot:J($.value),timestamp:t1()})}const G=F(q()),U=F([]),M=F([]),B=(A)=>{X($,Q(A.snapshot)),G.value=A},W=()=>{if(U.value.unshift(G.value),G.value=q(),Z.capacity&&U.value.length>Z.capacity)U.value.splice(Z.capacity,Number.POSITIVE_INFINITY);if(M.value.length)M.value.splice(0,M.value.length)},D=()=>{U.value.splice(0,U.value.length),M.value.splice(0,M.value.length)},K=()=>{const A=U.value.shift();if(A)M.value.unshift(G.value),B(A)},H=()=>{const A=M.value.shift();if(A)U.value.unshift(G.value),B(A)},L=()=>{B(G.value)},z=x(()=>[G.value,...U.value]),j=x(()=>U.value.length>0),O=x(()=>M.value.length>0);return{source:$,undoStack:U,redoStack:M,last:G,history:z,canUndo:j,canRedo:O,clear:D,commit:W,reset:L,undo:K,redo:H}}function TY($,Z={}){const{deep:Y=!1,flush:J="pre",eventFilter:Q}=Z,{eventFilter:X,pause:q,resume:G,isActive:U}=KY(Q),{ignoreUpdates:M,ignorePrevAsyncUpdates:B,stop:W}=Y9($,z,{deep:Y,flush:J,eventFilter:X});function D(N,I){B(),M(()=>{N.value=I})}const K=r7($,{...Z,clone:Z.clone||Y,setSource:D}),{clear:H,commit:L}=K;function z(){B(),L()}function j(N){if(G(),N)z()}function O(N){let I=!1;const h=()=>I=!0;if(M(()=>{N(h)}),!I)z()}function A(){W(),H()}return{...K,isTracking:U,pause:q,resume:j,commit:z,batch:O,dispose:A}}function PH($,Z={}){const Y=Z.debounce?rZ(Z.debounce):void 0;return{...TY($,{...Z,eventFilter:Y})}}function IH($={}){const{window:Z=c,eventFilter:Y=Q$}=$,J=F({x:null,y:null,z:null}),Q=F({alpha:null,beta:null,gamma:null}),X=F(0),q=F({x:null,y:null,z:null});if(Z){const G=e1(Y,(U)=>{J.value=U.acceleration,q.value=U.accelerationIncludingGravity,Q.value=U.rotationRate,X.value=U.interval});S(Z,"devicemotion",G)}return{acceleration:J,accelerationIncludingGravity:q,rotationRate:Q,interval:X}}function i7($={}){const{window:Z=c}=$,Y=t(()=>Z&&("DeviceOrientationEvent"in Z)),J=F(!1),Q=F(null),X=F(null),q=F(null);if(Z&&Y.value)S(Z,"deviceorientation",(G)=>{J.value=G.absolute,Q.value=G.alpha,X.value=G.beta,q.value=G.gamma});return{isSupported:Y,isAbsolute:J,alpha:Q,beta:X,gamma:q}}function EH($={}){const{window:Z=c}=$,Y=F(1);if(Z){let J=function(){Y.value=Z.devicePixelRatio,Q(),X=Z.matchMedia(`(resolution: ${Y.value}dppx)`),X.addEventListener("change",J,{once:!0})},Q=function(){X==null||X.removeEventListener("change",J)},X;J(),s(Q)}return{pixelRatio:Y}}function VH($={}){const{navigator:Z=s0,requestPermissions:Y=!1,constraints:J={audio:!0,video:!0},onUpdated:Q}=$,X=F([]),q=x(()=>X.value.filter((H)=>H.kind==="videoinput")),G=x(()=>X.value.filter((H)=>H.kind==="audioinput")),U=x(()=>X.value.filter((H)=>H.kind==="audiooutput")),M=t(()=>Z&&Z.mediaDevices&&Z.mediaDevices.enumerateDevices),B=F(!1);let W;async function D(){if(!M.value)return;if(X.value=await Z.mediaDevices.enumerateDevices(),Q==null||Q(X.value),W)W.getTracks().forEach((H)=>H.stop()),W=null}async function K(){if(!M.value)return!1;if(B.value)return!0;const{state:H,query:L}=J6("camera",{controls:!0});if(await L(),H.value!=="granted")W=await Z.mediaDevices.getUserMedia(J),D(),B.value=!0;else B.value=!0;return B.value}if(M.value){if(Y)K();S(Z.mediaDevices,"devicechange",D),D()}return{devices:X,ensurePermissions:K,permissionGranted:B,videoInputs:q,audioInputs:G,audioOutputs:U,isSupported:M}}function _H($={}){var Z;const Y=F((Z=$.enabled)!=null?Z:!1),J=$.video,Q=$.audio,{navigator:X=s0}=$,q=t(()=>{var K;return(K=X==null?void 0:X.mediaDevices)==null?void 0:K.getDisplayMedia}),G={audio:Q,video:J},U=n();async function M(){var K;if(!q.value||U.value)return;return U.value=await X.mediaDevices.getDisplayMedia(G),(K=U.value)==null||K.getTracks().forEach((H)=>H.addEventListener("ended",W)),U.value}async function B(){var K;(K=U.value)==null||K.getTracks().forEach((H)=>H.stop()),U.value=void 0}function W(){B(),Y.value=!1}async function D(){if(await M(),U.value)Y.value=!0;return U.value}return y(Y,(K)=>{if(K)M();else B()},{immediate:!0}),{isSupported:q,stream:U,start:D,stop:W,enabled:Y}}function s7($={}){const{document:Z=g0}=$;if(!Z)return F("visible");const Y=F(Z.visibilityState);return S(Z,"visibilitychange",()=>{Y.value=Z.visibilityState}),Y}function NH($,Z={}){var Y,J;const{pointerTypes:Q,preventDefault:X,stopPropagation:q,exact:G,onMove:U,onEnd:M,onStart:B,initialValue:W,axis:D="both",draggingElement:K=c,containerElement:H,handle:L=$,buttons:z=[0]}=Z,j=F((Y=P(W))!=null?Y:{x:0,y:0}),O=F(),A=(C)=>{if(Q)return Q.includes(C.pointerType);return!0},N=(C)=>{if(P(X))C.preventDefault();if(P(q))C.stopPropagation()},I=(C)=>{var _;if(!P(z).includes(C.button))return;if(P(Z.disabled)||!A(C))return;if(P(G)&&C.target!==P($))return;const E=P(H),b=(_=E==null?void 0:E.getBoundingClientRect)==null?void 0:_.call(E),V=P($).getBoundingClientRect(),T={x:C.clientX-(E?V.left-b.left+E.scrollLeft:V.left),y:C.clientY-(E?V.top-b.top+E.scrollTop:V.top)};if((B==null?void 0:B(T,C))===!1)return;O.value=T,N(C)},h=(C)=>{if(P(Z.disabled)||!A(C))return;if(!O.value)return;const _=P(H),E=P($).getBoundingClientRect();let{x:b,y:V}=j.value;if(D==="x"||D==="both"){if(b=C.clientX-O.value.x,_)b=Math.min(Math.max(0,b),_.scrollWidth-E.width)}if(D==="y"||D==="both"){if(V=C.clientY-O.value.y,_)V=Math.min(Math.max(0,V),_.scrollHeight-E.height)}j.value={x:b,y:V},U==null||U(j.value,C),N(C)},R=(C)=>{if(P(Z.disabled)||!A(C))return;if(!O.value)return;O.value=void 0,M==null||M(j.value,C),N(C)};if(V0){const C={capture:(J=Z.capture)!=null?J:!0};S(L,"pointerdown",I,C),S(K,"pointermove",h,C),S(K,"pointerup",R,C)}return{...zY(j),position:j,isDragging:x(()=>!!O.value),style:x(()=>`left:${j.value.x}px;top:${j.value.y}px;`)}}function RH($,Z={}){var Y,J;const Q=F(!1),X=n(null);let q=0,G=!0;if(V0){const U=typeof Z==="function"?{onDrop:Z}:Z,M=(Y=U.multiple)!=null?Y:!0,B=(J=U.preventDefaultForUnhandled)!=null?J:!1,W=(L)=>{var z,j;const O=Array.from((j=(z=L.dataTransfer)==null?void 0:z.files)!=null?j:[]);return O.length===0?null:M?O:[O[0]]},D=(L)=>{if(U.dataTypes){const z=r0(U.dataTypes);return typeof z==="function"?z(L):z?z.some((j)=>L.includes(j)):!0}return!0},K=(L)=>{var z,j;const O=Array.from((j=(z=L.dataTransfer)==null?void 0:z.items)!=null?j:[]),A=O.filter((h)=>h.kind==="file").map((h)=>h.type),N=D(A),I=M||O.filter((h)=>h.kind==="file").length<=1;return N&&I},H=(L,z)=>{var j,O,A,N;if(G=K(L),!G){if(B)L.preventDefault();if(L.dataTransfer)L.dataTransfer.dropEffect="none";return}if(L.preventDefault(),L.dataTransfer)L.dataTransfer.dropEffect="copy";const I=W(L);switch(z){case"enter":q+=1,Q.value=!0,(j=U.onEnter)==null||j.call(U,null,L);break;case"over":(O=U.onOver)==null||O.call(U,null,L);break;case"leave":if(q-=1,q===0)Q.value=!1;(A=U.onLeave)==null||A.call(U,null,L);break;case"drop":if(q=0,Q.value=!1,G)X.value=I,(N=U.onDrop)==null||N.call(U,I,L);break}};S($,"dragenter",(L)=>H(L,"enter")),S($,"dragover",(L)=>H(L,"over")),S($,"dragleave",(L)=>H(L,"leave")),S($,"drop",(L)=>H(L,"drop"))}return{files:X,isOverDropZone:Q}}function U6($,Z,Y={}){const{window:J=c,...Q}=Y;let X;const q=t(()=>J&&("ResizeObserver"in J)),G=()=>{if(X)X.disconnect(),X=void 0},U=x(()=>{const W=P($);return Array.isArray(W)?W.map((D)=>a(D)):[a(W)]}),M=y(U,(W)=>{if(G(),q.value&&J){X=new ResizeObserver(Z);for(let D of W)if(D)X.observe(D,Q)}},{immediate:!0,flush:"post"}),B=()=>{G(),M()};return s(B),{isSupported:q,stop:B}}function TH($,Z={}){const{reset:Y=!0,windowResize:J=!0,windowScroll:Q=!0,immediate:X=!0,updateTiming:q="sync"}=Z,G=F(0),U=F(0),M=F(0),B=F(0),W=F(0),D=F(0),K=F(0),H=F(0);function L(){const j=a($);if(!j){if(Y)G.value=0,U.value=0,M.value=0,B.value=0,W.value=0,D.value=0,K.value=0,H.value=0;return}const O=j.getBoundingClientRect();G.value=O.height,U.value=O.bottom,M.value=O.left,B.value=O.right,W.value=O.top,D.value=O.width,K.value=O.x,H.value=O.y}function z(){if(q==="sync")L();else if(q==="next-frame")requestAnimationFrame(()=>L())}if(U6($,z),y(()=>a($),(j)=>!j&&z()),E9($,z,{attributeFilter:["style","class"]}),Q)S("scroll",z,{capture:!0,passive:!0});if(J)S("resize",z,{passive:!0});return P0(()=>{if(X)z()}),{height:G,bottom:U,left:M,right:B,top:W,width:D,x:K,y:H,update:z}}function xH($){const{x:Z,y:Y,document:J=g0,multiple:Q,interval:X="requestAnimationFrame",immediate:q=!0}=$,G=t(()=>{if(P(Q))return J&&"elementsFromPoint"in J;return J&&"elementFromPoint"in J}),U=F(null),M=()=>{var W,D;U.value=P(Q)?(W=J==null?void 0:J.elementsFromPoint(P(Z),P(Y)))!=null?W:[]:(D=J==null?void 0:J.elementFromPoint(P(Z),P(Y)))!=null?D:null},B=X==="requestAnimationFrame"?J9(M,{immediate:q}):A1(M,X,{immediate:q});return{isSupported:G,element:U,...B}}function CH($,Z={}){const{delayEnter:Y=0,delayLeave:J=0,window:Q=c}=Z,X=F(!1);let q;const G=(U)=>{const M=U?Y:J;if(q)clearTimeout(q),q=void 0;if(M)q=setTimeout(()=>X.value=U,M);else X.value=U};if(!Q)return X;return S($,"mouseenter",()=>G(!0),{passive:!0}),S($,"mouseleave",()=>G(!1),{passive:!0}),X}function a7($,Z={width:0,height:0},Y={}){const{window:J=c,box:Q="content-box"}=Y,X=x(()=>{var W,D;return(D=(W=a($))==null?void 0:W.namespaceURI)==null?void 0:D.includes("svg")}),q=F(Z.width),G=F(Z.height),{stop:U}=U6($,([W])=>{const D=Q==="border-box"?W.borderBoxSize:Q==="content-box"?W.contentBoxSize:W.devicePixelContentBoxSize;if(J&&X.value){const K=a($);if(K){const H=K.getBoundingClientRect();q.value=H.width,G.value=H.height}}else if(D){const K=Array.isArray(D)?D:[D];q.value=K.reduce((H,{inlineSize:L})=>H+L,0),G.value=K.reduce((H,{blockSize:L})=>H+L,0)}else q.value=W.contentRect.width,G.value=W.contentRect.height},Y);P0(()=>{const W=a($);if(W)q.value="offsetWidth"in W?W.offsetWidth:Z.width,G.value="offsetHeight"in W?W.offsetHeight:Z.height});const M=y(()=>a($),(W)=>{q.value=W?Z.width:0,G.value=W?Z.height:0});function B(){U(),M()}return{width:q,height:G,stop:B}}function o7($,Z,Y={}){const{root:J,rootMargin:Q="0px",threshold:X=0,window:q=c,immediate:G=!0}=Y,U=t(()=>q&&("IntersectionObserver"in q)),M=x(()=>{const H=P($);return(Array.isArray(H)?H:[H]).map(a).filter(MY)});let B=X0;const W=F(G),D=U.value?y(()=>[M.value,a(J),W.value],([H,L])=>{if(B(),!W.value)return;if(!H.length)return;const z=new IntersectionObserver(Z,{root:a(L),rootMargin:Q,threshold:X});H.forEach((j)=>j&&z.observe(j)),B=()=>{z.disconnect(),B=X0}},{immediate:G,flush:"post"}):X0,K=()=>{B(),D(),W.value=!1};return s(K),{isSupported:U,isActive:W,pause(){B(),W.value=!1},resume(){W.value=!0},stop:K}}function n7($,Z={}){const{window:Y=c,scrollTarget:J,threshold:Q=0}=Z,X=F(!1);return o7($,(q)=>{let G=X.value,U=0;for(let M of q)if(M.time>=U)U=M.time,G=M.isIntersecting;X.value=G},{root:J,window:Y,threshold:Q}),X}function wH($){const Z=B9();function Y(G){var U;const M=U$.get($)||new Set;M.add(G),U$.set($,M);const B=()=>Q(G);return(U=Z==null?void 0:Z.cleanups)==null||U.push(B),B}function J(G){function U(...M){Q(U),G(...M)}return Y(U)}function Q(G){const U=U$.get($);if(!U)return;if(U.delete(G),!U.size)X()}function X(){U$.delete($)}function q(G,U){var M;(M=U$.get($))==null||M.forEach((B)=>B(G,U))}return{on:Y,once:J,off:Q,emit:q,reset:X}}function bH($){if($===!0)return{};return $}function SH($,Z=[],Y={}){const J=F(null),Q=F(null),X=F("CONNECTING"),q=F(null),G=n(null),U=F0($),M=n(null);let B=!1,W=0;const{withCredentials:D=!1,immediate:K=!0}=Y,H=()=>{if(V0&&q.value)q.value.close(),q.value=null,X.value="CLOSED",B=!0},L=()=>{if(B||typeof U.value==="undefined")return;const j=new EventSource(U.value,{withCredentials:D});X.value="CONNECTING",q.value=j,j.onopen=()=>{X.value="OPEN",G.value=null},j.onerror=(O)=>{if(X.value="CLOSED",G.value=O,j.readyState===2&&!B&&Y.autoReconnect){j.close();const{retries:A=-1,delay:N=1000,onFailed:I}=bH(Y.autoReconnect);if(W+=1,typeof A==="number"&&(A<0||W<A))setTimeout(L,N);else if(typeof A==="function"&&A())setTimeout(L,N);else I==null||I()}},j.onmessage=(O)=>{J.value=null,Q.value=O.data,M.value=O.lastEventId};for(let O of Z)S(j,O,(A)=>{J.value=O,Q.value=A.data||null})},z=()=>{if(!V0)return;H(),B=!1,W=0,L()};if(K)y(U,z,{immediate:!0});return s(H),{eventSource:q,event:J,data:Q,status:X,error:G,open:z,close:H,lastEventId:M}}function fH($={}){const{initialValue:Z=""}=$,Y=t(()=>typeof window!=="undefined"&&("EyeDropper"in window)),J=F(Z);async function Q(X){if(!Y.value)return;const G=await new window.EyeDropper().open(X);return J.value=G.sRGBHex,G}return{isSupported:Y,sRGBHex:J,open:Q}}function hH($=null,Z={}){const{baseUrl:Y="",rel:J="icon",document:Q=g0}=Z,X=F0($),q=(G)=>{const U=Q==null?void 0:Q.head.querySelectorAll(`link[rel*="${J}"]`);if(!U||U.length===0){const M=Q==null?void 0:Q.createElement("link");if(M)M.rel=J,M.href=`${Y}${G}`,M.type=`image/${G.split(".").pop()}`,Q==null||Q.head.append(M);return}U==null||U.forEach((M)=>M.href=`${Y}${G}`)};return y(X,(G,U)=>{if(typeof G==="string"&&G!==U)q(G)},{immediate:!0}),X}function Q6($){return $&&HY($,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function gH($){return yH.test($)}function B$($){if(typeof Headers!=="undefined"&&$ instanceof Headers)return Object.fromEntries($.entries());return $}function I9($,...Z){if($==="overwrite")return async(Y)=>{const J=Z[Z.length-1];if(J)return{...Y,...await J(Y)};return Y};else return async(Y)=>{for(let J of Z)if(J)Y={...Y,...await J(Y)};return Y}}function mH($={}){const Z=$.combination||"chain",Y=$.options||{},J=$.fetchOptions||{};function Q(X,...q){const G=x(()=>{const B=P($.baseUrl),W=P(X);return B&&!gH(W)?vH(B,W):W});let U=Y,M=J;if(q.length>0)if(Q6(q[0]))U={...U,...q[0],beforeFetch:I9(Z,Y.beforeFetch,q[0].beforeFetch),afterFetch:I9(Z,Y.afterFetch,q[0].afterFetch),onFetchError:I9(Z,Y.onFetchError,q[0].onFetchError)};else M={...M,...q[0],headers:{...B$(M.headers)||{},...B$(q[0].headers)||{}}};if(q.length>1&&Q6(q[1]))U={...U,...q[1],beforeFetch:I9(Z,Y.beforeFetch,q[1].beforeFetch),afterFetch:I9(Z,Y.afterFetch,q[1].afterFetch),onFetchError:I9(Z,Y.onFetchError,q[1].onFetchError)};return t7(G,M,U)}return Q}function t7($,...Z){var Y;const J=typeof AbortController==="function";let Q={},X={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const q={method:"GET",type:"text",payload:void 0};if(Z.length>0)if(Q6(Z[0]))X={...X,...Z[0]};else Q=Z[0];if(Z.length>1){if(Q6(Z[1]))X={...X,...Z[1]}}const{fetch:G=(Y=c)==null?void 0:Y.fetch,initialData:U,timeout:M}=X,B=x0(),W=x0(),D=x0(),K=F(!1),H=F(!1),L=F(!1),z=F(null),j=n(null),O=n(null),A=n(U||null),N=x(()=>J&&H.value);let I,h;const R=()=>{if(J)I==null||I.abort(),I=new AbortController,I.signal.onabort=()=>L.value=!0,Q={...Q,signal:I.signal}},C=(w)=>{H.value=w,K.value=!w};if(M)h=Z9(R,M,{immediate:!1});let _=0;const E=async(w=!1)=>{var g,u;R(),C(!0),O.value=null,z.value=null,L.value=!1,_+=1;const p=_,e={method:q.method,headers:{}};if(q.payload){const U0=B$(e.headers),I0=P(q.payload);if(!q.payloadType&&I0&&Object.getPrototypeOf(I0)===Object.prototype&&!(I0 instanceof FormData))q.payloadType="json";if(q.payloadType)U0["Content-Type"]=(g=kH[q.payloadType])!=null?g:q.payloadType;e.body=q.payloadType==="json"?JSON.stringify(I0):I0}let q0=!1;const M0={url:P($),options:{...e,...Q},cancel:()=>{q0=!0}};if(X.beforeFetch)Object.assign(M0,await X.beforeFetch(M0));if(q0||!G)return C(!1),Promise.resolve(null);let j0=null;if(h)h.start();return G(M0.url,{...e,...M0.options,headers:{...B$(e.headers),...B$((u=M0.options)==null?void 0:u.headers)}}).then(async(U0)=>{if(j.value=U0,z.value=U0.status,j0=await U0.clone()[q.type](),!U0.ok)throw A.value=U||null,new Error(U0.statusText);if(X.afterFetch)({data:j0}=await X.afterFetch({data:j0,response:U0}));return A.value=j0,B.trigger(U0),U0}).catch(async(U0)=>{let I0=U0.message||U0.name;if(X.onFetchError)({error:I0,data:j0}=await X.onFetchError({data:j0,error:U0,response:j.value}));if(O.value=I0,X.updateDataOnError)A.value=j0;if(W.trigger(U0),w)throw U0;return null}).finally(()=>{if(p===_)C(!1);if(h)h.stop();D.trigger(null)})},b=F0(X.refetch);y([b,F0($)],([w])=>w&&E(),{deep:!0});const V={isFinished:Y0(K),isFetching:Y0(H),statusCode:z,response:j,error:O,data:A,canAbort:N,aborted:L,abort:R,execute:E,onFetchResponse:B.on,onFetchError:W.on,onFetchFinally:D.on,get:T("GET"),put:T("PUT"),post:T("POST"),delete:T("DELETE"),patch:T("PATCH"),head:T("HEAD"),options:T("OPTIONS"),json:k("json"),text:k("text"),blob:k("blob"),arrayBuffer:k("arrayBuffer"),formData:k("formData")};function T(w){return(g,u)=>{if(!H.value){if(q.method=w,q.payload=g,q.payloadType=u,i(q.payload))y([b,F0(q.payload)],([p])=>p&&E(),{deep:!0});return{...V,then(p,e){return f().then(p,e)}}}return}}function f(){return new Promise((w,g)=>{P9(K).toBe(!0).then(()=>w(V)).catch((u)=>g(u))})}function k(w){return()=>{if(!H.value)return q.type=w,{...V,then(g,u){return f().then(g,u)}};return}}if(X.immediate)Promise.resolve().then(()=>E());return{...V,then(w,g){return f().then(w,g)}}}function vH($,Z){if(!$.endsWith("/")&&!Z.startsWith("/"))return`${$}/${Z}`;return`${$}${Z}`}function cH($={}){const{document:Z=g0}=$,Y=F(null),{on:J,trigger:Q}=x0(),{on:X,trigger:q}=x0();let G;if(Z)G=Z.createElement("input"),G.type="file",G.onchange=(B)=>{const W=B.target;Y.value=W.files,Q(Y.value)},G.oncancel=()=>{q()};const U=()=>{if(Y.value=null,G&&G.value)G.value="",Q(null)},M=(B)=>{if(!G)return;const W={...uH,...$,...B};if(G.multiple=W.multiple,G.accept=W.accept,G.webkitdirectory=W.directory,DY(W,"capture"))G.capture=W.capture;if(W.reset)U();G.click()};return{files:Y0(Y),open:M,reset:U,onCancel:X,onChange:J}}function dH($={}){const{window:Z=c,dataType:Y="Text"}=$,J=Z,Q=t(()=>J&&("showSaveFilePicker"in J)&&("showOpenFilePicker"in J)),X=F(),q=F(),G=F(),U=x(()=>{var O,A;return(A=(O=G.value)==null?void 0:O.name)!=null?A:""}),M=x(()=>{var O,A;return(A=(O=G.value)==null?void 0:O.type)!=null?A:""}),B=x(()=>{var O,A;return(A=(O=G.value)==null?void 0:O.size)!=null?A:0}),W=x(()=>{var O,A;return(A=(O=G.value)==null?void 0:O.lastModified)!=null?A:0});async function D(O={}){if(!Q.value)return;const[A]=await J.showOpenFilePicker({...P($),...O});X.value=A,await j()}async function K(O={}){if(!Q.value)return;X.value=await J.showSaveFilePicker({...$,...O}),q.value=void 0,await j()}async function H(O={}){if(!Q.value)return;if(!X.value)return L(O);if(q.value){const A=await X.value.createWritable();await A.write(q.value),await A.close()}await z()}async function L(O={}){if(!Q.value)return;if(X.value=await J.showSaveFilePicker({...$,...O}),q.value){const A=await X.value.createWritable();await A.write(q.value),await A.close()}await z()}async function z(){var O;G.value=await((O=X.value)==null?void 0:O.getFile())}async function j(){var O,A;await z();const N=P(Y);if(N==="Text")q.value=await((O=G.value)==null?void 0:O.text());else if(N==="ArrayBuffer")q.value=await((A=G.value)==null?void 0:A.arrayBuffer());else if(N==="Blob")q.value=G.value}return y(()=>P(Y),j),{isSupported:Q,data:q,file:G,fileName:U,fileMIME:M,fileSize:B,fileLastModified:W,open:D,create:K,save:H,saveAs:L,updateData:j}}function lH($,Z={}){const{initialValue:Y=!1,focusVisible:J=!1,preventScroll:Q=!1}=Z,X=F(!1),q=x(()=>a($));S(q,"focus",(U)=>{var M,B;if(!J||((B=(M=U.target).matches)==null?void 0:B.call(M,":focus-visible")))X.value=!0}),S(q,"blur",()=>X.value=!1);const G=x({get:()=>X.value,set(U){var M,B;if(!U&&X.value)(M=q.value)==null||M.blur();else if(U&&!X.value)(B=q.value)==null||B.focus({preventScroll:Q})}});return y(q,()=>{G.value=Y},{immediate:!0,flush:"post"}),{focused:G}}function iH($,Z={}){const{window:Y=c}=Z,J=x(()=>a($)),Q=F(!1),X=x(()=>Q.value),q=g7(Z);if(!Y||!q.value)return{focused:X};return S(J,pH,()=>Q.value=!0),S(J,rH,()=>Q.value=!1),{focused:X}}function sH($){var Z;const Y=F(0);if(typeof performance==="undefined")return Y;const J=(Z=$==null?void 0:$.every)!=null?Z:10;let Q=performance.now(),X=0;return J9(()=>{if(X+=1,X>=J){const q=performance.now(),G=q-Q;Y.value=Math.round(1000/(G/X)),Q=q,X=0}}),Y}function aH($,Z={}){const{document:Y=g0,autoExit:J=!1}=Z,Q=x(()=>{var j;return(j=a($))!=null?j:Y==null?void 0:Y.querySelector("html")}),X=F(!1),q=x(()=>{return["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find((j)=>Y&&(j in Y)||Q.value&&(j in Q.value))}),G=x(()=>{return["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find((j)=>Y&&(j in Y)||Q.value&&(j in Q.value))}),U=x(()=>{return["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find((j)=>Y&&(j in Y)||Q.value&&(j in Q.value))}),M=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find((j)=>Y&&(j in Y)),B=t(()=>Q.value&&Y&&q.value!==void 0&&G.value!==void 0&&U.value!==void 0),W=()=>{if(M)return(Y==null?void 0:Y[M])===Q.value;return!1},D=()=>{if(U.value)if(Y&&Y[U.value]!=null)return Y[U.value];else{const j=Q.value;if((j==null?void 0:j[U.value])!=null)return Boolean(j[U.value])}return!1};async function K(){if(!B.value||!X.value)return;if(G.value)if((Y==null?void 0:Y[G.value])!=null)await Y[G.value]();else{const j=Q.value;if((j==null?void 0:j[G.value])!=null)await j[G.value]()}X.value=!1}async function H(){if(!B.value||X.value)return;if(D())await K();const j=Q.value;if(q.value&&(j==null?void 0:j[q.value])!=null)await j[q.value](),X.value=!0}async function L(){await(X.value?K():H())}const z=()=>{const j=D();if(!j||j&&W())X.value=j};if(S(Y,R7,z,!1),S(()=>a(Q),R7,z,!1),J)s(K);return{isSupported:B,isFullscreen:X,enter:H,exit:K,toggle:L}}function oH($){return x(()=>{if($.value)return{buttons:{a:$.value.buttons[0],b:$.value.buttons[1],x:$.value.buttons[2],y:$.value.buttons[3]},bumper:{left:$.value.buttons[4],right:$.value.buttons[5]},triggers:{left:$.value.buttons[6],right:$.value.buttons[7]},stick:{left:{horizontal:$.value.axes[0],vertical:$.value.axes[1],button:$.value.buttons[10]},right:{horizontal:$.value.axes[2],vertical:$.value.axes[3],button:$.value.buttons[11]}},dpad:{up:$.value.buttons[12],down:$.value.buttons[13],left:$.value.buttons[14],right:$.value.buttons[15]},back:$.value.buttons[8],start:$.value.buttons[9]};return null})}function nH($={}){const{navigator:Z=s0}=$,Y=t(()=>Z&&("getGamepads"in Z)),J=F([]),Q=x0(),X=x0(),q=(K)=>{const H=[],L="vibrationActuator"in K?K.vibrationActuator:null;if(L)H.push(L);if(K.hapticActuators)H.push(...K.hapticActuators);return{id:K.id,index:K.index,connected:K.connected,mapping:K.mapping,timestamp:K.timestamp,vibrationActuator:K.vibrationActuator,hapticActuators:H,axes:K.axes.map((z)=>z),buttons:K.buttons.map((z)=>({pressed:z.pressed,touched:z.touched,value:z.value}))}},G=()=>{const K=(Z==null?void 0:Z.getGamepads())||[];for(let H of K)if(H&&J.value[H.index])J.value[H.index]=q(H)},{isActive:U,pause:M,resume:B}=J9(G),W=(K)=>{if(!J.value.some(({index:H})=>H===K.index))J.value.push(q(K)),Q.trigger(K.index);B()},D=(K)=>{J.value=J.value.filter((H)=>H.index!==K.index),X.trigger(K.index)};return S("gamepadconnected",(K)=>W(K.gamepad)),S("gamepaddisconnected",(K)=>D(K.gamepad)),P0(()=>{const K=(Z==null?void 0:Z.getGamepads())||[];for(let H of K)if(H&&J.value[H.index])W(H)}),M(),{isSupported:Y,onConnected:Q.on,onDisconnected:X.on,gamepads:J,pause:M,resume:B,isActive:U}}function tH($={}){const{enableHighAccuracy:Z=!0,maximumAge:Y=30000,timeout:J=27000,navigator:Q=s0,immediate:X=!0}=$,q=t(()=>Q&&("geolocation"in Q)),G=F(null),U=n(null),M=F({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function B(H){G.value=H.timestamp,M.value=H.coords,U.value=null}let W;function D(){if(q.value)W=Q.geolocation.watchPosition(B,(H)=>U.value=H,{enableHighAccuracy:Z,maximumAge:Y,timeout:J})}if(X)D();function K(){if(W&&Q)Q.geolocation.clearWatch(W)}return s(()=>{K()}),{isSupported:q,coords:M,locatedAt:G,error:U,resume:D,pause:K}}function ZL($=$L,Z={}){const{initialState:Y=!1,listenForVisibilityChange:J=!0,events:Q=eH,window:X=c,eventFilter:q=X$(50)}=Z,G=F(Y),U=F(t1());let M;const B=()=>{G.value=!1,clearTimeout(M),M=setTimeout(()=>G.value=!0,$)},W=e1(q,()=>{U.value=t1(),B()});if(X){const D=X.document;for(let K of Q)S(X,K,W,{passive:!0});if(J)S(D,"visibilitychange",()=>{if(!D.hidden)W()});B()}return{idle:G,lastActive:U,reset:B}}async function YL($){return new Promise((Z,Y)=>{const J=new Image,{src:Q,srcset:X,sizes:q,class:G,loading:U,crossorigin:M,referrerPolicy:B}=$;if(J.src=Q,X)J.srcset=X;if(q)J.sizes=q;if(G)J.className=G;if(U)J.loading=U;if(M)J.crossOrigin=M;if(B)J.referrerPolicy=B;J.onload=()=>Z(J),J.onerror=Y})}function JL($,Z={}){const Y=m7(()=>YL(P($)),void 0,{resetOnExecute:!0,...Z});return y(()=>P($),()=>Y.execute(Z.delay),{deep:!0}),Y}function Y6($){if(typeof Window!=="undefined"&&$ instanceof Window)return $.document.documentElement;if(typeof Document!=="undefined"&&$ instanceof Document)return $.documentElement;return $}function e7($,Z={}){const{throttle:Y=0,idle:J=200,onStop:Q=X0,onScroll:X=X0,offset:q={left:0,right:0,top:0,bottom:0},eventListenerOptions:G={capture:!1,passive:!0},behavior:U="auto",window:M=c,onError:B=(R)=>{console.error(R)}}=Z,W=F(0),D=F(0),K=x({get(){return W.value},set(R){L(R,void 0)}}),H=x({get(){return D.value},set(R){L(void 0,R)}});function L(R,C){var _,E,b,V;if(!M)return;const T=P($);if(!T)return;(b=T instanceof Document?M.document.body:T)==null||b.scrollTo({top:(_=P(C))!=null?_:H.value,left:(E=P(R))!=null?E:K.value,behavior:P(U)});const f=((V=T==null?void 0:T.document)==null?void 0:V.documentElement)||(T==null?void 0:T.documentElement)||T;if(K!=null)W.value=f.scrollLeft;if(H!=null)D.value=f.scrollTop}const z=F(!1),j=G0({left:!0,right:!1,top:!0,bottom:!1}),O=G0({left:!1,right:!1,top:!1,bottom:!1}),A=(R)=>{if(!z.value)return;z.value=!1,O.left=!1,O.right=!1,O.top=!1,O.bottom=!1,Q(R)},N=q$(A,Y+J),I=(R)=>{var C;if(!M)return;const _=((C=R==null?void 0:R.document)==null?void 0:C.documentElement)||(R==null?void 0:R.documentElement)||a(R),{display:E,flexDirection:b}=getComputedStyle(_),V=_.scrollLeft;O.left=V<W.value,O.right=V>W.value;const T=Math.abs(V)<=(q.left||0),f=Math.abs(V)+_.clientWidth>=_.scrollWidth-(q.right||0)-T7;if(E==="flex"&&b==="row-reverse")j.left=f,j.right=T;else j.left=T,j.right=f;W.value=V;let k=_.scrollTop;if(R===M.document&&!k)k=M.document.body.scrollTop;O.top=k<D.value,O.bottom=k>D.value;const w=Math.abs(k)<=(q.top||0),g=Math.abs(k)+_.clientHeight>=_.scrollHeight-(q.bottom||0)-T7;if(E==="flex"&&b==="column-reverse")j.top=g,j.bottom=w;else j.top=w,j.bottom=g;D.value=k},h=(R)=>{var C;if(!M)return;const _=(C=R.target.documentElement)!=null?C:R.target;I(_),z.value=!0,N(R),X(R)};return S($,"scroll",Y?sZ(h,Y,!0,!1):h,G),P0(()=>{try{const R=P($);if(!R)return;I(R)}catch(R){B(R)}}),S($,"scrollend",A,G),{x:K,y:H,isScrolling:z,arrivedState:j,directions:O,measure(){const R=P($);if(M&&R)I(R)}}}function QL($,Z,Y={}){var J;const{direction:Q="bottom",interval:X=100,canLoadMore:q=()=>!0}=Y,G=G0(e7($,{...Y,offset:{[Q]:(J=Y.distance)!=null?J:0,...Y.offset}})),U=F(),M=x(()=>!!U.value),B=x(()=>{return Y6(P($))}),W=n7(B);function D(){if(G.measure(),!B.value||!W.value||!q(B.value))return;const{scrollHeight:H,clientHeight:L,scrollWidth:z,clientWidth:j}=B.value,O=Q==="bottom"||Q==="top"?H<=L:z<=j;if(G.arrivedState[Q]||O){if(!U.value)U.value=Promise.all([Z(G),new Promise((A)=>setTimeout(A,X))]).finally(()=>{U.value=null,E0(()=>D())})}}const K=y(()=>[G.arrivedState[Q],W.value],D,{immediate:!0});return oZ(K),{isLoading:M,reset(){E0(()=>D())}}}function qL($,Z={}){const{events:Y=XL,document:J=g0,initial:Q=null}=Z,X=F(Q);if(J)Y.forEach((q)=>{S(J,q,(G)=>{if(typeof G.getModifierState==="function")X.value=G.getModifierState($)})});return X}function GL($,Z,Y={}){const{window:J=c}=Y;return G6($,Z,J==null?void 0:J.localStorage,Y)}function WL($={}){const{reactive:Z=!1,target:Y=c,aliasMap:J=UL,passive:Q=!0,onEventFired:X=X0}=$,q=G0(new Set),G={toJSON(){return{}},current:q},U=Z?G0(G):G,M=new Set,B=new Set;function W(L,z){if(L in U)if(Z)U[L]=z;else U[L].value=z}function D(){q.clear();for(let L of B)W(L,!1)}function K(L,z){var j,O;const A=(j=L.key)==null?void 0:j.toLowerCase(),I=[(O=L.code)==null?void 0:O.toLowerCase(),A].filter(Boolean);if(A)if(z)q.add(A);else q.delete(A);for(let h of I)B.add(h),W(h,z);if(A==="meta"&&!z)M.forEach((h)=>{q.delete(h),W(h,!1)}),M.clear();else if(typeof L.getModifierState==="function"&&L.getModifierState("Meta")&&z)[...q,...I].forEach((h)=>M.add(h))}S(Y,"keydown",(L)=>{return K(L,!0),X(L)},{passive:Q}),S(Y,"keyup",(L)=>{return K(L,!1),X(L)},{passive:Q}),S("blur",D,{passive:!0}),S("focus",D,{passive:!0});const H=new Proxy(U,{get(L,z,j){if(typeof z!=="string")return Reflect.get(L,z,j);if(z=z.toLowerCase(),z in J)z=J[z];if(!(z in U))if(/[+_-]/.test(z)){const A=z.split(/[+_-]/g).map((N)=>N.trim());U[z]=x(()=>A.every((N)=>P(H[N])))}else U[z]=F(!1);const O=Reflect.get(L,z,j);return Z?P(O):O}});return H}function PY($,Z){if(P($))Z(P($))}function BL($){let Z=[];for(let Y=0;Y<$.length;++Y)Z=[...Z,[$.start(Y),$.end(Y)]];return Z}function IY($){return Array.from($).map(({label:Z,kind:Y,language:J,mode:Q,activeCues:X,cues:q,inBandMetadataTrackDispatchType:G},U)=>({id:U,label:Z,kind:Y,language:J,mode:Q,activeCues:X,cues:q,inBandMetadataTrackDispatchType:G}))}function DL($,Z={}){$=F0($),Z={...ML,...Z};const{document:Y=g0}=Z,J=F(0),Q=F(0),X=F(!1),q=F(1),G=F(!1),U=F(!1),M=F(!1),B=F(1),W=F(!1),D=F([]),K=F([]),H=F(-1),L=F(!1),z=F(!1),j=Y&&"pictureInPictureEnabled"in Y,O=x0(),A=(E)=>{PY($,(b)=>{if(E){const V=typeof E==="number"?E:E.id;b.textTracks[V].mode="disabled"}else for(let V=0;V<b.textTracks.length;++V)b.textTracks[V].mode="disabled";H.value=-1})},N=(E,b=!0)=>{PY($,(V)=>{const T=typeof E==="number"?E:E.id;if(b)A();V.textTracks[T].mode="showing",H.value=T})},I=()=>{return new Promise((E,b)=>{PY($,async(V)=>{if(j)if(!L.value)V.requestPictureInPicture().then(E).catch(b);else Y.exitPictureInPicture().then(E).catch(b)})})};Y1(()=>{if(!Y)return;const E=P($);if(!E)return;const b=P(Z.src);let V=[];if(!b)return;if(typeof b==="string")V=[{src:b}];else if(Array.isArray(b))V=b;else if(J$(b))V=[b];E.querySelectorAll("source").forEach((T)=>{T.removeEventListener("error",O.trigger),T.remove()}),V.forEach(({src:T,type:f})=>{const k=Y.createElement("source");k.setAttribute("src",T),k.setAttribute("type",f||""),k.addEventListener("error",O.trigger),E.appendChild(k)}),E.load()}),s(()=>{const E=P($);if(!E)return;E.querySelectorAll("source").forEach((b)=>b.removeEventListener("error",O.trigger))}),y([$,q],()=>{const E=P($);if(!E)return;E.volume=q.value}),y([$,z],()=>{const E=P($);if(!E)return;E.muted=z.value}),y([$,B],()=>{const E=P($);if(!E)return;E.playbackRate=B.value}),Y1(()=>{if(!Y)return;const E=P(Z.tracks),b=P($);if(!E||!E.length||!b)return;b.querySelectorAll("track").forEach((V)=>V.remove()),E.forEach(({default:V,kind:T,label:f,src:k,srcLang:w},g)=>{const u=Y.createElement("track");if(u.default=V||!1,u.kind=T,u.label=f,u.src=k,u.srclang=w,u.default)H.value=g;b.appendChild(u)})});const{ignoreUpdates:h}=Y9(J,(E)=>{const b=P($);if(!b)return;b.currentTime=E}),{ignoreUpdates:R}=Y9(M,(E)=>{const b=P($);if(!b)return;if(E)b.play();else b.pause()});S($,"timeupdate",()=>h(()=>J.value=P($).currentTime)),S($,"durationchange",()=>Q.value=P($).duration),S($,"progress",()=>D.value=BL(P($).buffered)),S($,"seeking",()=>X.value=!0),S($,"seeked",()=>X.value=!1),S($,["waiting","loadstart"],()=>{G.value=!0,R(()=>M.value=!1)}),S($,"loadeddata",()=>G.value=!1),S($,"playing",()=>{G.value=!1,U.value=!1,R(()=>M.value=!0)}),S($,"ratechange",()=>B.value=P($).playbackRate),S($,"stalled",()=>W.value=!0),S($,"ended",()=>U.value=!0),S($,"pause",()=>R(()=>M.value=!1)),S($,"play",()=>R(()=>M.value=!0)),S($,"enterpictureinpicture",()=>L.value=!0),S($,"leavepictureinpicture",()=>L.value=!1),S($,"volumechange",()=>{const E=P($);if(!E)return;q.value=E.volume,z.value=E.muted});const C=[],_=y([$],()=>{const E=P($);if(!E)return;_(),C[0]=S(E.textTracks,"addtrack",()=>K.value=IY(E.textTracks)),C[1]=S(E.textTracks,"removetrack",()=>K.value=IY(E.textTracks)),C[2]=S(E.textTracks,"change",()=>K.value=IY(E.textTracks))});return s(()=>C.forEach((E)=>E())),{currentTime:J,duration:Q,waiting:G,seeking:X,ended:U,stalled:W,buffered:D,playing:M,rate:B,volume:q,muted:z,tracks:K,selectedTrack:H,enableTrack:N,disableTrack:A,supportsPictureInPicture:j,togglePictureInPicture:I,isPictureInPicture:L,onSourceError:O.on}}function KL(){const $=R1({});return{get:(Z)=>$[Z],set:(Z,Y)=>qY($,Z,Y),has:(Z)=>DY($,Z),delete:(Z)=>GY($,Z),clear:()=>{Object.keys($).forEach((Z)=>{GY($,Z)})}}}function HL($,Z){const J=(()=>{if(Z==null?void 0:Z.cache)return R1(Z.cache);if(e9)return KL();return R1(new Map)})(),Q=(...B)=>(Z==null?void 0:Z.getKey)?Z.getKey(...B):JSON.stringify(B),X=(B,...W)=>{return J.set(B,$(...W)),J.get(B)},q=(...B)=>X(Q(...B),...B),G=(...B)=>{J.delete(Q(...B))},U=()=>{J.clear()},M=(...B)=>{const W=Q(...B);if(J.has(W))return J.get(W);return X(W,...B)};return M.load=q,M.delete=G,M.clear=U,M.generateKey=Q,M.cache=J,M}function LL($={}){const Z=F(),Y=t(()=>typeof performance!=="undefined"&&("memory"in performance));if(Y.value){const{interval:J=1000}=$;A1(()=>{Z.value=performance.memory},J,{immediate:$.immediate,immediateCallback:$.immediateCallback})}return{isSupported:Y,memory:Z}}function $q($={}){const{type:Z="page",touch:Y=!0,resetOnTouchEnds:J=!1,initialValue:Q={x:0,y:0},window:X=c,target:q=X,scroll:G=!0,eventFilter:U}=$;let M=null;const B=F(Q.x),W=F(Q.y),D=F(null),K=typeof Z==="function"?Z:jL[Z],H=(I)=>{const h=K(I);if(M=I,h)[B.value,W.value]=h,D.value="mouse"},L=(I)=>{if(I.touches.length>0){const h=K(I.touches[0]);if(h)[B.value,W.value]=h,D.value="touch"}},z=()=>{if(!M||!X)return;const I=K(M);if(M instanceof MouseEvent&&I)B.value=I[0]+X.scrollX,W.value=I[1]+X.scrollY},j=()=>{B.value=Q.x,W.value=Q.y},O=U?(I)=>U(()=>H(I),{}):(I)=>H(I),A=U?(I)=>U(()=>L(I),{}):(I)=>L(I),N=U?()=>U(()=>z(),{}):()=>z();if(q){const I={passive:!0};if(S(q,["mousemove","dragover"],O,I),Y&&Z!=="movement"){if(S(q,["touchstart","touchmove"],A,I),J)S(q,"touchend",j,I)}if(G&&Z==="page")S(X,"scroll",N,{passive:!0})}return{x:B,y:W,sourceType:D}}function Zq($,Z={}){const{handleOutside:Y=!0,window:J=c}=Z,Q=Z.type||"page",{x:X,y:q,sourceType:G}=$q(Z),U=F($!=null?$:J==null?void 0:J.document.body),M=F(0),B=F(0),W=F(0),D=F(0),K=F(0),H=F(0),L=F(!0);let z=()=>{};if(J)z=y([U,X,q],()=>{const j=a(U);if(!j||!(j instanceof Element))return;const{left:O,top:A,width:N,height:I}=j.getBoundingClientRect();W.value=O+(Q==="page"?J.pageXOffset:0),D.value=A+(Q==="page"?J.pageYOffset:0),K.value=I,H.value=N;const h=X.value-W.value,R=q.value-D.value;if(L.value=N===0||I===0||h<0||R<0||h>N||R>I,Y||!L.value)M.value=h,B.value=R},{immediate:!0}),S(document,"mouseleave",()=>{L.value=!0});return{x:X,y:q,sourceType:G,elementX:M,elementY:B,elementPositionX:W,elementPositionY:D,elementHeight:K,elementWidth:H,isOutside:L,stop:z}}function zL($={}){const{touch:Z=!0,drag:Y=!0,capture:J=!1,initialValue:Q=!1,window:X=c}=$,q=F(Q),G=F(null);if(!X)return{pressed:q,sourceType:G};const U=(W)=>()=>{q.value=!0,G.value=W},M=()=>{q.value=!1,G.value=null},B=x(()=>a($.target)||X);if(S(B,"mousedown",U("mouse"),{passive:!0,capture:J}),S(X,"mouseleave",M,{passive:!0,capture:J}),S(X,"mouseup",M,{passive:!0,capture:J}),Y)S(B,"dragstart",U("mouse"),{passive:!0,capture:J}),S(X,"drop",M,{passive:!0,capture:J}),S(X,"dragend",M,{passive:!0,capture:J});if(Z)S(B,"touchstart",U("touch"),{passive:!0,capture:J}),S(X,"touchend",M,{passive:!0,capture:J}),S(X,"touchcancel",M,{passive:!0,capture:J});return{pressed:q,sourceType:G}}function OL($={}){const{window:Z=c}=$,Y=Z==null?void 0:Z.navigator,J=t(()=>Y&&("language"in Y)),Q=F(Y==null?void 0:Y.language);return S(Z,"languagechange",()=>{if(Y)Q.value=Y.language}),{isSupported:J,language:Q}}function Yq($={}){const{window:Z=c}=$,Y=Z==null?void 0:Z.navigator,J=t(()=>Y&&("connection"in Y)),Q=F(!0),X=F(!1),q=F(void 0),G=F(void 0),U=F(void 0),M=F(void 0),B=F(void 0),W=F(void 0),D=F("unknown"),K=J.value&&Y.connection;function H(){if(!Y)return;if(Q.value=Y.onLine,q.value=Q.value?void 0:Date.now(),G.value=Q.value?Date.now():void 0,K)U.value=K.downlink,M.value=K.downlinkMax,W.value=K.effectiveType,B.value=K.rtt,X.value=K.saveData,D.value=K.type}if(Z)S(Z,"offline",()=>{Q.value=!1,q.value=Date.now()}),S(Z,"online",()=>{Q.value=!0,G.value=Date.now()});if(K)S(K,"change",H,!1);return H(),{isSupported:Y0(J),isOnline:Y0(Q),saveData:Y0(X),offlineAt:Y0(q),onlineAt:Y0(G),downlink:Y0(U),downlinkMax:Y0(M),effectiveType:Y0(W),rtt:Y0(B),type:Y0(D)}}function Jq($={}){const{controls:Z=!1,interval:Y="requestAnimationFrame"}=$,J=F(new Date),Q=()=>J.value=new Date,X=Y==="requestAnimationFrame"?J9(Q,{immediate:!0}):A1(Q,Y,{immediate:!0});if(Z)return{now:J,...X};else return J}function FL($){const Z=F(),Y=()=>{if(Z.value)URL.revokeObjectURL(Z.value);Z.value=void 0};return y(()=>P($),(J)=>{if(Y(),J)Z.value=URL.createObjectURL(J)},{immediate:!0}),s(Y),Y0(Z)}function x7($,Z,Y){if(typeof $==="function"||T0($))return x(()=>b1(P($),P(Z),P(Y)));const J=F($);return x({get(){return J.value=b1(J.value,P(Z),P(Y))},set(Q){J.value=b1(Q,P(Z),P(Y))}})}function AL($){const{total:Z=Number.POSITIVE_INFINITY,pageSize:Y=10,page:J=1,onPageChange:Q=X0,onPageSizeChange:X=X0,onPageCountChange:q=X0}=$,G=x7(Y,1,Number.POSITIVE_INFINITY),U=x(()=>Math.max(1,Math.ceil(P(Z)/P(G)))),M=x7(J,1,U),B=x(()=>M.value===1),W=x(()=>M.value===U.value);if(i(J))aZ(J,M,{direction:T0(J)?"ltr":"both"});if(i(Y))aZ(Y,G,{direction:T0(Y)?"ltr":"both"});function D(){M.value--}function K(){M.value++}const H={currentPage:M,currentPageSize:G,pageCount:U,isFirstPage:B,isLastPage:W,prev:D,next:K};return y(M,()=>{Q(G0(H))}),y(G,()=>{X(G0(H))}),y(U,()=>{q(G0(H))}),H}function PL($={}){const{isOnline:Z}=Yq($);return Z}function IL($={}){const{window:Z=c}=$,Y=F(!1),J=(Q)=>{if(!Z)return;Q=Q||Z.event;const X=Q.relatedTarget||Q.toElement;Y.value=!X};if(Z)S(Z,"mouseout",J,{passive:!0}),S(Z.document,"mouseleave",J,{passive:!0}),S(Z.document,"mouseenter",J,{passive:!0});return Y}function Qq($={}){const{window:Z=c}=$,Y=t(()=>Z&&("screen"in Z)&&("orientation"in Z.screen)),J=Y.value?Z.screen.orientation:{},Q=F(J.type),X=F(J.angle||0);if(Y.value)S(Z,"orientationchange",()=>{Q.value=J.type,X.value=J.angle});return{isSupported:Y,orientation:Q,angle:X,lockOrientation:(U)=>{if(Y.value&&typeof J.lock==="function")return J.lock(U);return Promise.reject(new Error("Not supported"))},unlockOrientation:()=>{if(Y.value&&typeof J.unlock==="function")J.unlock()}}}function EL($,Z={}){const{deviceOrientationTiltAdjust:Y=(z)=>z,deviceOrientationRollAdjust:J=(z)=>z,mouseTiltAdjust:Q=(z)=>z,mouseRollAdjust:X=(z)=>z,window:q=c}=Z,G=G0(i7({window:q})),U=G0(Qq({window:q})),{elementX:M,elementY:B,elementWidth:W,elementHeight:D}=Zq($,{handleOutside:!1,window:q}),K=x(()=>{if(G.isSupported&&(G.alpha!=null&&G.alpha!==0||G.gamma!=null&&G.gamma!==0))return"deviceOrientation";return"mouse"}),H=x(()=>{if(K.value==="deviceOrientation"){let z;switch(U.orientation){case"landscape-primary":z=G.gamma/90;break;case"landscape-secondary":z=-G.gamma/90;break;case"portrait-primary":z=-G.beta/90;break;case"portrait-secondary":z=G.beta/90;break;default:z=-G.beta/90}return J(z)}else{const z=-(B.value-D.value/2)/D.value;return X(z)}}),L=x(()=>{if(K.value==="deviceOrientation"){let z;switch(U.orientation){case"landscape-primary":z=G.beta/90;break;case"landscape-secondary":z=-G.beta/90;break;case"portrait-primary":z=G.gamma/90;break;case"portrait-secondary":z=-G.gamma/90;break;default:z=G.gamma/90}return Y(z)}else{const z=(M.value-W.value/2)/W.value;return Q(z)}});return{roll:H,tilt:L,source:K}}function VL($=l7()){const Z=n(),Y=()=>{const J=a($);if(J)Z.value=J.parentElement};return P0(Y),y(()=>P($),Y),Z}function _L($,Z){const{window:Y=c,immediate:J=!0,...Q}=$,X=t(()=>Y&&("PerformanceObserver"in Y));let q;const G=()=>{q==null||q.disconnect()},U=()=>{if(X.value)G(),q=new PerformanceObserver(Z),q.observe(Q)};if(s(G),J)U();return{isSupported:X,start:U,stop:G}}function RL($={}){const{target:Z=c}=$,Y=F(!1),J=F($.initialValue||{});Object.assign(J.value,Xq,J.value);const Q=(X)=>{if(Y.value=!0,$.pointerTypes&&!$.pointerTypes.includes(X.pointerType))return;J.value=r5(X,NL,!1)};if(Z){const X={passive:!0};S(Z,["pointerdown","pointermove","pointerup"],Q,X),S(Z,"pointerleave",()=>Y.value=!1,X)}return{...zY(J),isInside:Y}}function TL($,Z={}){const{document:Y=g0}=Z,J=t(()=>Y&&("pointerLockElement"in Y)),Q=F(),X=F();let q;if(J.value)S(Y,"pointerlockchange",()=>{var M;const B=(M=Y.pointerLockElement)!=null?M:Q.value;if(q&&B===q){if(Q.value=Y.pointerLockElement,!Q.value)q=X.value=null}}),S(Y,"pointerlockerror",()=>{var M;const B=(M=Y.pointerLockElement)!=null?M:Q.value;if(q&&B===q){const W=Y.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${W} pointer lock.`)}});async function G(M){var B;if(!J.value)throw new Error("Pointer Lock API is not supported by your browser.");if(X.value=M instanceof Event?M.currentTarget:null,q=M instanceof Event?(B=a($))!=null?B:X.value:a(M),!q)throw new Error("Target element undefined.");return q.requestPointerLock(),await P9(Q).toBe(q)}async function U(){if(!Q.value)return!1;return Y.exitPointerLock(),await P9(Q).toBeNull(),!0}return{isSupported:J,element:Q,triggerElement:X,lock:G,unlock:U}}function xL($,Z={}){const Y=F0($),{threshold:J=50,onSwipe:Q,onSwipeEnd:X,onSwipeStart:q,disableTextSelect:G=!1}=Z,U=G0({x:0,y:0}),M=(R,C)=>{U.x=R,U.y=C},B=G0({x:0,y:0}),W=(R,C)=>{B.x=R,B.y=C},D=x(()=>U.x-B.x),K=x(()=>U.y-B.y),{max:H,abs:L}=Math,z=x(()=>H(L(D.value),L(K.value))>=J),j=F(!1),O=F(!1),A=x(()=>{if(!z.value)return"none";if(L(D.value)>L(K.value))return D.value>0?"left":"right";else return K.value>0?"up":"down"}),N=(R)=>{var C,_,E;const b=R.buttons===0,V=R.buttons===1;return(E=(_=(C=Z.pointerTypes)==null?void 0:C.includes(R.pointerType))!=null?_:b||V)!=null?E:!0},I=[S($,"pointerdown",(R)=>{if(!N(R))return;O.value=!0;const C=R.target;C==null||C.setPointerCapture(R.pointerId);const{clientX:_,clientY:E}=R;M(_,E),W(_,E),q==null||q(R)}),S($,"pointermove",(R)=>{if(!N(R))return;if(!O.value)return;const{clientX:C,clientY:_}=R;if(W(C,_),!j.value&&z.value)j.value=!0;if(j.value)Q==null||Q(R)}),S($,"pointerup",(R)=>{if(!N(R))return;if(j.value)X==null||X(R,A.value);O.value=!1,j.value=!1})];P0(()=>{var R,C,_,E,b,V,T,f;if((C=(R=Y.value)==null?void 0:R.style)==null||C.setProperty("touch-action","none"),G)(E=(_=Y.value)==null?void 0:_.style)==null||E.setProperty("-webkit-user-select","none"),(V=(b=Y.value)==null?void 0:b.style)==null||V.setProperty("-ms-user-select","none"),(f=(T=Y.value)==null?void 0:T.style)==null||f.setProperty("user-select","none")});const h=()=>I.forEach((R)=>R());return{isSwiping:Y0(j),direction:Y0(A),posStart:Y0(U),posEnd:Y0(B),distanceX:D,distanceY:K,stop:h}}function CL($){const Z=i0("(prefers-color-scheme: light)",$),Y=i0("(prefers-color-scheme: dark)",$);return x(()=>{if(Y.value)return"dark";if(Z.value)return"light";return"no-preference"})}function wL($){const Z=i0("(prefers-contrast: more)",$),Y=i0("(prefers-contrast: less)",$),J=i0("(prefers-contrast: custom)",$);return x(()=>{if(Z.value)return"more";if(Y.value)return"less";if(J.value)return"custom";return"no-preference"})}function bL($={}){const{window:Z=c}=$;if(!Z)return F(["en"]);const Y=Z.navigator,J=F(Y.languages);return S(Z,"languagechange",()=>{J.value=Y.languages}),J}function SL($){const Z=i0("(prefers-reduced-motion: reduce)",$);return x(()=>{if(Z.value)return"reduce";return"no-preference"})}function fL($,Z){const Y=n(Z);return y(F0($),(J,Q)=>{Y.value=Q},{flush:"sync"}),Y0(Y)}function hL(){const $=F(""),Z=F(""),Y=F(""),J=F("");if(V0){const X=W$(C7),q=W$(w7),G=W$(b7),U=W$(S7);X.value="env(safe-area-inset-top, 0px)",q.value="env(safe-area-inset-right, 0px)",G.value="env(safe-area-inset-bottom, 0px)",U.value="env(safe-area-inset-left, 0px)",Q(),S("resize",q$(Q))}function Q(){$.value=$6(C7),Z.value=$6(w7),Y.value=$6(b7),J.value=$6(S7)}return{top:$,right:Z,bottom:Y,left:J,update:Q}}function $6($){return getComputedStyle(document.documentElement).getPropertyValue($)}function kL($,Z=X0,Y={}){const{immediate:J=!0,manual:Q=!1,type:X="text/javascript",async:q=!0,crossOrigin:G,referrerPolicy:U,noModule:M,defer:B,document:W=g0,attrs:D={}}=Y,K=F(null);let H=null;const L=(O)=>new Promise((A,N)=>{const I=(C)=>{return K.value=C,A(C),C};if(!W){A(!1);return}let h=!1,R=W.querySelector(`script[src="${P($)}"]`);if(!R){if(R=W.createElement("script"),R.type=X,R.async=q,R.src=P($),B)R.defer=B;if(G)R.crossOrigin=G;if(M)R.noModule=M;if(U)R.referrerPolicy=U;Object.entries(D).forEach(([C,_])=>R==null?void 0:R.setAttribute(C,_)),h=!0}else if(R.hasAttribute("data-loaded"))I(R);if(R.addEventListener("error",(C)=>N(C)),R.addEventListener("abort",(C)=>N(C)),R.addEventListener("load",()=>{R.setAttribute("data-loaded","true"),Z(R),I(R)}),h)R=W.head.appendChild(R);if(!O)I(R)}),z=(O=!0)=>{if(!H)H=L(O);return H},j=()=>{if(!W)return;if(H=null,K.value)K.value=null;const O=W.querySelector(`script[src="${P($)}"]`);if(O)W.head.removeChild(O)};if(J&&!Q)P0(z);if(!Q)oZ(j);return{scriptTag:K,load:z,unload:j}}function qq($){const Z=window.getComputedStyle($);if(Z.overflowX==="scroll"||Z.overflowY==="scroll"||Z.overflowX==="auto"&&$.clientWidth<$.scrollWidth||Z.overflowY==="auto"&&$.clientHeight<$.scrollHeight)return!0;else{const Y=$.parentNode;if(!Y||Y.tagName==="BODY")return!1;return qq(Y)}}function yL($){const Z=$||window.event,Y=Z.target;if(qq(Y))return!1;if(Z.touches.length>1)return!0;if(Z.preventDefault)Z.preventDefault();return!1}function gL($,Z=!1){const Y=F(Z);let J=null,Q="";y(F0($),(G)=>{const U=Y6(P(G));if(U){const M=U;if(!EY.get(M))EY.set(M,M.style.overflow);if(M.style.overflow!=="hidden")Q=M.style.overflow;if(M.style.overflow==="hidden")return Y.value=!0;if(Y.value)return M.style.overflow="hidden"}},{immediate:!0});const X=()=>{const G=Y6(P($));if(!G||Y.value)return;if(pZ)J=S(G,"touchmove",(U)=>{yL(U)},{passive:!1});G.style.overflow="hidden",Y.value=!0},q=()=>{const G=Y6(P($));if(!G||!Y.value)return;if(pZ)J==null||J();G.style.overflow=Q,EY.delete(G),Y.value=!1};return s(q),x({get(){return Y.value},set(G){if(G)X();else q()}})}function mL($,Z,Y={}){const{window:J=c}=Y;return G6($,Z,J==null?void 0:J.sessionStorage,Y)}function vL($={},Z={}){const{navigator:Y=s0}=Z,J=Y,Q=t(()=>J&&("canShare"in J));return{isSupported:Q,share:async(q={})=>{if(Q.value){const G={...P($),...P(q)};let U=!0;if(G.files&&J.canShare)U=J.canShare({files:G.files});if(U)return J.share(G)}}}}function cL(...$){var Z,Y,J,Q;const[X]=$;let q=Z6,G={};if($.length===2)if(typeof $[1]==="object")G=$[1],q=(Z=G.compareFn)!=null?Z:Z6;else q=(Y=$[1])!=null?Y:Z6;else if($.length>2)q=(J=$[1])!=null?J:Z6,G=(Q=$[2])!=null?Q:{};const{dirty:U=!1,sortFn:M=uL}=G;if(!U)return x(()=>M([...P(X)],q));return Y1(()=>{const B=M(P(X),q);if(i(X))X.value=B;else X.splice(0,X.length,...B)}),X}function dL($={}){const{interimResults:Z=!0,continuous:Y=!0,maxAlternatives:J=1,window:Q=c}=$,X=F0($.lang||"en-US"),q=F(!1),G=F(!1),U=F(""),M=n(void 0),B=(z=!q.value)=>{q.value=z},W=()=>{q.value=!0},D=()=>{q.value=!1},K=Q&&(Q.SpeechRecognition||Q.webkitSpeechRecognition),H=t(()=>K);let L;if(H.value)L=new K,L.continuous=Y,L.interimResults=Z,L.lang=P(X),L.maxAlternatives=J,L.onstart=()=>{G.value=!1},y(X,(z)=>{if(L&&!q.value)L.lang=z}),L.onresult=(z)=>{const j=z.results[z.resultIndex],{transcript:O}=j[0];G.value=j.isFinal,U.value=O,M.value=void 0},L.onerror=(z)=>{M.value=z},L.onend=()=>{q.value=!1,L.lang=P(X)},y(q,()=>{if(q.value)L.start();else L.stop()});return s(()=>{q.value=!1}),{isSupported:H,isListening:q,isFinal:G,recognition:L,result:U,error:M,toggle:B,start:W,stop:D}}function lL($,Z={}){const{pitch:Y=1,rate:J=1,volume:Q=1,window:X=c}=Z,q=X&&X.speechSynthesis,G=t(()=>q),U=F(!1),M=F("init"),B=F0($||""),W=F0(Z.lang||"en-US"),D=n(void 0),K=(O=!U.value)=>{U.value=O},H=(O)=>{O.lang=P(W),O.voice=P(Z.voice)||null,O.pitch=P(Y),O.rate=P(J),O.volume=Q,O.onstart=()=>{U.value=!0,M.value="play"},O.onpause=()=>{U.value=!1,M.value="pause"},O.onresume=()=>{U.value=!0,M.value="play"},O.onend=()=>{U.value=!1,M.value="end"},O.onerror=(A)=>{D.value=A}},L=x(()=>{U.value=!1,M.value="init";const O=new SpeechSynthesisUtterance(B.value);return H(O),O}),z=()=>{if(q.cancel(),L)q.speak(L.value)},j=()=>{q.cancel(),U.value=!1};if(G.value){if(H(L.value),y(W,(O)=>{if(L.value&&!U.value)L.value.lang=O}),Z.voice)y(Z.voice,()=>{q.cancel()});y(U,()=>{if(U.value)q.resume();else q.pause()})}return s(()=>{U.value=!1}),{isSupported:G,isPlaying:U,status:M,utterance:L,error:D,stop:j,toggle:K,speak:z}}function pL($,Z){const Y=F($),J=x(()=>Array.isArray(Y.value)?Y.value:Object.keys(Y.value)),Q=F(J.value.indexOf(Z!=null?Z:J.value[0])),X=x(()=>B(Q.value)),q=x(()=>Q.value===0),G=x(()=>Q.value===J.value.length-1),U=x(()=>J.value[Q.value+1]),M=x(()=>J.value[Q.value-1]);function B(I){if(Array.isArray(Y.value))return Y.value[I];return Y.value[J.value[I]]}function W(I){if(!J.value.includes(I))return;return B(J.value.indexOf(I))}function D(I){if(J.value.includes(I))Q.value=J.value.indexOf(I)}function K(){if(G.value)return;Q.value++}function H(){if(q.value)return;Q.value--}function L(I){if(N(I))D(I)}function z(I){return J.value.indexOf(I)===Q.value+1}function j(I){return J.value.indexOf(I)===Q.value-1}function O(I){return J.value.indexOf(I)===Q.value}function A(I){return Q.value<J.value.indexOf(I)}function N(I){return Q.value>J.value.indexOf(I)}return{steps:Y,stepNames:J,index:Q,current:X,next:U,previous:M,isFirst:q,isLast:G,at:B,get:W,goTo:D,goToNext:K,goToPrevious:H,goBackTo:L,isNext:z,isPrevious:j,isCurrent:O,isBefore:A,isAfter:N}}function rL($,Z,Y,J={}){var Q;const{flush:X="pre",deep:q=!0,listenToStorageChanges:G=!0,writeDefaults:U=!0,mergeDefaults:M=!1,shallow:B,window:W=c,eventFilter:D,onError:K=(A)=>{console.error(A)}}=J,H=P(Z),L=u7(H),z=(B?n:F)(Z),j=(Q=J.serializer)!=null?Q:c7[L];if(!Y)try{Y=q6("getDefaultStorageAsync",()=>{var A;return(A=c)==null?void 0:A.localStorage})()}catch(A){K(A)}async function O(A){if(!Y||A&&A.key!==$)return;try{const N=A?A.newValue:await Y.getItem($);if(N==null){if(z.value=H,U&&H!==null)await Y.setItem($,await j.write(H))}else if(M){const I=await j.read(N);if(typeof M==="function")z.value=M(I,H);else if(L==="object"&&!Array.isArray(I))z.value={...H,...I};else z.value=I}else z.value=await j.read(N)}catch(N){K(N)}}if(O(),W&&G)S(W,"storage",(A)=>Promise.resolve().then(()=>O(A)));if(Y)$9(z,async()=>{try{if(z.value==null)await Y.removeItem($);else await Y.setItem($,await j.write(z.value))}catch(A){K(A)}},{flush:X,deep:q,eventFilter:D});return z}function sL($,Z={}){const Y=F(!1),{document:J=g0,immediate:Q=!0,manual:X=!1,id:q=`vueuse_styletag_${++iL}`}=Z,G=F($);let U=()=>{};const M=()=>{if(!J)return;const W=J.getElementById(q)||J.createElement("style");if(!W.isConnected){if(W.id=q,Z.media)W.media=Z.media;J.head.appendChild(W)}if(Y.value)return;U=y(G,(D)=>{W.textContent=D},{immediate:!0}),Y.value=!0},B=()=>{if(!J||!Y.value)return;U(),J.head.removeChild(J.getElementById(q)),Y.value=!1};if(Q&&!X)P0(M);if(!X)s(B);return{id:q,css:G,unload:B,load:M,isLoaded:Y0(Y)}}function aL($,Z={}){const{threshold:Y=50,onSwipe:J,onSwipeEnd:Q,onSwipeStart:X,passive:q=!0,window:G=c}=Z,U=G0({x:0,y:0}),M=G0({x:0,y:0}),B=x(()=>U.x-M.x),W=x(()=>U.y-M.y),{max:D,abs:K}=Math,H=x(()=>D(K(B.value),K(W.value))>=Y),L=F(!1),z=x(()=>{if(!H.value)return"none";if(K(B.value)>K(W.value))return B.value>0?"left":"right";else return W.value>0?"up":"down"}),j=(_)=>[_.touches[0].clientX,_.touches[0].clientY],O=(_,E)=>{U.x=_,U.y=E},A=(_,E)=>{M.x=_,M.y=E};let N;const I=oL(G==null?void 0:G.document);if(!q)N=I?{passive:!1,capture:!0}:{capture:!0};else N=I?{passive:!0}:{capture:!1};const h=(_)=>{if(L.value)Q==null||Q(_,z.value);L.value=!1},R=[S($,"touchstart",(_)=>{if(_.touches.length!==1)return;if(N.capture&&!N.passive)_.preventDefault();const[E,b]=j(_);O(E,b),A(E,b),X==null||X(_)},N),S($,"touchmove",(_)=>{if(_.touches.length!==1)return;const[E,b]=j(_);if(A(E,b),!L.value&&H.value)L.value=!0;if(L.value)J==null||J(_)},N),S($,["touchend","touchcancel"],h,N)];return{isPassiveEventSupported:I,isSwiping:L,direction:z,coordsStart:U,coordsEnd:M,lengthX:B,lengthY:W,stop:()=>R.forEach((_)=>_())}}function oL($){if(!$)return!1;let Z=!1;const Y={get passive(){return Z=!0,!1}};return $.addEventListener("x",X0,Y),$.removeEventListener("x",X0),Z}function nL(){const $=F([]);return $.value.set=(Z)=>{if(Z)$.value.push(Z)},U5(()=>{$.value.length=0}),$}function tL($={}){const{document:Z=g0,selector:Y="html",observe:J=!1,initialValue:Q="ltr"}=$;function X(){var G,U;return(U=(G=Z==null?void 0:Z.querySelector(Y))==null?void 0:G.getAttribute("dir"))!=null?U:Q}const q=F(X());if(P0(()=>q.value=X()),J&&Z)E9(Z.querySelector(Y),()=>q.value=X(),{attributes:!0});return x({get(){return q.value},set(G){var U,M;if(q.value=G,!Z)return;if(q.value)(U=Z.querySelector(Y))==null||U.setAttribute("dir",q.value);else(M=Z.querySelector(Y))==null||M.removeAttribute("dir")}})}function eL($){var Z;const Y=(Z=$.rangeCount)!=null?Z:0;return Array.from({length:Y},(J,Q)=>$.getRangeAt(Q))}function $j($={}){const{window:Z=c}=$,Y=F(null),J=x(()=>{var G,U;return(U=(G=Y.value)==null?void 0:G.toString())!=null?U:""}),Q=x(()=>Y.value?eL(Y.value):[]),X=x(()=>Q.value.map((G)=>G.getBoundingClientRect()));function q(){if(Y.value=null,Z)Y.value=Z.getSelection()}if(Z)S(Z.document,"selectionchange",q);return{text:J,rects:X,ranges:Q,selection:Y}}function Zj($){var Z;const Y=F($==null?void 0:$.element),J=F($==null?void 0:$.input),Q=(Z=$==null?void 0:$.styleProp)!=null?Z:"height",X=F(1),q=F(0);function G(){var U;if(!Y.value)return;let M="";Y.value.style[Q]="1px",X.value=(U=Y.value)==null?void 0:U.scrollHeight;const B=P($==null?void 0:$.styleTarget);if(B)B.style[Q]=`${X.value}px`;else M=`${X.value}px`;Y.value.style[Q]=M}if(y([J,Y],()=>E0(G),{immediate:!0}),y(X,()=>{var U;return(U=$==null?void 0:$.onResize)==null?void 0:U.call($)}),U6(Y,([{contentRect:U}])=>{if(q.value===U.width)return;q.value=U.width,G()}),$==null?void 0:$.watch)y($.watch,G,{immediate:!0,deep:!0});return{textarea:Y,input:J,triggerResize:G}}function Yj($,Z={}){const{throttle:Y=200,trailing:J=!0}=Z,Q=X$(Y,J);return{...TY($,{...Z,eventFilter:Q})}}function Xj($){return $.toISOString().slice(0,10)}function qj($,Z={}){const{controls:Y=!1,updateInterval:J=30000}=Z,{now:Q,...X}=Jq({interval:J,controls:!0}),q=x(()=>Gq(new Date(P($)),Z,P(Q)));if(Y)return{timeAgo:q,...X};else return q}function Gq($,Z={},Y=Date.now()){var J;const{max:Q,messages:X=Qj,fullDateFormatter:q=Xj,units:G=Jj,showSecond:U=!1,rounding:M="round"}=Z,B=typeof M==="number"?(z)=>+z.toFixed(M):Math[M],W=+Y-+$,D=Math.abs(W);function K(z,j){return B(Math.abs(z)/j.value)}function H(z,j){const O=K(z,j),A=z>0,N=L(j.name,O,A);return L(A?"past":"future",N,A)}function L(z,j,O){const A=X[z];if(typeof A==="function")return A(j,O);return A.replace("{0}",j.toString())}if(D<60000&&!U)return X.justNow;if(typeof Q==="number"&&D>Q)return q(new Date($));if(typeof Q==="string"){const z=(J=G.find((j)=>j.name===Q))==null?void 0:J.max;if(z&&D>z)return q(new Date($))}for(let[z,j]of G.entries()){if(K(W,j)<=0&&G[z-1])return H(W,G[z-1]);if(D<j.max)return H(W,j)}return X.invalid}function Gj($,Z,Y){const{start:J}=Z9(X,Z,{immediate:!1}),Q=F(!1);async function X(){if(!Q.value)return;await $(),J()}function q(){if(!Q.value)Q.value=!0,X()}function G(){Q.value=!1}if(Y==null?void 0:Y.immediate)q();return s(G),{isActive:Q,pause:G,resume:q}}function Uj($={}){const{controls:Z=!1,offset:Y=0,immediate:J=!0,interval:Q="requestAnimationFrame",callback:X}=$,q=F(t1()+Y),G=()=>q.value=t1()+Y,U=X?()=>{G(),X(q.value)}:G,M=Q==="requestAnimationFrame"?J9(U,{immediate:J}):A1(U,Q,{immediate:J});if(Z)return{timestamp:q,...M};else return q}function Wj($=null,Z={}){var Y,J,Q;const{document:X=g0,restoreOnUnmount:q=(W)=>W}=Z,G=(Y=X==null?void 0:X.title)!=null?Y:"",U=F0((J=$!=null?$:X==null?void 0:X.title)!=null?J:null),M=$&&typeof $==="function";function B(W){if(!("titleTemplate"in Z))return W;const D=Z.titleTemplate||"%s";return typeof D==="function"?D(W):P(D).replace(/%s/g,W)}if(y(U,(W,D)=>{if(W!==D&&X)X.title=B(typeof W==="string"?W:"")},{immediate:!0}),Z.observe&&!Z.titleTemplate&&X&&!M)E9((Q=X.head)==null?void 0:Q.querySelector("title"),()=>{if(X&&X.title!==U.value)U.value=B(X.title)},{childList:!0});return OY(()=>{if(q){const W=q(G,U.value||"");if(W!=null&&X)X.title=W}}),U}function Bj([$,Z,Y,J]){const Q=(B,W)=>1-3*W+3*B,X=(B,W)=>3*W-6*B,q=(B)=>3*B,G=(B,W,D)=>((Q(W,D)*B+X(W,D))*B+q(W))*B,U=(B,W,D)=>3*Q(W,D)*B*B+2*X(W,D)*B+q(W),M=(B)=>{let W=B;for(let D=0;D<4;++D){const K=U(W,$,Y);if(K===0)return W;const H=G(W,$,Y)-B;W-=H/K}return W};return(B)=>$===Z&&Y===J?B:G(M(B),Z,J)}function f7($,Z,Y){return $+Y*(Z-$)}function VY($){return(typeof $==="number"?[$]:$)||[]}function Uq($,Z,Y,J={}){var Q,X;const q=P(Z),G=P(Y),U=VY(q),M=VY(G),B=(Q=P(J.duration))!=null?Q:1000,W=Date.now(),D=Date.now()+B,K=typeof J.transition==="function"?J.transition:(X=P(J.transition))!=null?X:d5,H=typeof K==="function"?K:Bj(K);return new Promise((L)=>{$.value=q;const z=()=>{var j;if((j=J.abort)==null?void 0:j.call(J)){L();return}const O=Date.now(),A=H((O-W)/B),N=VY($.value).map((I,h)=>f7(U[h],M[h],A));if(Array.isArray($.value))$.value=N.map((I,h)=>{var R,C;return f7((R=U[h])!=null?R:0,(C=M[h])!=null?C:0,A)});else if(typeof $.value==="number")$.value=N[0];if(O<D)requestAnimationFrame(z);else $.value=G,L()};z()})}function Mj($,Z={}){let Y=0;const J=()=>{const X=P($);return typeof X==="number"?X:X.map(P)},Q=F(J());return y(J,async(X)=>{var q,G;if(P(Z.disabled))return;const U=++Y;if(Z.delay)await Z$(P(Z.delay));if(U!==Y)return;const M=Array.isArray(X)?X.map(P):P(X);(q=Z.onStarted)==null||q.call(Z),await Uq(Q,Q.value,M,{...Z,abort:()=>{var B;return U!==Y||((B=Z.abort)==null?void 0:B.call(Z))}}),(G=Z.onFinished)==null||G.call(Z)},{deep:!0}),y(()=>P(Z.disabled),(X)=>{if(X)Y++,Q.value=J()}),s(()=>{Y++}),x(()=>P(Z.disabled)?J():Q.value)}function Dj($="history",Z={}){const{initialValue:Y={},removeNullishValues:J=!0,removeFalsyValues:Q=!1,write:X=!0,window:q=c}=Z;if(!q)return G0(Y);const G=G0({});function U(){if($==="history")return q.location.search||"";else if($==="hash"){const j=q.location.hash||"",O=j.indexOf("?");return O>0?j.slice(O):""}else return(q.location.hash||"").replace(/^#/,"")}function M(j){const O=j.toString();if($==="history")return`${O?`?${O}`:""}${q.location.hash||""}`;if($==="hash-params")return`${q.location.search||""}${O?`#${O}`:""}`;const A=q.location.hash||"#",N=A.indexOf("?");if(N>0)return`${A.slice(0,N)}${O?`?${O}`:""}`;return`${A}${O?`?${O}`:""}`}function B(){return new URLSearchParams(U())}function W(j){const O=new Set(Object.keys(G));for(let A of j.keys()){const N=j.getAll(A);G[A]=N.length>1?N:j.get(A)||"",O.delete(A)}Array.from(O).forEach((A)=>delete G[A])}const{pause:D,resume:K}=n1(G,()=>{const j=new URLSearchParams("");Object.keys(G).forEach((O)=>{const A=G[O];if(Array.isArray(A))A.forEach((N)=>j.append(O,N));else if(J&&A==null)j.delete(O);else if(Q&&!A)j.delete(O);else j.set(O,A)}),H(j)},{deep:!0});function H(j,O){if(D(),O)W(j);q.history.replaceState(q.history.state,q.document.title,q.location.pathname+M(j)),K()}function L(){if(!X)return;H(B(),!0)}if(S(q,"popstate",L,!1),$!=="history")S(q,"hashchange",L,!1);const z=B();if(z.keys().next().value)W(z);else Object.assign(G,Y);return G}function Kj($={}){var Z,Y;const J=F((Z=$.enabled)!=null?Z:!1),Q=F((Y=$.autoSwitch)!=null?Y:!0),X=F($.constraints),{navigator:q=s0}=$,G=t(()=>{var L;return(L=q==null?void 0:q.mediaDevices)==null?void 0:L.getUserMedia}),U=n();function M(L){switch(L){case"video":{if(X.value)return X.value.video||!1;break}case"audio":{if(X.value)return X.value.audio||!1;break}}}async function B(){if(!G.value||U.value)return;return U.value=await q.mediaDevices.getUserMedia({video:M("video"),audio:M("audio")}),U.value}function W(){var L;(L=U.value)==null||L.getTracks().forEach((z)=>z.stop()),U.value=void 0}function D(){W(),J.value=!1}async function K(){if(await B(),U.value)J.value=!0;return U.value}async function H(){return W(),await K()}return y(J,(L)=>{if(L)B();else W()},{immediate:!0}),y(X,()=>{if(Q.value&&U.value)H()},{immediate:!0}),s(()=>{D()}),{isSupported:G,stream:U,start:K,stop:D,restart:H,constraints:X,enabled:J,autoSwitch:Q}}function Wq($,Z,Y,J={}){var Q,X,q,G,U;const{clone:M=!1,passive:B=!1,eventName:W,deep:D=!1,defaultValue:K,shouldEmit:H}=J,L=y0(),z=Y||(L==null?void 0:L.emit)||((Q=L==null?void 0:L.$emit)==null?void 0:Q.bind(L))||((q=(X=L==null?void 0:L.proxy)==null?void 0:X.$emit)==null?void 0:q.bind(L==null?void 0:L.proxy));let j=W;if(!Z)if(e9){const I=(U=(G=L==null?void 0:L.proxy)==null?void 0:G.$options)==null?void 0:U.model;if(Z=(I==null?void 0:I.value)||"value",!W)j=(I==null?void 0:I.event)||"input"}else Z="modelValue";j=j||`update:${Z.toString()}`;const O=(I)=>!M?I:typeof M==="function"?M(I):M$(I),A=()=>v5($[Z])?O($[Z]):K,N=(I)=>{if(H){if(H(I))z(j,I)}else z(j,I)};if(B){const I=A(),h=F(I);let R=!1;return y(()=>$[Z],(C)=>{if(!R)R=!0,h.value=O(C),E0(()=>R=!1)}),y(h,(C)=>{if(!R&&(C!==$[Z]||D))N(C)},{deep:D}),h}else return x({get(){return A()},set(I){N(I)}})}function Hj($,Z,Y={}){const J={};for(let Q in $)J[Q]=Wq($,Q,Z,Y);return J}function Lj($){const{pattern:Z=[],interval:Y=0,navigator:J=s0}=$||{},Q=t(()=>typeof J!=="undefined"&&("vibrate"in J)),X=F0(Z);let q;const G=(M=X.value)=>{if(Q.value)J.vibrate(M)},U=()=>{if(Q.value)J.vibrate(0);q==null||q.pause()};if(Y>0)q=A1(G,Y,{immediate:!1,immediateCallback:!1});return{isSupported:Q,pattern:Z,intervalControls:q,vibrate:G,stop:U}}function jj($,Z){const{containerStyle:Y,wrapperProps:J,scrollTo:Q,calculateRange:X,currentList:q,containerRef:G}="itemHeight"in Z?Fj(Z,$):Oj(Z,$);return{list:q,scrollTo:Q,containerProps:{ref:G,onScroll:()=>{X()},style:Y},wrapperProps:J}}function Bq($){const Z=F(null),Y=a7(Z),J=F([]),Q=n($);return{state:F({start:0,end:10}),source:Q,currentList:J,size:Y,containerRef:Z}}function Mq($,Z,Y){return(J)=>{if(typeof Y==="number")return Math.ceil(J/Y);const{start:Q=0}=$.value;let X=0,q=0;for(let G=Q;G<Z.value.length;G++){const U=Y(G);if(X+=U,q=G,X>J)break}return q-Q}}function Dq($,Z){return(Y)=>{if(typeof Z==="number")return Math.floor(Y/Z)+1;let J=0,Q=0;for(let X=0;X<$.value.length;X++){const q=Z(X);if(J+=q,J>=Y){Q=X;break}}return Q+1}}function Kq($,Z,Y,J,{containerRef:Q,state:X,currentList:q,source:G}){return()=>{const U=Q.value;if(U){const M=Y($==="vertical"?U.scrollTop:U.scrollLeft),B=J($==="vertical"?U.clientHeight:U.clientWidth),W=M-Z,D=M+B+Z;X.value={start:W<0?0:W,end:D>G.value.length?G.value.length:D},q.value=G.value.slice(X.value.start,X.value.end).map((K,H)=>({data:K,index:H+X.value.start}))}}}function Hq($,Z){return(Y)=>{if(typeof $==="number")return Y*$;return Z.value.slice(0,Y).reduce((Q,X,q)=>Q+$(q),0)}}function Lq($,Z,Y,J){y([$.width,$.height,Z,Y],()=>{J()})}function jq($,Z){return x(()=>{if(typeof $==="number")return Z.value.length*$;return Z.value.reduce((Y,J,Q)=>Y+$(Q),0)})}function zq($,Z,Y,J){return(Q)=>{if(J.value)J.value[zj[$]]=Y(Q),Z()}}function Oj($,Z){const Y=Bq(Z),{state:J,source:Q,currentList:X,size:q,containerRef:G}=Y,U={overflowX:"auto"},{itemWidth:M,overscan:B=5}=$,W=Mq(J,Q,M),D=Dq(Q,M),K=Kq("horizontal",B,D,W,Y),H=Hq(M,Q),L=x(()=>H(J.value.start)),z=jq(M,Q);Lq(q,Z,G,K);const j=zq("horizontal",K,H,G),O=x(()=>{return{style:{height:"100%",width:`${z.value-L.value}px`,marginLeft:`${L.value}px`,display:"flex"}}});return{scrollTo:j,calculateRange:K,wrapperProps:O,containerStyle:U,currentList:X,containerRef:G}}function Fj($,Z){const Y=Bq(Z),{state:J,source:Q,currentList:X,size:q,containerRef:G}=Y,U={overflowY:"auto"},{itemHeight:M,overscan:B=5}=$,W=Mq(J,Q,M),D=Dq(Q,M),K=Kq("vertical",B,D,W,Y),H=Hq(M,Q),L=x(()=>H(J.value.start)),z=jq(M,Q);Lq(q,Z,G,K);const j=zq("vertical",K,H,G),O=x(()=>{return{style:{width:"100%",height:`${z.value-L.value}px`,marginTop:`${L.value}px`}}});return{calculateRange:K,scrollTo:j,containerStyle:U,wrapperProps:O,currentList:X,containerRef:G}}function Aj($={}){const{navigator:Z=s0,document:Y=g0}=$,J=F(!1),Q=n(null),X=s7({document:Y}),q=t(()=>Z&&("wakeLock"in Z)),G=x(()=>!!Q.value&&X.value==="visible");if(q.value)S(Q,"release",()=>{var W,D;J.value=(D=(W=Q.value)==null?void 0:W.type)!=null?D:!1}),FY(()=>X.value==="visible"&&(Y==null?void 0:Y.visibilityState)==="visible"&&J.value,(W)=>{J.value=!1,U(W)});async function U(W){var D;await((D=Q.value)==null?void 0:D.release()),Q.value=q.value?await Z.wakeLock.request(W):null}async function M(W){if(X.value==="visible")await U(W);else J.value=W}async function B(){J.value=!1;const W=Q.value;Q.value=null,await(W==null?void 0:W.release())}return{sentinel:Q,isSupported:q,isActive:G,request:M,forceRequest:U,release:B}}function Pj($={}){const{window:Z=c,requestPermissions:Y=!0}=$,J=$,Q=t(()=>{if(!Z||!("Notification"in Z))return!1;try{new Notification("")}catch(O){return!1}return!0}),X=F(Q.value&&"permission"in Notification&&Notification.permission==="granted"),q=F(null),G=async()=>{if(!Q.value)return;if(!X.value&&Notification.permission!=="denied"){if(await Notification.requestPermission()==="granted")X.value=!0}return X.value},{on:U,trigger:M}=x0(),{on:B,trigger:W}=x0(),{on:D,trigger:K}=x0(),{on:H,trigger:L}=x0(),z=async(O)=>{if(!Q.value||!X.value)return;const A=Object.assign({},J,O);return q.value=new Notification(A.title||"",A),q.value.onclick=M,q.value.onshow=W,q.value.onerror=K,q.value.onclose=L,q.value},j=()=>{if(q.value)q.value.close();q.value=null};if(Y)P0(G);if(s(j),Q.value&&Z){const O=Z.document;S(O,"visibilitychange",(A)=>{if(A.preventDefault(),O.visibilityState==="visible")j()})}return{isSupported:Q,notification:q,ensurePermissions:G,permissionGranted:X,show:z,close:j,onClick:U,onShow:B,onError:D,onClose:H}}function _Y($){if($===!0)return{};return $}function Ij($,Z={}){const{onConnected:Y,onDisconnected:J,onError:Q,onMessage:X,immediate:q=!0,autoClose:G=!0,protocols:U=[]}=Z,M=F(null),B=F("CLOSED"),W=F(),D=F0($);let K,H,L=!1,z=0,j=[],O;const A=()=>{if(j.length&&W.value&&B.value==="OPEN"){for(let _ of j)W.value.send(_);j=[]}},N=()=>{clearTimeout(O),O=void 0},I=(_=1000,E)=>{if(!V0||!W.value)return;L=!0,N(),K==null||K(),W.value.close(_,E),W.value=void 0},h=(_,E=!0)=>{if(!W.value||B.value!=="OPEN"){if(E)j.push(_);return!1}return A(),W.value.send(_),!0},R=()=>{if(L||typeof D.value==="undefined")return;const _=new WebSocket(D.value,U);W.value=_,B.value="CONNECTING",_.onopen=()=>{B.value="OPEN",z=0,Y==null||Y(_),H==null||H(),A()},_.onclose=(E)=>{if(B.value="CLOSED",J==null||J(_,E),!L&&Z.autoReconnect&&_===W.value){const{retries:b=-1,delay:V=1000,onFailed:T}=_Y(Z.autoReconnect);if(typeof b==="number"&&(b<0||z<b))z+=1,setTimeout(R,V);else if(typeof b==="function"&&b())setTimeout(R,V);else T==null||T()}},_.onerror=(E)=>{Q==null||Q(_,E)},_.onmessage=(E)=>{if(Z.heartbeat){N();const{message:b=h7,responseMessage:V=b}=_Y(Z.heartbeat);if(E.data===V)return}M.value=E.data,X==null||X(_,E)}};if(Z.heartbeat){const{message:_=h7,interval:E=1000,pongTimeout:b=1000}=_Y(Z.heartbeat),{pause:V,resume:T}=A1(()=>{if(h(_,!1),O!=null)return;O=setTimeout(()=>{I(),L=!1},b)},E,{immediate:!1});K=V,H=T}if(G){if(V0)S("beforeunload",()=>I());s(I)}const C=()=>{if(!V0&&!m5)return;I(),L=!1,z=0,R()};if(q)C();return y(D,C),{data:M,status:B,close:I,send:h,open:C,ws:W}}function Ej($,Z,Y){const{window:J=c}=Y!=null?Y:{},Q=F(null),X=n(),q=(...U)=>{if(!X.value)return;X.value.postMessage(...U)},G=function U(){if(!X.value)return;X.value.terminate()};if(J){if(typeof $==="string")X.value=new Worker($,Z);else if(typeof $==="function")X.value=$();else X.value=$;X.value.onmessage=(U)=>{Q.value=U.data},s(()=>{if(X.value)X.value.terminate()})}return{data:Q,post:q,terminate:G,worker:X}}function Vj($,Z){if($.length===0&&Z.length===0)return"";const Y=$.map((X)=>`'${X}'`).toString(),J=Z.filter((X)=>typeof X==="function").map((X)=>{const q=X.toString();if(q.trim().startsWith("function"))return q;else return`const ${X.name} = ${q}`}).join(";"),Q=`importScripts(${Y});`;return`${Y.trim()===""?"":Q} ${J}`}function _j($){return(Z)=>{const Y=Z.data[0];return Promise.resolve($.apply(void 0,Y)).then((J)=>{postMessage(["SUCCESS",J])}).catch((J)=>{postMessage(["ERROR",J])})}}function Nj($,Z,Y){const J=`${Vj(Z,Y)}; onmessage=(${_j})(${$})`,Q=new Blob([J],{type:"text/javascript"});return URL.createObjectURL(Q)}function Rj($,Z={}){const{dependencies:Y=[],localDependencies:J=[],timeout:Q,window:X=c}=Z,q=F(),G=F("PENDING"),U=F({}),M=F(),B=(H="PENDING")=>{if(q.value&&q.value._url&&X)q.value.terminate(),URL.revokeObjectURL(q.value._url),U.value={},q.value=void 0,X.clearTimeout(M.value),G.value=H};B(),s(B);const W=()=>{const H=Nj($,Y,J),L=new Worker(H);if(L._url=H,L.onmessage=(z)=>{const{resolve:j=()=>{},reject:O=()=>{}}=U.value,[A,N]=z.data;switch(A){case"SUCCESS":j(N),B(A);break;default:O(N),B("ERROR");break}},L.onerror=(z)=>{const{reject:j=()=>{}}=U.value;z.preventDefault(),j(z),B("ERROR")},Q)M.value=setTimeout(()=>B("TIMEOUT_EXPIRED"),Q);return L},D=(...H)=>new Promise((L,z)=>{var j;U.value={resolve:L,reject:z},(j=q.value)==null||j.postMessage([[...H]]),G.value="RUNNING"});return{workerFn:(...H)=>{if(G.value==="RUNNING")return console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject();return q.value=W(),D(...H)},workerStatus:G,workerTerminate:B}}function Tj($={}){const{window:Z=c}=$;if(!Z)return F(!1);const Y=F(Z.document.hasFocus());return S(Z,"blur",()=>{Y.value=!1}),S(Z,"focus",()=>{Y.value=!0}),Y}function xj($={}){const{window:Z=c,behavior:Y="auto"}=$;if(!Z)return{x:F(0),y:F(0)};const J=F(Z.scrollX),Q=F(Z.scrollY),X=x({get(){return J.value},set(G){scrollTo({left:G,behavior:Y})}}),q=x({get(){return Q.value},set(G){scrollTo({top:G,behavior:Y})}});return S(Z,"scroll",()=>{J.value=Z.scrollX,Q.value=Z.scrollY},{capture:!1,passive:!0}),{x:X,y:q}}function Cj($={}){const{window:Z=c,initialWidth:Y=Number.POSITIVE_INFINITY,initialHeight:J=Number.POSITIVE_INFINITY,listenOrientation:Q=!0,includeScrollbar:X=!0,type:q="inner"}=$,G=F(Y),U=F(J),M=()=>{if(Z)if(q==="outer")G.value=Z.outerWidth,U.value=Z.outerHeight;else if(X)G.value=Z.innerWidth,U.value=Z.innerHeight;else G.value=Z.document.documentElement.clientWidth,U.value=Z.document.documentElement.clientHeight};if(M(),P0(M),S("resize",M,{passive:!0}),Q){const B=i0("(orientation: portrait)");y(B,()=>M())}return{width:G,height:U}}var c=V0?window:void 0,g0=V0?window.document:void 0,s0=V0?window.navigator:void 0,CK=V0?window.location:void 0,_7=!1,kK=500,yK=10,G$={array:($)=>JSON.stringify($),object:($)=>JSON.stringify($),set:($)=>JSON.stringify(Array.from($)),map:($)=>JSON.stringify(Object.fromEntries($)),null:()=>""},nK={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},tK={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},eK={xs:0,sm:600,md:960,lg:1264,xl:1904};var $H=eK,ZH={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},YH={xs:0,sm:600,md:1024,lg:1440,xl:1920},JH={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},QH={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};var N7=["hash","host","hostname","href","pathname","port","protocol","search"],tZ=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{},eZ="__vueuse_ssr_handlers__",v7=DH(),c7={boolean:{read:($)=>$==="true",write:($)=>String($)},object:{read:($)=>JSON.parse($),write:($)=>JSON.stringify($)},number:{read:($)=>Number.parseFloat($),write:($)=>String($)},any:{read:($)=>$,write:($)=>String($)},string:{read:($)=>$,write:($)=>String($)},map:{read:($)=>new Map(JSON.parse($)),write:($)=>JSON.stringify(Array.from($.entries()))},set:{read:($)=>new Set(JSON.parse($)),write:($)=>JSON.stringify(Array.from($))},date:{read:($)=>new Date($),write:($)=>$.toISOString()}},NY="vueuse-storage",HH="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}",U$=new Map,kH={json:"application/json",text:"text/plain"},yH=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i,uH={multiple:!0,accept:"*",reset:!1,directory:!1},pH="focusin",rH="focusout",R7=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"],eH=["mousemove","mousedown","resize","keydown","touchstart","wheel"],$L=60000,T7=1,XL=["mousedown","mouseup","keydown","keyup"],UL={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"},ML={src:"",tracks:[]},jL={page:($)=>[$.pageX,$.pageY],client:($)=>[$.clientX,$.clientY],screen:($)=>[$.screenX,$.screenY],movement:($)=>$ instanceof Touch?null:[$.movementX,$.movementY]},Xq={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},NL=Object.keys(Xq),C7="--vueuse-safe-area-top",w7="--vueuse-safe-area-right",b7="--vueuse-safe-area-bottom",S7="--vueuse-safe-area-left",EY=new WeakMap,uL=($,Z)=>$.sort(Z),Z6=($,Z)=>$-Z,iL=0,Jj=[{max:60000,value:1000,name:"second"},{max:2760000,value:60000,name:"minute"},{max:72000000,value:3600000,name:"hour"},{max:518400000,value:86400000,name:"day"},{max:2419200000,value:604800000,name:"week"},{max:28512000000,value:2592000000,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536000000,name:"year"}],Qj={justNow:"just now",past:($)=>$.match(/\d/)?`${$} ago`:$,future:($)=>$.match(/\d/)?`in ${$}`:$,month:($,Z)=>$===1?Z?"last month":"next month":`${$} month${$>1?"s":""}`,year:($,Z)=>$===1?Z?"last year":"next year":`${$} year${$>1?"s":""}`,day:($,Z)=>$===1?Z?"yesterday":"tomorrow":`${$} day${$>1?"s":""}`,week:($,Z)=>$===1?Z?"last week":"next week":`${$} week${$>1?"s":""}`,hour:($)=>`${$} hour${$>1?"s":""}`,minute:($)=>`${$} minute${$>1?"s":""}`,second:($)=>`${$} second${$>1?"s":""}`,invalid:""};var zj={horizontal:"scrollLeft",vertical:"scrollTop"},h7="ping";function Oq($){return $}function Sj($){let Z=9;for(let Y=0;Y<$.length;)Z=Math.imul(Z^$.charCodeAt(Y++),387420489);return((Z^Z>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function CY($){return $._h||Sj($._d?$._d:`${$.tag}:${$.textContent||$.innerHTML||""}:${Object.entries($.props).map(([Z,Y])=>`${Z}:${String(Y)}`).join(",")}`)}function Fq($,Z){const{props:Y,tag:J}=$;if(wj.includes(J))return J;if(J==="link"&&Y.rel==="canonical")return"canonical";if(Y.charset)return"charset";const Q=["id"];if(J==="meta")Q.push(...["name","property","http-equiv"]);for(let X of Q)if(typeof Y[X]!=="undefined"){const q=String(Y[X]);if(Z&&!Z(q))return!1;return`${J}:${X}:${q}`}return!1}function W6($){const Z=$.replace(/([A-Z])/g,"-$1").toLowerCase(),Y=Z.split("-")[0];if(fj.includes(Y)||Y==="twitter")return $.replace(/([A-Z])/g,":$1").toLowerCase();return Z}function hj($,Z){const Y=$==="class"?" ":";";if(typeof Z==="object"&&!Array.isArray(Z))Z=Object.entries(Z).filter(([,J])=>J).map(([J,Q])=>$==="style"?`${J}:${Q}`:J);return(Array.isArray(Z)?Z.join(Y):Z).split(Y).filter((J)=>J.trim()).filter(Boolean).join(Y)}async function Aq($,Z){for(let Y of Object.keys($)){if(["class","style"].includes(Y)){$[Y]=hj(Y,$[Y]);continue}if($[Y]instanceof Promise)$[Y]=await $[Y];if(!Z&&!bj.includes(Y)){const J=String($[Y]),Q=Y.startsWith("data-");if(J==="true"||J==="")$[Y]=Q?"true":!0;else if(!$[Y])if(Q&&J==="false")$[Y]="false";else delete $[Y]}}return $}var B6=["base","meta","link","style","script","noscript"];var wj=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],bj=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"];var m0=($)=>({keyValue:$,metaKey:"property"}),xY=($)=>({keyValue:$}),UE={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){return`${W6($)}=${Z}`}}},articleExpirationTime:m0("article:expiration_time"),articleModifiedTime:m0("article:modified_time"),articlePublishedTime:m0("article:published_time"),bookReleaseDate:m0("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:$,value:Z}){return`${W6($)} ${Z}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:m0("fb:app_id"),msapplicationConfig:xY("msapplication-Config"),msapplicationTileColor:xY("msapplication-TileColor"),msapplicationTileImage:xY("msapplication-TileImage"),ogAudioSecureUrl:m0("og:audio:secure_url"),ogAudioUrl:m0("og:audio"),ogImageSecureUrl:m0("og:image:secure_url"),ogImageUrl:m0("og:image"),ogSiteName:m0("og:site_name"),ogVideoSecureUrl:m0("og:video:secure_url"),ogVideoUrl:m0("og:video"),profileFirstName:m0("profile:first_name"),profileLastName:m0("profile:last_name"),profileUsername:m0("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:$,value:Z}){if($==="seconds")return`${Z}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){if(typeof Z==="boolean")return`${W6($)}`;else return`${W6($)}:${Z}`}}},xUaCompatible:{metaKey:"http-equiv"}},fj=["og","book","article","profile"];async function kj($,Z={}){const Y=Z.document||$.resolvedOptions.document;if(!Y||!$.dirty)return;const J={shouldRender:!0,tags:[]};if(await $.hooks.callHook("dom:beforeRender",J),!J.shouldRender)return;const Q=(await $.resolveTags()).map((B)=>({tag:B,id:B6.includes(B.tag)?CY(B):B.tag,shouldRender:!0}));let X=$._dom;if(!X){X={elMap:{htmlAttrs:Y.documentElement,bodyAttrs:Y.body}};for(let B of["body","head"]){const W=Y[B]?.children,D=[];for(let K of[...W].filter((H)=>B6.includes(H.tagName.toLowerCase()))){const H={tag:K.tagName.toLowerCase(),props:await Aq(K.getAttributeNames().reduce((j,O)=>({...j,[O]:K.getAttribute(O)}),{})),innerHTML:K.innerHTML};let L=1,z=Fq(H);while(z&&D.find((j)=>j._d===z))z=`${z}:${L++}`;H._d=z||void 0,D.push(H),X.elMap[K.getAttribute("data-hid")||CY(H)]=K}}}X.pendingSideEffects={...X.sideEffects||{}},X.sideEffects={};function q(B,W,D){const K=`${B}:${W}`;X.sideEffects[K]=D,delete X.pendingSideEffects[K]}function G({id:B,$el:W,tag:D}){const K=D.tag.endsWith("Attrs");if(X.elMap[B]=W,!K)["textContent","innerHTML"].forEach((H)=>{D[H]&&D[H]!==W[H]&&(W[H]=D[H])}),q(B,"el",()=>{X.elMap[B]?.remove(),delete X.elMap[B]});for(let[H,L]of Object.entries(D._eventHandlers||{}))if(W.getAttribute(`data-${H}`)!=="")(D.tag==="bodyAttrs"?Y.defaultView:W).addEventListener(H.replace("on",""),L.bind(W)),W.setAttribute(`data-${H}`,"");Object.entries(D.props).forEach(([H,L])=>{const z=`attr:${H}`;if(H==="class")for(let j of(L||"").split(" ").filter(Boolean))K&&q(B,`${z}:${j}`,()=>W.classList.remove(j)),!W.classList.contains(j)&&W.classList.add(j);else if(H==="style")for(let j of(L||"").split(";").filter(Boolean)){const[O,...A]=j.split(":").map((N)=>N.trim());q(B,`${z}:${j}:${O}`,()=>{W.style.removeProperty(O)}),W.style.setProperty(O,A.join(":"))}else W.getAttribute(H)!==L&&W.setAttribute(H,L===!0?"":String(L)),K&&q(B,z,()=>W.removeAttribute(H))})}const U=[],M={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(let B of Q){const{tag:W,shouldRender:D,id:K}=B;if(!D)continue;if(W.tag==="title"){Y.title=W.textContent;continue}if(B.$el=B.$el||X.elMap[K],B.$el)G(B);else B6.includes(W.tag)&&U.push(B)}for(let B of U){const W=B.tag.tagPosition||"head";B.$el=Y.createElement(B.tag.tag),G(B),M[W]=M[W]||Y.createDocumentFragment(),M[W].appendChild(B.$el)}for(let B of Q)await $.hooks.callHook("dom:renderTag",B,Y,q);M.head&&Y.head.appendChild(M.head),M.bodyOpen&&Y.body.insertBefore(M.bodyOpen,Y.body.firstChild),M.bodyClose&&Y.body.appendChild(M.bodyClose),Object.values(X.pendingSideEffects).forEach((B)=>B()),$._dom=X,$.dirty=!1,await $.hooks.callHook("dom:rendered",{renders:Q})}async function yj($,Z={}){const Y=Z.delayFn||((J)=>setTimeout(J,10));return $._domUpdatePromise=$._domUpdatePromise||new Promise((J)=>Y(async()=>{await kj($,Z),delete $._domUpdatePromise,J()}))}function Pq($){return Oq((Z)=>{const Y=Z.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Y&&Z.push(JSON.parse(Y)),{mode:"client",hooks:{"entries:updated":function(J){yj(J,$)}}}})}function q1($){return $}function D$($){let Z=9;for(let Y=0;Y<$.length;)Z=Math.imul(Z^$.charCodeAt(Y++),387420489);return((Z^Z>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Nq($){if($._h)return $._h;if($._d)return D$($._d);let Z=`${$.tag}:${$.textContent||$.innerHTML||""}:`;for(let Y in $.props)Z+=`${Y}:${String($.props[Y])},`;return D$(Z)}function M6($){const Z=$.replace(/([A-Z])/g,"-$1").toLowerCase(),Y=Z.indexOf("-"),J=Z.substring(0,Y);if(J==="twitter"||uj.has(J))return $.replace(/([A-Z])/g,":$1").toLowerCase();return Z}function cj($,Z){if($ instanceof Promise)return $.then(Z);return Z($)}function bY($,Z,Y,J){const Q=J||lj(typeof Z==="object"&&typeof Z!=="function"&&!(Z instanceof Promise)?{...Z}:{[$==="script"||$==="noscript"||$==="style"?"innerHTML":"textContent"]:Z},$==="templateParams"||$==="titleTemplate");if(Q instanceof Promise)return Q.then((q)=>bY($,Z,Y,q));const X={tag:$,props:Q};for(let q of Vq){const G=X.props[q]!==void 0?X.props[q]:Y[q];if(G!==void 0){if(!(q==="innerHTML"||q==="textContent"||q==="children")||gj.has(X.tag))X[q==="children"?"innerHTML":q]=G;delete X.props[q]}}if(X.props.body)X.tagPosition="bodyClose",delete X.props.body;if(X.tag==="script"){if(typeof X.innerHTML==="object")X.innerHTML=JSON.stringify(X.innerHTML),X.props.type=X.props.type||"application/json"}return Array.isArray(X.props.content)?X.props.content.map((q)=>({...X,props:{...X.props,content:q}})):X}function dj($,Z){const Y=$==="class"?" ":";";if(Z&&typeof Z==="object"&&!Array.isArray(Z))Z=Object.entries(Z).filter(([,J])=>J).map(([J,Q])=>$==="style"?`${J}:${Q}`:J);return String(Array.isArray(Z)?Z.join(Y):Z)?.split(Y).filter((J)=>Boolean(J.trim())).join(Y)}function Rq($,Z,Y,J){for(let Q=J;Q<Y.length;Q+=1){const X=Y[Q];if(X==="class"||X==="style"){$[X]=dj(X,$[X]);continue}if($[X]instanceof Promise)return $[X].then((q)=>{return $[X]=q,Rq($,Z,Y,Q)});if(!Z&&!Vq.has(X)){const q=String($[X]),G=X.startsWith("data-");if(q==="true"||q==="")$[X]=G?"true":!0;else if(!$[X])if(G&&q==="false")$[X]="false";else delete $[X]}}}function lj($,Z=!1){const Y=Rq($,Z,Object.keys($),0);if(Y instanceof Promise)return Y.then(()=>$);return $}function Tq($,Z,Y){for(let J=Y;J<Z.length;J+=1){const Q=Z[J];if(Q instanceof Promise)return Q.then((X)=>{return Z[J]=X,Tq($,Z,J)});if(Array.isArray(Q))$.push(...Q);else $.push(Q)}}function xq($){const Z=[],Y=$.resolvedInput;for(let Q in Y){if(!Object.prototype.hasOwnProperty.call(Y,Q))continue;const X=Y[Q];if(X===void 0||!mj.has(Q))continue;if(Array.isArray(X)){for(let q of X)Z.push(bY(Q,q,$));continue}Z.push(bY(Q,X,$))}if(Z.length===0)return[];const J=[];return cj(Tq(J,Z,0),()=>J.map((Q,X)=>{return Q._e=$._i,$.mode&&(Q._m=$.mode),Q._p=($._i<<pj)+X,Q}))}function K$($){const Z=$.tagPriority;if(typeof Z==="number")return Z;let Y=100;if($.tag==="meta"){if($.props["http-equiv"]==="content-security-policy")Y=-30;else if($.props.charset)Y=-20;else if($.props.name==="viewport")Y=-15}else if($.tag==="link"&&$.props.rel==="preconnect")Y=20;else if($.tag in Iq)Y=Iq[$.tag];if(Z&&Z in Eq)return Y+Eq[Z];return Y}function wq($){const{props:Z,tag:Y}=$;if(vj.has(Y))return Y;if(Y==="link"&&Z.rel==="canonical")return"canonical";if(Z.charset)return"charset";if(Z.id)return`${Y}:id:${Z.id}`;for(let J of rj)if(Z[J]!==void 0)return`${Y}:${J}:${Z[J]}`;return!1}function ij($,Z){let Y;if(Z==="s"||Z==="pageTitle")Y=$.pageTitle;else if(Z.includes(".")){const J=Z.indexOf(".");Y=$[Z.substring(0,J)]?.[Z.substring(J+1)]}else Y=$[Z];return Y!==void 0?(Y||"").replace(/"/g,'\\"'):void 0}function H$($,Z,Y){if(typeof $!=="string"||!$.includes("%"))return $;let J=$;try{J=decodeURI($)}catch{}const Q=J.match(/%\w+(?:\.\w+)?/g);if(!Q)return $;const X=$.includes(f1);if($=$.replace(/%\w+(?:\.\w+)?/g,(q)=>{if(q===f1||!Q.includes(q))return q;const G=ij(Z,q.slice(1));return G!==void 0?G:q}).trim(),X){if($.endsWith(f1))$=$.slice(0,-f1.length);if($.startsWith(f1))$=$.slice(f1.length);$=$.replace(sj,Y).trim()}return $}function kY($,Z){if($==null)return Z||null;if(typeof $==="function")return $(Z);return $}var gj=new Set(["title","titleTemplate","script","style","noscript"]),SY=new Set(["base","meta","link","style","script","noscript"]),mj=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),vj=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Vq=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),_q=typeof window!=="undefined",fY=["getActiveHead","useHead","useSeoMeta","useHeadSafe","useServerHead","useServerSeoMeta","useServerHeadSafe"];var v0=($)=>({keyValue:$,metaKey:"property"}),wY=($)=>({keyValue:$}),DE={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){return`${M6($)}=${Z}`}}},articleExpirationTime:v0("article:expiration_time"),articleModifiedTime:v0("article:modified_time"),articlePublishedTime:v0("article:published_time"),bookReleaseDate:v0("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:$,value:Z}){return`${M6($)} ${Z}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:v0("fb:app_id"),msapplicationConfig:wY("msapplication-Config"),msapplicationTileColor:wY("msapplication-TileColor"),msapplicationTileImage:wY("msapplication-TileImage"),ogAudioSecureUrl:v0("og:audio:secure_url"),ogAudioUrl:v0("og:audio"),ogImageSecureUrl:v0("og:image:secure_url"),ogImageUrl:v0("og:image"),ogSiteName:v0("og:site_name"),ogVideoSecureUrl:v0("og:video:secure_url"),ogVideoUrl:v0("og:video"),profileFirstName:v0("profile:first_name"),profileLastName:v0("profile:last_name"),profileUsername:v0("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:$,value:Z}){if($==="seconds")return`${Z}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){if(typeof Z==="boolean")return`${M6($)}`;else return`${M6($)}:${Z}`}}},xUaCompatible:{metaKey:"http-equiv"}},uj=new Set(["og","book","article","profile"]);var pj=10;var hY=new Set(["onload","onerror","onabort","onprogress","onloadstart"]);var Iq={base:-10,title:10},Eq={critical:-80,high:-10,low:20},Cq=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],rj=["name","property","http-equiv"],f1="%separator",sj=new RegExp(`${f1}(?:\\s*${f1})*`,"g");function gY($,Z={},Y){for(let J in $){const Q=$[J],X=Y?`${Y}:${J}`:J;if(typeof Q==="object"&&Q!==null)gY(Q,Z,X);else if(typeof Q==="function")Z[X]=Q}return Z}function nj($,Z){const Y=Z.shift(),J=bq(Y);return $.reduce((Q,X)=>Q.then(()=>J.run(()=>X(...Z))),Promise.resolve())}function tj($,Z){const Y=Z.shift(),J=bq(Y);return Promise.all($.map((Q)=>J.run(()=>Q(...Z))))}function yY($,Z){for(let Y of[...$])Y(Z)}function fq(){return new Sq}var aj={run:($)=>$()},oj=()=>aj,bq=typeof console.createTask!=="undefined"?console.createTask:oj;class Sq{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook($,Z,Y={}){if(!$||typeof Z!=="function")return()=>{};const J=$;let Q;while(this._deprecatedHooks[$])Q=this._deprecatedHooks[$],$=Q.to;if(Q&&!Y.allowDeprecated){let X=Q.message;if(!X)X=`${J} hook has been deprecated`+(Q.to?`, please use ${Q.to}`:"");if(!this._deprecatedMessages)this._deprecatedMessages=new Set;if(!this._deprecatedMessages.has(X))console.warn(X),this._deprecatedMessages.add(X)}if(!Z.name)try{Object.defineProperty(Z,"name",{get:()=>"_"+$.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[$]=this._hooks[$]||[],this._hooks[$].push(Z),()=>{if(Z)this.removeHook($,Z),Z=void 0}}hookOnce($,Z){let Y,J=(...Q)=>{if(typeof Y==="function")Y();return Y=void 0,J=void 0,Z(...Q)};return Y=this.hook($,J),Y}removeHook($,Z){if(this._hooks[$]){const Y=this._hooks[$].indexOf(Z);if(Y!==-1)this._hooks[$].splice(Y,1);if(this._hooks[$].length===0)delete this._hooks[$]}}deprecateHook($,Z){this._deprecatedHooks[$]=typeof Z==="string"?{to:Z}:Z;const Y=this._hooks[$]||[];delete this._hooks[$];for(let J of Y)this.hook($,J)}deprecateHooks($){Object.assign(this._deprecatedHooks,$);for(let Z in $)this.deprecateHook(Z,$[Z])}addHooks($){const Z=gY($),Y=Object.keys(Z).map((J)=>this.hook(J,Z[J]));return()=>{for(let J of Y.splice(0,Y.length))J()}}removeHooks($){const Z=gY($);for(let Y in Z)this.removeHook(Y,Z[Y])}removeAllHooks(){for(let $ in this._hooks)delete this._hooks[$]}callHook($,...Z){return Z.unshift($),this.callHookWith(nj,$,...Z)}callHookParallel($,...Z){return Z.unshift($),this.callHookWith(tj,$,...Z)}callHookWith($,Z,...Y){const J=this._before||this._after?{name:Z,args:Y,context:{}}:void 0;if(this._before)yY(this._before,J);const Q=$(Z in this._hooks?[...this._hooks[Z]]:[],Y);if(Q instanceof Promise)return Q.finally(()=>{if(this._after&&J)yY(this._after,J)});if(this._after&&J)yY(this._after,J);return Q}beforeEach($){return this._before=this._before||[],this._before.push($),()=>{if(this._before!==void 0){const Z=this._before.indexOf($);if(Z!==-1)this._before.splice(Z,1)}}}afterEach($){return this._after=this._after||[],this._after.push($),()=>{if(this._after!==void 0){const Z=this._after.indexOf($);if(Z!==-1)this._after.splice(Z,1)}}}}function yq($={}){const Z=Hz($);return Z.use(Pq()),kq=Z}function hq($,Z){return!$||$==="server"&&Z||$==="client"&&!Z}function Hz($={}){const Z=fq();Z.addHooks($.hooks||{}),$.document=$.document||(_q?document:void 0);const Y=!$.document,J=()=>{G.dirty=!0,Z.callHook("entries:updated",G)};let Q=0,X=[];const q=[],G={plugins:q,dirty:!1,resolvedOptions:$,hooks:Z,headEntries(){return X},use(U){const M=typeof U==="function"?U(G):U;if(!M.key||!q.some((B)=>B.key===M.key))q.push(M),hq(M.mode,Y)&&Z.addHooks(M.hooks||{})},push(U,M){delete M?.head;const B={_i:Q++,input:U,...M};if(hq(B.mode,Y))X.push(B),J();return{dispose(){X=X.filter((W)=>W._i!==B._i),J()},patch(W){for(let D of X)if(D._i===B._i)D.input=B.input=W;J()}}},async resolveTags(){const U={tags:[],entries:[...X]};await Z.callHook("entries:resolve",U);for(let M of U.entries){const B=M.resolvedInput||M.input;if(M.resolvedInput=await(M.transform?M.transform(B):B),M.resolvedInput)for(let W of await xq(M)){const D={tag:W,entry:M,resolvedOptions:G.resolvedOptions};await Z.callHook("tag:normalise",D),U.tags.push(D.tag)}}return await Z.callHook("tags:beforeResolve",U),await Z.callHook("tags:resolve",U),await Z.callHook("tags:afterResolve",U),U.tags},ssr:Y};return[Yz,Gz,Qz,qz,Uz,Mz,Dz,Kz,...$?.plugins||[]].forEach((U)=>G.use(U)),G.hooks.callHook("init",G),G}function gq(){return kq}function jz(){}var Zz=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Yz=q1({hooks:{"tag:normalise":({tag:$})=>{if($.props.hid)$.key=$.props.hid,delete $.props.hid;if($.props.vmid)$.key=$.props.vmid,delete $.props.vmid;if($.props.key)$.key=$.props.key,delete $.props.key;const Z=wq($);if(Z&&!Z.startsWith("meta:og:")&&!Z.startsWith("meta:twitter:"))delete $.key;const Y=Z||($.key?`${$.tag}:${$.key}`:!1);if(Y)$._d=Y},"tags:resolve":($)=>{const Z=Object.create(null);for(let J of $.tags){const Q=(J.key?`${J.tag}:${J.key}`:J._d)||Nq(J),X=Z[Q];if(X){let G=J?.tagDuplicateStrategy;if(!G&&Zz.has(J.tag))G="merge";if(G==="merge"){const U=X.props;if(U.style&&J.props.style){if(U.style[U.style.length-1]!==";")U.style+=";";J.props.style=`${U.style} ${J.props.style}`}if(U.class&&J.props.class)J.props.class=`${U.class} ${J.props.class}`;else if(U.class)J.props.class=U.class;Z[Q].props={...U,...J.props};continue}else if(J._e===X._e){X._duped=X._duped||[],J._d=`${X._d}:${X._duped.length+1}`,X._duped.push(J);continue}else if(K$(J)>K$(X))continue}if(!(J.innerHTML||J.textContent||Object.keys(J.props).length!==0)&&SY.has(J.tag)){delete Z[Q];continue}Z[Q]=J}const Y=[];for(let J in Z){const Q=Z[J],X=Q._duped;if(Y.push(Q),X)delete Q._duped,Y.push(...X)}$.tags=Y,$.tags=$.tags.filter((J)=>!(J.tag==="meta"&&(J.props.name||J.props.property)&&!J.props.content))}}}),Jz=new Set(["script","link","bodyAttrs"]),Qz=q1(($)=>({hooks:{"tags:resolve":(Z)=>{for(let Y of Z.tags){if(!Jz.has(Y.tag))continue;const J=Y.props;for(let Q in J){if(Q[0]!=="o"||Q[1]!=="n")continue;if(!Object.prototype.hasOwnProperty.call(J,Q))continue;const X=J[Q];if(typeof X!=="function")continue;if($.ssr&&hY.has(Q))J[Q]=`this.dataset.${Q}fired = true`;else delete J[Q];Y._eventHandlers=Y._eventHandlers||{},Y._eventHandlers[Q]=X}if($.ssr&&Y._eventHandlers&&(Y.props.src||Y.props.href))Y.key=Y.key||D$(Y.props.src||Y.props.href)}},"dom:renderTag":({$el:Z,tag:Y})=>{const J=Z?.dataset;if(!J)return;for(let Q in J){if(!Q.endsWith("fired"))continue;const X=Q.slice(0,-5);if(!hY.has(X))continue;Y._eventHandlers?.[X]?.call(Z,new Event(X.substring(2)))}}}})),Xz=new Set(["link","style","script","noscript"]),qz=q1({hooks:{"tag:normalise":({tag:$})=>{if($.key&&Xz.has($.tag))$.props["data-hid"]=$._h=D$($.key)}}}),Gz=q1({mode:"server",hooks:{"tags:beforeResolve":($)=>{const Z={};let Y=!1;for(let J of $.tags){if(J._m!=="server"||J.tag!=="titleTemplate"&&J.tag!=="templateParams"&&J.tag!=="title")continue;Z[J.tag]=J.tag==="title"||J.tag==="titleTemplate"?J.textContent:J.props,Y=!0}if(Y)$.tags.push({tag:"script",innerHTML:JSON.stringify(Z),props:{id:"unhead:payload",type:"application/json"}})}}}),Uz=q1({hooks:{"tags:resolve":($)=>{for(let Z of $.tags){if(typeof Z.tagPriority!=="string")continue;for(let{prefix:Y,offset:J}of Cq){if(!Z.tagPriority.startsWith(Y))continue;const Q=Z.tagPriority.substring(Y.length),X=$.tags.find((q)=>q._d===Q)?._p;if(X!==void 0){Z._p=X+J;break}}}$.tags.sort((Z,Y)=>{const J=K$(Z),Q=K$(Y);if(J<Q)return-1;else if(J>Q)return 1;return Z._p-Y._p})}}}),Wz={meta:"content",link:"href",htmlAttrs:"lang"},Bz=["innerHTML","textContent"],Mz=q1(($)=>({hooks:{"tags:resolve":(Z)=>{const{tags:Y}=Z;let J;for(let q=0;q<Y.length;q+=1){if(Y[q].tag!=="templateParams")continue;J=Z.tags.splice(q,1)[0].props,q-=1}const Q=J||{},X=Q.separator||"|";delete Q.separator,Q.pageTitle=H$(Q.pageTitle||Y.find((q)=>q.tag==="title")?.textContent||"",Q,X);for(let q of Y){if(q.processTemplateParams===!1)continue;const G=Wz[q.tag];if(G&&typeof q.props[G]==="string")q.props[G]=H$(q.props[G],Q,X);else if(q.processTemplateParams||q.tag==="titleTemplate"||q.tag==="title"){for(let U of Bz)if(typeof q[U]==="string")q[U]=H$(q[U],Q,X)}}$._templateParams=Q,$._separator=X},"tags:afterResolve":({tags:Z})=>{let Y;for(let J=0;J<Z.length;J+=1){const Q=Z[J];if(Q.tag==="title"&&Q.processTemplateParams!==!1)Y=Q}if(Y?.textContent)Y.textContent=H$(Y.textContent,$._templateParams,$._separator)}}})),Dz=q1({hooks:{"tags:resolve":($)=>{const{tags:Z}=$;let Y,J;for(let Q=0;Q<Z.length;Q+=1){const X=Z[Q];if(X.tag==="title")Y=X;else if(X.tag==="titleTemplate")J=X}if(J&&Y){const Q=kY(J.textContent,Y.textContent);if(Q!==null)Y.textContent=Q||Y.textContent;else $.tags.splice($.tags.indexOf(Y),1)}else if(J){const Q=kY(J.textContent);if(Q!==null)J.textContent=Q,J.tag="title",J=void 0}if(J)$.tags.splice($.tags.indexOf(J),1)}}}),Kz=q1({hooks:{"tags:afterResolve":($)=>{for(let Z of $.tags)if(typeof Z.innerHTML==="string")if(Z.innerHTML&&(Z.props.type==="application/ld+json"||Z.props.type==="application/json"))Z.innerHTML=Z.innerHTML.replace(/</g,"\\u003C");else Z.innerHTML=Z.innerHTML.replace(new RegExp(`</${Z.tag}`,"g"),`<\\/${Z.tag}`)}}}),kq;var Lz=Symbol("ScriptProxyTarget");jz[Lz]=!0;function zz($){return typeof $==="function"?$():r0($)}function V9($){if($ instanceof Promise||$ instanceof Date||$ instanceof RegExp)return $;const Z=zz($);if(!$||!Z)return Z;if(Array.isArray(Z))return Z.map((Y)=>V9(Y));if(typeof Z==="object"){const Y={};for(let J in Z){if(!Object.prototype.hasOwnProperty.call(Z,J))continue;if(J==="titleTemplate"||J[0]==="o"&&J[1]==="n"){Y[J]=r0(Z[J]);continue}Y[J]=V9(Z[J])}return Y}return Z}function Fz($){return{install(Y){if(h1)Y.config.globalProperties.$unhead=$,Y.config.globalProperties.$head=$,Y.provide(D6,$)}}.install}function mY($={}){$.domDelayFn=$.domDelayFn||((Y)=>E0(()=>setTimeout(()=>Y(),0)));const Z=yq($);return Z.use(Oz),Z.install=Fz(Z),Z}function L$(){if(vq in mq)return mq[vq]();const $=O1(D6);if(!$)console.warn("Unhead is missing Vue context, falling back to shared context. This may have unexpected results.");return $||gq()}var h1=F9[0]==="3",Oz=q1({hooks:{"entries:resolve":($)=>{for(let Z of $.entries)Z.resolvedInput=V9(Z.input)}}}),D6="usehead",mq=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{},vq="__unhead_injection_handler__";function uq($,Z={}){const Y=Z.head||L$();if(Y){if(!Y.ssr)return Az(Y,$,Z);return Y.push($,Z)}}function Az($,Z,Y={}){const J=F(!1),Q=F({});Y1(()=>{Q.value=J.value?{}:V9(Z)});const X=$.push(Q.value,Y);if(y(Q,(G)=>{X.patch(G)}),y0())i1(()=>{X.dispose()}),q5(()=>{J.value=!0}),X5(()=>{J.value=!1});return X}var Pz=["injectHead"],SE={"@unhead/vue":[...Pz,...fY]},cq=($,Z)=>{$.mixin({beforeCreate(){const Y=this.$options,J=Y.provide;Y.provide=function(){let Q;if(typeof J==="function")Q=J.call(this);else Q=J||{};return{...Q,[D6]:Z}}}})};function dq($){const Z=$;return Z.headTags=$.resolveTags,Z.addEntry=$.push,Z.addHeadObjs=$.push,Z.addReactiveEntry=(Y,J)=>{const Q=uq(Y,J);if(Q!==void 0)return Q.dispose;return()=>{}},Z.removeHeadObjs=()=>{},Z.updateDOM=()=>{$.hooks.callHook("entries:updated",$)},Z.unhead=$,Z}function K6($){const Z=$.replace(/([A-Z])/g,"-$1").toLowerCase(),Y=Z.indexOf("-"),J=Z.substring(0,Y);if(J==="twitter"||Iz.has(J))return $.replace(/([A-Z])/g,":$1").toLowerCase();return Z}var uY=new Set(["meta","link","base"]),pq=new Set(["title","titleTemplate","script","style","noscript"]);var u0=($)=>({keyValue:$,metaKey:"property"}),vY=($)=>({keyValue:$}),mE={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){return`${K6($)}=${Z}`}}},articleExpirationTime:u0("article:expiration_time"),articleModifiedTime:u0("article:modified_time"),articlePublishedTime:u0("article:published_time"),bookReleaseDate:u0("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:$,value:Z}){return`${K6($)} ${Z}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:u0("fb:app_id"),msapplicationConfig:vY("msapplication-Config"),msapplicationTileColor:vY("msapplication-TileColor"),msapplicationTileImage:vY("msapplication-TileImage"),ogAudioSecureUrl:u0("og:audio:secure_url"),ogAudioUrl:u0("og:audio"),ogImageSecureUrl:u0("og:image:secure_url"),ogImageUrl:u0("og:image"),ogSiteName:u0("og:site_name"),ogVideoSecureUrl:u0("og:video:secure_url"),ogVideoUrl:u0("og:video"),profileFirstName:u0("profile:first_name"),profileLastName:u0("profile:last_name"),profileUsername:u0("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:$,value:Z}){if($==="seconds")return`${Z}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:$,value:Z}){if(typeof Z==="boolean")return`${K6($)}`;else return`${K6($)}:${Z}`}}},xUaCompatible:{metaKey:"http-equiv"}},Iz=new Set(["og","book","article","profile"]);var lq="%separator",vE=new RegExp(`${lq}(?:\\s*${lq})*`,"g");function Ez($){return String($).replace(/"/g,""")}function cY($){let Z="";for(let Y in $){if(!Object.prototype.hasOwnProperty.call($,Y))continue;const J=$[Y];if(J!==!1&&J!==null)Z+=J===!0?` ${Y}`:` ${Y}="${Ez(J)}"`}return Z}function Vz($,Z){const Y={htmlAttrs:{},bodyAttrs:{},tags:{head:"",bodyClose:"",bodyOpen:""}},J=!Z?.omitLineBreaks?"\n":"";for(let Q of $){if(Object.keys(Q.props).length===0&&!Q.innerHTML&&!Q.textContent)continue;if(Q.tag==="htmlAttrs"||Q.tag==="bodyAttrs"){Object.assign(Y[Q.tag],Q.props);continue}const X=Nz(Q),q=Q.tagPosition||"head";Y.tags[q]+=Y.tags[q]?`${J}${X}`:X}return{headTags:Y.tags.head,bodyTags:Y.tags.bodyClose,bodyTagsOpen:Y.tags.bodyOpen,htmlAttrs:cY(Y.htmlAttrs),bodyAttrs:cY(Y.bodyAttrs)}}function _z($){return $.replace(/[&<>"'/]/g,(Z)=>{switch(Z){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"'":return"'";case"/":return"/";default:return Z}})}function Nz($){const Z=cY($.props),Y=`<${$.tag}${Z}>`;if(!pq.has($.tag))return uY.has($.tag)?Y:`${Y}</${$.tag}>`;let J=String($.innerHTML||"");if($.textContent)J=_z(String($.textContent));return uY.has($.tag)?Y:`${Y}${J}</${$.tag}>`}async function rq($,Z){const Y={shouldRender:!0};if(await $.hooks.callHook("ssr:beforeRender",Y),!Y.shouldRender)return{headTags:"",bodyTags:"",bodyTagsOpen:"",htmlAttrs:"",bodyAttrs:""};const J={tags:await $.resolveTags()};await $.hooks.callHook("ssr:render",J);const Q=Vz(J.tags,Z),X={tags:J.tags,html:Q};return await $.hooks.callHook("ssr:rendered",X),X.html}function iq($,Z){const Y=!h1?$.tag:$.type,J=Y==="html"?"htmlAttrs":Y==="body"?"bodyAttrs":Y;if(typeof J!=="string"||!(J in Z))return;const Q=!h1?$.data:$,X=(!h1?Q.attrs:$.props)||{};if(!h1){if(Q.staticClass)X.class=Q.staticClass;if(Q.staticStyle)X.style=Object.entries(Q.staticStyle).map(([q,G])=>`${q}:${G}`).join(";")}if($.children){const q=!h1?"text":"children";X.children=Array.isArray($.children)?$.children[0][q]:$[q]}if(Array.isArray(Z[J]))Z[J].push(X);else if(J==="title")Z.title=X.children;else Z[J]=X}function Rz($){const Z={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(let Y of $)if(typeof Y.type==="symbol"&&Array.isArray(Y.children))for(let J of Y.children)iq(J,Z);else iq(Y,Z);return Z}var sq=r1({name:"Head",setup($,{slots:Z}){const Y=L$(),J=F({}),Q=Y.push(J);return i1(()=>{Q.dispose()}),()=>{return Y1(()=>{if(!Z.default)return;Q.patch(Rz(Z.default()))}),null}}});function Tz($,Z){const Y=mY(Z||{}),J=dq(Y);if($)J.push($);return J}var xz=cq,Cz=($)=>rq($.unhead);var wz=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],bz=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Sz=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],fz=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],aq=($,Z,Y)=>{let J=$;if(typeof Z==="string"||Array.isArray(Z))J=$.toLocaleString(Z,Y);else if(Z===!0||Y!==void 0)J=$.toLocaleString(void 0,Y);return J};function oq($,Z){if(!Number.isFinite($))throw new TypeError(`Expected a finite number, got ${typeof $}: ${$}`);Z={bits:!1,binary:!1,space:!0,...Z};const Y=Z.bits?Z.binary?fz:Sz:Z.binary?bz:wz,J=Z.space?" ":"";if(Z.signed&&$===0)return` 0${J}${Y[0]}`;const Q=$<0,X=Q?"-":Z.signed?"+":"";if(Q)$=-$;let q;if(Z.minimumFractionDigits!==void 0)q={minimumFractionDigits:Z.minimumFractionDigits};if(Z.maximumFractionDigits!==void 0)q={maximumFractionDigits:Z.maximumFractionDigits,...q};if($<1){const B=aq($,Z.locale,q);return X+B+J+Y[0]}const G=Math.min(Math.floor(Z.binary?Math.log($)/Math.log(1024):Math.log10($)/3),Y.length-1);if($/=(Z.binary?1024:1000)**G,!q)$=$.toPrecision(3);const U=aq(Number($),Z.locale,q),M=Y[G];return X+U+J+M}export{G7 as wordChar,U7 as wordBoundary,q7 as word,O7 as withIndices,B7 as whitespace,FY as whenever,$9 as watchWithFilter,eD as watchTriggerable,t5 as watchThrottled,n1 as watchPausable,tD as watchOnce,nD as watchImmediate,Y9 as watchIgnorable,oD as watchDeep,n5 as watchDebounced,aD as watchAtMost,sD as watchArray,$E as waitWhile,eI as waitUntil,nI as wait,Cj as useWindowSize,xj as useWindowScroll,Tj as useWindowFocus,Rj as useWebWorkerFn,Ej as useWebWorker,Ij as useWebSocket,Pj as useWebNotification,Aj as useWakeLock,jj as useVirtualList,Lj as useVibrate,Hj as useVModels,Wq as useVModel,Kj as useUserMedia,Dj as useUrlSearchParams,OK as useTrunc,Mj as useTransition,iD as useToggle,rD as useToString,pD as useToNumber,Wj as useTitle,Uj as useTimestamp,Gj as useTimeoutPoll,Z9 as useTimeoutFn,lD as useTimeout,qj as useTimeAgo,Yj as useThrottledRefHistory,sZ as useThrottleFn,jY as useThrottle,Zj as useTextareaAutosize,$j as useTextSelection,tL as useTextDirection,nL as useTemplateRefsList,aL as useSwipe,t as useSupported,zK as useSum,sL as useStyleTag,rL as useStorageAsync,G6 as useStorage,pL as useStepper,lL as useSpeechSynthesis,dL as useSpeechRecognition,cL as useSorted,vL as useShare,mL as useSessionStorage,gL as useScrollLock,e7 as useScroll,kL as useScriptTag,hL as useScreenSafeArea,Qq as useScreenOrientation,jK as useRound,U6 as useResizeObserver,TY as useRefHistory,J9 as useRafFn,LK as useProjection,fL as usePrevious,SL as usePreferredReducedMotion,bL as usePreferredLanguages,RY as usePreferredDark,wL as usePreferredContrast,CL as usePreferredColorScheme,HK as usePrecision,xL as usePointerSwipe,TL as usePointerLock,RL as usePointer,J6 as usePermission,_L as usePerformanceObserver,VL as useParentElement,EL as useParallax,IL as usePageLeave,PL as useOnline,AL as useOffsetPagination,FL as useObjectUrl,Jq as useNow,Yq as useNetwork,OL as useNavigatorLanguage,E9 as useMutationObserver,zL as useMousePressed,Zq as useMouseInElement,$q as useMouse,y7 as useMounted,DK as useMin,LL as useMemory,HL as useMemoize,i0 as useMediaQuery,DL as useMediaControls,MK as useMax,BK as useMath,r7 as useManualRefHistory,WL as useMagicKeys,GL as useLocalStorage,dD as useLastChanged,qL as useKeyModifier,A1 as useIntervalFn,cD as useInterval,o7 as useIntersectionObserver,QL as useInfiniteScroll,JL as useImage,ZL as useIdle,tH as useGeolocation,nH as useGamepad,aH as useFullscreen,sH as useFps,iH as useFocusWithin,lH as useFocus,WK as useFloor,dH as useFileSystemAccess,cH as useFileDialog,t7 as useFetch,hH as useFavicon,fH as useEyeDropper,SH as useEventSource,S as useEventListener,wH as useEventBus,n7 as useElementVisibility,a7 as useElementSize,CH as useElementHover,xH as useElementByPoint,TH as useElementBounding,RH as useDropZone,NH as useDraggable,s7 as useDocumentVisibility,_H as useDisplayMedia,VH as useDevicesList,EH as useDevicePixelRatio,i7 as useDeviceOrientation,IH as useDeviceMotion,PH as useDebouncedRefHistory,q$ as useDebounceFn,LY as useDebounce,uD as useDateFormat,zH as useDark,jH as useCycleList,l7 as useCurrentElement,W$ as useCssVar,hD as useCounter,LH as useConfirmDialog,d7 as useColorMode,MH as useCloned,BH as useClipboardItems,WH as useClipboard,UK as useClamp,GK as useCeil,UH as useCached,GH as useBrowserLocation,qH as useBroadcastChannel,XH as useBreakpoints,oK as useBluetooth,aK as useBattery,iK as useBase64,qK as useAverage,m7 as useAsyncState,lK as useAsyncQueue,fD as useArrayUnique,wD as useArraySome,CD as useArrayReduce,xD as useArrayMap,TD as useArrayIncludes,ND as useArrayFindIndex,_D as useArrayFind,VD as useArrayFilter,ED as useArrayEvery,ID as useArrayDifference,dK as useAnimate,g7 as useActiveElement,XK as useAbs,P9 as until,a as unrefElement,E7 as unicode,oZ as tryOnUnmounted,s as tryOnScopeDispose,P0 as tryOnMounted,OY as tryOnBeforeUnmount,AD as tryOnBeforeMount,F6 as toString,g5 as toReactive,t5 as throttledWatch,jY as throttledRef,YE as throttle,cK as templateRef,VP as tap,D7 as tab,FD as syncRefs,aZ as syncRef,V7 as sticky,oI as sleep,KH as setSSRHandler,sI as retry,UD as resolveUnref,LD as resolveRef,Cz as renderHeadToString,o5 as refWithControl,jY as refThrottled,zD as refDefault,LY as refDebounced,a5 as refAutoReset,oq as readableSize,jD as reactivePick,BD as reactiveOmit,BY as reactiveComputed,WD as reactifyObject,Y$ as reactify,fI as rand,k5 as provideLocal,n1 as pausableWatch,Z7 as or,z7 as oneOrMore,uK as onStartTyping,gK as onLongPress,hK as onKeyUp,X6 as onKeyStroke,fK as onKeyPressed,SK as onKeyDown,wK as onClickOutside,TP as notUndefined,NP as notNullish,L7 as not,RP as noNull,P7 as multiline,j7 as maybe,oH as mapGamepadToXbox360Controller,WY as makeDestructurable,zP as loop,Z7 as logicOr,QK as logicNot,K7 as linefeed,M7 as letter,xP as isTruthy,GD as isDefined,h5 as injectLocal,Y9 as ignorableWatch,A7 as global,q6 as getSSRHandler,Gq as formatTimeAgo,y5 as extendRef,Uq as executeTransition,X1 as exactly,f5 as eagerComputed,I7 as dotAll,W7 as digit,tI as delay,c as defaultWindow,s0 as defaultNavigator,CK as defaultLocation,g0 as defaultDocument,n5 as debouncedWatch,LY as debouncedRef,UM as debounce,NY as customStorageEventName,xK as createUnrefFn,TK as createTemplatePromise,yI as createSingletonPromise,qD as createSharedComposable,NK as createReusableTemplate,pI as createRegExp,Y$ as createReactiveFn,gI as createPromiseLock,$7 as createProjection,XD as createInjectionState,Tz as createHead,QD as createGlobalState,e5 as createGenericProjection,mH as createFetch,x0 as createEventHook,mI as createControlledPromise,OD as controlledRef,lZ as controlledComputed,lZ as computedWithControl,_K as computedInject,f5 as computedEager,k7 as computedAsync,M$ as cloneFnJSON,SI as clamp,J7 as charNotIn,Y7 as charIn,X7 as char,F7 as caseInsensitive,H7 as carriageReturn,EK as calculateDelay,$H as breakpointsVuetify,nK as breakpointsTailwind,JH as breakpointsSematic,YH as breakpointsQuasar,QH as breakpointsMasterCss,tK as breakpointsBootstrapV5,ZH as breakpointsAntDesign,EP as batchInvoke,a5 as autoResetRef,k7 as asyncComputed,Q7 as anyOf,JK as and,xz as HeadVuePlugin,sq as Head};
|
|
125
125
|
|
|
126
|
-
//# debugId=
|
|
126
|
+
//# debugId=464D0F0AF67A140164756E2164756E21
|
|
127
127
|
//# sourceMappingURL=index.js.map
|