diff --git a/.zcode-plugin/plugin.json b/.zcode-plugin/plugin.json index b3ce832..306dbdf 100644 --- a/.zcode-plugin/plugin.json +++ b/.zcode-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "seal-use", - "version": "0.10.13", + "version": "0.10.14", "description": "Seal Use tenant operations: approval-run diagnosis, minimal rule remediation, delegation links, Hose/合思 authorization, users, rules, billing, and search.", "author": { "name": "yingqing" diff --git a/CHANGELOG.md b/CHANGELOG.md index 2939ae4..2593171 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.10.14] - 2026-09-11 + ### Added - **Material Pack Webhook Attachment File Policy**: - Added per-Webhook minimum file size (default 500 bytes), optional maximum file size, and configurable file-extension whitelist. - - Added CLI and MCP configuration fields for creating and updating Webhook policies. + - Added unified configuration fields for creating and updating Webhook policies. - Enforced the policy before attachment upload and document push, with detailed validation errors and no partial push on failure. - Added default support for common PDF, Office, text, email, and image formats. +- **Unified CLI coverage for staging frontend capabilities**: + - Added read-only contacts queries for department trees, department details, department users, and last synchronization time. + - Added `analytics insight` for risk-tag statistics with date-range filtering and current-month defaults. + - Added paginated `data expenses` and `data invoices` queries with frontend-compatible filters. + - Added `simulation approval-definitions` to discover Feishu approval codes before creating a test batch. + +### Fixed & Enhanced +- Added non-blocking simulation status checks and `simulation create --no-wait`. +- Added semantic CLI exit codes and actionable next-command guidance. +- Added universal `--dry-run` previews for supported configuration and destructive operations. +- Changed approval-rule pushes to apply incrementally while preserving existing rule IDs. +- Preserved HTTP error response bodies for actionable upstream diagnostics. +- Documented draft versus published rule code spaces and knowledge-document creation constraints. + ## [0.10.13] - 2026-09-08 ### Fixed & Enhanced diff --git a/dist/mcp/server.js b/dist/mcp/server.js index 855a346..0c4c2ef 100644 --- a/dist/mcp/server.js +++ b/dist/mcp/server.js @@ -1,90 +1,90 @@ -import{createRequire as ww0}from"node:module";var Kw0=Object.create;var{getPrototypeOf:qw0,defineProperty:ED,getOwnPropertyNames:Gw0}=Object;var Hw0=Object.prototype.hasOwnProperty;function Ww0($){return this[$]}var Vw0,Zw0,VI=($,I,U)=>{var Y=$!=null&&typeof $==="object";if(Y){var J=I?Vw0??=new WeakMap:Zw0??=new WeakMap,Q=J.get($);if(Q)return Q}U=$!=null?Kw0(qw0($)):{};let K=I||!$||!$.__esModule?ED(U,"default",{value:$,enumerable:!0}):U;for(let q of Gw0($))if(!Hw0.call(K,q))ED(K,q,{get:Ww0.bind($,q),enumerable:!0});if(Y)J.set($,K);return K};var O=($,I)=>()=>(I||$((I={exports:{}}).exports,I),I.exports);var zw0=($)=>$;function Xw0($,I){this[$]=zw0.bind(null,I)}var m8=($,I)=>{for(var U in I)ED($,U,{get:I[U],enumerable:!0,configurable:!0,set:Xw0.bind(I,U)})};var r=ww0(import.meta.url);var jQ=O((Sf)=>{Object.defineProperty(Sf,"__esModule",{value:!0});Sf.regexpCode=Sf.getEsmExportName=Sf.getProperty=Sf.safeStringify=Sf.stringify=Sf.strConcat=Sf.addCodeArg=Sf.str=Sf._=Sf.nil=Sf._Code=Sf.Name=Sf.IDENTIFIER=Sf._CodeOrName=void 0;class RW{}Sf._CodeOrName=RW;Sf.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class rI extends RW{constructor($){super();if(!Sf.IDENTIFIER.test($))throw Error("CodeGen: name must be a valid identifier");this.str=$}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}Sf.Name=rI;class f$ extends RW{constructor($){super();this._items=typeof $==="string"?[$]:$}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let $=this._items[0];return $===""||$==='""'}get str(){var $;return($=this._str)!==null&&$!==void 0?$:this._str=this._items.reduce((I,U)=>`${I}${U}`,"")}get names(){var $;return($=this._names)!==null&&$!==void 0?$:this._names=this._items.reduce((I,U)=>{if(U instanceof rI)I[U.str]=(I[U.str]||0)+1;return I},{})}}Sf._Code=f$;Sf.nil=new f$("");function jf($,...I){let U=[$[0]],Y=0;while(Y{Object.defineProperty(xf,"__esModule",{value:!0});xf.ValueScope=xf.ValueScopeName=xf.Scope=xf.varKinds=xf.UsedValueState=void 0;var k6=jQ();class yf extends Error{constructor($){super(`CodeGen: "code" for ${$} not defined`);this.value=$.value}}var CW;(function($){$[$.Started=0]="Started",$[$.Completed=1]="Completed"})(CW||(xf.UsedValueState=CW={}));xf.varKinds={const:new k6.Name("const"),let:new k6.Name("let"),var:new k6.Name("var")};class bP{constructor({prefixes:$,parent:I}={}){this._names={},this._prefixes=$,this._parent=I}toName($){return $ instanceof k6.Name?$:this.name($)}name($){return new k6.Name(this._newName($))}_newName($){let I=this._names[$]||this._nameGroup($);return`${$}${I.index++}`}_nameGroup($){var I,U;if(((U=(I=this._parent)===null||I===void 0?void 0:I._prefixes)===null||U===void 0?void 0:U.has($))||this._prefixes&&!this._prefixes.has($))throw Error(`CodeGen: prefix "${$}" is not allowed in this scope`);return this._names[$]={prefix:$,index:0}}}xf.Scope=bP;class iP extends k6.Name{constructor($,I){super(I);this.prefix=$}setValue($,{property:I,itemIndex:U}){this.value=$,this.scopePath=k6._`.${new k6.Name(I)}[${U}]`}}xf.ValueScopeName=iP;var UF0=k6._`\n`;class hf extends bP{constructor($){super($);this._values={},this._scope=$.scope,this.opts={...$,_n:$.lines?UF0:k6.nil}}get(){return this._scope}name($){return new iP($,this._newName($))}value($,I){var U;if(I.ref===void 0)throw Error("CodeGen: ref must be passed in value");let Y=this.toName($),{prefix:J}=Y,Q=(U=I.key)!==null&&U!==void 0?U:I.ref,K=this._values[J];if(K){let H=K.get(Q);if(H)return H}else K=this._values[J]=new Map;K.set(Q,Y);let q=this._scope[J]||(this._scope[J]=[]),G=q.length;return q[G]=I.ref,Y.setValue(I,{property:J,itemIndex:G}),Y}getValue($,I){let U=this._values[$];if(!U)return;return U.get(I)}scopeRefs($,I=this._values){return this._reduceValues(I,(U)=>{if(U.scopePath===void 0)throw Error(`CodeGen: name "${U}" has no value`);return k6._`${$}${U.scopePath}`})}scopeCode($=this._values,I,U){return this._reduceValues($,(Y)=>{if(Y.value===void 0)throw Error(`CodeGen: name "${Y}" has no value`);return Y.value.code},I,U)}_reduceValues($,I,U={},Y){let J=k6.nil;for(let Q in $){let K=$[Q];if(!K)continue;let q=U[Q]=U[Q]||new Map;K.forEach((G)=>{if(q.has(G))return;q.set(G,CW.Started);let H=I(G);if(H){let W=this.opts.es5?xf.varKinds.var:xf.varKinds.const;J=k6._`${J}${W} ${G} = ${H};${this.opts._n}`}else if(H=Y===null||Y===void 0?void 0:Y(G))J=k6._`${J}${H}${this.opts._n}`;else throw new yf(G);q.set(G,CW.Completed)})}return J}}xf.ValueScope=hf});var t0=O((u6)=>{Object.defineProperty(u6,"__esModule",{value:!0});u6.or=u6.and=u6.not=u6.CodeGen=u6.operators=u6.varKinds=u6.ValueScopeName=u6.ValueScope=u6.Scope=u6.Name=u6.regexpCode=u6.stringify=u6.getProperty=u6.nil=u6.strConcat=u6.str=u6._=void 0;var K1=jQ(),b$=nP(),J9=jQ();Object.defineProperty(u6,"_",{enumerable:!0,get:function(){return J9._}});Object.defineProperty(u6,"str",{enumerable:!0,get:function(){return J9.str}});Object.defineProperty(u6,"strConcat",{enumerable:!0,get:function(){return J9.strConcat}});Object.defineProperty(u6,"nil",{enumerable:!0,get:function(){return J9.nil}});Object.defineProperty(u6,"getProperty",{enumerable:!0,get:function(){return J9.getProperty}});Object.defineProperty(u6,"stringify",{enumerable:!0,get:function(){return J9.stringify}});Object.defineProperty(u6,"regexpCode",{enumerable:!0,get:function(){return J9.regexpCode}});Object.defineProperty(u6,"Name",{enumerable:!0,get:function(){return J9.Name}});var hW=nP();Object.defineProperty(u6,"Scope",{enumerable:!0,get:function(){return hW.Scope}});Object.defineProperty(u6,"ValueScope",{enumerable:!0,get:function(){return hW.ValueScope}});Object.defineProperty(u6,"ValueScopeName",{enumerable:!0,get:function(){return hW.ValueScopeName}});Object.defineProperty(u6,"varKinds",{enumerable:!0,get:function(){return hW.varKinds}});u6.operators={GT:new K1._Code(">"),GTE:new K1._Code(">="),LT:new K1._Code("<"),LTE:new K1._Code("<="),EQ:new K1._Code("==="),NEQ:new K1._Code("!=="),NOT:new K1._Code("!"),OR:new K1._Code("||"),AND:new K1._Code("&&"),ADD:new K1._Code("+")};class Q9{optimizeNodes(){return this}optimizeNames($,I){return this}}class uf extends Q9{constructor($,I,U){super();this.varKind=$,this.name=I,this.rhs=U}render({es5:$,_n:I}){let U=$?b$.varKinds.var:this.varKind,Y=this.rhs===void 0?"":` = ${this.rhs}`;return`${U} ${this.name}${Y};`+I}optimizeNames($,I){if(!$[this.name.str])return;if(this.rhs)this.rhs=aI(this.rhs,$,I);return this}get names(){return this.rhs instanceof K1._CodeOrName?this.rhs.names:{}}}class dP extends Q9{constructor($,I,U){super();this.lhs=$,this.rhs=I,this.sideEffects=U}render({_n:$}){return`${this.lhs} = ${this.rhs};`+$}optimizeNames($,I){if(this.lhs instanceof K1.Name&&!$[this.lhs.str]&&!this.sideEffects)return;return this.rhs=aI(this.rhs,$,I),this}get names(){let $=this.lhs instanceof K1.Name?{}:{...this.lhs.names};return yW($,this.rhs)}}class ff extends dP{constructor($,I,U,Y){super($,U,Y);this.op=I}render({_n:$}){return`${this.lhs} ${this.op}= ${this.rhs};`+$}}class bf extends Q9{constructor($){super();this.label=$,this.names={}}render({_n:$}){return`${this.label}:`+$}}class nf extends Q9{constructor($){super();this.label=$,this.names={}}render({_n:$}){return`break${this.label?` ${this.label}`:""};`+$}}class pf extends Q9{constructor($){super();this.error=$}render({_n:$}){return`throw ${this.error};`+$}get names(){return this.error.names}}class cf extends Q9{constructor($){super();this.code=$}render({_n:$}){return`${this.code};`+$}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames($,I){return this.code=aI(this.code,$,I),this}get names(){return this.code instanceof K1._CodeOrName?this.code.names:{}}}class xW extends Q9{constructor($=[]){super();this.nodes=$}render($){return this.nodes.reduce((I,U)=>I+U.render($),"")}optimizeNodes(){let{nodes:$}=this,I=$.length;while(I--){let U=$[I].optimizeNodes();if(Array.isArray(U))$.splice(I,1,...U);else if(U)$[I]=U;else $.splice(I,1)}return $.length>0?this:void 0}optimizeNames($,I){let{nodes:U}=this,Y=U.length;while(Y--){let J=U[Y];if(J.optimizeNames($,I))continue;KF0($,J.names),U.splice(Y,1)}return U.length>0?this:void 0}get names(){return this.nodes.reduce(($,I)=>R7($,I.names),{})}}class K9 extends xW{render($){return"{"+$._n+super.render($)+"}"+$._n}}class df extends xW{}class _Q extends K9{}_Q.kind="else";class a8 extends K9{constructor($,I){super(I);this.condition=$}render($){let I=`if(${this.condition})`+super.render($);if(this.else)I+="else "+this.else.render($);return I}optimizeNodes(){super.optimizeNodes();let $=this.condition;if($===!0)return this.nodes;let I=this.else;if(I){let U=I.optimizeNodes();I=this.else=Array.isArray(U)?new _Q(U):U}if(I){if($===!1)return I instanceof a8?I:I.nodes;if(this.nodes.length)return this;return new a8(tf($),I instanceof a8?[I]:I.nodes)}if($===!1||!this.nodes.length)return;return this}optimizeNames($,I){var U;if(this.else=(U=this.else)===null||U===void 0?void 0:U.optimizeNames($,I),!(super.optimizeNames($,I)||this.else))return;return this.condition=aI(this.condition,$,I),this}get names(){let $=super.names;if(yW($,this.condition),this.else)R7($,this.else.names);return $}}a8.kind="if";class tI extends K9{}tI.kind="for";class mf extends tI{constructor($){super();this.iteration=$}render($){return`for(${this.iteration})`+super.render($)}optimizeNames($,I){if(!super.optimizeNames($,I))return;return this.iteration=aI(this.iteration,$,I),this}get names(){return R7(super.names,this.iteration.names)}}class lf extends tI{constructor($,I,U,Y){super();this.varKind=$,this.name=I,this.from=U,this.to=Y}render($){let I=$.es5?b$.varKinds.var:this.varKind,{name:U,from:Y,to:J}=this;return`for(${I} ${U}=${Y}; ${U}<${J}; ${U}++)`+super.render($)}get names(){let $=yW(super.names,this.from);return yW($,this.to)}}class pP extends tI{constructor($,I,U,Y){super();this.loop=$,this.varKind=I,this.name=U,this.iterable=Y}render($){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render($)}optimizeNames($,I){if(!super.optimizeNames($,I))return;return this.iterable=aI(this.iterable,$,I),this}get names(){return R7(super.names,this.iterable.names)}}class jW extends K9{constructor($,I,U){super();this.name=$,this.args=I,this.async=U}render($){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render($)}}jW.kind="func";class _W extends xW{render($){return"return "+super.render($)}}_W.kind="return";class of extends K9{render($){let I="try"+super.render($);if(this.catch)I+=this.catch.render($);if(this.finally)I+=this.finally.render($);return I}optimizeNodes(){var $,I;return super.optimizeNodes(),($=this.catch)===null||$===void 0||$.optimizeNodes(),(I=this.finally)===null||I===void 0||I.optimizeNodes(),this}optimizeNames($,I){var U,Y;return super.optimizeNames($,I),(U=this.catch)===null||U===void 0||U.optimizeNames($,I),(Y=this.finally)===null||Y===void 0||Y.optimizeNames($,I),this}get names(){let $=super.names;if(this.catch)R7($,this.catch.names);if(this.finally)R7($,this.finally.names);return $}}class SW extends K9{constructor($){super();this.error=$}render($){return`catch(${this.error})`+super.render($)}}SW.kind="catch";class gW extends K9{render($){return"finally"+super.render($)}}gW.kind="finally";class rf{constructor($,I={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...I,_n:I.lines?` -`:""},this._extScope=$,this._scope=new b$.Scope({parent:$}),this._nodes=[new df]}toString(){return this._root.render(this.opts)}name($){return this._scope.name($)}scopeName($){return this._extScope.name($)}scopeValue($,I){let U=this._extScope.value($,I);return(this._values[U.prefix]||(this._values[U.prefix]=new Set)).add(U),U}getScopeValue($,I){return this._extScope.getValue($,I)}scopeRefs($){return this._extScope.scopeRefs($,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def($,I,U,Y){let J=this._scope.toName(I);if(U!==void 0&&Y)this._constants[J.str]=U;return this._leafNode(new uf($,J,U)),J}const($,I,U){return this._def(b$.varKinds.const,$,I,U)}let($,I,U){return this._def(b$.varKinds.let,$,I,U)}var($,I,U){return this._def(b$.varKinds.var,$,I,U)}assign($,I,U){return this._leafNode(new dP($,I,U))}add($,I){return this._leafNode(new ff($,u6.operators.ADD,I))}code($){if(typeof $=="function")$();else if($!==K1.nil)this._leafNode(new cf($));return this}object(...$){let I=["{"];for(let[U,Y]of $){if(I.length>1)I.push(",");if(I.push(U),U!==Y||this.opts.es5)I.push(":"),(0,K1.addCodeArg)(I,Y)}return I.push("}"),new K1._Code(I)}if($,I,U){if(this._blockNode(new a8($)),I&&U)this.code(I).else().code(U).endIf();else if(I)this.code(I).endIf();else if(U)throw Error('CodeGen: "else" body without "then" body');return this}elseIf($){return this._elseNode(new a8($))}else(){return this._elseNode(new _Q)}endIf(){return this._endBlockNode(a8,_Q)}_for($,I){if(this._blockNode($),I)this.code(I).endFor();return this}for($,I){return this._for(new mf($),I)}forRange($,I,U,Y,J=this.opts.es5?b$.varKinds.var:b$.varKinds.let){let Q=this._scope.toName($);return this._for(new lf(J,Q,I,U),()=>Y(Q))}forOf($,I,U,Y=b$.varKinds.const){let J=this._scope.toName($);if(this.opts.es5){let Q=I instanceof K1.Name?I:this.var("_arr",I);return this.forRange("_i",0,K1._`${Q}.length`,(K)=>{this.var(J,K1._`${Q}[${K}]`),U(J)})}return this._for(new pP("of",Y,J,I),()=>U(J))}forIn($,I,U,Y=this.opts.es5?b$.varKinds.var:b$.varKinds.const){if(this.opts.ownProperties)return this.forOf($,K1._`Object.keys(${I})`,U);let J=this._scope.toName($);return this._for(new pP("in",Y,J,I),()=>U(J))}endFor(){return this._endBlockNode(tI)}label($){return this._leafNode(new bf($))}break($){return this._leafNode(new nf($))}return($){let I=new _W;if(this._blockNode(I),this.code($),I.nodes.length!==1)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(_W)}try($,I,U){if(!I&&!U)throw Error('CodeGen: "try" without "catch" and "finally"');let Y=new of;if(this._blockNode(Y),this.code($),I){let J=this.name("e");this._currNode=Y.catch=new SW(J),I(J)}if(U)this._currNode=Y.finally=new gW,this.code(U);return this._endBlockNode(SW,gW)}throw($){return this._leafNode(new pf($))}block($,I){if(this._blockStarts.push(this._nodes.length),$)this.code($).endBlock(I);return this}endBlock($){let I=this._blockStarts.pop();if(I===void 0)throw Error("CodeGen: not in self-balancing block");let U=this._nodes.length-I;if(U<0||$!==void 0&&U!==$)throw Error(`CodeGen: wrong number of nodes: ${U} vs ${$} expected`);return this._nodes.length=I,this}func($,I=K1.nil,U,Y){if(this._blockNode(new jW($,I,U)),Y)this.code(Y).endFunc();return this}endFunc(){return this._endBlockNode(jW)}optimize($=1){while($-- >0)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode($){return this._currNode.nodes.push($),this}_blockNode($){this._currNode.nodes.push($),this._nodes.push($)}_endBlockNode($,I){let U=this._currNode;if(U instanceof $||I&&U instanceof I)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${I?`${$.kind}/${I.kind}`:$.kind}"`)}_elseNode($){let I=this._currNode;if(!(I instanceof a8))throw Error('CodeGen: "else" without "if"');return this._currNode=I.else=$,this}get _root(){return this._nodes[0]}get _currNode(){let $=this._nodes;return $[$.length-1]}set _currNode($){let I=this._nodes;I[I.length-1]=$}}u6.CodeGen=rf;function R7($,I){for(let U in I)$[U]=($[U]||0)+(I[U]||0);return $}function yW($,I){return I instanceof K1._CodeOrName?R7($,I.names):$}function aI($,I,U){if($ instanceof K1.Name)return Y($);if(!J($))return $;return new K1._Code($._items.reduce((Q,K)=>{if(K instanceof K1.Name)K=Y(K);if(K instanceof K1._Code)Q.push(...K._items);else Q.push(K);return Q},[]));function Y(Q){let K=U[Q.str];if(K===void 0||I[Q.str]!==1)return Q;return delete I[Q.str],K}function J(Q){return Q instanceof K1._Code&&Q._items.some((K)=>K instanceof K1.Name&&I[K.str]===1&&U[K.str]!==void 0)}}function KF0($,I){for(let U in I)$[U]=($[U]||0)-(I[U]||0)}function tf($){return typeof $=="boolean"||typeof $=="number"||$===null?!$:K1._`!${cP($)}`}u6.not=tf;var qF0=af(u6.operators.AND);function GF0(...$){return $.reduce(qF0)}u6.and=GF0;var HF0=af(u6.operators.OR);function WF0(...$){return $.reduce(HF0)}u6.or=WF0;function af($){return(I,U)=>I===K1.nil?U:U===K1.nil?I:K1._`${cP(I)} ${$} ${cP(U)}`}function cP($){return $ instanceof K1.Name?$:K1._`(${$})`}});var V1=O((Kb)=>{Object.defineProperty(Kb,"__esModule",{value:!0});Kb.checkStrictMode=Kb.getErrorPath=Kb.Type=Kb.useFunc=Kb.setEvaluated=Kb.evaluatedPropsToName=Kb.mergeEvaluated=Kb.eachItem=Kb.unescapeJsonPointer=Kb.escapeJsonPointer=Kb.escapeFragment=Kb.unescapeFragment=Kb.schemaRefOrVal=Kb.schemaHasRulesButRef=Kb.schemaHasRules=Kb.checkUnknownRules=Kb.alwaysValidSchema=Kb.toHash=void 0;var f1=t0(),XF0=jQ();function wF0($){let I={};for(let U of $)I[U]=!0;return I}Kb.toHash=wF0;function LF0($,I){if(typeof I=="boolean")return I;if(Object.keys(I).length===0)return!0;return Ib($,I),!Ub(I,$.self.RULES.all)}Kb.alwaysValidSchema=LF0;function Ib($,I=$.schema){let{opts:U,self:Y}=$;if(!U.strictSchema)return;if(typeof I==="boolean")return;let J=Y.RULES.keywords;for(let Q in I)if(!J[Q])Qb($,`unknown keyword: "${Q}"`)}Kb.checkUnknownRules=Ib;function Ub($,I){if(typeof $=="boolean")return!$;for(let U in $)if(I[U])return!0;return!1}Kb.schemaHasRules=Ub;function DF0($,I){if(typeof $=="boolean")return!$;for(let U in $)if(U!=="$ref"&&I.all[U])return!0;return!1}Kb.schemaHasRulesButRef=DF0;function OF0({topSchemaRef:$,schemaPath:I},U,Y,J){if(!J){if(typeof U=="number"||typeof U=="boolean")return U;if(typeof U=="string")return f1._`${U}`}return f1._`${$}${I}${(0,f1.getProperty)(Y)}`}Kb.schemaRefOrVal=OF0;function NF0($){return Yb(decodeURIComponent($))}Kb.unescapeFragment=NF0;function FF0($){return encodeURIComponent(lP($))}Kb.escapeFragment=FF0;function lP($){if(typeof $=="number")return`${$}`;return $.replace(/~/g,"~0").replace(/\//g,"~1")}Kb.escapeJsonPointer=lP;function Yb($){return $.replace(/~1/g,"/").replace(/~0/g,"~")}Kb.unescapeJsonPointer=Yb;function MF0($,I){if(Array.isArray($))for(let U of $)I(U);else I($)}Kb.eachItem=MF0;function ef({mergeNames:$,mergeToName:I,mergeValues:U,resultToName:Y}){return(J,Q,K,q)=>{let G=K===void 0?Q:K instanceof f1.Name?(Q instanceof f1.Name?$(J,Q,K):I(J,Q,K),K):Q instanceof f1.Name?(I(J,K,Q),Q):U(Q,K);return q===f1.Name&&!(G instanceof f1.Name)?Y(J,G):G}}Kb.mergeEvaluated={props:ef({mergeNames:($,I,U)=>$.if(f1._`${U} !== true && ${I} !== undefined`,()=>{$.if(f1._`${I} === true`,()=>$.assign(U,!0),()=>$.assign(U,f1._`${U} || {}`).code(f1._`Object.assign(${U}, ${I})`))}),mergeToName:($,I,U)=>$.if(f1._`${U} !== true`,()=>{if(I===!0)$.assign(U,!0);else $.assign(U,f1._`${U} || {}`),oP($,U,I)}),mergeValues:($,I)=>$===!0?!0:{...$,...I},resultToName:Jb}),items:ef({mergeNames:($,I,U)=>$.if(f1._`${U} !== true && ${I} !== undefined`,()=>$.assign(U,f1._`${I} === true ? true : ${U} > ${I} ? ${U} : ${I}`)),mergeToName:($,I,U)=>$.if(f1._`${U} !== true`,()=>$.assign(U,I===!0?!0:f1._`${U} > ${I} ? ${U} : ${I}`)),mergeValues:($,I)=>$===!0?!0:Math.max($,I),resultToName:($,I)=>$.var("items",I)})};function Jb($,I){if(I===!0)return $.var("props",!0);let U=$.var("props",f1._`{}`);if(I!==void 0)oP($,U,I);return U}Kb.evaluatedPropsToName=Jb;function oP($,I,U){Object.keys(U).forEach((Y)=>$.assign(f1._`${I}${(0,f1.getProperty)(Y)}`,!0))}Kb.setEvaluated=oP;var $b={};function AF0($,I){return $.scopeValue("func",{ref:I,code:$b[I.code]||($b[I.code]=new XF0._Code(I.code))})}Kb.useFunc=AF0;var mP;(function($){$[$.Num=0]="Num",$[$.Str=1]="Str"})(mP||(Kb.Type=mP={}));function PF0($,I,U){if($ instanceof f1.Name){let Y=I===mP.Num;return U?Y?f1._`"[" + ${$} + "]"`:f1._`"['" + ${$} + "']"`:Y?f1._`"/" + ${$}`:f1._`"/" + ${$}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return U?(0,f1.getProperty)($).toString():"/"+lP($)}Kb.getErrorPath=PF0;function Qb($,I,U=$.opts.strictSchema){if(!U)return;if(I=`strict mode: ${I}`,U===!0)throw Error(I);$.self.logger.warn(I)}Kb.checkStrictMode=Qb});var s8=O((Gb)=>{Object.defineProperty(Gb,"__esModule",{value:!0});var z6=t0(),iF0={data:new z6.Name("data"),valCxt:new z6.Name("valCxt"),instancePath:new z6.Name("instancePath"),parentData:new z6.Name("parentData"),parentDataProperty:new z6.Name("parentDataProperty"),rootData:new z6.Name("rootData"),dynamicAnchors:new z6.Name("dynamicAnchors"),vErrors:new z6.Name("vErrors"),errors:new z6.Name("errors"),this:new z6.Name("this"),self:new z6.Name("self"),scope:new z6.Name("scope"),json:new z6.Name("json"),jsonPos:new z6.Name("jsonPos"),jsonLen:new z6.Name("jsonLen"),jsonPart:new z6.Name("jsonPart")};Gb.default=iF0});var SQ=O((Zb)=>{Object.defineProperty(Zb,"__esModule",{value:!0});Zb.extendErrors=Zb.resetErrorsCount=Zb.reportExtraError=Zb.reportError=Zb.keyword$DataError=Zb.keywordError=void 0;var Z1=t0(),uW=V1(),E6=s8();Zb.keywordError={message:({keyword:$})=>Z1.str`must pass "${$}" keyword validation`};Zb.keyword$DataError={message:({keyword:$,schemaType:I})=>I?Z1.str`"${$}" keyword must be ${I} ($data)`:Z1.str`"${$}" keyword is invalid ($data)`};function pF0($,I=Zb.keywordError,U,Y){let{it:J}=$,{gen:Q,compositeRule:K,allErrors:q}=J,G=Vb($,I,U);if(Y!==null&&Y!==void 0?Y:K||q)Hb(Q,G);else Wb(J,Z1._`[${G}]`)}Zb.reportError=pF0;function cF0($,I=Zb.keywordError,U){let{it:Y}=$,{gen:J,compositeRule:Q,allErrors:K}=Y,q=Vb($,I,U);if(Hb(J,q),!(Q||K))Wb(Y,E6.default.vErrors)}Zb.reportExtraError=cF0;function dF0($,I){$.assign(E6.default.errors,I),$.if(Z1._`${E6.default.vErrors} !== null`,()=>$.if(I,()=>$.assign(Z1._`${E6.default.vErrors}.length`,I),()=>$.assign(E6.default.vErrors,null)))}Zb.resetErrorsCount=dF0;function mF0({gen:$,keyword:I,schemaValue:U,data:Y,errsCount:J,it:Q}){if(J===void 0)throw Error("ajv implementation error");let K=$.name("err");$.forRange("i",J,E6.default.errors,(q)=>{if($.const(K,Z1._`${E6.default.vErrors}[${q}]`),$.if(Z1._`${K}.instancePath === undefined`,()=>$.assign(Z1._`${K}.instancePath`,(0,Z1.strConcat)(E6.default.instancePath,Q.errorPath))),$.assign(Z1._`${K}.schemaPath`,Z1.str`${Q.errSchemaPath}/${I}`),Q.opts.verbose)$.assign(Z1._`${K}.schema`,U),$.assign(Z1._`${K}.data`,Y)})}Zb.extendErrors=mF0;function Hb($,I){let U=$.const("err",I);$.if(Z1._`${E6.default.vErrors} === null`,()=>$.assign(E6.default.vErrors,Z1._`[${U}]`),Z1._`${E6.default.vErrors}.push(${U})`),$.code(Z1._`${E6.default.errors}++`)}function Wb($,I){let{gen:U,validateName:Y,schemaEnv:J}=$;if(J.$async)U.throw(Z1._`new ${$.ValidationError}(${I})`);else U.assign(Z1._`${Y}.errors`,I),U.return(!1)}var v7={keyword:new Z1.Name("keyword"),schemaPath:new Z1.Name("schemaPath"),params:new Z1.Name("params"),propertyName:new Z1.Name("propertyName"),message:new Z1.Name("message"),schema:new Z1.Name("schema"),parentSchema:new Z1.Name("parentSchema")};function Vb($,I,U){let{createErrors:Y}=$.it;if(Y===!1)return Z1._`{}`;return lF0($,I,U)}function lF0($,I,U={}){let{gen:Y,it:J}=$,Q=[oF0(J,U),rF0($,U)];return tF0($,I,Q),Y.object(...Q)}function oF0({errorPath:$},{instancePath:I}){let U=I?Z1.str`${$}${(0,uW.getErrorPath)(I,uW.Type.Str)}`:$;return[E6.default.instancePath,(0,Z1.strConcat)(E6.default.instancePath,U)]}function rF0({keyword:$,it:{errSchemaPath:I}},{schemaPath:U,parentSchema:Y}){let J=Y?I:Z1.str`${I}/${$}`;if(U)J=Z1.str`${J}${(0,uW.getErrorPath)(U,uW.Type.Str)}`;return[v7.schemaPath,J]}function tF0($,{params:I,message:U},Y){let{keyword:J,data:Q,schemaValue:K,it:q}=$,{opts:G,propertyName:H,topSchemaRef:W,schemaPath:V}=q;if(Y.push([v7.keyword,J],[v7.params,typeof I=="function"?I($):I||Z1._`{}`]),G.messages)Y.push([v7.message,typeof U=="function"?U($):U]);if(G.verbose)Y.push([v7.schema,K],[v7.parentSchema,Z1._`${W}${V}`],[E6.default.data,Q]);if(H)Y.push([v7.propertyName,H])}});var Db=O((wb)=>{Object.defineProperty(wb,"__esModule",{value:!0});wb.boolOrEmptySchema=wb.topBoolOrEmptySchema=void 0;var IM0=SQ(),UM0=t0(),YM0=s8(),JM0={message:"boolean schema is false"};function QM0($){let{gen:I,schema:U,validateName:Y}=$;if(U===!1)Xb($,!1);else if(typeof U=="object"&&U.$async===!0)I.return(YM0.default.data);else I.assign(UM0._`${Y}.errors`,null),I.return(!0)}wb.topBoolOrEmptySchema=QM0;function KM0($,I){let{gen:U,schema:Y}=$;if(Y===!1)U.var(I,!1),Xb($);else U.var(I,!0)}wb.boolOrEmptySchema=KM0;function Xb($,I){let{gen:U,data:Y}=$,J={gen:U,keyword:"false schema",data:Y,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:$};(0,IM0.reportError)(J,JM0,void 0,I)}});var tP=O((Ob)=>{Object.defineProperty(Ob,"__esModule",{value:!0});Ob.getRules=Ob.isJSONType=void 0;var GM0=["string","number","integer","boolean","null","object","array"],HM0=new Set(GM0);function WM0($){return typeof $=="string"&&HM0.has($)}Ob.isJSONType=WM0;function VM0(){let $={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...$,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},$.number,$.string,$.array,$.object],post:{rules:[]},all:{},keywords:{}}}Ob.getRules=VM0});var aP=O((Ab)=>{Object.defineProperty(Ab,"__esModule",{value:!0});Ab.shouldUseRule=Ab.shouldUseGroup=Ab.schemaHasRulesForType=void 0;function zM0({schema:$,self:I},U){let Y=I.RULES.types[U];return Y&&Y!==!0&&Fb($,Y)}Ab.schemaHasRulesForType=zM0;function Fb($,I){return I.rules.some((U)=>Mb($,U))}Ab.shouldUseGroup=Fb;function Mb($,I){var U;return $[I.keyword]!==void 0||((U=I.definition.implements)===null||U===void 0?void 0:U.some((Y)=>$[Y]!==void 0))}Ab.shouldUseRule=Mb});var gQ=O((Rb)=>{Object.defineProperty(Rb,"__esModule",{value:!0});Rb.reportTypeError=Rb.checkDataTypes=Rb.checkDataType=Rb.coerceAndCheckDataType=Rb.getJSONTypes=Rb.getSchemaTypes=Rb.DataType=void 0;var LM0=tP(),DM0=aP(),OM0=SQ(),r0=t0(),Tb=V1(),sI;(function($){$[$.Correct=0]="Correct",$[$.Wrong=1]="Wrong"})(sI||(Rb.DataType=sI={}));function NM0($){let I=Eb($.type);if(I.includes("null")){if($.nullable===!1)throw Error("type: null contradicts nullable: false")}else{if(!I.length&&$.nullable!==void 0)throw Error('"nullable" cannot be used without "type"');if($.nullable===!0)I.push("null")}return I}Rb.getSchemaTypes=NM0;function Eb($){let I=Array.isArray($)?$:$?[$]:[];if(I.every(LM0.isJSONType))return I;throw Error("type must be JSONType or JSONType[]: "+I.join(","))}Rb.getJSONTypes=Eb;function FM0($,I){let{gen:U,data:Y,opts:J}=$,Q=MM0(I,J.coerceTypes),K=I.length>0&&!(Q.length===0&&I.length===1&&(0,DM0.schemaHasRulesForType)($,I[0]));if(K){let q=eP(I,Y,J.strictNumbers,sI.Wrong);U.if(q,()=>{if(Q.length)AM0($,I,Q);else $T($)})}return K}Rb.coerceAndCheckDataType=FM0;var Bb=new Set(["string","number","integer","boolean","null"]);function MM0($,I){return I?$.filter((U)=>Bb.has(U)||I==="array"&&U==="array"):[]}function AM0($,I,U){let{gen:Y,data:J,opts:Q}=$,K=Y.let("dataType",r0._`typeof ${J}`),q=Y.let("coerced",r0._`undefined`);if(Q.coerceTypes==="array")Y.if(r0._`${K} == 'object' && Array.isArray(${J}) && ${J}.length == 1`,()=>Y.assign(J,r0._`${J}[0]`).assign(K,r0._`typeof ${J}`).if(eP(I,J,Q.strictNumbers),()=>Y.assign(q,J)));Y.if(r0._`${q} !== undefined`);for(let H of U)if(Bb.has(H)||H==="array"&&Q.coerceTypes==="array")G(H);Y.else(),$T($),Y.endIf(),Y.if(r0._`${q} !== undefined`,()=>{Y.assign(J,q),PM0($,q)});function G(H){switch(H){case"string":Y.elseIf(r0._`${K} == "number" || ${K} == "boolean"`).assign(q,r0._`"" + ${J}`).elseIf(r0._`${J} === null`).assign(q,r0._`""`);return;case"number":Y.elseIf(r0._`${K} == "boolean" || ${J} === null - || (${K} == "string" && ${J} && ${J} == +${J})`).assign(q,r0._`+${J}`);return;case"integer":Y.elseIf(r0._`${K} === "boolean" || ${J} === null - || (${K} === "string" && ${J} && ${J} == +${J} && !(${J} % 1))`).assign(q,r0._`+${J}`);return;case"boolean":Y.elseIf(r0._`${J} === "false" || ${J} === 0 || ${J} === null`).assign(q,!1).elseIf(r0._`${J} === "true" || ${J} === 1`).assign(q,!0);return;case"null":Y.elseIf(r0._`${J} === "" || ${J} === 0 || ${J} === false`),Y.assign(q,null);return;case"array":Y.elseIf(r0._`${K} === "string" || ${K} === "number" - || ${K} === "boolean" || ${J} === null`).assign(q,r0._`[${J}]`)}}}function PM0({gen:$,parentData:I,parentDataProperty:U},Y){$.if(r0._`${I} !== undefined`,()=>$.assign(r0._`${I}[${U}]`,Y))}function sP($,I,U,Y=sI.Correct){let J=Y===sI.Correct?r0.operators.EQ:r0.operators.NEQ,Q;switch($){case"null":return r0._`${I} ${J} null`;case"array":Q=r0._`Array.isArray(${I})`;break;case"object":Q=r0._`${I} && typeof ${I} == "object" && !Array.isArray(${I})`;break;case"integer":Q=K(r0._`!(${I} % 1) && !isNaN(${I})`);break;case"number":Q=K();break;default:return r0._`typeof ${I} ${J} ${$}`}return Y===sI.Correct?Q:(0,r0.not)(Q);function K(q=r0.nil){return(0,r0.and)(r0._`typeof ${I} == "number"`,q,U?r0._`isFinite(${I})`:r0.nil)}}Rb.checkDataType=sP;function eP($,I,U,Y){if($.length===1)return sP($[0],I,U,Y);let J,Q=(0,Tb.toHash)($);if(Q.array&&Q.object){let K=r0._`typeof ${I} != "object"`;J=Q.null?K:r0._`!${I} || ${K}`,delete Q.null,delete Q.array,delete Q.object}else J=r0.nil;if(Q.number)delete Q.integer;for(let K in Q)J=(0,r0.and)(J,sP(K,I,U,Y));return J}Rb.checkDataTypes=eP;var TM0={message:({schema:$})=>`must be ${$}`,params:({schema:$,schemaValue:I})=>typeof $=="string"?r0._`{type: ${$}}`:r0._`{type: ${I}}`};function $T($){let I=EM0($);(0,OM0.reportError)(I,TM0)}Rb.reportTypeError=$T;function EM0($){let{gen:I,data:U,schema:Y}=$,J=(0,Tb.schemaRefOrVal)($,Y,"type");return{gen:I,keyword:"type",data:U,schema:Y.type,schemaCode:J,schemaValue:J,parentSchema:Y,params:{},it:$}}});var Sb=O((jb)=>{Object.defineProperty(jb,"__esModule",{value:!0});jb.assignDefaults=void 0;var eI=t0(),SM0=V1();function gM0($,I){let{properties:U,items:Y}=$.schema;if(I==="object"&&U)for(let J in U)Cb($,J,U[J].default);else if(I==="array"&&Array.isArray(Y))Y.forEach((J,Q)=>Cb($,Q,J.default))}jb.assignDefaults=gM0;function Cb($,I,U){let{gen:Y,compositeRule:J,data:Q,opts:K}=$;if(U===void 0)return;let q=eI._`${Q}${(0,eI.getProperty)(I)}`;if(J){(0,SM0.checkStrictMode)($,`default is ignored for: ${q}`);return}let G=eI._`${q} === undefined`;if(K.useDefaults==="empty")G=eI._`${G} || ${q} === null || ${q} === ""`;Y.if(G,eI._`${q} = ${(0,eI.stringify)(U)}`)}});var D$=O((hb)=>{Object.defineProperty(hb,"__esModule",{value:!0});hb.validateUnion=hb.validateArray=hb.usePattern=hb.callValidateCode=hb.schemaProperties=hb.allSchemaProperties=hb.noPropertyInData=hb.propertyInData=hb.isOwnProperty=hb.hasPropFunc=hb.reportMissingProp=hb.checkMissingProp=hb.checkReportMissingProp=void 0;var m1=t0(),IT=V1(),q9=s8(),yM0=V1();function hM0($,I){let{gen:U,data:Y,it:J}=$;U.if(YT(U,Y,I,J.opts.ownProperties),()=>{$.setParams({missingProperty:m1._`${I}`},!0),$.error()})}hb.checkReportMissingProp=hM0;function xM0({gen:$,data:I,it:{opts:U}},Y,J){return(0,m1.or)(...Y.map((Q)=>(0,m1.and)(YT($,I,Q,U.ownProperties),m1._`${J} = ${Q}`)))}hb.checkMissingProp=xM0;function kM0($,I){$.setParams({missingProperty:I},!0),$.error()}hb.reportMissingProp=kM0;function gb($){return $.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:m1._`Object.prototype.hasOwnProperty`})}hb.hasPropFunc=gb;function UT($,I,U){return m1._`${gb($)}.call(${I}, ${U})`}hb.isOwnProperty=UT;function uM0($,I,U,Y){let J=m1._`${I}${(0,m1.getProperty)(U)} !== undefined`;return Y?m1._`${J} && ${UT($,I,U)}`:J}hb.propertyInData=uM0;function YT($,I,U,Y){let J=m1._`${I}${(0,m1.getProperty)(U)} === undefined`;return Y?(0,m1.or)(J,(0,m1.not)(UT($,I,U))):J}hb.noPropertyInData=YT;function yb($){return $?Object.keys($).filter((I)=>I!=="__proto__"):[]}hb.allSchemaProperties=yb;function fM0($,I){return yb(I).filter((U)=>!(0,IT.alwaysValidSchema)($,I[U]))}hb.schemaProperties=fM0;function bM0({schemaCode:$,data:I,it:{gen:U,topSchemaRef:Y,schemaPath:J,errorPath:Q},it:K},q,G,H){let W=H?m1._`${$}, ${I}, ${Y}${J}`:I,V=[[q9.default.instancePath,(0,m1.strConcat)(q9.default.instancePath,Q)],[q9.default.parentData,K.parentData],[q9.default.parentDataProperty,K.parentDataProperty],[q9.default.rootData,q9.default.rootData]];if(K.opts.dynamicRef)V.push([q9.default.dynamicAnchors,q9.default.dynamicAnchors]);let z=m1._`${W}, ${U.object(...V)}`;return G!==m1.nil?m1._`${q}.call(${G}, ${z})`:m1._`${q}(${z})`}hb.callValidateCode=bM0;var iM0=m1._`new RegExp`;function nM0({gen:$,it:{opts:I}},U){let Y=I.unicodeRegExp?"u":"",{regExp:J}=I.code,Q=J(U,Y);return $.scopeValue("pattern",{key:Q.toString(),ref:Q,code:m1._`${J.code==="new RegExp"?iM0:(0,yM0.useFunc)($,J)}(${U}, ${Y})`})}hb.usePattern=nM0;function pM0($){let{gen:I,data:U,keyword:Y,it:J}=$,Q=I.name("valid");if(J.allErrors){let q=I.let("valid",!0);return K(()=>I.assign(q,!1)),q}return I.var(Q,!0),K(()=>I.break()),Q;function K(q){let G=I.const("len",m1._`${U}.length`);I.forRange("i",0,G,(H)=>{$.subschema({keyword:Y,dataProp:H,dataPropType:IT.Type.Num},Q),I.if((0,m1.not)(Q),q)})}}hb.validateArray=pM0;function cM0($){let{gen:I,schema:U,keyword:Y,it:J}=$;if(!Array.isArray(U))throw Error("ajv implementation error");if(U.some((G)=>(0,IT.alwaysValidSchema)(J,G))&&!J.opts.unevaluated)return;let K=I.let("valid",!1),q=I.name("_valid");I.block(()=>U.forEach((G,H)=>{let W=$.subschema({keyword:Y,schemaProp:H,compositeRule:!0},q);if(I.assign(K,m1._`${K} || ${q}`),!$.mergeValidEvaluated(W,q))I.if((0,m1.not)(K))})),$.result(K,()=>$.reset(),()=>$.error(!0))}hb.validateUnion=cM0});var ib=O((fb)=>{Object.defineProperty(fb,"__esModule",{value:!0});fb.validateKeywordUsage=fb.validSchemaType=fb.funcKeywordCode=fb.macroKeywordCode=void 0;var B6=t0(),C7=s8(),YA0=D$(),JA0=SQ();function QA0($,I){let{gen:U,keyword:Y,schema:J,parentSchema:Q,it:K}=$,q=I.macro.call(K.self,J,Q,K),G=ub(U,Y,q);if(K.opts.validateSchema!==!1)K.self.validateSchema(q,!0);let H=U.name("valid");$.subschema({schema:q,schemaPath:B6.nil,errSchemaPath:`${K.errSchemaPath}/${Y}`,topSchemaRef:G,compositeRule:!0},H),$.pass(H,()=>$.error(!0))}fb.macroKeywordCode=QA0;function KA0($,I){var U;let{gen:Y,keyword:J,schema:Q,parentSchema:K,$data:q,it:G}=$;GA0(G,I);let H=!q&&I.compile?I.compile.call(G.self,Q,K,G):I.validate,W=ub(Y,J,H),V=Y.let("valid");$.block$data(V,z),$.ok((U=I.valid)!==null&&U!==void 0?U:V);function z(){if(I.errors===!1){if(L(),I.modifying)kb($);D(()=>$.error())}else{let N=I.async?Z():w();if(I.modifying)kb($);D(()=>qA0($,N))}}function Z(){let N=Y.let("ruleErrs",null);return Y.try(()=>L(B6._`await `),(E)=>Y.assign(V,!1).if(B6._`${E} instanceof ${G.ValidationError}`,()=>Y.assign(N,B6._`${E}.errors`),()=>Y.throw(E))),N}function w(){let N=B6._`${W}.errors`;return Y.assign(N,null),L(B6.nil),N}function L(N=I.async?B6._`await `:B6.nil){let E=G.opts.passContext?C7.default.this:C7.default.self,T=!(("compile"in I)&&!q||I.schema===!1);Y.assign(V,B6._`${N}${(0,YA0.callValidateCode)($,W,E,T)}`,I.modifying)}function D(N){var E;Y.if((0,B6.not)((E=I.valid)!==null&&E!==void 0?E:V),N)}}fb.funcKeywordCode=KA0;function kb($){let{gen:I,data:U,it:Y}=$;I.if(Y.parentData,()=>I.assign(U,B6._`${Y.parentData}[${Y.parentDataProperty}]`))}function qA0($,I){let{gen:U}=$;U.if(B6._`Array.isArray(${I})`,()=>{U.assign(C7.default.vErrors,B6._`${C7.default.vErrors} === null ? ${I} : ${C7.default.vErrors}.concat(${I})`).assign(C7.default.errors,B6._`${C7.default.vErrors}.length`),(0,JA0.extendErrors)($)},()=>$.error())}function GA0({schemaEnv:$},I){if(I.async&&!$.$async)throw Error("async keyword in sync schema")}function ub($,I,U){if(U===void 0)throw Error(`keyword "${I}" failed to compile`);return $.scopeValue("keyword",typeof U=="function"?{ref:U}:{ref:U,code:(0,B6.stringify)(U)})}function HA0($,I,U=!1){return!I.length||I.some((Y)=>Y==="array"?Array.isArray($):Y==="object"?$&&typeof $=="object"&&!Array.isArray($):typeof $==Y||U&&typeof $>"u")}fb.validSchemaType=HA0;function WA0({schema:$,opts:I,self:U,errSchemaPath:Y},J,Q){if(Array.isArray(J.keyword)?!J.keyword.includes(Q):J.keyword!==Q)throw Error("ajv implementation error");let K=J.dependencies;if(K===null||K===void 0?void 0:K.some((q)=>!Object.prototype.hasOwnProperty.call($,q)))throw Error(`parent schema must have dependencies of ${Q}: ${K.join(",")}`);if(J.validateSchema){if(!J.validateSchema($[Q])){let G=`keyword "${Q}" value is invalid at path "${Y}": `+U.errorsText(J.validateSchema.errors);if(I.validateSchema==="log")U.logger.error(G);else throw Error(G)}}}fb.validateKeywordUsage=WA0});var db=O((pb)=>{Object.defineProperty(pb,"__esModule",{value:!0});pb.extendSubschemaMode=pb.extendSubschemaData=pb.getSubschema=void 0;var W8=t0(),nb=V1();function XA0($,{keyword:I,schemaProp:U,schema:Y,schemaPath:J,errSchemaPath:Q,topSchemaRef:K}){if(I!==void 0&&Y!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(I!==void 0){let q=$.schema[I];return U===void 0?{schema:q,schemaPath:W8._`${$.schemaPath}${(0,W8.getProperty)(I)}`,errSchemaPath:`${$.errSchemaPath}/${I}`}:{schema:q[U],schemaPath:W8._`${$.schemaPath}${(0,W8.getProperty)(I)}${(0,W8.getProperty)(U)}`,errSchemaPath:`${$.errSchemaPath}/${I}/${(0,nb.escapeFragment)(U)}`}}if(Y!==void 0){if(J===void 0||Q===void 0||K===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:Y,schemaPath:J,topSchemaRef:K,errSchemaPath:Q}}throw Error('either "keyword" or "schema" must be passed')}pb.getSubschema=XA0;function wA0($,I,{dataProp:U,dataPropType:Y,data:J,dataTypes:Q,propertyName:K}){if(J!==void 0&&U!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:q}=I;if(U!==void 0){let{errorPath:H,dataPathArr:W,opts:V}=I,z=q.let("data",W8._`${I.data}${(0,W8.getProperty)(U)}`,!0);G(z),$.errorPath=W8.str`${H}${(0,nb.getErrorPath)(U,Y,V.jsPropertySyntax)}`,$.parentDataProperty=W8._`${U}`,$.dataPathArr=[...W,$.parentDataProperty]}if(J!==void 0){let H=J instanceof W8.Name?J:q.let("data",J,!0);if(G(H),K!==void 0)$.propertyName=K}if(Q)$.dataTypes=Q;function G(H){$.data=H,$.dataLevel=I.dataLevel+1,$.dataTypes=[],I.definedProperties=new Set,$.parentData=I.data,$.dataNames=[...I.dataNames,H]}}pb.extendSubschemaData=wA0;function LA0($,{jtdDiscriminator:I,jtdMetadata:U,compositeRule:Y,createErrors:J,allErrors:Q}){if(Y!==void 0)$.compositeRule=Y;if(J!==void 0)$.createErrors=J;if(Q!==void 0)$.allErrors=Q;$.jtdDiscriminator=I,$.jtdMetadata=U}pb.extendSubschemaMode=LA0});var JT=O((wL1,mb)=>{mb.exports=function $(I,U){if(I===U)return!0;if(I&&U&&typeof I=="object"&&typeof U=="object"){if(I.constructor!==U.constructor)return!1;var Y,J,Q;if(Array.isArray(I)){if(Y=I.length,Y!=U.length)return!1;for(J=Y;J--!==0;)if(!$(I[J],U[J]))return!1;return!0}if(I.constructor===RegExp)return I.source===U.source&&I.flags===U.flags;if(I.valueOf!==Object.prototype.valueOf)return I.valueOf()===U.valueOf();if(I.toString!==Object.prototype.toString)return I.toString()===U.toString();if(Q=Object.keys(I),Y=Q.length,Y!==Object.keys(U).length)return!1;for(J=Y;J--!==0;)if(!Object.prototype.hasOwnProperty.call(U,Q[J]))return!1;for(J=Y;J--!==0;){var K=Q[J];if(!$(I[K],U[K]))return!1}return!0}return I!==I&&U!==U}});var ob=O((LL1,lb)=>{var G9=lb.exports=function($,I,U){if(typeof I=="function")U=I,I={};U=I.cb||U;var Y=typeof U=="function"?U:U.pre||function(){},J=U.post||function(){};fW(I,Y,J,$,"",$)};G9.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};G9.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};G9.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};G9.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function fW($,I,U,Y,J,Q,K,q,G,H){if(Y&&typeof Y=="object"&&!Array.isArray(Y)){I(Y,J,Q,K,q,G,H);for(var W in Y){var V=Y[W];if(Array.isArray(V)){if(W in G9.arrayKeywords)for(var z=0;z{Object.defineProperty(sb,"__esModule",{value:!0});sb.getSchemaRefs=sb.resolveUrl=sb.normalizeId=sb._getFullPath=sb.getFullPath=sb.inlineRef=void 0;var FA0=V1(),MA0=JT(),AA0=ob(),PA0=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function TA0($,I=!0){if(typeof $=="boolean")return!0;if(I===!0)return!QT($);if(!I)return!1;return rb($)<=I}sb.inlineRef=TA0;var EA0=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function QT($){for(let I in $){if(EA0.has(I))return!0;let U=$[I];if(Array.isArray(U)&&U.some(QT))return!0;if(typeof U=="object"&&QT(U))return!0}return!1}function rb($){let I=0;for(let U in $){if(U==="$ref")return 1/0;if(I++,PA0.has(U))continue;if(typeof $[U]=="object")(0,FA0.eachItem)($[U],(Y)=>I+=rb(Y));if(I===1/0)return 1/0}return I}function tb($,I="",U){if(U!==!1)I=$U(I);let Y=$.parse(I);return ab($,Y)}sb.getFullPath=tb;function ab($,I){return $.serialize(I).split("#")[0]+"#"}sb._getFullPath=ab;var BA0=/#\/?$/;function $U($){return $?$.replace(BA0,""):""}sb.normalizeId=$U;function RA0($,I,U){return U=$U(U),$.resolve(I,U)}sb.resolveUrl=RA0;var vA0=/^[a-z_][-a-z0-9._]*$/i;function CA0($,I){if(typeof $=="boolean")return{};let{schemaId:U,uriResolver:Y}=this.opts,J=$U($[U]||I),Q={"":J},K=tb(Y,J,!1),q={},G=new Set;return AA0($,{allKeys:!0},(V,z,Z,w)=>{if(w===void 0)return;let L=K+z,D=Q[w];if(typeof V[U]=="string")D=N.call(this,V[U]);E.call(this,V.$anchor),E.call(this,V.$dynamicAnchor),Q[z]=D;function N(T){let A=this.opts.uriResolver.resolve;if(T=$U(D?A(D,T):T),G.has(T))throw W(T);G.add(T);let v=this.refs[T];if(typeof v=="string")v=this.refs[v];if(typeof v=="object")H(V,v.schema,T);else if(T!==$U(L))if(T[0]==="#")H(V,q[T],T),q[T]=V;else this.refs[T]=L;return T}function E(T){if(typeof T=="string"){if(!vA0.test(T))throw Error(`invalid anchor "${T}"`);N.call(this,`#${T}`)}}}),q;function H(V,z,Z){if(z!==void 0&&!MA0(V,z))throw W(Z)}function W(V){return Error(`reference "${V}" resolves to more than one schema`)}}sb.getSchemaRefs=CA0});var kQ=O((Xi)=>{Object.defineProperty(Xi,"__esModule",{value:!0});Xi.getData=Xi.KeywordCxt=Xi.validateFunctionCode=void 0;var Ji=Db(),$i=gQ(),qT=aP(),bW=gQ(),hA0=Sb(),xQ=ib(),KT=db(),S0=t0(),n0=s8(),xA0=yQ(),e8=V1(),hQ=SQ();function kA0($){if(qi($)){if(Gi($),Ki($)){bA0($);return}}Qi($,()=>(0,Ji.topBoolOrEmptySchema)($))}Xi.validateFunctionCode=kA0;function Qi({gen:$,validateName:I,schema:U,schemaEnv:Y,opts:J},Q){if(J.code.es5)$.func(I,S0._`${n0.default.data}, ${n0.default.valCxt}`,Y.$async,()=>{$.code(S0._`"use strict"; ${Ii(U,J)}`),fA0($,J),$.code(Q)});else $.func(I,S0._`${n0.default.data}, ${uA0(J)}`,Y.$async,()=>$.code(Ii(U,J)).code(Q))}function uA0($){return S0._`{${n0.default.instancePath}="", ${n0.default.parentData}, ${n0.default.parentDataProperty}, ${n0.default.rootData}=${n0.default.data}${$.dynamicRef?S0._`, ${n0.default.dynamicAnchors}={}`:S0.nil}}={}`}function fA0($,I){$.if(n0.default.valCxt,()=>{if($.var(n0.default.instancePath,S0._`${n0.default.valCxt}.${n0.default.instancePath}`),$.var(n0.default.parentData,S0._`${n0.default.valCxt}.${n0.default.parentData}`),$.var(n0.default.parentDataProperty,S0._`${n0.default.valCxt}.${n0.default.parentDataProperty}`),$.var(n0.default.rootData,S0._`${n0.default.valCxt}.${n0.default.rootData}`),I.dynamicRef)$.var(n0.default.dynamicAnchors,S0._`${n0.default.valCxt}.${n0.default.dynamicAnchors}`)},()=>{if($.var(n0.default.instancePath,S0._`""`),$.var(n0.default.parentData,S0._`undefined`),$.var(n0.default.parentDataProperty,S0._`undefined`),$.var(n0.default.rootData,n0.default.data),I.dynamicRef)$.var(n0.default.dynamicAnchors,S0._`{}`)})}function bA0($){let{schema:I,opts:U,gen:Y}=$;Qi($,()=>{if(U.$comment&&I.$comment)Wi($);if(dA0($),Y.let(n0.default.vErrors,null),Y.let(n0.default.errors,0),U.unevaluated)iA0($);Hi($),oA0($)});return}function iA0($){let{gen:I,validateName:U}=$;$.evaluated=I.const("evaluated",S0._`${U}.evaluated`),I.if(S0._`${$.evaluated}.dynamicProps`,()=>I.assign(S0._`${$.evaluated}.props`,S0._`undefined`)),I.if(S0._`${$.evaluated}.dynamicItems`,()=>I.assign(S0._`${$.evaluated}.items`,S0._`undefined`))}function Ii($,I){let U=typeof $=="object"&&$[I.schemaId];return U&&(I.code.source||I.code.process)?S0._`/*# sourceURL=${U} */`:S0.nil}function nA0($,I){if(qi($)){if(Gi($),Ki($)){pA0($,I);return}}(0,Ji.boolOrEmptySchema)($,I)}function Ki({schema:$,self:I}){if(typeof $=="boolean")return!$;for(let U in $)if(I.RULES.all[U])return!0;return!1}function qi($){return typeof $.schema!="boolean"}function pA0($,I){let{schema:U,gen:Y,opts:J}=$;if(J.$comment&&U.$comment)Wi($);mA0($),lA0($);let Q=Y.const("_errs",n0.default.errors);Hi($,Q),Y.var(I,S0._`${Q} === ${n0.default.errors}`)}function Gi($){(0,e8.checkUnknownRules)($),cA0($)}function Hi($,I){if($.opts.jtd)return Ui($,[],!1,I);let U=(0,$i.getSchemaTypes)($.schema),Y=(0,$i.coerceAndCheckDataType)($,U);Ui($,U,!Y,I)}function cA0($){let{schema:I,errSchemaPath:U,opts:Y,self:J}=$;if(I.$ref&&Y.ignoreKeywordsWithRef&&(0,e8.schemaHasRulesButRef)(I,J.RULES))J.logger.warn(`$ref: keywords ignored in schema at path "${U}"`)}function dA0($){let{schema:I,opts:U}=$;if(I.default!==void 0&&U.useDefaults&&U.strictSchema)(0,e8.checkStrictMode)($,"default is ignored in the schema root")}function mA0($){let I=$.schema[$.opts.schemaId];if(I)$.baseId=(0,xA0.resolveUrl)($.opts.uriResolver,$.baseId,I)}function lA0($){if($.schema.$async&&!$.schemaEnv.$async)throw Error("async schema in sync schema")}function Wi({gen:$,schemaEnv:I,schema:U,errSchemaPath:Y,opts:J}){let Q=U.$comment;if(J.$comment===!0)$.code(S0._`${n0.default.self}.logger.log(${Q})`);else if(typeof J.$comment=="function"){let K=S0.str`${Y}/$comment`,q=$.scopeValue("root",{ref:I.root});$.code(S0._`${n0.default.self}.opts.$comment(${Q}, ${K}, ${q}.schema)`)}}function oA0($){let{gen:I,schemaEnv:U,validateName:Y,ValidationError:J,opts:Q}=$;if(U.$async)I.if(S0._`${n0.default.errors} === 0`,()=>I.return(n0.default.data),()=>I.throw(S0._`new ${J}(${n0.default.vErrors})`));else{if(I.assign(S0._`${Y}.errors`,n0.default.vErrors),Q.unevaluated)rA0($);I.return(S0._`${n0.default.errors} === 0`)}}function rA0({gen:$,evaluated:I,props:U,items:Y}){if(U instanceof S0.Name)$.assign(S0._`${I}.props`,U);if(Y instanceof S0.Name)$.assign(S0._`${I}.items`,Y)}function Ui($,I,U,Y){let{gen:J,schema:Q,data:K,allErrors:q,opts:G,self:H}=$,{RULES:W}=H;if(Q.$ref&&(G.ignoreKeywordsWithRef||!(0,e8.schemaHasRulesButRef)(Q,W))){J.block(()=>Zi($,"$ref",W.all.$ref.definition));return}if(!G.jtd)tA0($,I);J.block(()=>{for(let z of W.rules)V(z);V(W.post)});function V(z){if(!(0,qT.shouldUseGroup)(Q,z))return;if(z.type){if(J.if((0,bW.checkDataType)(z.type,K,G.strictNumbers)),Yi($,z),I.length===1&&I[0]===z.type&&U)J.else(),(0,bW.reportTypeError)($);J.endIf()}else Yi($,z);if(!q)J.if(S0._`${n0.default.errors} === ${Y||0}`)}}function Yi($,I){let{gen:U,schema:Y,opts:{useDefaults:J}}=$;if(J)(0,hA0.assignDefaults)($,I.type);U.block(()=>{for(let Q of I.rules)if((0,qT.shouldUseRule)(Y,Q))Zi($,Q.keyword,Q.definition,I.type)})}function tA0($,I){if($.schemaEnv.meta||!$.opts.strictTypes)return;if(aA0($,I),!$.opts.allowUnionTypes)sA0($,I);eA0($,$.dataTypes)}function aA0($,I){if(!I.length)return;if(!$.dataTypes.length){$.dataTypes=I;return}I.forEach((U)=>{if(!Vi($.dataTypes,U))GT($,`type "${U}" not allowed by context "${$.dataTypes.join(",")}"`)}),IP0($,I)}function sA0($,I){if(I.length>1&&!(I.length===2&&I.includes("null")))GT($,"use allowUnionTypes to allow union type keyword")}function eA0($,I){let U=$.self.RULES.all;for(let Y in U){let J=U[Y];if(typeof J=="object"&&(0,qT.shouldUseRule)($.schema,J)){let{type:Q}=J.definition;if(Q.length&&!Q.some((K)=>$P0(I,K)))GT($,`missing type "${Q.join(",")}" for keyword "${Y}"`)}}}function $P0($,I){return $.includes(I)||I==="number"&&$.includes("integer")}function Vi($,I){return $.includes(I)||I==="integer"&&$.includes("number")}function IP0($,I){let U=[];for(let Y of $.dataTypes)if(Vi(I,Y))U.push(Y);else if(I.includes("integer")&&Y==="number")U.push("integer");$.dataTypes=U}function GT($,I){let U=$.schemaEnv.baseId+$.errSchemaPath;I+=` at "${U}" (strictTypes)`,(0,e8.checkStrictMode)($,I,$.opts.strictTypes)}class HT{constructor($,I,U){if((0,xQ.validateKeywordUsage)($,I,U),this.gen=$.gen,this.allErrors=$.allErrors,this.keyword=U,this.data=$.data,this.schema=$.schema[U],this.$data=I.$data&&$.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,e8.schemaRefOrVal)($,this.schema,U,this.$data),this.schemaType=I.schemaType,this.parentSchema=$.schema,this.params={},this.it=$,this.def=I,this.$data)this.schemaCode=$.gen.const("vSchema",zi(this.$data,$));else if(this.schemaCode=this.schemaValue,!(0,xQ.validSchemaType)(this.schema,I.schemaType,I.allowUndefined))throw Error(`${U} value must be ${JSON.stringify(I.schemaType)}`);if("code"in I?I.trackErrors:I.errors!==!1)this.errsCount=$.gen.const("_errs",n0.default.errors)}result($,I,U){this.failResult((0,S0.not)($),I,U)}failResult($,I,U){if(this.gen.if($),U)U();else this.error();if(I){if(this.gen.else(),I(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass($,I){this.failResult((0,S0.not)($),void 0,I)}fail($){if($===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if($),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data($){if(!this.$data)return this.fail($);let{schemaCode:I}=this;this.fail(S0._`${I} !== undefined && (${(0,S0.or)(this.invalid$data(),$)})`)}error($,I,U){if(I){this.setParams(I),this._error($,U),this.setParams({});return}this._error($,U)}_error($,I){($?hQ.reportExtraError:hQ.reportError)(this,this.def.error,I)}$dataError(){(0,hQ.reportError)(this,this.def.$dataError||hQ.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,hQ.resetErrorsCount)(this.gen,this.errsCount)}ok($){if(!this.allErrors)this.gen.if($)}setParams($,I){if(I)Object.assign(this.params,$);else this.params=$}block$data($,I,U=S0.nil){this.gen.block(()=>{this.check$data($,U),I()})}check$data($=S0.nil,I=S0.nil){if(!this.$data)return;let{gen:U,schemaCode:Y,schemaType:J,def:Q}=this;if(U.if((0,S0.or)(S0._`${Y} === undefined`,I)),$!==S0.nil)U.assign($,!0);if(J.length||Q.validateSchema){if(U.elseIf(this.invalid$data()),this.$dataError(),$!==S0.nil)U.assign($,!1)}U.else()}invalid$data(){let{gen:$,schemaCode:I,schemaType:U,def:Y,it:J}=this;return(0,S0.or)(Q(),K());function Q(){if(U.length){if(!(I instanceof S0.Name))throw Error("ajv implementation error");let q=Array.isArray(U)?U:[U];return S0._`${(0,bW.checkDataTypes)(q,I,J.opts.strictNumbers,bW.DataType.Wrong)}`}return S0.nil}function K(){if(Y.validateSchema){let q=$.scopeValue("validate$data",{ref:Y.validateSchema});return S0._`!${q}(${I})`}return S0.nil}}subschema($,I){let U=(0,KT.getSubschema)(this.it,$);(0,KT.extendSubschemaData)(U,this.it,$),(0,KT.extendSubschemaMode)(U,$);let Y={...this.it,...U,items:void 0,props:void 0};return nA0(Y,I),Y}mergeEvaluated($,I){let{it:U,gen:Y}=this;if(!U.opts.unevaluated)return;if(U.props!==!0&&$.props!==void 0)U.props=e8.mergeEvaluated.props(Y,$.props,U.props,I);if(U.items!==!0&&$.items!==void 0)U.items=e8.mergeEvaluated.items(Y,$.items,U.items,I)}mergeValidEvaluated($,I){let{it:U,gen:Y}=this;if(U.opts.unevaluated&&(U.props!==!0||U.items!==!0))return Y.if(I,()=>this.mergeEvaluated($,S0.Name)),!0}}Xi.KeywordCxt=HT;function Zi($,I,U,Y){let J=new HT($,U,I);if("code"in U)U.code(J,Y);else if(J.$data&&U.validate)(0,xQ.funcKeywordCode)(J,U);else if("macro"in U)(0,xQ.macroKeywordCode)(J,U);else if(U.compile||U.validate)(0,xQ.funcKeywordCode)(J,U)}var UP0=/^\/(?:[^~]|~0|~1)*$/,YP0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function zi($,{dataLevel:I,dataNames:U,dataPathArr:Y}){let J,Q;if($==="")return n0.default.rootData;if($[0]==="/"){if(!UP0.test($))throw Error(`Invalid JSON-pointer: ${$}`);J=$,Q=n0.default.rootData}else{let H=YP0.exec($);if(!H)throw Error(`Invalid JSON-pointer: ${$}`);let W=+H[1];if(J=H[2],J==="#"){if(W>=I)throw Error(G("property/index",W));return Y[I-W]}if(W>I)throw Error(G("data",W));if(Q=U[I-W],!J)return Q}let K=Q,q=J.split("/");for(let H of q)if(H)Q=S0._`${Q}${(0,S0.getProperty)((0,e8.unescapeJsonPointer)(H))}`,K=S0._`${K} && ${Q}`;return K;function G(H,W){return`Cannot access ${H} ${W} levels up, current level is ${I}`}}Xi.getData=zi});var iW=O((Di)=>{Object.defineProperty(Di,"__esModule",{value:!0});class Li extends Error{constructor($){super("validation failed");this.errors=$,this.ajv=this.validation=!0}}Di.default=Li});var uQ=O((Ni)=>{Object.defineProperty(Ni,"__esModule",{value:!0});var WT=yQ();class Oi extends Error{constructor($,I,U,Y){super(Y||`can't resolve reference ${U} from id ${I}`);this.missingRef=(0,WT.resolveUrl)($,I,U),this.missingSchema=(0,WT.normalizeId)((0,WT.getFullPath)($,this.missingRef))}}Ni.default=Oi});var pW=O((Ai)=>{Object.defineProperty(Ai,"__esModule",{value:!0});Ai.resolveSchema=Ai.getCompilingSchema=Ai.resolveRef=Ai.compileSchema=Ai.SchemaEnv=void 0;var i$=t0(),GP0=iW(),j7=s8(),n$=yQ(),Fi=V1(),HP0=kQ();class fQ{constructor($){var I;this.refs={},this.dynamicAnchors={};let U;if(typeof $.schema=="object")U=$.schema;this.schema=$.schema,this.schemaId=$.schemaId,this.root=$.root||this,this.baseId=(I=$.baseId)!==null&&I!==void 0?I:(0,n$.normalizeId)(U===null||U===void 0?void 0:U[$.schemaId||"$id"]),this.schemaPath=$.schemaPath,this.localRefs=$.localRefs,this.meta=$.meta,this.$async=U===null||U===void 0?void 0:U.$async,this.refs={}}}Ai.SchemaEnv=fQ;function ZT($){let I=Mi.call(this,$);if(I)return I;let U=(0,n$.getFullPath)(this.opts.uriResolver,$.root.baseId),{es5:Y,lines:J}=this.opts.code,{ownProperties:Q}=this.opts,K=new i$.CodeGen(this.scope,{es5:Y,lines:J,ownProperties:Q}),q;if($.$async)q=K.scopeValue("Error",{ref:GP0.default,code:i$._`require("ajv/dist/runtime/validation_error").default`});let G=K.scopeName("validate");$.validateName=G;let H={gen:K,allErrors:this.opts.allErrors,data:j7.default.data,parentData:j7.default.parentData,parentDataProperty:j7.default.parentDataProperty,dataNames:[j7.default.data],dataPathArr:[i$.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:K.scopeValue("schema",this.opts.code.source===!0?{ref:$.schema,code:(0,i$.stringify)($.schema)}:{ref:$.schema}),validateName:G,ValidationError:q,schema:$.schema,schemaEnv:$,rootId:U,baseId:$.baseId||U,schemaPath:i$.nil,errSchemaPath:$.schemaPath||(this.opts.jtd?"":"#"),errorPath:i$._`""`,opts:this.opts,self:this},W;try{this._compilations.add($),(0,HP0.validateFunctionCode)(H),K.optimize(this.opts.code.optimize);let V=K.toString();if(W=`${K.scopeRefs(j7.default.scope)}return ${V}`,this.opts.code.process)W=this.opts.code.process(W,$);let Z=Function(`${j7.default.self}`,`${j7.default.scope}`,W)(this,this.scope.get());if(this.scope.value(G,{ref:Z}),Z.errors=null,Z.schema=$.schema,Z.schemaEnv=$,$.$async)Z.$async=!0;if(this.opts.code.source===!0)Z.source={validateName:G,validateCode:V,scopeValues:K._values};if(this.opts.unevaluated){let{props:w,items:L}=H;if(Z.evaluated={props:w instanceof i$.Name?void 0:w,items:L instanceof i$.Name?void 0:L,dynamicProps:w instanceof i$.Name,dynamicItems:L instanceof i$.Name},Z.source)Z.source.evaluated=(0,i$.stringify)(Z.evaluated)}return $.validate=Z,$}catch(V){if(delete $.validate,delete $.validateName,W)this.logger.error("Error compiling schema, function code:",W);throw V}finally{this._compilations.delete($)}}Ai.compileSchema=ZT;function WP0($,I,U){var Y;U=(0,n$.resolveUrl)(this.opts.uriResolver,I,U);let J=$.refs[U];if(J)return J;let Q=zP0.call(this,$,U);if(Q===void 0){let K=(Y=$.localRefs)===null||Y===void 0?void 0:Y[U],{schemaId:q}=this.opts;if(K)Q=new fQ({schema:K,schemaId:q,root:$,baseId:I})}if(Q===void 0)return;return $.refs[U]=VP0.call(this,Q)}Ai.resolveRef=WP0;function VP0($){if((0,n$.inlineRef)($.schema,this.opts.inlineRefs))return $.schema;return $.validate?$:ZT.call(this,$)}function Mi($){for(let I of this._compilations)if(ZP0(I,$))return I}Ai.getCompilingSchema=Mi;function ZP0($,I){return $.schema===I.schema&&$.root===I.root&&$.baseId===I.baseId}function zP0($,I){let U;while(typeof(U=this.refs[I])=="string")I=U;return U||this.schemas[I]||nW.call(this,$,I)}function nW($,I){let U=this.opts.uriResolver.parse(I),Y=(0,n$._getFullPath)(this.opts.uriResolver,U),J=(0,n$.getFullPath)(this.opts.uriResolver,$.baseId,void 0);if(Object.keys($.schema).length>0&&Y===J)return VT.call(this,U,$);let Q=(0,n$.normalizeId)(Y),K=this.refs[Q]||this.schemas[Q];if(typeof K=="string"){let q=nW.call(this,$,K);if(typeof(q===null||q===void 0?void 0:q.schema)!=="object")return;return VT.call(this,U,q)}if(typeof(K===null||K===void 0?void 0:K.schema)!=="object")return;if(!K.validate)ZT.call(this,K);if(Q===(0,n$.normalizeId)(I)){let{schema:q}=K,{schemaId:G}=this.opts,H=q[G];if(H)J=(0,n$.resolveUrl)(this.opts.uriResolver,J,H);return new fQ({schema:q,schemaId:G,root:$,baseId:J})}return VT.call(this,U,K)}Ai.resolveSchema=nW;var XP0=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function VT($,{baseId:I,schema:U,root:Y}){var J;if(((J=$.fragment)===null||J===void 0?void 0:J[0])!=="/")return;for(let q of $.fragment.slice(1).split("/")){if(typeof U==="boolean")return;let G=U[(0,Fi.unescapeFragment)(q)];if(G===void 0)return;U=G;let H=typeof U==="object"&&U[this.opts.schemaId];if(!XP0.has(q)&&H)I=(0,n$.resolveUrl)(this.opts.uriResolver,I,H)}let Q;if(typeof U!="boolean"&&U.$ref&&!(0,Fi.schemaHasRulesButRef)(U,this.RULES)){let q=(0,n$.resolveUrl)(this.opts.uriResolver,I,U.$ref);Q=nW.call(this,Y,q)}let{schemaId:K}=this.opts;if(Q=Q||new fQ({schema:U,schemaId:K,root:Y,baseId:I}),Q.schema!==Q.root.schema)return Q;return}});var Ti=O((AL1,NP0)=>{NP0.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var wT=O((PL1,ji)=>{var FP0=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),Bi=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),zT=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),Ri=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),MP0=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function XT($){let I="",U=0,Y=0;for(Y=0;Y<$.length;Y++){if(U=$[Y].charCodeAt(0),U===48)continue;if(!(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))return"";I+=$[Y];break}for(Y+=1;Y<$.length;Y++){if(U=$[Y].charCodeAt(0),!(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))return"";I+=$[Y]}return I}var AP0=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function Ei($){return $.length=0,!0}function PP0($,I,U){if($.length){let Y=XT($);if(Y!=="")I.push(Y);else return U.error=!0,!1;$.length=0}return!0}function TP0($){let I=0,U={error:!1,address:"",zone:""},Y=[],J=[],Q=!1,K=!1,q=PP0;for(let G=0;G<$.length;G++){let H=$[G];if(H==="["||H==="]")continue;if(H===":"){if(Q===!0)K=!0;if(!q(J,Y,U))break;if(++I>7){U.error=!0;break}if(G>0&&$[G-1]===":")Q=!0;Y.push(":");continue}else if(H==="%"){if(!q(J,Y,U))break;q=Ei}else{J.push(H);continue}}if(J.length)if(q===Ei)U.zone=J.join("");else if(K)Y.push(J.join(""));else Y.push(XT(J));return U.address=Y.join(""),U}function vi($){if(EP0($,":")<2)return{host:$,isIPV6:!1};let I=TP0($);if(!I.error){let{address:U,address:Y}=I;if(I.zone)U+="%"+I.zone,Y+="%25"+I.zone;return{host:U,isIPV6:!0,escapedHost:Y}}else return{host:$,isIPV6:!1}}function EP0($,I){let U=0;for(let Y=0;Y<$.length;Y++)if($[Y]===I)U++;return U}function BP0($){let I=$,U=[],Y=-1,J=0;while(J=I.length){if(J===1)if(I===".")break;else if(I==="/"){U.push("/");break}else{U.push(I);break}else if(J===2){if(I[0]==="."){if(I[1]===".")break;else if(I[1]==="/"){I=I.slice(2);continue}}else if(I[0]==="/"){if(I[1]==="."||I[1]==="/"){U.push("/");break}}}else if(J===3){if(I==="/.."){if(U.length!==0)U.pop();U.push("/");break}}if(I[0]==="."){if(I[1]==="."){if(I[2]==="/"){I=I.slice(3);continue}}else if(I[1]==="/"){I=I.slice(2);continue}}else if(I[0]==="/"){if(I[1]==="."){if(I[2]==="/"){I=I.slice(2);continue}else if(I[2]==="."){if(I[3]==="/"){if(I=I.slice(3),U.length!==0)U.pop();continue}}}}if((Y=I.indexOf("/",1))===-1){U.push(I);break}else U.push(I.slice(0,Y)),I=I.slice(Y)}return U.join("")}var RP0={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},vP0=/[@/?#:]/g,CP0=/[@/?#]/g;function Ci($,I){let U=I?CP0:vP0;return U.lastIndex=0,$.replace(U,(Y)=>RP0[Y])}function jP0($,I=!1){if($.indexOf("%")===-1)return $;let U="";for(let Y=0;Y<$.length;Y++){if($[Y]==="%"&&Y+2<$.length){let J=$.slice(Y+1,Y+3);if(zT(J)){let Q=J.toUpperCase(),K=String.fromCharCode(parseInt(Q,16));if(I&&Ri(K))U+=K;else U+="%"+Q;Y+=2;continue}}U+=$[Y]}return U}function _P0($){let I="";for(let U=0;U<$.length;U++){if($[U]==="%"&&U+2<$.length){let Y=$.slice(U+1,U+3);if(zT(Y)){let J=Y.toUpperCase(),Q=String.fromCharCode(parseInt(J,16));if(Q!=="."&&Ri(Q))I+=Q;else I+="%"+J;U+=2;continue}}if(MP0($[U]))I+=$[U];else I+=escape($[U])}return I}function SP0($){let I="";for(let U=0;U<$.length;U++){if($[U]==="%"&&U+2<$.length){let Y=$.slice(U+1,U+3);if(zT(Y)){I+="%"+Y.toUpperCase(),U+=2;continue}}I+=escape($[U])}return I}function gP0($){let I=[];if($.userinfo!==void 0)I.push($.userinfo),I.push("@");if($.host!==void 0){let U=unescape($.host);if(!Bi(U)){let Y=vi(U);if(Y.isIPV6===!0)U=`[${Y.escapedHost}]`;else U=Ci(U,!1)}I.push(U)}if(typeof $.port==="number"||typeof $.port==="string")I.push(":"),I.push(String($.port));return I.length?I.join(""):void 0}ji.exports={nonSimpleDomain:AP0,recomposeAuthority:gP0,reescapeHostDelimiters:Ci,normalizePercentEncoding:jP0,normalizePathEncoding:_P0,escapePreservingEscapes:SP0,removeDotSegments:BP0,isIPv4:Bi,isUUID:FP0,normalizeIPv6:vi,stringArrayToHexStripped:XT}});var hi=O((TL1,yi)=>{var{isUUID:yP0}=wT(),hP0=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,xP0=["http","https","ws","wss","urn","urn:uuid"];function kP0($){return xP0.indexOf($)!==-1}function LT($){if($.secure===!0)return!0;else if($.secure===!1)return!1;else if($.scheme)return $.scheme.length===3&&($.scheme[0]==="w"||$.scheme[0]==="W")&&($.scheme[1]==="s"||$.scheme[1]==="S")&&($.scheme[2]==="s"||$.scheme[2]==="S");else return!1}function _i($){if(!$.host)$.error=$.error||"HTTP URIs must have a host.";return $}function Si($){let I=String($.scheme).toLowerCase()==="https";if($.port===(I?443:80)||$.port==="")$.port=void 0;if(!$.path)$.path="/";return $}function uP0($){return $.secure=LT($),$.resourceName=($.path||"/")+($.query?"?"+$.query:""),$.path=void 0,$.query=void 0,$}function fP0($){if($.port===(LT($)?443:80)||$.port==="")$.port=void 0;if(typeof $.secure==="boolean")$.scheme=$.secure?"wss":"ws",$.secure=void 0;if($.resourceName){let[I,U]=$.resourceName.split("?");$.path=I&&I!=="/"?I:void 0,$.query=U,$.resourceName=void 0}return $.fragment=void 0,$}function bP0($,I){if(!$.path)return $.error="URN can not be parsed",$;let U=$.path.match(hP0);if(U){let Y=I.scheme||$.scheme||"urn";$.nid=U[1].toLowerCase(),$.nss=U[2];let J=`${Y}:${I.nid||$.nid}`,Q=DT(J);if($.path=void 0,Q)$=Q.parse($,I)}else $.error=$.error||"URN can not be parsed.";return $}function iP0($,I){if($.nid===void 0)throw Error("URN without nid cannot be serialized");let U=I.scheme||$.scheme||"urn",Y=$.nid.toLowerCase(),J=`${U}:${I.nid||Y}`,Q=DT(J);if(Q)$=Q.serialize($,I);let K=$,q=$.nss;return K.path=`${Y||I.nid}:${q}`,I.skipEscape=!0,K}function nP0($,I){let U=$;if(U.uuid=U.nss,U.nss=void 0,!I.tolerant&&(!U.uuid||!yP0(U.uuid)))U.error=U.error||"UUID is not valid.";return U}function pP0($){let I=$;return I.nss=($.uuid||"").toLowerCase(),I}var gi={scheme:"http",domainHost:!0,parse:_i,serialize:Si},cP0={scheme:"https",domainHost:gi.domainHost,parse:_i,serialize:Si},cW={scheme:"ws",domainHost:!0,parse:uP0,serialize:fP0},dP0={scheme:"wss",domainHost:cW.domainHost,parse:cW.parse,serialize:cW.serialize},mP0={scheme:"urn",parse:bP0,serialize:iP0,skipNormalize:!0},lP0={scheme:"urn:uuid",parse:nP0,serialize:pP0,skipNormalize:!0},dW={http:gi,https:cP0,ws:cW,wss:dP0,urn:mP0,"urn:uuid":lP0};Object.setPrototypeOf(dW,null);function DT($){return $&&(dW[$]||dW[$.toLowerCase()])||void 0}yi.exports={wsIsSecure:LT,SCHEMES:dW,isValidSchemeName:kP0,getSchemeHandler:DT}});var ii=O((EL1,mW)=>{var{normalizeIPv6:oP0,removeDotSegments:bQ,recomposeAuthority:rP0,normalizePercentEncoding:tP0,normalizePathEncoding:aP0,escapePreservingEscapes:sP0,reescapeHostDelimiters:eP0,isIPv4:$T0,nonSimpleDomain:IT0}=wT(),{SCHEMES:UT0,getSchemeHandler:ki}=hi();function YT0($,I){if(typeof $==="string")$=GT0($,I);else if(typeof $==="object")$=IU(_7($,I),I);return $}function JT0($,I,U){let Y=U?Object.assign({scheme:"null"},U):{scheme:"null"},J=ui(IU($,Y),IU(I,Y),Y,!0);return Y.skipEscape=!0,_7(J,Y)}function ui($,I,U,Y){let J={};if(!Y)$=IU(_7($,U),U),I=IU(_7(I,U),U);if(U=U||{},!U.tolerant&&I.scheme)J.scheme=I.scheme,J.userinfo=I.userinfo,J.host=I.host,J.port=I.port,J.path=bQ(I.path||""),J.query=I.query;else{if(I.userinfo!==void 0||I.host!==void 0||I.port!==void 0)J.userinfo=I.userinfo,J.host=I.host,J.port=I.port,J.path=bQ(I.path||""),J.query=I.query;else{if(!I.path)if(J.path=$.path,I.query!==void 0)J.query=I.query;else J.query=$.query;else{if(I.path[0]==="/")J.path=bQ(I.path);else{if(($.userinfo!==void 0||$.host!==void 0||$.port!==void 0)&&!$.path)J.path="/"+I.path;else if(!$.path)J.path=I.path;else J.path=$.path.slice(0,$.path.lastIndexOf("/")+1)+I.path;J.path=bQ(J.path)}J.query=I.query}J.userinfo=$.userinfo,J.host=$.host,J.port=$.port}J.scheme=$.scheme}return J.fragment=I.fragment,J}function QT0($,I,U){let Y=xi($,U),J=xi(I,U);return Y!==void 0&&J!==void 0&&Y.toLowerCase()===J.toLowerCase()}function _7($,I){let U={host:$.host,scheme:$.scheme,userinfo:$.userinfo,port:$.port,path:$.path,query:$.query,nid:$.nid,nss:$.nss,uuid:$.uuid,fragment:$.fragment,reference:$.reference,resourceName:$.resourceName,secure:$.secure,error:""},Y=Object.assign({},I),J=[],Q=ki(Y.scheme||U.scheme);if(Q&&Q.serialize)Q.serialize(U,Y);if(U.path!==void 0)if(!Y.skipEscape){if(U.path=sP0(U.path),U.scheme!==void 0)U.path=U.path.split("%3A").join(":")}else U.path=tP0(U.path);if(Y.reference!=="suffix"&&U.scheme)J.push(U.scheme,":");let K=rP0(U);if(K!==void 0){if(Y.reference!=="suffix")J.push("//");if(J.push(K),U.path&&U.path[0]!=="/")J.push("/")}if(U.path!==void 0){let q=U.path;if(!Y.absolutePath&&(!Q||!Q.absolutePath))q=bQ(q);if(K===void 0&&q[0]==="/"&&q[1]==="/")q="/%2F"+q.slice(2);J.push(q)}if(U.query!==void 0)J.push("?",U.query);if(U.fragment!==void 0)J.push("#",U.fragment);return J.join("")}var KT0=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function qT0($,I){if(I[2]!==void 0&&$.path&&$.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof $.port==="number"&&($.port<0||$.port>65535))return"URI port is malformed.";return}function fi($,I){let U=Object.assign({},I),Y={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},J=!1,Q=!1;if(U.reference==="suffix")if(U.scheme)$=U.scheme+":"+$;else $="//"+$;let K=$.match(KT0);if(K){if(Y.scheme=K[1],Y.userinfo=K[3],Y.host=K[4],Y.port=parseInt(K[5],10),Y.path=K[6]||"",Y.query=K[7],Y.fragment=K[8],isNaN(Y.port))Y.port=K[5];let q=qT0(Y,K);if(q!==void 0)Y.error=Y.error||q,J=!0;if(Y.host)if($T0(Y.host)===!1){let W=oP0(Y.host);Y.host=W.host.toLowerCase(),Q=W.isIPV6}else Q=!0;if(Y.scheme===void 0&&Y.userinfo===void 0&&Y.host===void 0&&Y.port===void 0&&Y.query===void 0&&!Y.path)Y.reference="same-document";else if(Y.scheme===void 0)Y.reference="relative";else if(Y.fragment===void 0)Y.reference="absolute";else Y.reference="uri";if(U.reference&&U.reference!=="suffix"&&U.reference!==Y.reference)Y.error=Y.error||"URI is not a "+U.reference+" reference.";let G=ki(U.scheme||Y.scheme);if(!U.unicodeSupport&&(!G||!G.unicodeSupport)){if(Y.host&&(U.domainHost||G&&G.domainHost)&&Q===!1&&IT0(Y.host))try{Y.host=URL.domainToASCII(Y.host.toLowerCase())}catch(H){Y.error=Y.error||"Host's domain name can not be converted to ASCII: "+H}}if(!G||G&&!G.skipNormalize){if($.indexOf("%")!==-1){if(Y.scheme!==void 0)Y.scheme=unescape(Y.scheme);if(Y.host!==void 0)Y.host=eP0(unescape(Y.host),Q)}if(Y.path)Y.path=aP0(Y.path);if(Y.fragment)try{Y.fragment=encodeURI(decodeURIComponent(Y.fragment))}catch{Y.error=Y.error||"URI malformed"}}if(G&&G.parse)G.parse(Y,U)}else Y.error=Y.error||"URI can not be parsed.";return{parsed:Y,malformedAuthorityOrPort:J}}function IU($,I){return fi($,I).parsed}function GT0($,I){return bi($,I).normalized}function bi($,I){let{parsed:U,malformedAuthorityOrPort:Y}=fi($,I);return{normalized:Y?$:_7(U,I),malformedAuthorityOrPort:Y}}function xi($,I){if(typeof $==="string"){let{normalized:U,malformedAuthorityOrPort:Y}=bi($,I);return Y?void 0:U}if(typeof $==="object")return _7($,I)}var OT={SCHEMES:UT0,normalize:YT0,resolve:JT0,resolveComponent:ui,equal:QT0,serialize:_7,parse:IU};mW.exports=OT;mW.exports.default=OT;mW.exports.fastUri=OT});var ci=O((pi)=>{Object.defineProperty(pi,"__esModule",{value:!0});var ni=ii();ni.code='require("ajv/dist/runtime/uri").default';pi.default=ni});var si=O(($5)=>{Object.defineProperty($5,"__esModule",{value:!0});$5.CodeGen=$5.Name=$5.nil=$5.stringify=$5.str=$5._=$5.KeywordCxt=void 0;var WT0=kQ();Object.defineProperty($5,"KeywordCxt",{enumerable:!0,get:function(){return WT0.KeywordCxt}});var UU=t0();Object.defineProperty($5,"_",{enumerable:!0,get:function(){return UU._}});Object.defineProperty($5,"str",{enumerable:!0,get:function(){return UU.str}});Object.defineProperty($5,"stringify",{enumerable:!0,get:function(){return UU.stringify}});Object.defineProperty($5,"nil",{enumerable:!0,get:function(){return UU.nil}});Object.defineProperty($5,"Name",{enumerable:!0,get:function(){return UU.Name}});Object.defineProperty($5,"CodeGen",{enumerable:!0,get:function(){return UU.CodeGen}});var VT0=iW(),ri=uQ(),ZT0=tP(),iQ=pW(),zT0=t0(),nQ=yQ(),lW=gQ(),FT=V1(),di=Ti(),XT0=ci(),ti=($,I)=>new RegExp($,I);ti.code="new RegExp";var wT0=["removeAdditional","useDefaults","coerceTypes"],LT0=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),DT0={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},OT0={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},mi=200;function NT0($){var I,U,Y,J,Q,K,q,G,H,W,V,z,Z,w,L,D,N,E,T,A,v,u,g,b,C;let p=$.strict,n=(I=$.code)===null||I===void 0?void 0:I.optimize,S=n===!0||n===void 0?1:n||0,f=(Y=(U=$.code)===null||U===void 0?void 0:U.regExp)!==null&&Y!==void 0?Y:ti,i=(J=$.uriResolver)!==null&&J!==void 0?J:XT0.default;return{strictSchema:(K=(Q=$.strictSchema)!==null&&Q!==void 0?Q:p)!==null&&K!==void 0?K:!0,strictNumbers:(G=(q=$.strictNumbers)!==null&&q!==void 0?q:p)!==null&&G!==void 0?G:!0,strictTypes:(W=(H=$.strictTypes)!==null&&H!==void 0?H:p)!==null&&W!==void 0?W:"log",strictTuples:(z=(V=$.strictTuples)!==null&&V!==void 0?V:p)!==null&&z!==void 0?z:"log",strictRequired:(w=(Z=$.strictRequired)!==null&&Z!==void 0?Z:p)!==null&&w!==void 0?w:!1,code:$.code?{...$.code,optimize:S,regExp:f}:{optimize:S,regExp:f},loopRequired:(L=$.loopRequired)!==null&&L!==void 0?L:mi,loopEnum:(D=$.loopEnum)!==null&&D!==void 0?D:mi,meta:(N=$.meta)!==null&&N!==void 0?N:!0,messages:(E=$.messages)!==null&&E!==void 0?E:!0,inlineRefs:(T=$.inlineRefs)!==null&&T!==void 0?T:!0,schemaId:(A=$.schemaId)!==null&&A!==void 0?A:"$id",addUsedSchema:(v=$.addUsedSchema)!==null&&v!==void 0?v:!0,validateSchema:(u=$.validateSchema)!==null&&u!==void 0?u:!0,validateFormats:(g=$.validateFormats)!==null&&g!==void 0?g:!0,unicodeRegExp:(b=$.unicodeRegExp)!==null&&b!==void 0?b:!0,int32range:(C=$.int32range)!==null&&C!==void 0?C:!0,uriResolver:i}}class oW{constructor($={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,$=this.opts={...$,...NT0($)};let{es5:I,lines:U}=this.opts.code;this.scope=new zT0.ValueScope({scope:{},prefixes:LT0,es5:I,lines:U}),this.logger=ET0($.logger);let Y=$.validateFormats;if($.validateFormats=!1,this.RULES=(0,ZT0.getRules)(),li.call(this,DT0,$,"NOT SUPPORTED"),li.call(this,OT0,$,"DEPRECATED","warn"),this._metaOpts=PT0.call(this),$.formats)MT0.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),$.keywords)AT0.call(this,$.keywords);if(typeof $.meta=="object")this.addMetaSchema($.meta);FT0.call(this),$.validateFormats=Y}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:$,meta:I,schemaId:U}=this.opts,Y=di;if(U==="id")Y={...di},Y.id=Y.$id,delete Y.$id;if(I&&$)this.addMetaSchema(Y,Y[U],!1)}defaultMeta(){let{meta:$,schemaId:I}=this.opts;return this.opts.defaultMeta=typeof $=="object"?$[I]||$:void 0}validate($,I){let U;if(typeof $=="string"){if(U=this.getSchema($),!U)throw Error(`no schema with key or ref "${$}"`)}else U=this.compile($);let Y=U(I);if(!("$async"in U))this.errors=U.errors;return Y}compile($,I){let U=this._addSchema($,I);return U.validate||this._compileSchemaEnv(U)}compileAsync($,I){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:U}=this.opts;return Y.call(this,$,I);async function Y(H,W){await J.call(this,H.$schema);let V=this._addSchema(H,W);return V.validate||Q.call(this,V)}async function J(H){if(H&&!this.getSchema(H))await Y.call(this,{$ref:H},!0)}async function Q(H){try{return this._compileSchemaEnv(H)}catch(W){if(!(W instanceof ri.default))throw W;return K.call(this,W),await q.call(this,W.missingSchema),Q.call(this,H)}}function K({missingSchema:H,missingRef:W}){if(this.refs[H])throw Error(`AnySchema ${H} is loaded but ${W} cannot be resolved`)}async function q(H){let W=await G.call(this,H);if(!this.refs[H])await J.call(this,W.$schema);if(!this.refs[H])this.addSchema(W,H,I)}async function G(H){let W=this._loading[H];if(W)return W;try{return await(this._loading[H]=U(H))}finally{delete this._loading[H]}}}addSchema($,I,U,Y=this.opts.validateSchema){if(Array.isArray($)){for(let Q of $)this.addSchema(Q,void 0,U,Y);return this}let J;if(typeof $==="object"){let{schemaId:Q}=this.opts;if(J=$[Q],J!==void 0&&typeof J!="string")throw Error(`schema ${Q} must be string`)}return I=(0,nQ.normalizeId)(I||J),this._checkUnique(I),this.schemas[I]=this._addSchema($,U,I,Y,!0),this}addMetaSchema($,I,U=this.opts.validateSchema){return this.addSchema($,I,!0,U),this}validateSchema($,I){if(typeof $=="boolean")return!0;let U;if(U=$.$schema,U!==void 0&&typeof U!="string")throw Error("$schema must be a string");if(U=U||this.opts.defaultMeta||this.defaultMeta(),!U)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let Y=this.validate(U,$);if(!Y&&I){let J="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(J);else throw Error(J)}return Y}getSchema($){let I;while(typeof(I=oi.call(this,$))=="string")$=I;if(I===void 0){let{schemaId:U}=this.opts,Y=new iQ.SchemaEnv({schema:{},schemaId:U});if(I=iQ.resolveSchema.call(this,Y,$),!I)return;this.refs[$]=I}return I.validate||this._compileSchemaEnv(I)}removeSchema($){if($ instanceof RegExp)return this._removeAllSchemas(this.schemas,$),this._removeAllSchemas(this.refs,$),this;switch(typeof $){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let I=oi.call(this,$);if(typeof I=="object")this._cache.delete(I.schema);return delete this.schemas[$],delete this.refs[$],this}case"object":{let I=$;this._cache.delete(I);let U=$[this.opts.schemaId];if(U)U=(0,nQ.normalizeId)(U),delete this.schemas[U],delete this.refs[U];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary($){for(let I of $)this.addKeyword(I);return this}addKeyword($,I){let U;if(typeof $=="string"){if(U=$,typeof I=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),I.keyword=U}else if(typeof $=="object"&&I===void 0){if(I=$,U=I.keyword,Array.isArray(U)&&!U.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(RT0.call(this,U,I),!I)return(0,FT.eachItem)(U,(J)=>NT.call(this,J)),this;CT0.call(this,I);let Y={...I,type:(0,lW.getJSONTypes)(I.type),schemaType:(0,lW.getJSONTypes)(I.schemaType)};return(0,FT.eachItem)(U,Y.type.length===0?(J)=>NT.call(this,J,Y):(J)=>Y.type.forEach((Q)=>NT.call(this,J,Y,Q))),this}getKeyword($){let I=this.RULES.all[$];return typeof I=="object"?I.definition:!!I}removeKeyword($){let{RULES:I}=this;delete I.keywords[$],delete I.all[$];for(let U of I.rules){let Y=U.rules.findIndex((J)=>J.keyword===$);if(Y>=0)U.rules.splice(Y,1)}return this}addFormat($,I){if(typeof I=="string")I=new RegExp(I);return this.formats[$]=I,this}errorsText($=this.errors,{separator:I=", ",dataVar:U="data"}={}){if(!$||$.length===0)return"No errors";return $.map((Y)=>`${U}${Y.instancePath} ${Y.message}`).reduce((Y,J)=>Y+I+J)}$dataMetaSchema($,I){let U=this.RULES.all;$=JSON.parse(JSON.stringify($));for(let Y of I){let J=Y.split("/").slice(1),Q=$;for(let K of J)Q=Q[K];for(let K in U){let q=U[K];if(typeof q!="object")continue;let{$data:G}=q.definition,H=Q[K];if(G&&H)Q[K]=ai(H)}}return $}_removeAllSchemas($,I){for(let U in $){let Y=$[U];if(!I||I.test(U)){if(typeof Y=="string")delete $[U];else if(Y&&!Y.meta)this._cache.delete(Y.schema),delete $[U]}}}_addSchema($,I,U,Y=this.opts.validateSchema,J=this.opts.addUsedSchema){let Q,{schemaId:K}=this.opts;if(typeof $=="object")Q=$[K];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof $!="boolean")throw Error("schema must be object or boolean");let q=this._cache.get($);if(q!==void 0)return q;U=(0,nQ.normalizeId)(Q||U);let G=nQ.getSchemaRefs.call(this,$,U);if(q=new iQ.SchemaEnv({schema:$,schemaId:K,meta:I,baseId:U,localRefs:G}),this._cache.set(q.schema,q),J&&!U.startsWith("#")){if(U)this._checkUnique(U);this.refs[U]=q}if(Y)this.validateSchema($,!0);return q}_checkUnique($){if(this.schemas[$]||this.refs[$])throw Error(`schema with key or id "${$}" already exists`)}_compileSchemaEnv($){if($.meta)this._compileMetaSchema($);else iQ.compileSchema.call(this,$);if(!$.validate)throw Error("ajv implementation error");return $.validate}_compileMetaSchema($){let I=this.opts;this.opts=this._metaOpts;try{iQ.compileSchema.call(this,$)}finally{this.opts=I}}}oW.ValidationError=VT0.default;oW.MissingRefError=ri.default;$5.default=oW;function li($,I,U,Y="error"){for(let J in $){let Q=J;if(Q in I)this.logger[Y](`${U}: option ${J}. ${$[Q]}`)}}function oi($){return $=(0,nQ.normalizeId)($),this.schemas[$]||this.refs[$]}function FT0(){let $=this.opts.schemas;if(!$)return;if(Array.isArray($))this.addSchema($);else for(let I in $)this.addSchema($[I],I)}function MT0(){for(let $ in this.opts.formats){let I=this.opts.formats[$];if(I)this.addFormat($,I)}}function AT0($){if(Array.isArray($)){this.addVocabulary($);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let I in $){let U=$[I];if(!U.keyword)U.keyword=I;this.addKeyword(U)}}function PT0(){let $={...this.opts};for(let I of wT0)delete $[I];return $}var TT0={log(){},warn(){},error(){}};function ET0($){if($===!1)return TT0;if($===void 0)return console;if($.log&&$.warn&&$.error)return $;throw Error("logger must implement log, warn and error methods")}var BT0=/^[a-z_$][a-z0-9_$:-]*$/i;function RT0($,I){let{RULES:U}=this;if((0,FT.eachItem)($,(Y)=>{if(U.keywords[Y])throw Error(`Keyword ${Y} is already defined`);if(!BT0.test(Y))throw Error(`Keyword ${Y} has invalid name`)}),!I)return;if(I.$data&&!(("code"in I)||("validate"in I)))throw Error('$data keyword must have "code" or "validate" function')}function NT($,I,U){var Y;let J=I===null||I===void 0?void 0:I.post;if(U&&J)throw Error('keyword with "post" flag cannot have "type"');let{RULES:Q}=this,K=J?Q.post:Q.rules.find(({type:G})=>G===U);if(!K)K={type:U,rules:[]},Q.rules.push(K);if(Q.keywords[$]=!0,!I)return;let q={keyword:$,definition:{...I,type:(0,lW.getJSONTypes)(I.type),schemaType:(0,lW.getJSONTypes)(I.schemaType)}};if(I.before)vT0.call(this,K,q,I.before);else K.rules.push(q);Q.all[$]=q,(Y=I.implements)===null||Y===void 0||Y.forEach((G)=>this.addKeyword(G))}function vT0($,I,U){let Y=$.rules.findIndex((J)=>J.keyword===U);if(Y>=0)$.rules.splice(Y,0,I);else $.rules.push(I),this.logger.warn(`rule ${U} is not defined`)}function CT0($){let{metaSchema:I}=$;if(I===void 0)return;if($.$data&&this.opts.$data)I=ai(I);$.validateSchema=this.compile(I,!0)}var jT0={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ai($){return{anyOf:[$,jT0]}}});var $n=O((ei)=>{Object.defineProperty(ei,"__esModule",{value:!0});var gT0={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};ei.default=gT0});var Kn=O((Jn)=>{Object.defineProperty(Jn,"__esModule",{value:!0});Jn.callRef=Jn.getValidate=void 0;var hT0=uQ(),In=D$(),f6=t0(),YU=s8(),Un=pW(),rW=V1(),xT0={keyword:"$ref",schemaType:"string",code($){let{gen:I,schema:U,it:Y}=$,{baseId:J,schemaEnv:Q,validateName:K,opts:q,self:G}=Y,{root:H}=Q;if((U==="#"||U==="#/")&&J===H.baseId)return V();let W=Un.resolveRef.call(G,H,J,U);if(W===void 0)throw new hT0.default(Y.opts.uriResolver,J,U);if(W instanceof Un.SchemaEnv)return z(W);return Z(W);function V(){if(Q===H)return tW($,K,Q,Q.$async);let w=I.scopeValue("root",{ref:H});return tW($,f6._`${w}.validate`,H,H.$async)}function z(w){let L=Yn($,w);tW($,L,w,w.$async)}function Z(w){let L=I.scopeValue("schema",q.code.source===!0?{ref:w,code:(0,f6.stringify)(w)}:{ref:w}),D=I.name("valid"),N=$.subschema({schema:w,dataTypes:[],schemaPath:f6.nil,topSchemaRef:L,errSchemaPath:U},D);$.mergeEvaluated(N),$.ok(D)}}};function Yn($,I){let{gen:U}=$;return I.validate?U.scopeValue("validate",{ref:I.validate}):f6._`${U.scopeValue("wrapper",{ref:I})}.validate`}Jn.getValidate=Yn;function tW($,I,U,Y){let{gen:J,it:Q}=$,{allErrors:K,schemaEnv:q,opts:G}=Q,H=G.passContext?YU.default.this:f6.nil;if(Y)W();else V();function W(){if(!q.$async)throw Error("async schema referenced by sync schema");let w=J.let("valid");J.try(()=>{if(J.code(f6._`await ${(0,In.callValidateCode)($,I,H)}`),Z(I),!K)J.assign(w,!0)},(L)=>{if(J.if(f6._`!(${L} instanceof ${Q.ValidationError})`,()=>J.throw(L)),z(L),!K)J.assign(w,!1)}),$.ok(w)}function V(){$.result((0,In.callValidateCode)($,I,H),()=>Z(I),()=>z(I))}function z(w){let L=f6._`${w}.errors`;J.assign(YU.default.vErrors,f6._`${YU.default.vErrors} === null ? ${L} : ${YU.default.vErrors}.concat(${L})`),J.assign(YU.default.errors,f6._`${YU.default.vErrors}.length`)}function Z(w){var L;if(!Q.opts.unevaluated)return;let D=(L=U===null||U===void 0?void 0:U.validate)===null||L===void 0?void 0:L.evaluated;if(Q.props!==!0)if(D&&!D.dynamicProps){if(D.props!==void 0)Q.props=rW.mergeEvaluated.props(J,D.props,Q.props)}else{let N=J.var("props",f6._`${w}.evaluated.props`);Q.props=rW.mergeEvaluated.props(J,N,Q.props,f6.Name)}if(Q.items!==!0)if(D&&!D.dynamicItems){if(D.items!==void 0)Q.items=rW.mergeEvaluated.items(J,D.items,Q.items)}else{let N=J.var("items",f6._`${w}.evaluated.items`);Q.items=rW.mergeEvaluated.items(J,N,Q.items,f6.Name)}}}Jn.callRef=tW;Jn.default=xT0});var Gn=O((qn)=>{Object.defineProperty(qn,"__esModule",{value:!0});var fT0=$n(),bT0=Kn(),iT0=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",fT0.default,bT0.default];qn.default=iT0});var Wn=O((Hn)=>{Object.defineProperty(Hn,"__esModule",{value:!0});var aW=t0(),H9=aW.operators,sW={maximum:{okStr:"<=",ok:H9.LTE,fail:H9.GT},minimum:{okStr:">=",ok:H9.GTE,fail:H9.LT},exclusiveMaximum:{okStr:"<",ok:H9.LT,fail:H9.GTE},exclusiveMinimum:{okStr:">",ok:H9.GT,fail:H9.LTE}},pT0={message:({keyword:$,schemaCode:I})=>aW.str`must be ${sW[$].okStr} ${I}`,params:({keyword:$,schemaCode:I})=>aW._`{comparison: ${sW[$].okStr}, limit: ${I}}`},cT0={keyword:Object.keys(sW),type:"number",schemaType:"number",$data:!0,error:pT0,code($){let{keyword:I,data:U,schemaCode:Y}=$;$.fail$data(aW._`${U} ${sW[I].fail} ${Y} || isNaN(${U})`)}};Hn.default=cT0});var Zn=O((Vn)=>{Object.defineProperty(Vn,"__esModule",{value:!0});var pQ=t0(),mT0={message:({schemaCode:$})=>pQ.str`must be multiple of ${$}`,params:({schemaCode:$})=>pQ._`{multipleOf: ${$}}`},lT0={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:mT0,code($){let{gen:I,data:U,schemaCode:Y,it:J}=$,Q=J.opts.multipleOfPrecision,K=I.let("res"),q=Q?pQ._`Math.abs(Math.round(${K}) - ${K}) > 1e-${Q}`:pQ._`${K} !== parseInt(${K})`;$.fail$data(pQ._`(${Y} === 0 || (${K} = ${U}/${Y}, ${q}))`)}};Vn.default=lT0});var wn=O((Xn)=>{Object.defineProperty(Xn,"__esModule",{value:!0});function zn($){let I=$.length,U=0,Y=0,J;while(Y=55296&&J<=56319&&Y{Object.defineProperty(Ln,"__esModule",{value:!0});var S7=t0(),tT0=V1(),aT0=wn(),sT0={message({keyword:$,schemaCode:I}){let U=$==="maxLength"?"more":"fewer";return S7.str`must NOT have ${U} than ${I} characters`},params:({schemaCode:$})=>S7._`{limit: ${$}}`},eT0={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:sT0,code($){let{keyword:I,data:U,schemaCode:Y,it:J}=$,Q=I==="maxLength"?S7.operators.GT:S7.operators.LT,K=J.opts.unicode===!1?S7._`${U}.length`:S7._`${(0,tT0.useFunc)($.gen,aT0.default)}(${U})`;$.fail$data(S7._`${K} ${Q} ${Y}`)}};Ln.default=eT0});var Nn=O((On)=>{Object.defineProperty(On,"__esModule",{value:!0});var IE0=D$(),UE0=V1(),JU=t0(),YE0={message:({schemaCode:$})=>JU.str`must match pattern "${$}"`,params:({schemaCode:$})=>JU._`{pattern: ${$}}`},JE0={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:YE0,code($){let{gen:I,data:U,$data:Y,schema:J,schemaCode:Q,it:K}=$,q=K.opts.unicodeRegExp?"u":"";if(Y){let{regExp:G}=K.opts.code,H=G.code==="new RegExp"?JU._`new RegExp`:(0,UE0.useFunc)(I,G),W=I.let("valid");I.try(()=>I.assign(W,JU._`${H}(${Q}, ${q}).test(${U})`),()=>I.assign(W,!1)),$.fail$data(JU._`!${W}`)}else{let G=(0,IE0.usePattern)($,J);$.fail$data(JU._`!${G}.test(${U})`)}}};On.default=JE0});var Mn=O((Fn)=>{Object.defineProperty(Fn,"__esModule",{value:!0});var cQ=t0(),KE0={message({keyword:$,schemaCode:I}){let U=$==="maxProperties"?"more":"fewer";return cQ.str`must NOT have ${U} than ${I} properties`},params:({schemaCode:$})=>cQ._`{limit: ${$}}`},qE0={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:KE0,code($){let{keyword:I,data:U,schemaCode:Y}=$,J=I==="maxProperties"?cQ.operators.GT:cQ.operators.LT;$.fail$data(cQ._`Object.keys(${U}).length ${J} ${Y}`)}};Fn.default=qE0});var Pn=O((An)=>{Object.defineProperty(An,"__esModule",{value:!0});var dQ=D$(),mQ=t0(),HE0=V1(),WE0={message:({params:{missingProperty:$}})=>mQ.str`must have required property '${$}'`,params:({params:{missingProperty:$}})=>mQ._`{missingProperty: ${$}}`},VE0={keyword:"required",type:"object",schemaType:"array",$data:!0,error:WE0,code($){let{gen:I,schema:U,schemaCode:Y,data:J,$data:Q,it:K}=$,{opts:q}=K;if(!Q&&U.length===0)return;let G=U.length>=q.loopRequired;if(K.allErrors)H();else W();if(q.strictRequired){let Z=$.parentSchema.properties,{definedProperties:w}=$.it;for(let L of U)if((Z===null||Z===void 0?void 0:Z[L])===void 0&&!w.has(L)){let D=K.schemaEnv.baseId+K.errSchemaPath,N=`required property "${L}" is not defined at "${D}" (strictRequired)`;(0,HE0.checkStrictMode)(K,N,K.opts.strictRequired)}}function H(){if(G||Q)$.block$data(mQ.nil,V);else for(let Z of U)(0,dQ.checkReportMissingProp)($,Z)}function W(){let Z=I.let("missing");if(G||Q){let w=I.let("valid",!0);$.block$data(w,()=>z(Z,w)),$.ok(w)}else I.if((0,dQ.checkMissingProp)($,U,Z)),(0,dQ.reportMissingProp)($,Z),I.else()}function V(){I.forOf("prop",Y,(Z)=>{$.setParams({missingProperty:Z}),I.if((0,dQ.noPropertyInData)(I,J,Z,q.ownProperties),()=>$.error())})}function z(Z,w){$.setParams({missingProperty:Z}),I.forOf(Z,Y,()=>{I.assign(w,(0,dQ.propertyInData)(I,J,Z,q.ownProperties)),I.if((0,mQ.not)(w),()=>{$.error(),I.break()})},mQ.nil)}}};An.default=VE0});var En=O((Tn)=>{Object.defineProperty(Tn,"__esModule",{value:!0});var lQ=t0(),zE0={message({keyword:$,schemaCode:I}){let U=$==="maxItems"?"more":"fewer";return lQ.str`must NOT have ${U} than ${I} items`},params:({schemaCode:$})=>lQ._`{limit: ${$}}`},XE0={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:zE0,code($){let{keyword:I,data:U,schemaCode:Y}=$,J=I==="maxItems"?lQ.operators.GT:lQ.operators.LT;$.fail$data(lQ._`${U}.length ${J} ${Y}`)}};Tn.default=XE0});var eW=O((Rn)=>{Object.defineProperty(Rn,"__esModule",{value:!0});var Bn=JT();Bn.code='require("ajv/dist/runtime/equal").default';Rn.default=Bn});var Cn=O((vn)=>{Object.defineProperty(vn,"__esModule",{value:!0});var MT=gQ(),a4=t0(),DE0=V1(),OE0=eW(),NE0={message:({params:{i:$,j:I}})=>a4.str`must NOT have duplicate items (items ## ${I} and ${$} are identical)`,params:({params:{i:$,j:I}})=>a4._`{i: ${$}, j: ${I}}`},FE0={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:NE0,code($){let{gen:I,data:U,$data:Y,schema:J,parentSchema:Q,schemaCode:K,it:q}=$;if(!Y&&!J)return;let G=I.let("valid"),H=Q.items?(0,MT.getSchemaTypes)(Q.items):[];$.block$data(G,W,a4._`${K} === false`),$.ok(G);function W(){let w=I.let("i",a4._`${U}.length`),L=I.let("j");$.setParams({i:w,j:L}),I.assign(G,!0),I.if(a4._`${w} > 1`,()=>(V()?z:Z)(w,L))}function V(){return H.length>0&&!H.some((w)=>w==="object"||w==="array")}function z(w,L){let D=I.name("item"),N=(0,MT.checkDataTypes)(H,D,q.opts.strictNumbers,MT.DataType.Wrong),E=I.const("indices",a4._`{}`);I.for(a4._`;${w}--;`,()=>{if(I.let(D,a4._`${U}[${w}]`),I.if(N,a4._`continue`),H.length>1)I.if(a4._`typeof ${D} == "string"`,a4._`${D} += "_"`);I.if(a4._`typeof ${E}[${D}] == "number"`,()=>{I.assign(L,a4._`${E}[${D}]`),$.error(),I.assign(G,!1).break()}).code(a4._`${E}[${D}] = ${w}`)})}function Z(w,L){let D=(0,DE0.useFunc)(I,OE0.default),N=I.name("outer");I.label(N).for(a4._`;${w}--;`,()=>I.for(a4._`${L} = ${w}; ${L}--;`,()=>I.if(a4._`${D}(${U}[${w}], ${U}[${L}])`,()=>{$.error(),I.assign(G,!1).break(N)})))}}};vn.default=FE0});var _n=O((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});var AT=t0(),AE0=V1(),PE0=eW(),TE0={message:"must be equal to constant",params:({schemaCode:$})=>AT._`{allowedValue: ${$}}`},EE0={keyword:"const",$data:!0,error:TE0,code($){let{gen:I,data:U,$data:Y,schemaCode:J,schema:Q}=$;if(Y||Q&&typeof Q=="object")$.fail$data(AT._`!${(0,AE0.useFunc)(I,PE0.default)}(${U}, ${J})`);else $.fail(AT._`${Q} !== ${U}`)}};jn.default=EE0});var gn=O((Sn)=>{Object.defineProperty(Sn,"__esModule",{value:!0});var oQ=t0(),RE0=V1(),vE0=eW(),CE0={message:"must be equal to one of the allowed values",params:({schemaCode:$})=>oQ._`{allowedValues: ${$}}`},jE0={keyword:"enum",schemaType:"array",$data:!0,error:CE0,code($){let{gen:I,data:U,$data:Y,schema:J,schemaCode:Q,it:K}=$;if(!Y&&J.length===0)throw Error("enum must have non-empty array");let q=J.length>=K.opts.loopEnum,G,H=()=>G!==null&&G!==void 0?G:G=(0,RE0.useFunc)(I,vE0.default),W;if(q||Y)W=I.let("valid"),$.block$data(W,V);else{if(!Array.isArray(J))throw Error("ajv implementation error");let Z=I.const("vSchema",Q);W=(0,oQ.or)(...J.map((w,L)=>z(Z,L)))}$.pass(W);function V(){I.assign(W,!1),I.forOf("v",Q,(Z)=>I.if(oQ._`${H()}(${U}, ${Z})`,()=>I.assign(W,!0).break()))}function z(Z,w){let L=J[w];return typeof L==="object"&&L!==null?oQ._`${H()}(${U}, ${Z}[${w}])`:oQ._`${U} === ${L}`}}};Sn.default=jE0});var hn=O((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});var SE0=Wn(),gE0=Zn(),yE0=Dn(),hE0=Nn(),xE0=Mn(),kE0=Pn(),uE0=En(),fE0=Cn(),bE0=_n(),iE0=gn(),nE0=[SE0.default,gE0.default,yE0.default,hE0.default,xE0.default,kE0.default,uE0.default,fE0.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},bE0.default,iE0.default];yn.default=nE0});var TT=O((kn)=>{Object.defineProperty(kn,"__esModule",{value:!0});kn.validateAdditionalItems=void 0;var g7=t0(),PT=V1(),cE0={message:({params:{len:$}})=>g7.str`must NOT have more than ${$} items`,params:({params:{len:$}})=>g7._`{limit: ${$}}`},dE0={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:cE0,code($){let{parentSchema:I,it:U}=$,{items:Y}=I;if(!Array.isArray(Y)){(0,PT.checkStrictMode)(U,'"additionalItems" is ignored when "items" is not an array of schemas');return}xn($,Y)}};function xn($,I){let{gen:U,schema:Y,data:J,keyword:Q,it:K}=$;K.items=!0;let q=U.const("len",g7._`${J}.length`);if(Y===!1)$.setParams({len:I.length}),$.pass(g7._`${q} <= ${I.length}`);else if(typeof Y=="object"&&!(0,PT.alwaysValidSchema)(K,Y)){let H=U.var("valid",g7._`${q} <= ${I.length}`);U.if((0,g7.not)(H),()=>G(H)),$.ok(H)}function G(H){U.forRange("i",I.length,q,(W)=>{if($.subschema({keyword:Q,dataProp:W,dataPropType:PT.Type.Num},H),!K.allErrors)U.if((0,g7.not)(H),()=>U.break())})}}kn.validateAdditionalItems=xn;kn.default=dE0});var ET=O((nn)=>{Object.defineProperty(nn,"__esModule",{value:!0});nn.validateTuple=void 0;var fn=t0(),$V=V1(),lE0=D$(),oE0={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code($){let{schema:I,it:U}=$;if(Array.isArray(I))return bn($,"additionalItems",I);if(U.items=!0,(0,$V.alwaysValidSchema)(U,I))return;$.ok((0,lE0.validateArray)($))}};function bn($,I,U=$.schema){let{gen:Y,parentSchema:J,data:Q,keyword:K,it:q}=$;if(W(J),q.opts.unevaluated&&U.length&&q.items!==!0)q.items=$V.mergeEvaluated.items(Y,U.length,q.items);let G=Y.name("valid"),H=Y.const("len",fn._`${Q}.length`);U.forEach((V,z)=>{if((0,$V.alwaysValidSchema)(q,V))return;Y.if(fn._`${H} > ${z}`,()=>$.subschema({keyword:K,schemaProp:z,dataProp:z},G)),$.ok(G)});function W(V){let{opts:z,errSchemaPath:Z}=q,w=U.length,L=w===V.minItems&&(w===V.maxItems||V[I]===!1);if(z.strictTuples&&!L){let D=`"${K}" is ${w}-tuple, but minItems or maxItems/${I} are not specified or different at path "${Z}"`;(0,$V.checkStrictMode)(q,D,z.strictTuples)}}}nn.validateTuple=bn;nn.default=oE0});var dn=O((cn)=>{Object.defineProperty(cn,"__esModule",{value:!0});var tE0=ET(),aE0={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:($)=>(0,tE0.validateTuple)($,"items")};cn.default=aE0});var on=O((ln)=>{Object.defineProperty(ln,"__esModule",{value:!0});var mn=t0(),eE0=V1(),$B0=D$(),IB0=TT(),UB0={message:({params:{len:$}})=>mn.str`must NOT have more than ${$} items`,params:({params:{len:$}})=>mn._`{limit: ${$}}`},YB0={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:UB0,code($){let{schema:I,parentSchema:U,it:Y}=$,{prefixItems:J}=U;if(Y.items=!0,(0,eE0.alwaysValidSchema)(Y,I))return;if(J)(0,IB0.validateAdditionalItems)($,J);else $.ok((0,$B0.validateArray)($))}};ln.default=YB0});var tn=O((rn)=>{Object.defineProperty(rn,"__esModule",{value:!0});var O$=t0(),IV=V1(),QB0={message:({params:{min:$,max:I}})=>I===void 0?O$.str`must contain at least ${$} valid item(s)`:O$.str`must contain at least ${$} and no more than ${I} valid item(s)`,params:({params:{min:$,max:I}})=>I===void 0?O$._`{minContains: ${$}}`:O$._`{minContains: ${$}, maxContains: ${I}}`},KB0={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:QB0,code($){let{gen:I,schema:U,parentSchema:Y,data:J,it:Q}=$,K,q,{minContains:G,maxContains:H}=Y;if(Q.opts.next)K=G===void 0?1:G,q=H;else K=1;let W=I.const("len",O$._`${J}.length`);if($.setParams({min:K,max:q}),q===void 0&&K===0){(0,IV.checkStrictMode)(Q,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(q!==void 0&&K>q){(0,IV.checkStrictMode)(Q,'"minContains" > "maxContains" is always invalid'),$.fail();return}if((0,IV.alwaysValidSchema)(Q,U)){let L=O$._`${W} >= ${K}`;if(q!==void 0)L=O$._`${L} && ${W} <= ${q}`;$.pass(L);return}Q.items=!0;let V=I.name("valid");if(q===void 0&&K===1)Z(V,()=>I.if(V,()=>I.break()));else if(K===0){if(I.let(V,!0),q!==void 0)I.if(O$._`${J}.length > 0`,z)}else I.let(V,!1),z();$.result(V,()=>$.reset());function z(){let L=I.name("_valid"),D=I.let("count",0);Z(L,()=>I.if(L,()=>w(D)))}function Z(L,D){I.forRange("i",0,W,(N)=>{$.subschema({keyword:"contains",dataProp:N,dataPropType:IV.Type.Num,compositeRule:!0},L),D()})}function w(L){if(I.code(O$._`${L}++`),q===void 0)I.if(O$._`${L} >= ${K}`,()=>I.assign(V,!0).break());else if(I.if(O$._`${L} > ${q}`,()=>I.assign(V,!1).break()),K===1)I.assign(V,!0);else I.if(O$._`${L} >= ${K}`,()=>I.assign(V,!0))}}};rn.default=KB0});var Up=O((en)=>{Object.defineProperty(en,"__esModule",{value:!0});en.validateSchemaDeps=en.validatePropertyDeps=en.error=void 0;var BT=t0(),GB0=V1(),rQ=D$();en.error={message:({params:{property:$,depsCount:I,deps:U}})=>{let Y=I===1?"property":"properties";return BT.str`must have ${Y} ${U} when property ${$} is present`},params:({params:{property:$,depsCount:I,deps:U,missingProperty:Y}})=>BT._`{property: ${$}, +import{createRequire as YL0}from"node:module";var oz0=Object.create;var{getPrototypeOf:rz0,defineProperty:uD,getOwnPropertyNames:tz0}=Object;var az0=Object.prototype.hasOwnProperty;function sz0($){return this[$]}var ez0,$L0,ZI=($,I,U)=>{var Y=$!=null&&typeof $==="object";if(Y){var J=I?ez0??=new WeakMap:$L0??=new WeakMap,Q=J.get($);if(Q)return Q}U=$!=null?oz0(rz0($)):{};let K=I||!$||!$.__esModule?uD(U,"default",{value:$,enumerable:!0}):U;for(let q of tz0($))if(!az0.call(K,q))uD(K,q,{get:sz0.bind($,q),enumerable:!0});if(Y)J.set($,K);return K};var O=($,I)=>()=>(I||$((I={exports:{}}).exports,I),I.exports);var IL0=($)=>$;function UL0($,I){this[$]=IL0.bind(null,I)}var o8=($,I)=>{for(var U in I)uD($,U,{get:I[U],enumerable:!0,configurable:!0,set:UL0.bind(I,U)})};var r=YL0(import.meta.url);var gQ=O((rf)=>{Object.defineProperty(rf,"__esModule",{value:!0});rf.regexpCode=rf.getEsmExportName=rf.getProperty=rf.safeStringify=rf.stringify=rf.strConcat=rf.addCodeArg=rf.str=rf._=rf.nil=rf._Code=rf.Name=rf.IDENTIFIER=rf._CodeOrName=void 0;class _W{}rf._CodeOrName=_W;rf.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class aI extends _W{constructor($){super();if(!rf.IDENTIFIER.test($))throw Error("CodeGen: name must be a valid identifier");this.str=$}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}rf.Name=aI;class b$ extends _W{constructor($){super();this._items=typeof $==="string"?[$]:$}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let $=this._items[0];return $===""||$==='""'}get str(){var $;return($=this._str)!==null&&$!==void 0?$:this._str=this._items.reduce((I,U)=>`${I}${U}`,"")}get names(){var $;return($=this._names)!==null&&$!==void 0?$:this._names=this._items.reduce((I,U)=>{if(U instanceof aI)I[U.str]=(I[U.str]||0)+1;return I},{})}}rf._Code=b$;rf.nil=new b$("");function lf($,...I){let U=[$[0]],Y=0;while(Y{Object.defineProperty(ef,"__esModule",{value:!0});ef.ValueScope=ef.ValueScopeName=ef.Scope=ef.varKinds=ef.UsedValueState=void 0;var u6=gQ();class af extends Error{constructor($){super(`CodeGen: "code" for ${$} not defined`);this.value=$.value}}var gW;(function($){$[$.Started=0]="Started",$[$.Completed=1]="Completed"})(gW||(ef.UsedValueState=gW={}));ef.varKinds={const:new u6.Name("const"),let:new u6.Name("let"),var:new u6.Name("var")};class eP{constructor({prefixes:$,parent:I}={}){this._names={},this._prefixes=$,this._parent=I}toName($){return $ instanceof u6.Name?$:this.name($)}name($){return new u6.Name(this._newName($))}_newName($){let I=this._names[$]||this._nameGroup($);return`${$}${I.index++}`}_nameGroup($){var I,U;if(((U=(I=this._parent)===null||I===void 0?void 0:I._prefixes)===null||U===void 0?void 0:U.has($))||this._prefixes&&!this._prefixes.has($))throw Error(`CodeGen: prefix "${$}" is not allowed in this scope`);return this._names[$]={prefix:$,index:0}}}ef.Scope=eP;class $T extends u6.Name{constructor($,I){super(I);this.prefix=$}setValue($,{property:I,itemIndex:U}){this.value=$,this.scopePath=u6._`.${new u6.Name(I)}[${U}]`}}ef.ValueScopeName=$T;var cN0=u6._`\n`;class sf extends eP{constructor($){super($);this._values={},this._scope=$.scope,this.opts={...$,_n:$.lines?cN0:u6.nil}}get(){return this._scope}name($){return new $T($,this._newName($))}value($,I){var U;if(I.ref===void 0)throw Error("CodeGen: ref must be passed in value");let Y=this.toName($),{prefix:J}=Y,Q=(U=I.key)!==null&&U!==void 0?U:I.ref,K=this._values[J];if(K){let H=K.get(Q);if(H)return H}else K=this._values[J]=new Map;K.set(Q,Y);let q=this._scope[J]||(this._scope[J]=[]),G=q.length;return q[G]=I.ref,Y.setValue(I,{property:J,itemIndex:G}),Y}getValue($,I){let U=this._values[$];if(!U)return;return U.get(I)}scopeRefs($,I=this._values){return this._reduceValues(I,(U)=>{if(U.scopePath===void 0)throw Error(`CodeGen: name "${U}" has no value`);return u6._`${$}${U.scopePath}`})}scopeCode($=this._values,I,U){return this._reduceValues($,(Y)=>{if(Y.value===void 0)throw Error(`CodeGen: name "${Y}" has no value`);return Y.value.code},I,U)}_reduceValues($,I,U={},Y){let J=u6.nil;for(let Q in $){let K=$[Q];if(!K)continue;let q=U[Q]=U[Q]||new Map;K.forEach((G)=>{if(q.has(G))return;q.set(G,gW.Started);let H=I(G);if(H){let W=this.opts.es5?ef.varKinds.var:ef.varKinds.const;J=u6._`${J}${W} ${G} = ${H};${this.opts._n}`}else if(H=Y===null||Y===void 0?void 0:Y(G))J=u6._`${J}${H}${this.opts._n}`;else throw new af(G);q.set(G,gW.Completed)})}return J}}ef.ValueScope=sf});var s0=O((f6)=>{Object.defineProperty(f6,"__esModule",{value:!0});f6.or=f6.and=f6.not=f6.CodeGen=f6.operators=f6.varKinds=f6.ValueScopeName=f6.ValueScope=f6.Scope=f6.Name=f6.regexpCode=f6.stringify=f6.getProperty=f6.nil=f6.strConcat=f6.str=f6._=void 0;var q1=gQ(),i$=IT(),K9=gQ();Object.defineProperty(f6,"_",{enumerable:!0,get:function(){return K9._}});Object.defineProperty(f6,"str",{enumerable:!0,get:function(){return K9.str}});Object.defineProperty(f6,"strConcat",{enumerable:!0,get:function(){return K9.strConcat}});Object.defineProperty(f6,"nil",{enumerable:!0,get:function(){return K9.nil}});Object.defineProperty(f6,"getProperty",{enumerable:!0,get:function(){return K9.getProperty}});Object.defineProperty(f6,"stringify",{enumerable:!0,get:function(){return K9.stringify}});Object.defineProperty(f6,"regexpCode",{enumerable:!0,get:function(){return K9.regexpCode}});Object.defineProperty(f6,"Name",{enumerable:!0,get:function(){return K9.Name}});var fW=IT();Object.defineProperty(f6,"Scope",{enumerable:!0,get:function(){return fW.Scope}});Object.defineProperty(f6,"ValueScope",{enumerable:!0,get:function(){return fW.ValueScope}});Object.defineProperty(f6,"ValueScopeName",{enumerable:!0,get:function(){return fW.ValueScopeName}});Object.defineProperty(f6,"varKinds",{enumerable:!0,get:function(){return fW.varKinds}});f6.operators={GT:new q1._Code(">"),GTE:new q1._Code(">="),LT:new q1._Code("<"),LTE:new q1._Code("<="),EQ:new q1._Code("==="),NEQ:new q1._Code("!=="),NOT:new q1._Code("!"),OR:new q1._Code("||"),AND:new q1._Code("&&"),ADD:new q1._Code("+")};class q9{optimizeNodes(){return this}optimizeNames($,I){return this}}class Ib extends q9{constructor($,I,U){super();this.varKind=$,this.name=I,this.rhs=U}render({es5:$,_n:I}){let U=$?i$.varKinds.var:this.varKind,Y=this.rhs===void 0?"":` = ${this.rhs}`;return`${U} ${this.name}${Y};`+I}optimizeNames($,I){if(!$[this.name.str])return;if(this.rhs)this.rhs=eI(this.rhs,$,I);return this}get names(){return this.rhs instanceof q1._CodeOrName?this.rhs.names:{}}}class JT extends q9{constructor($,I,U){super();this.lhs=$,this.rhs=I,this.sideEffects=U}render({_n:$}){return`${this.lhs} = ${this.rhs};`+$}optimizeNames($,I){if(this.lhs instanceof q1.Name&&!$[this.lhs.str]&&!this.sideEffects)return;return this.rhs=eI(this.rhs,$,I),this}get names(){let $=this.lhs instanceof q1.Name?{}:{...this.lhs.names};return uW($,this.rhs)}}class Ub extends JT{constructor($,I,U,Y){super($,U,Y);this.op=I}render({_n:$}){return`${this.lhs} ${this.op}= ${this.rhs};`+$}}class Yb extends q9{constructor($){super();this.label=$,this.names={}}render({_n:$}){return`${this.label}:`+$}}class Jb extends q9{constructor($){super();this.label=$,this.names={}}render({_n:$}){return`break${this.label?` ${this.label}`:""};`+$}}class Qb extends q9{constructor($){super();this.error=$}render({_n:$}){return`throw ${this.error};`+$}get names(){return this.error.names}}class Kb extends q9{constructor($){super();this.code=$}render({_n:$}){return`${this.code};`+$}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames($,I){return this.code=eI(this.code,$,I),this}get names(){return this.code instanceof q1._CodeOrName?this.code.names:{}}}class bW extends q9{constructor($=[]){super();this.nodes=$}render($){return this.nodes.reduce((I,U)=>I+U.render($),"")}optimizeNodes(){let{nodes:$}=this,I=$.length;while(I--){let U=$[I].optimizeNodes();if(Array.isArray(U))$.splice(I,1,...U);else if(U)$[I]=U;else $.splice(I,1)}return $.length>0?this:void 0}optimizeNames($,I){let{nodes:U}=this,Y=U.length;while(Y--){let J=U[Y];if(J.optimizeNames($,I))continue;oN0($,J.names),U.splice(Y,1)}return U.length>0?this:void 0}get names(){return this.nodes.reduce(($,I)=>C7($,I.names),{})}}class G9 extends bW{render($){return"{"+$._n+super.render($)+"}"+$._n}}class qb extends bW{}class yQ extends G9{}yQ.kind="else";class e8 extends G9{constructor($,I){super(I);this.condition=$}render($){let I=`if(${this.condition})`+super.render($);if(this.else)I+="else "+this.else.render($);return I}optimizeNodes(){super.optimizeNodes();let $=this.condition;if($===!0)return this.nodes;let I=this.else;if(I){let U=I.optimizeNodes();I=this.else=Array.isArray(U)?new yQ(U):U}if(I){if($===!1)return I instanceof e8?I:I.nodes;if(this.nodes.length)return this;return new e8(wb($),I instanceof e8?[I]:I.nodes)}if($===!1||!this.nodes.length)return;return this}optimizeNames($,I){var U;if(this.else=(U=this.else)===null||U===void 0?void 0:U.optimizeNames($,I),!(super.optimizeNames($,I)||this.else))return;return this.condition=eI(this.condition,$,I),this}get names(){let $=super.names;if(uW($,this.condition),this.else)C7($,this.else.names);return $}}e8.kind="if";class sI extends G9{}sI.kind="for";class Gb extends sI{constructor($){super();this.iteration=$}render($){return`for(${this.iteration})`+super.render($)}optimizeNames($,I){if(!super.optimizeNames($,I))return;return this.iteration=eI(this.iteration,$,I),this}get names(){return C7(super.names,this.iteration.names)}}class Hb extends sI{constructor($,I,U,Y){super();this.varKind=$,this.name=I,this.from=U,this.to=Y}render($){let I=$.es5?i$.varKinds.var:this.varKind,{name:U,from:Y,to:J}=this;return`for(${I} ${U}=${Y}; ${U}<${J}; ${U}++)`+super.render($)}get names(){let $=uW(super.names,this.from);return uW($,this.to)}}class UT extends sI{constructor($,I,U,Y){super();this.loop=$,this.varKind=I,this.name=U,this.iterable=Y}render($){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render($)}optimizeNames($,I){if(!super.optimizeNames($,I))return;return this.iterable=eI(this.iterable,$,I),this}get names(){return C7(super.names,this.iterable.names)}}class yW extends G9{constructor($,I,U){super();this.name=$,this.args=I,this.async=U}render($){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render($)}}yW.kind="func";class hW extends bW{render($){return"return "+super.render($)}}hW.kind="return";class Wb extends G9{render($){let I="try"+super.render($);if(this.catch)I+=this.catch.render($);if(this.finally)I+=this.finally.render($);return I}optimizeNodes(){var $,I;return super.optimizeNodes(),($=this.catch)===null||$===void 0||$.optimizeNodes(),(I=this.finally)===null||I===void 0||I.optimizeNodes(),this}optimizeNames($,I){var U,Y;return super.optimizeNames($,I),(U=this.catch)===null||U===void 0||U.optimizeNames($,I),(Y=this.finally)===null||Y===void 0||Y.optimizeNames($,I),this}get names(){let $=super.names;if(this.catch)C7($,this.catch.names);if(this.finally)C7($,this.finally.names);return $}}class xW extends G9{constructor($){super();this.error=$}render($){return`catch(${this.error})`+super.render($)}}xW.kind="catch";class kW extends G9{render($){return"finally"+super.render($)}}kW.kind="finally";class Vb{constructor($,I={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...I,_n:I.lines?` +`:""},this._extScope=$,this._scope=new i$.Scope({parent:$}),this._nodes=[new qb]}toString(){return this._root.render(this.opts)}name($){return this._scope.name($)}scopeName($){return this._extScope.name($)}scopeValue($,I){let U=this._extScope.value($,I);return(this._values[U.prefix]||(this._values[U.prefix]=new Set)).add(U),U}getScopeValue($,I){return this._extScope.getValue($,I)}scopeRefs($){return this._extScope.scopeRefs($,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def($,I,U,Y){let J=this._scope.toName(I);if(U!==void 0&&Y)this._constants[J.str]=U;return this._leafNode(new Ib($,J,U)),J}const($,I,U){return this._def(i$.varKinds.const,$,I,U)}let($,I,U){return this._def(i$.varKinds.let,$,I,U)}var($,I,U){return this._def(i$.varKinds.var,$,I,U)}assign($,I,U){return this._leafNode(new JT($,I,U))}add($,I){return this._leafNode(new Ub($,f6.operators.ADD,I))}code($){if(typeof $=="function")$();else if($!==q1.nil)this._leafNode(new Kb($));return this}object(...$){let I=["{"];for(let[U,Y]of $){if(I.length>1)I.push(",");if(I.push(U),U!==Y||this.opts.es5)I.push(":"),(0,q1.addCodeArg)(I,Y)}return I.push("}"),new q1._Code(I)}if($,I,U){if(this._blockNode(new e8($)),I&&U)this.code(I).else().code(U).endIf();else if(I)this.code(I).endIf();else if(U)throw Error('CodeGen: "else" body without "then" body');return this}elseIf($){return this._elseNode(new e8($))}else(){return this._elseNode(new yQ)}endIf(){return this._endBlockNode(e8,yQ)}_for($,I){if(this._blockNode($),I)this.code(I).endFor();return this}for($,I){return this._for(new Gb($),I)}forRange($,I,U,Y,J=this.opts.es5?i$.varKinds.var:i$.varKinds.let){let Q=this._scope.toName($);return this._for(new Hb(J,Q,I,U),()=>Y(Q))}forOf($,I,U,Y=i$.varKinds.const){let J=this._scope.toName($);if(this.opts.es5){let Q=I instanceof q1.Name?I:this.var("_arr",I);return this.forRange("_i",0,q1._`${Q}.length`,(K)=>{this.var(J,q1._`${Q}[${K}]`),U(J)})}return this._for(new UT("of",Y,J,I),()=>U(J))}forIn($,I,U,Y=this.opts.es5?i$.varKinds.var:i$.varKinds.const){if(this.opts.ownProperties)return this.forOf($,q1._`Object.keys(${I})`,U);let J=this._scope.toName($);return this._for(new UT("in",Y,J,I),()=>U(J))}endFor(){return this._endBlockNode(sI)}label($){return this._leafNode(new Yb($))}break($){return this._leafNode(new Jb($))}return($){let I=new hW;if(this._blockNode(I),this.code($),I.nodes.length!==1)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(hW)}try($,I,U){if(!I&&!U)throw Error('CodeGen: "try" without "catch" and "finally"');let Y=new Wb;if(this._blockNode(Y),this.code($),I){let J=this.name("e");this._currNode=Y.catch=new xW(J),I(J)}if(U)this._currNode=Y.finally=new kW,this.code(U);return this._endBlockNode(xW,kW)}throw($){return this._leafNode(new Qb($))}block($,I){if(this._blockStarts.push(this._nodes.length),$)this.code($).endBlock(I);return this}endBlock($){let I=this._blockStarts.pop();if(I===void 0)throw Error("CodeGen: not in self-balancing block");let U=this._nodes.length-I;if(U<0||$!==void 0&&U!==$)throw Error(`CodeGen: wrong number of nodes: ${U} vs ${$} expected`);return this._nodes.length=I,this}func($,I=q1.nil,U,Y){if(this._blockNode(new yW($,I,U)),Y)this.code(Y).endFunc();return this}endFunc(){return this._endBlockNode(yW)}optimize($=1){while($-- >0)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode($){return this._currNode.nodes.push($),this}_blockNode($){this._currNode.nodes.push($),this._nodes.push($)}_endBlockNode($,I){let U=this._currNode;if(U instanceof $||I&&U instanceof I)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${I?`${$.kind}/${I.kind}`:$.kind}"`)}_elseNode($){let I=this._currNode;if(!(I instanceof e8))throw Error('CodeGen: "else" without "if"');return this._currNode=I.else=$,this}get _root(){return this._nodes[0]}get _currNode(){let $=this._nodes;return $[$.length-1]}set _currNode($){let I=this._nodes;I[I.length-1]=$}}f6.CodeGen=Vb;function C7($,I){for(let U in I)$[U]=($[U]||0)+(I[U]||0);return $}function uW($,I){return I instanceof q1._CodeOrName?C7($,I.names):$}function eI($,I,U){if($ instanceof q1.Name)return Y($);if(!J($))return $;return new q1._Code($._items.reduce((Q,K)=>{if(K instanceof q1.Name)K=Y(K);if(K instanceof q1._Code)Q.push(...K._items);else Q.push(K);return Q},[]));function Y(Q){let K=U[Q.str];if(K===void 0||I[Q.str]!==1)return Q;return delete I[Q.str],K}function J(Q){return Q instanceof q1._Code&&Q._items.some((K)=>K instanceof q1.Name&&I[K.str]===1&&U[K.str]!==void 0)}}function oN0($,I){for(let U in I)$[U]=($[U]||0)-(I[U]||0)}function wb($){return typeof $=="boolean"||typeof $=="number"||$===null?!$:q1._`!${YT($)}`}f6.not=wb;var rN0=Zb(f6.operators.AND);function tN0(...$){return $.reduce(rN0)}f6.and=tN0;var aN0=Zb(f6.operators.OR);function sN0(...$){return $.reduce(aN0)}f6.or=sN0;function Zb($){return(I,U)=>I===q1.nil?U:U===q1.nil?I:q1._`${YT(I)} ${$} ${YT(U)}`}function YT($){return $ instanceof q1.Name?$:q1._`(${$})`}});var w1=O((Ab)=>{Object.defineProperty(Ab,"__esModule",{value:!0});Ab.checkStrictMode=Ab.getErrorPath=Ab.Type=Ab.useFunc=Ab.setEvaluated=Ab.evaluatedPropsToName=Ab.mergeEvaluated=Ab.eachItem=Ab.unescapeJsonPointer=Ab.escapeJsonPointer=Ab.escapeFragment=Ab.unescapeFragment=Ab.schemaRefOrVal=Ab.schemaHasRulesButRef=Ab.schemaHasRules=Ab.checkUnknownRules=Ab.alwaysValidSchema=Ab.toHash=void 0;var f1=s0(),UM0=gQ();function YM0($){let I={};for(let U of $)I[U]=!0;return I}Ab.toHash=YM0;function JM0($,I){if(typeof I=="boolean")return I;if(Object.keys(I).length===0)return!0;return Db($,I),!Ob(I,$.self.RULES.all)}Ab.alwaysValidSchema=JM0;function Db($,I=$.schema){let{opts:U,self:Y}=$;if(!U.strictSchema)return;if(typeof I==="boolean")return;let J=Y.RULES.keywords;for(let Q in I)if(!J[Q])Mb($,`unknown keyword: "${Q}"`)}Ab.checkUnknownRules=Db;function Ob($,I){if(typeof $=="boolean")return!$;for(let U in $)if(I[U])return!0;return!1}Ab.schemaHasRules=Ob;function QM0($,I){if(typeof $=="boolean")return!$;for(let U in $)if(U!=="$ref"&&I.all[U])return!0;return!1}Ab.schemaHasRulesButRef=QM0;function KM0({topSchemaRef:$,schemaPath:I},U,Y,J){if(!J){if(typeof U=="number"||typeof U=="boolean")return U;if(typeof U=="string")return f1._`${U}`}return f1._`${$}${I}${(0,f1.getProperty)(Y)}`}Ab.schemaRefOrVal=KM0;function qM0($){return Fb(decodeURIComponent($))}Ab.unescapeFragment=qM0;function GM0($){return encodeURIComponent(KT($))}Ab.escapeFragment=GM0;function KT($){if(typeof $=="number")return`${$}`;return $.replace(/~/g,"~0").replace(/\//g,"~1")}Ab.escapeJsonPointer=KT;function Fb($){return $.replace(/~1/g,"/").replace(/~0/g,"~")}Ab.unescapeJsonPointer=Fb;function HM0($,I){if(Array.isArray($))for(let U of $)I(U);else I($)}Ab.eachItem=HM0;function zb({mergeNames:$,mergeToName:I,mergeValues:U,resultToName:Y}){return(J,Q,K,q)=>{let G=K===void 0?Q:K instanceof f1.Name?(Q instanceof f1.Name?$(J,Q,K):I(J,Q,K),K):Q instanceof f1.Name?(I(J,K,Q),Q):U(Q,K);return q===f1.Name&&!(G instanceof f1.Name)?Y(J,G):G}}Ab.mergeEvaluated={props:zb({mergeNames:($,I,U)=>$.if(f1._`${U} !== true && ${I} !== undefined`,()=>{$.if(f1._`${I} === true`,()=>$.assign(U,!0),()=>$.assign(U,f1._`${U} || {}`).code(f1._`Object.assign(${U}, ${I})`))}),mergeToName:($,I,U)=>$.if(f1._`${U} !== true`,()=>{if(I===!0)$.assign(U,!0);else $.assign(U,f1._`${U} || {}`),qT($,U,I)}),mergeValues:($,I)=>$===!0?!0:{...$,...I},resultToName:Nb}),items:zb({mergeNames:($,I,U)=>$.if(f1._`${U} !== true && ${I} !== undefined`,()=>$.assign(U,f1._`${I} === true ? true : ${U} > ${I} ? ${U} : ${I}`)),mergeToName:($,I,U)=>$.if(f1._`${U} !== true`,()=>$.assign(U,I===!0?!0:f1._`${U} > ${I} ? ${U} : ${I}`)),mergeValues:($,I)=>$===!0?!0:Math.max($,I),resultToName:($,I)=>$.var("items",I)})};function Nb($,I){if(I===!0)return $.var("props",!0);let U=$.var("props",f1._`{}`);if(I!==void 0)qT($,U,I);return U}Ab.evaluatedPropsToName=Nb;function qT($,I,U){Object.keys(U).forEach((Y)=>$.assign(f1._`${I}${(0,f1.getProperty)(Y)}`,!0))}Ab.setEvaluated=qT;var Lb={};function WM0($,I){return $.scopeValue("func",{ref:I,code:Lb[I.code]||(Lb[I.code]=new UM0._Code(I.code))})}Ab.useFunc=WM0;var QT;(function($){$[$.Num=0]="Num",$[$.Str=1]="Str"})(QT||(Ab.Type=QT={}));function VM0($,I,U){if($ instanceof f1.Name){let Y=I===QT.Num;return U?Y?f1._`"[" + ${$} + "]"`:f1._`"['" + ${$} + "']"`:Y?f1._`"/" + ${$}`:f1._`"/" + ${$}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return U?(0,f1.getProperty)($).toString():"/"+KT($)}Ab.getErrorPath=VM0;function Mb($,I,U=$.opts.strictSchema){if(!U)return;if(I=`strict mode: ${I}`,U===!0)throw Error(I);$.self.logger.warn(I)}Ab.checkStrictMode=Mb});var $5=O((Tb)=>{Object.defineProperty(Tb,"__esModule",{value:!0});var Z6=s0(),CM0={data:new Z6.Name("data"),valCxt:new Z6.Name("valCxt"),instancePath:new Z6.Name("instancePath"),parentData:new Z6.Name("parentData"),parentDataProperty:new Z6.Name("parentDataProperty"),rootData:new Z6.Name("rootData"),dynamicAnchors:new Z6.Name("dynamicAnchors"),vErrors:new Z6.Name("vErrors"),errors:new Z6.Name("errors"),this:new Z6.Name("this"),self:new Z6.Name("self"),scope:new Z6.Name("scope"),json:new Z6.Name("json"),jsonPos:new Z6.Name("jsonPos"),jsonLen:new Z6.Name("jsonLen"),jsonPart:new Z6.Name("jsonPart")};Tb.default=CM0});var hQ=O((Rb)=>{Object.defineProperty(Rb,"__esModule",{value:!0});Rb.extendErrors=Rb.resetErrorsCount=Rb.reportExtraError=Rb.reportError=Rb.keyword$DataError=Rb.keywordError=void 0;var Z1=s0(),nW=w1(),E6=$5();Rb.keywordError={message:({keyword:$})=>Z1.str`must pass "${$}" keyword validation`};Rb.keyword$DataError={message:({keyword:$,schemaType:I})=>I?Z1.str`"${$}" keyword must be ${I} ($data)`:Z1.str`"${$}" keyword is invalid ($data)`};function _M0($,I=Rb.keywordError,U,Y){let{it:J}=$,{gen:Q,compositeRule:K,allErrors:q}=J,G=vb($,I,U);if(Y!==null&&Y!==void 0?Y:K||q)Eb(Q,G);else Bb(J,Z1._`[${G}]`)}Rb.reportError=_M0;function SM0($,I=Rb.keywordError,U){let{it:Y}=$,{gen:J,compositeRule:Q,allErrors:K}=Y,q=vb($,I,U);if(Eb(J,q),!(Q||K))Bb(Y,E6.default.vErrors)}Rb.reportExtraError=SM0;function gM0($,I){$.assign(E6.default.errors,I),$.if(Z1._`${E6.default.vErrors} !== null`,()=>$.if(I,()=>$.assign(Z1._`${E6.default.vErrors}.length`,I),()=>$.assign(E6.default.vErrors,null)))}Rb.resetErrorsCount=gM0;function yM0({gen:$,keyword:I,schemaValue:U,data:Y,errsCount:J,it:Q}){if(J===void 0)throw Error("ajv implementation error");let K=$.name("err");$.forRange("i",J,E6.default.errors,(q)=>{if($.const(K,Z1._`${E6.default.vErrors}[${q}]`),$.if(Z1._`${K}.instancePath === undefined`,()=>$.assign(Z1._`${K}.instancePath`,(0,Z1.strConcat)(E6.default.instancePath,Q.errorPath))),$.assign(Z1._`${K}.schemaPath`,Z1.str`${Q.errSchemaPath}/${I}`),Q.opts.verbose)$.assign(Z1._`${K}.schema`,U),$.assign(Z1._`${K}.data`,Y)})}Rb.extendErrors=yM0;function Eb($,I){let U=$.const("err",I);$.if(Z1._`${E6.default.vErrors} === null`,()=>$.assign(E6.default.vErrors,Z1._`[${U}]`),Z1._`${E6.default.vErrors}.push(${U})`),$.code(Z1._`${E6.default.errors}++`)}function Bb($,I){let{gen:U,validateName:Y,schemaEnv:J}=$;if(J.$async)U.throw(Z1._`new ${$.ValidationError}(${I})`);else U.assign(Z1._`${Y}.errors`,I),U.return(!1)}var j7={keyword:new Z1.Name("keyword"),schemaPath:new Z1.Name("schemaPath"),params:new Z1.Name("params"),propertyName:new Z1.Name("propertyName"),message:new Z1.Name("message"),schema:new Z1.Name("schema"),parentSchema:new Z1.Name("parentSchema")};function vb($,I,U){let{createErrors:Y}=$.it;if(Y===!1)return Z1._`{}`;return hM0($,I,U)}function hM0($,I,U={}){let{gen:Y,it:J}=$,Q=[xM0(J,U),kM0($,U)];return uM0($,I,Q),Y.object(...Q)}function xM0({errorPath:$},{instancePath:I}){let U=I?Z1.str`${$}${(0,nW.getErrorPath)(I,nW.Type.Str)}`:$;return[E6.default.instancePath,(0,Z1.strConcat)(E6.default.instancePath,U)]}function kM0({keyword:$,it:{errSchemaPath:I}},{schemaPath:U,parentSchema:Y}){let J=Y?I:Z1.str`${I}/${$}`;if(U)J=Z1.str`${J}${(0,nW.getErrorPath)(U,nW.Type.Str)}`;return[j7.schemaPath,J]}function uM0($,{params:I,message:U},Y){let{keyword:J,data:Q,schemaValue:K,it:q}=$,{opts:G,propertyName:H,topSchemaRef:W,schemaPath:V}=q;if(Y.push([j7.keyword,J],[j7.params,typeof I=="function"?I($):I||Z1._`{}`]),G.messages)Y.push([j7.message,typeof U=="function"?U($):U]);if(G.verbose)Y.push([j7.schema,K],[j7.parentSchema,Z1._`${W}${V}`],[E6.default.data,Q]);if(H)Y.push([j7.propertyName,H])}});var gb=O((_b)=>{Object.defineProperty(_b,"__esModule",{value:!0});_b.boolOrEmptySchema=_b.topBoolOrEmptySchema=void 0;var pM0=hQ(),cM0=s0(),dM0=$5(),mM0={message:"boolean schema is false"};function lM0($){let{gen:I,schema:U,validateName:Y}=$;if(U===!1)jb($,!1);else if(typeof U=="object"&&U.$async===!0)I.return(dM0.default.data);else I.assign(cM0._`${Y}.errors`,null),I.return(!0)}_b.topBoolOrEmptySchema=lM0;function oM0($,I){let{gen:U,schema:Y}=$;if(Y===!1)U.var(I,!1),jb($);else U.var(I,!0)}_b.boolOrEmptySchema=oM0;function jb($,I){let{gen:U,data:Y}=$,J={gen:U,keyword:"false schema",data:Y,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:$};(0,pM0.reportError)(J,mM0,void 0,I)}});var HT=O((yb)=>{Object.defineProperty(yb,"__esModule",{value:!0});yb.getRules=yb.isJSONType=void 0;var tM0=["string","number","integer","boolean","null","object","array"],aM0=new Set(tM0);function sM0($){return typeof $=="string"&&aM0.has($)}yb.isJSONType=sM0;function eM0(){let $={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...$,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},$.number,$.string,$.array,$.object],post:{rules:[]},all:{},keywords:{}}}yb.getRules=eM0});var WT=O((ub)=>{Object.defineProperty(ub,"__esModule",{value:!0});ub.shouldUseRule=ub.shouldUseGroup=ub.schemaHasRulesForType=void 0;function IA0({schema:$,self:I},U){let Y=I.RULES.types[U];return Y&&Y!==!0&&xb($,Y)}ub.schemaHasRulesForType=IA0;function xb($,I){return I.rules.some((U)=>kb($,U))}ub.shouldUseGroup=xb;function kb($,I){var U;return $[I.keyword]!==void 0||((U=I.definition.implements)===null||U===void 0?void 0:U.some((Y)=>$[Y]!==void 0))}ub.shouldUseRule=kb});var xQ=O((pb)=>{Object.defineProperty(pb,"__esModule",{value:!0});pb.reportTypeError=pb.checkDataTypes=pb.checkDataType=pb.coerceAndCheckDataType=pb.getJSONTypes=pb.getSchemaTypes=pb.DataType=void 0;var JA0=HT(),QA0=WT(),KA0=hQ(),t0=s0(),bb=w1(),$U;(function($){$[$.Correct=0]="Correct",$[$.Wrong=1]="Wrong"})($U||(pb.DataType=$U={}));function qA0($){let I=ib($.type);if(I.includes("null")){if($.nullable===!1)throw Error("type: null contradicts nullable: false")}else{if(!I.length&&$.nullable!==void 0)throw Error('"nullable" cannot be used without "type"');if($.nullable===!0)I.push("null")}return I}pb.getSchemaTypes=qA0;function ib($){let I=Array.isArray($)?$:$?[$]:[];if(I.every(JA0.isJSONType))return I;throw Error("type must be JSONType or JSONType[]: "+I.join(","))}pb.getJSONTypes=ib;function GA0($,I){let{gen:U,data:Y,opts:J}=$,Q=HA0(I,J.coerceTypes),K=I.length>0&&!(Q.length===0&&I.length===1&&(0,QA0.schemaHasRulesForType)($,I[0]));if(K){let q=wT(I,Y,J.strictNumbers,$U.Wrong);U.if(q,()=>{if(Q.length)WA0($,I,Q);else ZT($)})}return K}pb.coerceAndCheckDataType=GA0;var nb=new Set(["string","number","integer","boolean","null"]);function HA0($,I){return I?$.filter((U)=>nb.has(U)||I==="array"&&U==="array"):[]}function WA0($,I,U){let{gen:Y,data:J,opts:Q}=$,K=Y.let("dataType",t0._`typeof ${J}`),q=Y.let("coerced",t0._`undefined`);if(Q.coerceTypes==="array")Y.if(t0._`${K} == 'object' && Array.isArray(${J}) && ${J}.length == 1`,()=>Y.assign(J,t0._`${J}[0]`).assign(K,t0._`typeof ${J}`).if(wT(I,J,Q.strictNumbers),()=>Y.assign(q,J)));Y.if(t0._`${q} !== undefined`);for(let H of U)if(nb.has(H)||H==="array"&&Q.coerceTypes==="array")G(H);Y.else(),ZT($),Y.endIf(),Y.if(t0._`${q} !== undefined`,()=>{Y.assign(J,q),VA0($,q)});function G(H){switch(H){case"string":Y.elseIf(t0._`${K} == "number" || ${K} == "boolean"`).assign(q,t0._`"" + ${J}`).elseIf(t0._`${J} === null`).assign(q,t0._`""`);return;case"number":Y.elseIf(t0._`${K} == "boolean" || ${J} === null + || (${K} == "string" && ${J} && ${J} == +${J})`).assign(q,t0._`+${J}`);return;case"integer":Y.elseIf(t0._`${K} === "boolean" || ${J} === null + || (${K} === "string" && ${J} && ${J} == +${J} && !(${J} % 1))`).assign(q,t0._`+${J}`);return;case"boolean":Y.elseIf(t0._`${J} === "false" || ${J} === 0 || ${J} === null`).assign(q,!1).elseIf(t0._`${J} === "true" || ${J} === 1`).assign(q,!0);return;case"null":Y.elseIf(t0._`${J} === "" || ${J} === 0 || ${J} === false`),Y.assign(q,null);return;case"array":Y.elseIf(t0._`${K} === "string" || ${K} === "number" + || ${K} === "boolean" || ${J} === null`).assign(q,t0._`[${J}]`)}}}function VA0({gen:$,parentData:I,parentDataProperty:U},Y){$.if(t0._`${I} !== undefined`,()=>$.assign(t0._`${I}[${U}]`,Y))}function VT($,I,U,Y=$U.Correct){let J=Y===$U.Correct?t0.operators.EQ:t0.operators.NEQ,Q;switch($){case"null":return t0._`${I} ${J} null`;case"array":Q=t0._`Array.isArray(${I})`;break;case"object":Q=t0._`${I} && typeof ${I} == "object" && !Array.isArray(${I})`;break;case"integer":Q=K(t0._`!(${I} % 1) && !isNaN(${I})`);break;case"number":Q=K();break;default:return t0._`typeof ${I} ${J} ${$}`}return Y===$U.Correct?Q:(0,t0.not)(Q);function K(q=t0.nil){return(0,t0.and)(t0._`typeof ${I} == "number"`,q,U?t0._`isFinite(${I})`:t0.nil)}}pb.checkDataType=VT;function wT($,I,U,Y){if($.length===1)return VT($[0],I,U,Y);let J,Q=(0,bb.toHash)($);if(Q.array&&Q.object){let K=t0._`typeof ${I} != "object"`;J=Q.null?K:t0._`!${I} || ${K}`,delete Q.null,delete Q.array,delete Q.object}else J=t0.nil;if(Q.number)delete Q.integer;for(let K in Q)J=(0,t0.and)(J,VT(K,I,U,Y));return J}pb.checkDataTypes=wT;var wA0={message:({schema:$})=>`must be ${$}`,params:({schema:$,schemaValue:I})=>typeof $=="string"?t0._`{type: ${$}}`:t0._`{type: ${I}}`};function ZT($){let I=ZA0($);(0,KA0.reportError)(I,wA0)}pb.reportTypeError=ZT;function ZA0($){let{gen:I,data:U,schema:Y}=$,J=(0,bb.schemaRefOrVal)($,Y,"type");return{gen:I,keyword:"type",data:U,schema:Y.type,schemaCode:J,schemaValue:J,parentSchema:Y,params:{},it:$}}});var ob=O((mb)=>{Object.defineProperty(mb,"__esModule",{value:!0});mb.assignDefaults=void 0;var IU=s0(),NA0=w1();function MA0($,I){let{properties:U,items:Y}=$.schema;if(I==="object"&&U)for(let J in U)db($,J,U[J].default);else if(I==="array"&&Array.isArray(Y))Y.forEach((J,Q)=>db($,Q,J.default))}mb.assignDefaults=MA0;function db($,I,U){let{gen:Y,compositeRule:J,data:Q,opts:K}=$;if(U===void 0)return;let q=IU._`${Q}${(0,IU.getProperty)(I)}`;if(J){(0,NA0.checkStrictMode)($,`default is ignored for: ${q}`);return}let G=IU._`${q} === undefined`;if(K.useDefaults==="empty")G=IU._`${G} || ${q} === null || ${q} === ""`;Y.if(G,IU._`${q} = ${(0,IU.stringify)(U)}`)}});var O$=O((ab)=>{Object.defineProperty(ab,"__esModule",{value:!0});ab.validateUnion=ab.validateArray=ab.usePattern=ab.callValidateCode=ab.schemaProperties=ab.allSchemaProperties=ab.noPropertyInData=ab.propertyInData=ab.isOwnProperty=ab.hasPropFunc=ab.reportMissingProp=ab.checkMissingProp=ab.checkReportMissingProp=void 0;var l1=s0(),XT=w1(),H9=$5(),AA0=w1();function PA0($,I){let{gen:U,data:Y,it:J}=$;U.if(LT(U,Y,I,J.opts.ownProperties),()=>{$.setParams({missingProperty:l1._`${I}`},!0),$.error()})}ab.checkReportMissingProp=PA0;function TA0({gen:$,data:I,it:{opts:U}},Y,J){return(0,l1.or)(...Y.map((Q)=>(0,l1.and)(LT($,I,Q,U.ownProperties),l1._`${J} = ${Q}`)))}ab.checkMissingProp=TA0;function EA0($,I){$.setParams({missingProperty:I},!0),$.error()}ab.reportMissingProp=EA0;function rb($){return $.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:l1._`Object.prototype.hasOwnProperty`})}ab.hasPropFunc=rb;function zT($,I,U){return l1._`${rb($)}.call(${I}, ${U})`}ab.isOwnProperty=zT;function BA0($,I,U,Y){let J=l1._`${I}${(0,l1.getProperty)(U)} !== undefined`;return Y?l1._`${J} && ${zT($,I,U)}`:J}ab.propertyInData=BA0;function LT($,I,U,Y){let J=l1._`${I}${(0,l1.getProperty)(U)} === undefined`;return Y?(0,l1.or)(J,(0,l1.not)(zT($,I,U))):J}ab.noPropertyInData=LT;function tb($){return $?Object.keys($).filter((I)=>I!=="__proto__"):[]}ab.allSchemaProperties=tb;function vA0($,I){return tb(I).filter((U)=>!(0,XT.alwaysValidSchema)($,I[U]))}ab.schemaProperties=vA0;function RA0({schemaCode:$,data:I,it:{gen:U,topSchemaRef:Y,schemaPath:J,errorPath:Q},it:K},q,G,H){let W=H?l1._`${$}, ${I}, ${Y}${J}`:I,V=[[H9.default.instancePath,(0,l1.strConcat)(H9.default.instancePath,Q)],[H9.default.parentData,K.parentData],[H9.default.parentDataProperty,K.parentDataProperty],[H9.default.rootData,H9.default.rootData]];if(K.opts.dynamicRef)V.push([H9.default.dynamicAnchors,H9.default.dynamicAnchors]);let w=l1._`${W}, ${U.object(...V)}`;return G!==l1.nil?l1._`${q}.call(${G}, ${w})`:l1._`${q}(${w})`}ab.callValidateCode=RA0;var CA0=l1._`new RegExp`;function jA0({gen:$,it:{opts:I}},U){let Y=I.unicodeRegExp?"u":"",{regExp:J}=I.code,Q=J(U,Y);return $.scopeValue("pattern",{key:Q.toString(),ref:Q,code:l1._`${J.code==="new RegExp"?CA0:(0,AA0.useFunc)($,J)}(${U}, ${Y})`})}ab.usePattern=jA0;function _A0($){let{gen:I,data:U,keyword:Y,it:J}=$,Q=I.name("valid");if(J.allErrors){let q=I.let("valid",!0);return K(()=>I.assign(q,!1)),q}return I.var(Q,!0),K(()=>I.break()),Q;function K(q){let G=I.const("len",l1._`${U}.length`);I.forRange("i",0,G,(H)=>{$.subschema({keyword:Y,dataProp:H,dataPropType:XT.Type.Num},Q),I.if((0,l1.not)(Q),q)})}}ab.validateArray=_A0;function SA0($){let{gen:I,schema:U,keyword:Y,it:J}=$;if(!Array.isArray(U))throw Error("ajv implementation error");if(U.some((G)=>(0,XT.alwaysValidSchema)(J,G))&&!J.opts.unevaluated)return;let K=I.let("valid",!1),q=I.name("_valid");I.block(()=>U.forEach((G,H)=>{let W=$.subschema({keyword:Y,schemaProp:H,compositeRule:!0},q);if(I.assign(K,l1._`${K} || ${q}`),!$.mergeValidEvaluated(W,q))I.if((0,l1.not)(K))})),$.result(K,()=>$.reset(),()=>$.error(!0))}ab.validateUnion=SA0});var Yi=O((Ii)=>{Object.defineProperty(Ii,"__esModule",{value:!0});Ii.validateKeywordUsage=Ii.validSchemaType=Ii.funcKeywordCode=Ii.macroKeywordCode=void 0;var B6=s0(),_7=$5(),dA0=O$(),mA0=hQ();function lA0($,I){let{gen:U,keyword:Y,schema:J,parentSchema:Q,it:K}=$,q=I.macro.call(K.self,J,Q,K),G=$i(U,Y,q);if(K.opts.validateSchema!==!1)K.self.validateSchema(q,!0);let H=U.name("valid");$.subschema({schema:q,schemaPath:B6.nil,errSchemaPath:`${K.errSchemaPath}/${Y}`,topSchemaRef:G,compositeRule:!0},H),$.pass(H,()=>$.error(!0))}Ii.macroKeywordCode=lA0;function oA0($,I){var U;let{gen:Y,keyword:J,schema:Q,parentSchema:K,$data:q,it:G}=$;tA0(G,I);let H=!q&&I.compile?I.compile.call(G.self,Q,K,G):I.validate,W=$i(Y,J,H),V=Y.let("valid");$.block$data(V,w),$.ok((U=I.valid)!==null&&U!==void 0?U:V);function w(){if(I.errors===!1){if(L(),I.modifying)eb($);D(()=>$.error())}else{let F=I.async?Z():z();if(I.modifying)eb($);D(()=>rA0($,F))}}function Z(){let F=Y.let("ruleErrs",null);return Y.try(()=>L(B6._`await `),(E)=>Y.assign(V,!1).if(B6._`${E} instanceof ${G.ValidationError}`,()=>Y.assign(F,B6._`${E}.errors`),()=>Y.throw(E))),F}function z(){let F=B6._`${W}.errors`;return Y.assign(F,null),L(B6.nil),F}function L(F=I.async?B6._`await `:B6.nil){let E=G.opts.passContext?_7.default.this:_7.default.self,T=!(("compile"in I)&&!q||I.schema===!1);Y.assign(V,B6._`${F}${(0,dA0.callValidateCode)($,W,E,T)}`,I.modifying)}function D(F){var E;Y.if((0,B6.not)((E=I.valid)!==null&&E!==void 0?E:V),F)}}Ii.funcKeywordCode=oA0;function eb($){let{gen:I,data:U,it:Y}=$;I.if(Y.parentData,()=>I.assign(U,B6._`${Y.parentData}[${Y.parentDataProperty}]`))}function rA0($,I){let{gen:U}=$;U.if(B6._`Array.isArray(${I})`,()=>{U.assign(_7.default.vErrors,B6._`${_7.default.vErrors} === null ? ${I} : ${_7.default.vErrors}.concat(${I})`).assign(_7.default.errors,B6._`${_7.default.vErrors}.length`),(0,mA0.extendErrors)($)},()=>$.error())}function tA0({schemaEnv:$},I){if(I.async&&!$.$async)throw Error("async keyword in sync schema")}function $i($,I,U){if(U===void 0)throw Error(`keyword "${I}" failed to compile`);return $.scopeValue("keyword",typeof U=="function"?{ref:U}:{ref:U,code:(0,B6.stringify)(U)})}function aA0($,I,U=!1){return!I.length||I.some((Y)=>Y==="array"?Array.isArray($):Y==="object"?$&&typeof $=="object"&&!Array.isArray($):typeof $==Y||U&&typeof $>"u")}Ii.validSchemaType=aA0;function sA0({schema:$,opts:I,self:U,errSchemaPath:Y},J,Q){if(Array.isArray(J.keyword)?!J.keyword.includes(Q):J.keyword!==Q)throw Error("ajv implementation error");let K=J.dependencies;if(K===null||K===void 0?void 0:K.some((q)=>!Object.prototype.hasOwnProperty.call($,q)))throw Error(`parent schema must have dependencies of ${Q}: ${K.join(",")}`);if(J.validateSchema){if(!J.validateSchema($[Q])){let G=`keyword "${Q}" value is invalid at path "${Y}": `+U.errorsText(J.validateSchema.errors);if(I.validateSchema==="log")U.logger.error(G);else throw Error(G)}}}Ii.validateKeywordUsage=sA0});var qi=O((Qi)=>{Object.defineProperty(Qi,"__esModule",{value:!0});Qi.extendSubschemaMode=Qi.extendSubschemaData=Qi.getSubschema=void 0;var V8=s0(),Ji=w1();function UP0($,{keyword:I,schemaProp:U,schema:Y,schemaPath:J,errSchemaPath:Q,topSchemaRef:K}){if(I!==void 0&&Y!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(I!==void 0){let q=$.schema[I];return U===void 0?{schema:q,schemaPath:V8._`${$.schemaPath}${(0,V8.getProperty)(I)}`,errSchemaPath:`${$.errSchemaPath}/${I}`}:{schema:q[U],schemaPath:V8._`${$.schemaPath}${(0,V8.getProperty)(I)}${(0,V8.getProperty)(U)}`,errSchemaPath:`${$.errSchemaPath}/${I}/${(0,Ji.escapeFragment)(U)}`}}if(Y!==void 0){if(J===void 0||Q===void 0||K===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:Y,schemaPath:J,topSchemaRef:K,errSchemaPath:Q}}throw Error('either "keyword" or "schema" must be passed')}Qi.getSubschema=UP0;function YP0($,I,{dataProp:U,dataPropType:Y,data:J,dataTypes:Q,propertyName:K}){if(J!==void 0&&U!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:q}=I;if(U!==void 0){let{errorPath:H,dataPathArr:W,opts:V}=I,w=q.let("data",V8._`${I.data}${(0,V8.getProperty)(U)}`,!0);G(w),$.errorPath=V8.str`${H}${(0,Ji.getErrorPath)(U,Y,V.jsPropertySyntax)}`,$.parentDataProperty=V8._`${U}`,$.dataPathArr=[...W,$.parentDataProperty]}if(J!==void 0){let H=J instanceof V8.Name?J:q.let("data",J,!0);if(G(H),K!==void 0)$.propertyName=K}if(Q)$.dataTypes=Q;function G(H){$.data=H,$.dataLevel=I.dataLevel+1,$.dataTypes=[],I.definedProperties=new Set,$.parentData=I.data,$.dataNames=[...I.dataNames,H]}}Qi.extendSubschemaData=YP0;function JP0($,{jtdDiscriminator:I,jtdMetadata:U,compositeRule:Y,createErrors:J,allErrors:Q}){if(Y!==void 0)$.compositeRule=Y;if(J!==void 0)$.createErrors=J;if(Q!==void 0)$.allErrors=Q;$.jtdDiscriminator=I,$.jtdMetadata=U}Qi.extendSubschemaMode=JP0});var DT=O((WD1,Gi)=>{Gi.exports=function $(I,U){if(I===U)return!0;if(I&&U&&typeof I=="object"&&typeof U=="object"){if(I.constructor!==U.constructor)return!1;var Y,J,Q;if(Array.isArray(I)){if(Y=I.length,Y!=U.length)return!1;for(J=Y;J--!==0;)if(!$(I[J],U[J]))return!1;return!0}if(I.constructor===RegExp)return I.source===U.source&&I.flags===U.flags;if(I.valueOf!==Object.prototype.valueOf)return I.valueOf()===U.valueOf();if(I.toString!==Object.prototype.toString)return I.toString()===U.toString();if(Q=Object.keys(I),Y=Q.length,Y!==Object.keys(U).length)return!1;for(J=Y;J--!==0;)if(!Object.prototype.hasOwnProperty.call(U,Q[J]))return!1;for(J=Y;J--!==0;){var K=Q[J];if(!$(I[K],U[K]))return!1}return!0}return I!==I&&U!==U}});var Wi=O((VD1,Hi)=>{var W9=Hi.exports=function($,I,U){if(typeof I=="function")U=I,I={};U=I.cb||U;var Y=typeof U=="function"?U:U.pre||function(){},J=U.post||function(){};pW(I,Y,J,$,"",$)};W9.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};W9.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};W9.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};W9.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function pW($,I,U,Y,J,Q,K,q,G,H){if(Y&&typeof Y=="object"&&!Array.isArray(Y)){I(Y,J,Q,K,q,G,H);for(var W in Y){var V=Y[W];if(Array.isArray(V)){if(W in W9.arrayKeywords)for(var w=0;w{Object.defineProperty(Xi,"__esModule",{value:!0});Xi.getSchemaRefs=Xi.resolveUrl=Xi.normalizeId=Xi._getFullPath=Xi.getFullPath=Xi.inlineRef=void 0;var GP0=w1(),HP0=DT(),WP0=Wi(),VP0=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function wP0($,I=!0){if(typeof $=="boolean")return!0;if(I===!0)return!OT($);if(!I)return!1;return Vi($)<=I}Xi.inlineRef=wP0;var ZP0=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function OT($){for(let I in $){if(ZP0.has(I))return!0;let U=$[I];if(Array.isArray(U)&&U.some(OT))return!0;if(typeof U=="object"&&OT(U))return!0}return!1}function Vi($){let I=0;for(let U in $){if(U==="$ref")return 1/0;if(I++,VP0.has(U))continue;if(typeof $[U]=="object")(0,GP0.eachItem)($[U],(Y)=>I+=Vi(Y));if(I===1/0)return 1/0}return I}function wi($,I="",U){if(U!==!1)I=UU(I);let Y=$.parse(I);return Zi($,Y)}Xi.getFullPath=wi;function Zi($,I){return $.serialize(I).split("#")[0]+"#"}Xi._getFullPath=Zi;var XP0=/#\/?$/;function UU($){return $?$.replace(XP0,""):""}Xi.normalizeId=UU;function zP0($,I,U){return U=UU(U),$.resolve(I,U)}Xi.resolveUrl=zP0;var LP0=/^[a-z_][-a-z0-9._]*$/i;function DP0($,I){if(typeof $=="boolean")return{};let{schemaId:U,uriResolver:Y}=this.opts,J=UU($[U]||I),Q={"":J},K=wi(Y,J,!1),q={},G=new Set;return WP0($,{allKeys:!0},(V,w,Z,z)=>{if(z===void 0)return;let L=K+w,D=Q[z];if(typeof V[U]=="string")D=F.call(this,V[U]);E.call(this,V.$anchor),E.call(this,V.$dynamicAnchor),Q[w]=D;function F(T){let A=this.opts.uriResolver.resolve;if(T=UU(D?A(D,T):T),G.has(T))throw W(T);G.add(T);let R=this.refs[T];if(typeof R=="string")R=this.refs[R];if(typeof R=="object")H(V,R.schema,T);else if(T!==UU(L))if(T[0]==="#")H(V,q[T],T),q[T]=V;else this.refs[T]=L;return T}function E(T){if(typeof T=="string"){if(!LP0.test(T))throw Error(`invalid anchor "${T}"`);F.call(this,`#${T}`)}}}),q;function H(V,w,Z){if(w!==void 0&&!HP0(V,w))throw W(Z)}function W(V){return Error(`reference "${V}" resolves to more than one schema`)}}Xi.getSchemaRefs=DP0});var bQ=O((ji)=>{Object.defineProperty(ji,"__esModule",{value:!0});ji.getData=ji.KeywordCxt=ji.validateFunctionCode=void 0;var Ni=gb(),Li=xQ(),NT=WT(),cW=xQ(),PP0=ob(),fQ=Yi(),FT=qi(),S0=s0(),n0=$5(),TP0=kQ(),I5=w1(),uQ=hQ();function EP0($){if(Pi($)){if(Ti($),Ai($)){RP0($);return}}Mi($,()=>(0,Ni.topBoolOrEmptySchema)($))}ji.validateFunctionCode=EP0;function Mi({gen:$,validateName:I,schema:U,schemaEnv:Y,opts:J},Q){if(J.code.es5)$.func(I,S0._`${n0.default.data}, ${n0.default.valCxt}`,Y.$async,()=>{$.code(S0._`"use strict"; ${Di(U,J)}`),vP0($,J),$.code(Q)});else $.func(I,S0._`${n0.default.data}, ${BP0(J)}`,Y.$async,()=>$.code(Di(U,J)).code(Q))}function BP0($){return S0._`{${n0.default.instancePath}="", ${n0.default.parentData}, ${n0.default.parentDataProperty}, ${n0.default.rootData}=${n0.default.data}${$.dynamicRef?S0._`, ${n0.default.dynamicAnchors}={}`:S0.nil}}={}`}function vP0($,I){$.if(n0.default.valCxt,()=>{if($.var(n0.default.instancePath,S0._`${n0.default.valCxt}.${n0.default.instancePath}`),$.var(n0.default.parentData,S0._`${n0.default.valCxt}.${n0.default.parentData}`),$.var(n0.default.parentDataProperty,S0._`${n0.default.valCxt}.${n0.default.parentDataProperty}`),$.var(n0.default.rootData,S0._`${n0.default.valCxt}.${n0.default.rootData}`),I.dynamicRef)$.var(n0.default.dynamicAnchors,S0._`${n0.default.valCxt}.${n0.default.dynamicAnchors}`)},()=>{if($.var(n0.default.instancePath,S0._`""`),$.var(n0.default.parentData,S0._`undefined`),$.var(n0.default.parentDataProperty,S0._`undefined`),$.var(n0.default.rootData,n0.default.data),I.dynamicRef)$.var(n0.default.dynamicAnchors,S0._`{}`)})}function RP0($){let{schema:I,opts:U,gen:Y}=$;Mi($,()=>{if(U.$comment&&I.$comment)Bi($);if(gP0($),Y.let(n0.default.vErrors,null),Y.let(n0.default.errors,0),U.unevaluated)CP0($);Ei($),xP0($)});return}function CP0($){let{gen:I,validateName:U}=$;$.evaluated=I.const("evaluated",S0._`${U}.evaluated`),I.if(S0._`${$.evaluated}.dynamicProps`,()=>I.assign(S0._`${$.evaluated}.props`,S0._`undefined`)),I.if(S0._`${$.evaluated}.dynamicItems`,()=>I.assign(S0._`${$.evaluated}.items`,S0._`undefined`))}function Di($,I){let U=typeof $=="object"&&$[I.schemaId];return U&&(I.code.source||I.code.process)?S0._`/*# sourceURL=${U} */`:S0.nil}function jP0($,I){if(Pi($)){if(Ti($),Ai($)){_P0($,I);return}}(0,Ni.boolOrEmptySchema)($,I)}function Ai({schema:$,self:I}){if(typeof $=="boolean")return!$;for(let U in $)if(I.RULES.all[U])return!0;return!1}function Pi($){return typeof $.schema!="boolean"}function _P0($,I){let{schema:U,gen:Y,opts:J}=$;if(J.$comment&&U.$comment)Bi($);yP0($),hP0($);let Q=Y.const("_errs",n0.default.errors);Ei($,Q),Y.var(I,S0._`${Q} === ${n0.default.errors}`)}function Ti($){(0,I5.checkUnknownRules)($),SP0($)}function Ei($,I){if($.opts.jtd)return Oi($,[],!1,I);let U=(0,Li.getSchemaTypes)($.schema),Y=(0,Li.coerceAndCheckDataType)($,U);Oi($,U,!Y,I)}function SP0($){let{schema:I,errSchemaPath:U,opts:Y,self:J}=$;if(I.$ref&&Y.ignoreKeywordsWithRef&&(0,I5.schemaHasRulesButRef)(I,J.RULES))J.logger.warn(`$ref: keywords ignored in schema at path "${U}"`)}function gP0($){let{schema:I,opts:U}=$;if(I.default!==void 0&&U.useDefaults&&U.strictSchema)(0,I5.checkStrictMode)($,"default is ignored in the schema root")}function yP0($){let I=$.schema[$.opts.schemaId];if(I)$.baseId=(0,TP0.resolveUrl)($.opts.uriResolver,$.baseId,I)}function hP0($){if($.schema.$async&&!$.schemaEnv.$async)throw Error("async schema in sync schema")}function Bi({gen:$,schemaEnv:I,schema:U,errSchemaPath:Y,opts:J}){let Q=U.$comment;if(J.$comment===!0)$.code(S0._`${n0.default.self}.logger.log(${Q})`);else if(typeof J.$comment=="function"){let K=S0.str`${Y}/$comment`,q=$.scopeValue("root",{ref:I.root});$.code(S0._`${n0.default.self}.opts.$comment(${Q}, ${K}, ${q}.schema)`)}}function xP0($){let{gen:I,schemaEnv:U,validateName:Y,ValidationError:J,opts:Q}=$;if(U.$async)I.if(S0._`${n0.default.errors} === 0`,()=>I.return(n0.default.data),()=>I.throw(S0._`new ${J}(${n0.default.vErrors})`));else{if(I.assign(S0._`${Y}.errors`,n0.default.vErrors),Q.unevaluated)kP0($);I.return(S0._`${n0.default.errors} === 0`)}}function kP0({gen:$,evaluated:I,props:U,items:Y}){if(U instanceof S0.Name)$.assign(S0._`${I}.props`,U);if(Y instanceof S0.Name)$.assign(S0._`${I}.items`,Y)}function Oi($,I,U,Y){let{gen:J,schema:Q,data:K,allErrors:q,opts:G,self:H}=$,{RULES:W}=H;if(Q.$ref&&(G.ignoreKeywordsWithRef||!(0,I5.schemaHasRulesButRef)(Q,W))){J.block(()=>Ri($,"$ref",W.all.$ref.definition));return}if(!G.jtd)uP0($,I);J.block(()=>{for(let w of W.rules)V(w);V(W.post)});function V(w){if(!(0,NT.shouldUseGroup)(Q,w))return;if(w.type){if(J.if((0,cW.checkDataType)(w.type,K,G.strictNumbers)),Fi($,w),I.length===1&&I[0]===w.type&&U)J.else(),(0,cW.reportTypeError)($);J.endIf()}else Fi($,w);if(!q)J.if(S0._`${n0.default.errors} === ${Y||0}`)}}function Fi($,I){let{gen:U,schema:Y,opts:{useDefaults:J}}=$;if(J)(0,PP0.assignDefaults)($,I.type);U.block(()=>{for(let Q of I.rules)if((0,NT.shouldUseRule)(Y,Q))Ri($,Q.keyword,Q.definition,I.type)})}function uP0($,I){if($.schemaEnv.meta||!$.opts.strictTypes)return;if(fP0($,I),!$.opts.allowUnionTypes)bP0($,I);iP0($,$.dataTypes)}function fP0($,I){if(!I.length)return;if(!$.dataTypes.length){$.dataTypes=I;return}I.forEach((U)=>{if(!vi($.dataTypes,U))MT($,`type "${U}" not allowed by context "${$.dataTypes.join(",")}"`)}),pP0($,I)}function bP0($,I){if(I.length>1&&!(I.length===2&&I.includes("null")))MT($,"use allowUnionTypes to allow union type keyword")}function iP0($,I){let U=$.self.RULES.all;for(let Y in U){let J=U[Y];if(typeof J=="object"&&(0,NT.shouldUseRule)($.schema,J)){let{type:Q}=J.definition;if(Q.length&&!Q.some((K)=>nP0(I,K)))MT($,`missing type "${Q.join(",")}" for keyword "${Y}"`)}}}function nP0($,I){return $.includes(I)||I==="number"&&$.includes("integer")}function vi($,I){return $.includes(I)||I==="integer"&&$.includes("number")}function pP0($,I){let U=[];for(let Y of $.dataTypes)if(vi(I,Y))U.push(Y);else if(I.includes("integer")&&Y==="number")U.push("integer");$.dataTypes=U}function MT($,I){let U=$.schemaEnv.baseId+$.errSchemaPath;I+=` at "${U}" (strictTypes)`,(0,I5.checkStrictMode)($,I,$.opts.strictTypes)}class AT{constructor($,I,U){if((0,fQ.validateKeywordUsage)($,I,U),this.gen=$.gen,this.allErrors=$.allErrors,this.keyword=U,this.data=$.data,this.schema=$.schema[U],this.$data=I.$data&&$.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,I5.schemaRefOrVal)($,this.schema,U,this.$data),this.schemaType=I.schemaType,this.parentSchema=$.schema,this.params={},this.it=$,this.def=I,this.$data)this.schemaCode=$.gen.const("vSchema",Ci(this.$data,$));else if(this.schemaCode=this.schemaValue,!(0,fQ.validSchemaType)(this.schema,I.schemaType,I.allowUndefined))throw Error(`${U} value must be ${JSON.stringify(I.schemaType)}`);if("code"in I?I.trackErrors:I.errors!==!1)this.errsCount=$.gen.const("_errs",n0.default.errors)}result($,I,U){this.failResult((0,S0.not)($),I,U)}failResult($,I,U){if(this.gen.if($),U)U();else this.error();if(I){if(this.gen.else(),I(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass($,I){this.failResult((0,S0.not)($),void 0,I)}fail($){if($===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if($),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data($){if(!this.$data)return this.fail($);let{schemaCode:I}=this;this.fail(S0._`${I} !== undefined && (${(0,S0.or)(this.invalid$data(),$)})`)}error($,I,U){if(I){this.setParams(I),this._error($,U),this.setParams({});return}this._error($,U)}_error($,I){($?uQ.reportExtraError:uQ.reportError)(this,this.def.error,I)}$dataError(){(0,uQ.reportError)(this,this.def.$dataError||uQ.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,uQ.resetErrorsCount)(this.gen,this.errsCount)}ok($){if(!this.allErrors)this.gen.if($)}setParams($,I){if(I)Object.assign(this.params,$);else this.params=$}block$data($,I,U=S0.nil){this.gen.block(()=>{this.check$data($,U),I()})}check$data($=S0.nil,I=S0.nil){if(!this.$data)return;let{gen:U,schemaCode:Y,schemaType:J,def:Q}=this;if(U.if((0,S0.or)(S0._`${Y} === undefined`,I)),$!==S0.nil)U.assign($,!0);if(J.length||Q.validateSchema){if(U.elseIf(this.invalid$data()),this.$dataError(),$!==S0.nil)U.assign($,!1)}U.else()}invalid$data(){let{gen:$,schemaCode:I,schemaType:U,def:Y,it:J}=this;return(0,S0.or)(Q(),K());function Q(){if(U.length){if(!(I instanceof S0.Name))throw Error("ajv implementation error");let q=Array.isArray(U)?U:[U];return S0._`${(0,cW.checkDataTypes)(q,I,J.opts.strictNumbers,cW.DataType.Wrong)}`}return S0.nil}function K(){if(Y.validateSchema){let q=$.scopeValue("validate$data",{ref:Y.validateSchema});return S0._`!${q}(${I})`}return S0.nil}}subschema($,I){let U=(0,FT.getSubschema)(this.it,$);(0,FT.extendSubschemaData)(U,this.it,$),(0,FT.extendSubschemaMode)(U,$);let Y={...this.it,...U,items:void 0,props:void 0};return jP0(Y,I),Y}mergeEvaluated($,I){let{it:U,gen:Y}=this;if(!U.opts.unevaluated)return;if(U.props!==!0&&$.props!==void 0)U.props=I5.mergeEvaluated.props(Y,$.props,U.props,I);if(U.items!==!0&&$.items!==void 0)U.items=I5.mergeEvaluated.items(Y,$.items,U.items,I)}mergeValidEvaluated($,I){let{it:U,gen:Y}=this;if(U.opts.unevaluated&&(U.props!==!0||U.items!==!0))return Y.if(I,()=>this.mergeEvaluated($,S0.Name)),!0}}ji.KeywordCxt=AT;function Ri($,I,U,Y){let J=new AT($,U,I);if("code"in U)U.code(J,Y);else if(J.$data&&U.validate)(0,fQ.funcKeywordCode)(J,U);else if("macro"in U)(0,fQ.macroKeywordCode)(J,U);else if(U.compile||U.validate)(0,fQ.funcKeywordCode)(J,U)}var cP0=/^\/(?:[^~]|~0|~1)*$/,dP0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Ci($,{dataLevel:I,dataNames:U,dataPathArr:Y}){let J,Q;if($==="")return n0.default.rootData;if($[0]==="/"){if(!cP0.test($))throw Error(`Invalid JSON-pointer: ${$}`);J=$,Q=n0.default.rootData}else{let H=dP0.exec($);if(!H)throw Error(`Invalid JSON-pointer: ${$}`);let W=+H[1];if(J=H[2],J==="#"){if(W>=I)throw Error(G("property/index",W));return Y[I-W]}if(W>I)throw Error(G("data",W));if(Q=U[I-W],!J)return Q}let K=Q,q=J.split("/");for(let H of q)if(H)Q=S0._`${Q}${(0,S0.getProperty)((0,I5.unescapeJsonPointer)(H))}`,K=S0._`${K} && ${Q}`;return K;function G(H,W){return`Cannot access ${H} ${W} levels up, current level is ${I}`}}ji.getData=Ci});var dW=O((gi)=>{Object.defineProperty(gi,"__esModule",{value:!0});class Si extends Error{constructor($){super("validation failed");this.errors=$,this.ajv=this.validation=!0}}gi.default=Si});var iQ=O((hi)=>{Object.defineProperty(hi,"__esModule",{value:!0});var PT=kQ();class yi extends Error{constructor($,I,U,Y){super(Y||`can't resolve reference ${U} from id ${I}`);this.missingRef=(0,PT.resolveUrl)($,I,U),this.missingSchema=(0,PT.normalizeId)((0,PT.getFullPath)($,this.missingRef))}}hi.default=yi});var lW=O((ui)=>{Object.defineProperty(ui,"__esModule",{value:!0});ui.resolveSchema=ui.getCompilingSchema=ui.resolveRef=ui.compileSchema=ui.SchemaEnv=void 0;var n$=s0(),tP0=dW(),S7=$5(),p$=kQ(),xi=w1(),aP0=bQ();class nQ{constructor($){var I;this.refs={},this.dynamicAnchors={};let U;if(typeof $.schema=="object")U=$.schema;this.schema=$.schema,this.schemaId=$.schemaId,this.root=$.root||this,this.baseId=(I=$.baseId)!==null&&I!==void 0?I:(0,p$.normalizeId)(U===null||U===void 0?void 0:U[$.schemaId||"$id"]),this.schemaPath=$.schemaPath,this.localRefs=$.localRefs,this.meta=$.meta,this.$async=U===null||U===void 0?void 0:U.$async,this.refs={}}}ui.SchemaEnv=nQ;function ET($){let I=ki.call(this,$);if(I)return I;let U=(0,p$.getFullPath)(this.opts.uriResolver,$.root.baseId),{es5:Y,lines:J}=this.opts.code,{ownProperties:Q}=this.opts,K=new n$.CodeGen(this.scope,{es5:Y,lines:J,ownProperties:Q}),q;if($.$async)q=K.scopeValue("Error",{ref:tP0.default,code:n$._`require("ajv/dist/runtime/validation_error").default`});let G=K.scopeName("validate");$.validateName=G;let H={gen:K,allErrors:this.opts.allErrors,data:S7.default.data,parentData:S7.default.parentData,parentDataProperty:S7.default.parentDataProperty,dataNames:[S7.default.data],dataPathArr:[n$.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:K.scopeValue("schema",this.opts.code.source===!0?{ref:$.schema,code:(0,n$.stringify)($.schema)}:{ref:$.schema}),validateName:G,ValidationError:q,schema:$.schema,schemaEnv:$,rootId:U,baseId:$.baseId||U,schemaPath:n$.nil,errSchemaPath:$.schemaPath||(this.opts.jtd?"":"#"),errorPath:n$._`""`,opts:this.opts,self:this},W;try{this._compilations.add($),(0,aP0.validateFunctionCode)(H),K.optimize(this.opts.code.optimize);let V=K.toString();if(W=`${K.scopeRefs(S7.default.scope)}return ${V}`,this.opts.code.process)W=this.opts.code.process(W,$);let Z=Function(`${S7.default.self}`,`${S7.default.scope}`,W)(this,this.scope.get());if(this.scope.value(G,{ref:Z}),Z.errors=null,Z.schema=$.schema,Z.schemaEnv=$,$.$async)Z.$async=!0;if(this.opts.code.source===!0)Z.source={validateName:G,validateCode:V,scopeValues:K._values};if(this.opts.unevaluated){let{props:z,items:L}=H;if(Z.evaluated={props:z instanceof n$.Name?void 0:z,items:L instanceof n$.Name?void 0:L,dynamicProps:z instanceof n$.Name,dynamicItems:L instanceof n$.Name},Z.source)Z.source.evaluated=(0,n$.stringify)(Z.evaluated)}return $.validate=Z,$}catch(V){if(delete $.validate,delete $.validateName,W)this.logger.error("Error compiling schema, function code:",W);throw V}finally{this._compilations.delete($)}}ui.compileSchema=ET;function sP0($,I,U){var Y;U=(0,p$.resolveUrl)(this.opts.uriResolver,I,U);let J=$.refs[U];if(J)return J;let Q=IT0.call(this,$,U);if(Q===void 0){let K=(Y=$.localRefs)===null||Y===void 0?void 0:Y[U],{schemaId:q}=this.opts;if(K)Q=new nQ({schema:K,schemaId:q,root:$,baseId:I})}if(Q===void 0)return;return $.refs[U]=eP0.call(this,Q)}ui.resolveRef=sP0;function eP0($){if((0,p$.inlineRef)($.schema,this.opts.inlineRefs))return $.schema;return $.validate?$:ET.call(this,$)}function ki($){for(let I of this._compilations)if($T0(I,$))return I}ui.getCompilingSchema=ki;function $T0($,I){return $.schema===I.schema&&$.root===I.root&&$.baseId===I.baseId}function IT0($,I){let U;while(typeof(U=this.refs[I])=="string")I=U;return U||this.schemas[I]||mW.call(this,$,I)}function mW($,I){let U=this.opts.uriResolver.parse(I),Y=(0,p$._getFullPath)(this.opts.uriResolver,U),J=(0,p$.getFullPath)(this.opts.uriResolver,$.baseId,void 0);if(Object.keys($.schema).length>0&&Y===J)return TT.call(this,U,$);let Q=(0,p$.normalizeId)(Y),K=this.refs[Q]||this.schemas[Q];if(typeof K=="string"){let q=mW.call(this,$,K);if(typeof(q===null||q===void 0?void 0:q.schema)!=="object")return;return TT.call(this,U,q)}if(typeof(K===null||K===void 0?void 0:K.schema)!=="object")return;if(!K.validate)ET.call(this,K);if(Q===(0,p$.normalizeId)(I)){let{schema:q}=K,{schemaId:G}=this.opts,H=q[G];if(H)J=(0,p$.resolveUrl)(this.opts.uriResolver,J,H);return new nQ({schema:q,schemaId:G,root:$,baseId:J})}return TT.call(this,U,K)}ui.resolveSchema=mW;var UT0=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function TT($,{baseId:I,schema:U,root:Y}){var J;if(((J=$.fragment)===null||J===void 0?void 0:J[0])!=="/")return;for(let q of $.fragment.slice(1).split("/")){if(typeof U==="boolean")return;let G=U[(0,xi.unescapeFragment)(q)];if(G===void 0)return;U=G;let H=typeof U==="object"&&U[this.opts.schemaId];if(!UT0.has(q)&&H)I=(0,p$.resolveUrl)(this.opts.uriResolver,I,H)}let Q;if(typeof U!="boolean"&&U.$ref&&!(0,xi.schemaHasRulesButRef)(U,this.RULES)){let q=(0,p$.resolveUrl)(this.opts.uriResolver,I,U.$ref);Q=mW.call(this,Y,q)}let{schemaId:K}=this.opts;if(Q=Q||new nQ({schema:U,schemaId:K,root:Y,baseId:I}),Q.schema!==Q.root.schema)return Q;return}});var bi=O((DD1,qT0)=>{qT0.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var RT=O((OD1,mi)=>{var GT0=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),ni=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),BT=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),pi=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),HT0=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function vT($){let I="",U=0,Y=0;for(Y=0;Y<$.length;Y++){if(U=$[Y].charCodeAt(0),U===48)continue;if(!(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))return"";I+=$[Y];break}for(Y+=1;Y<$.length;Y++){if(U=$[Y].charCodeAt(0),!(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))return"";I+=$[Y]}return I}var WT0=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function ii($){return $.length=0,!0}function VT0($,I,U){if($.length){let Y=vT($);if(Y!=="")I.push(Y);else return U.error=!0,!1;$.length=0}return!0}function wT0($){let I=0,U={error:!1,address:"",zone:""},Y=[],J=[],Q=!1,K=!1,q=VT0;for(let G=0;G<$.length;G++){let H=$[G];if(H==="["||H==="]")continue;if(H===":"){if(Q===!0)K=!0;if(!q(J,Y,U))break;if(++I>7){U.error=!0;break}if(G>0&&$[G-1]===":")Q=!0;Y.push(":");continue}else if(H==="%"){if(!q(J,Y,U))break;q=ii}else{J.push(H);continue}}if(J.length)if(q===ii)U.zone=J.join("");else if(K)Y.push(J.join(""));else Y.push(vT(J));return U.address=Y.join(""),U}function ci($){if(ZT0($,":")<2)return{host:$,isIPV6:!1};let I=wT0($);if(!I.error){let{address:U,address:Y}=I;if(I.zone)U+="%"+I.zone,Y+="%25"+I.zone;return{host:U,isIPV6:!0,escapedHost:Y}}else return{host:$,isIPV6:!1}}function ZT0($,I){let U=0;for(let Y=0;Y<$.length;Y++)if($[Y]===I)U++;return U}function XT0($){let I=$,U=[],Y=-1,J=0;while(J=I.length){if(J===1)if(I===".")break;else if(I==="/"){U.push("/");break}else{U.push(I);break}else if(J===2){if(I[0]==="."){if(I[1]===".")break;else if(I[1]==="/"){I=I.slice(2);continue}}else if(I[0]==="/"){if(I[1]==="."||I[1]==="/"){U.push("/");break}}}else if(J===3){if(I==="/.."){if(U.length!==0)U.pop();U.push("/");break}}if(I[0]==="."){if(I[1]==="."){if(I[2]==="/"){I=I.slice(3);continue}}else if(I[1]==="/"){I=I.slice(2);continue}}else if(I[0]==="/"){if(I[1]==="."){if(I[2]==="/"){I=I.slice(2);continue}else if(I[2]==="."){if(I[3]==="/"){if(I=I.slice(3),U.length!==0)U.pop();continue}}}}if((Y=I.indexOf("/",1))===-1){U.push(I);break}else U.push(I.slice(0,Y)),I=I.slice(Y)}return U.join("")}var zT0={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},LT0=/[@/?#:]/g,DT0=/[@/?#]/g;function di($,I){let U=I?DT0:LT0;return U.lastIndex=0,$.replace(U,(Y)=>zT0[Y])}function OT0($,I=!1){if($.indexOf("%")===-1)return $;let U="";for(let Y=0;Y<$.length;Y++){if($[Y]==="%"&&Y+2<$.length){let J=$.slice(Y+1,Y+3);if(BT(J)){let Q=J.toUpperCase(),K=String.fromCharCode(parseInt(Q,16));if(I&&pi(K))U+=K;else U+="%"+Q;Y+=2;continue}}U+=$[Y]}return U}function FT0($){let I="";for(let U=0;U<$.length;U++){if($[U]==="%"&&U+2<$.length){let Y=$.slice(U+1,U+3);if(BT(Y)){let J=Y.toUpperCase(),Q=String.fromCharCode(parseInt(J,16));if(Q!=="."&&pi(Q))I+=Q;else I+="%"+J;U+=2;continue}}if(HT0($[U]))I+=$[U];else I+=escape($[U])}return I}function NT0($){let I="";for(let U=0;U<$.length;U++){if($[U]==="%"&&U+2<$.length){let Y=$.slice(U+1,U+3);if(BT(Y)){I+="%"+Y.toUpperCase(),U+=2;continue}}I+=escape($[U])}return I}function MT0($){let I=[];if($.userinfo!==void 0)I.push($.userinfo),I.push("@");if($.host!==void 0){let U=unescape($.host);if(!ni(U)){let Y=ci(U);if(Y.isIPV6===!0)U=`[${Y.escapedHost}]`;else U=di(U,!1)}I.push(U)}if(typeof $.port==="number"||typeof $.port==="string")I.push(":"),I.push(String($.port));return I.length?I.join(""):void 0}mi.exports={nonSimpleDomain:WT0,recomposeAuthority:MT0,reescapeHostDelimiters:di,normalizePercentEncoding:OT0,normalizePathEncoding:FT0,escapePreservingEscapes:NT0,removeDotSegments:XT0,isIPv4:ni,isUUID:GT0,normalizeIPv6:ci,stringArrayToHexStripped:vT}});var ai=O((FD1,ti)=>{var{isUUID:AT0}=RT(),PT0=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,TT0=["http","https","ws","wss","urn","urn:uuid"];function ET0($){return TT0.indexOf($)!==-1}function CT($){if($.secure===!0)return!0;else if($.secure===!1)return!1;else if($.scheme)return $.scheme.length===3&&($.scheme[0]==="w"||$.scheme[0]==="W")&&($.scheme[1]==="s"||$.scheme[1]==="S")&&($.scheme[2]==="s"||$.scheme[2]==="S");else return!1}function li($){if(!$.host)$.error=$.error||"HTTP URIs must have a host.";return $}function oi($){let I=String($.scheme).toLowerCase()==="https";if($.port===(I?443:80)||$.port==="")$.port=void 0;if(!$.path)$.path="/";return $}function BT0($){return $.secure=CT($),$.resourceName=($.path||"/")+($.query?"?"+$.query:""),$.path=void 0,$.query=void 0,$}function vT0($){if($.port===(CT($)?443:80)||$.port==="")$.port=void 0;if(typeof $.secure==="boolean")$.scheme=$.secure?"wss":"ws",$.secure=void 0;if($.resourceName){let[I,U]=$.resourceName.split("?");$.path=I&&I!=="/"?I:void 0,$.query=U,$.resourceName=void 0}return $.fragment=void 0,$}function RT0($,I){if(!$.path)return $.error="URN can not be parsed",$;let U=$.path.match(PT0);if(U){let Y=I.scheme||$.scheme||"urn";$.nid=U[1].toLowerCase(),$.nss=U[2];let J=`${Y}:${I.nid||$.nid}`,Q=jT(J);if($.path=void 0,Q)$=Q.parse($,I)}else $.error=$.error||"URN can not be parsed.";return $}function CT0($,I){if($.nid===void 0)throw Error("URN without nid cannot be serialized");let U=I.scheme||$.scheme||"urn",Y=$.nid.toLowerCase(),J=`${U}:${I.nid||Y}`,Q=jT(J);if(Q)$=Q.serialize($,I);let K=$,q=$.nss;return K.path=`${Y||I.nid}:${q}`,I.skipEscape=!0,K}function jT0($,I){let U=$;if(U.uuid=U.nss,U.nss=void 0,!I.tolerant&&(!U.uuid||!AT0(U.uuid)))U.error=U.error||"UUID is not valid.";return U}function _T0($){let I=$;return I.nss=($.uuid||"").toLowerCase(),I}var ri={scheme:"http",domainHost:!0,parse:li,serialize:oi},ST0={scheme:"https",domainHost:ri.domainHost,parse:li,serialize:oi},oW={scheme:"ws",domainHost:!0,parse:BT0,serialize:vT0},gT0={scheme:"wss",domainHost:oW.domainHost,parse:oW.parse,serialize:oW.serialize},yT0={scheme:"urn",parse:RT0,serialize:CT0,skipNormalize:!0},hT0={scheme:"urn:uuid",parse:jT0,serialize:_T0,skipNormalize:!0},rW={http:ri,https:ST0,ws:oW,wss:gT0,urn:yT0,"urn:uuid":hT0};Object.setPrototypeOf(rW,null);function jT($){return $&&(rW[$]||rW[$.toLowerCase()])||void 0}ti.exports={wsIsSecure:CT,SCHEMES:rW,isValidSchemeName:ET0,getSchemeHandler:jT}});var Yn=O((ND1,tW)=>{var{normalizeIPv6:xT0,removeDotSegments:pQ,recomposeAuthority:kT0,normalizePercentEncoding:uT0,normalizePathEncoding:fT0,escapePreservingEscapes:bT0,reescapeHostDelimiters:iT0,isIPv4:nT0,nonSimpleDomain:pT0}=RT(),{SCHEMES:cT0,getSchemeHandler:ei}=ai();function dT0($,I){if(typeof $==="string")$=tT0($,I);else if(typeof $==="object")$=YU(g7($,I),I);return $}function mT0($,I,U){let Y=U?Object.assign({scheme:"null"},U):{scheme:"null"},J=$n(YU($,Y),YU(I,Y),Y,!0);return Y.skipEscape=!0,g7(J,Y)}function $n($,I,U,Y){let J={};if(!Y)$=YU(g7($,U),U),I=YU(g7(I,U),U);if(U=U||{},!U.tolerant&&I.scheme)J.scheme=I.scheme,J.userinfo=I.userinfo,J.host=I.host,J.port=I.port,J.path=pQ(I.path||""),J.query=I.query;else{if(I.userinfo!==void 0||I.host!==void 0||I.port!==void 0)J.userinfo=I.userinfo,J.host=I.host,J.port=I.port,J.path=pQ(I.path||""),J.query=I.query;else{if(!I.path)if(J.path=$.path,I.query!==void 0)J.query=I.query;else J.query=$.query;else{if(I.path[0]==="/")J.path=pQ(I.path);else{if(($.userinfo!==void 0||$.host!==void 0||$.port!==void 0)&&!$.path)J.path="/"+I.path;else if(!$.path)J.path=I.path;else J.path=$.path.slice(0,$.path.lastIndexOf("/")+1)+I.path;J.path=pQ(J.path)}J.query=I.query}J.userinfo=$.userinfo,J.host=$.host,J.port=$.port}J.scheme=$.scheme}return J.fragment=I.fragment,J}function lT0($,I,U){let Y=si($,U),J=si(I,U);return Y!==void 0&&J!==void 0&&Y.toLowerCase()===J.toLowerCase()}function g7($,I){let U={host:$.host,scheme:$.scheme,userinfo:$.userinfo,port:$.port,path:$.path,query:$.query,nid:$.nid,nss:$.nss,uuid:$.uuid,fragment:$.fragment,reference:$.reference,resourceName:$.resourceName,secure:$.secure,error:""},Y=Object.assign({},I),J=[],Q=ei(Y.scheme||U.scheme);if(Q&&Q.serialize)Q.serialize(U,Y);if(U.path!==void 0)if(!Y.skipEscape){if(U.path=bT0(U.path),U.scheme!==void 0)U.path=U.path.split("%3A").join(":")}else U.path=uT0(U.path);if(Y.reference!=="suffix"&&U.scheme)J.push(U.scheme,":");let K=kT0(U);if(K!==void 0){if(Y.reference!=="suffix")J.push("//");if(J.push(K),U.path&&U.path[0]!=="/")J.push("/")}if(U.path!==void 0){let q=U.path;if(!Y.absolutePath&&(!Q||!Q.absolutePath))q=pQ(q);if(K===void 0&&q[0]==="/"&&q[1]==="/")q="/%2F"+q.slice(2);J.push(q)}if(U.query!==void 0)J.push("?",U.query);if(U.fragment!==void 0)J.push("#",U.fragment);return J.join("")}var oT0=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function rT0($,I){if(I[2]!==void 0&&$.path&&$.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof $.port==="number"&&($.port<0||$.port>65535))return"URI port is malformed.";return}function In($,I){let U=Object.assign({},I),Y={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},J=!1,Q=!1;if(U.reference==="suffix")if(U.scheme)$=U.scheme+":"+$;else $="//"+$;let K=$.match(oT0);if(K){if(Y.scheme=K[1],Y.userinfo=K[3],Y.host=K[4],Y.port=parseInt(K[5],10),Y.path=K[6]||"",Y.query=K[7],Y.fragment=K[8],isNaN(Y.port))Y.port=K[5];let q=rT0(Y,K);if(q!==void 0)Y.error=Y.error||q,J=!0;if(Y.host)if(nT0(Y.host)===!1){let W=xT0(Y.host);Y.host=W.host.toLowerCase(),Q=W.isIPV6}else Q=!0;if(Y.scheme===void 0&&Y.userinfo===void 0&&Y.host===void 0&&Y.port===void 0&&Y.query===void 0&&!Y.path)Y.reference="same-document";else if(Y.scheme===void 0)Y.reference="relative";else if(Y.fragment===void 0)Y.reference="absolute";else Y.reference="uri";if(U.reference&&U.reference!=="suffix"&&U.reference!==Y.reference)Y.error=Y.error||"URI is not a "+U.reference+" reference.";let G=ei(U.scheme||Y.scheme);if(!U.unicodeSupport&&(!G||!G.unicodeSupport)){if(Y.host&&(U.domainHost||G&&G.domainHost)&&Q===!1&&pT0(Y.host))try{Y.host=URL.domainToASCII(Y.host.toLowerCase())}catch(H){Y.error=Y.error||"Host's domain name can not be converted to ASCII: "+H}}if(!G||G&&!G.skipNormalize){if($.indexOf("%")!==-1){if(Y.scheme!==void 0)Y.scheme=unescape(Y.scheme);if(Y.host!==void 0)Y.host=iT0(unescape(Y.host),Q)}if(Y.path)Y.path=fT0(Y.path);if(Y.fragment)try{Y.fragment=encodeURI(decodeURIComponent(Y.fragment))}catch{Y.error=Y.error||"URI malformed"}}if(G&&G.parse)G.parse(Y,U)}else Y.error=Y.error||"URI can not be parsed.";return{parsed:Y,malformedAuthorityOrPort:J}}function YU($,I){return In($,I).parsed}function tT0($,I){return Un($,I).normalized}function Un($,I){let{parsed:U,malformedAuthorityOrPort:Y}=In($,I);return{normalized:Y?$:g7(U,I),malformedAuthorityOrPort:Y}}function si($,I){if(typeof $==="string"){let{normalized:U,malformedAuthorityOrPort:Y}=Un($,I);return Y?void 0:U}if(typeof $==="object")return g7($,I)}var _T={SCHEMES:cT0,normalize:dT0,resolve:mT0,resolveComponent:$n,equal:lT0,serialize:g7,parse:YU};tW.exports=_T;tW.exports.default=_T;tW.exports.fastUri=_T});var Kn=O((Qn)=>{Object.defineProperty(Qn,"__esModule",{value:!0});var Jn=Yn();Jn.code='require("ajv/dist/runtime/uri").default';Qn.default=Jn});var Xn=O((U5)=>{Object.defineProperty(U5,"__esModule",{value:!0});U5.CodeGen=U5.Name=U5.nil=U5.stringify=U5.str=U5._=U5.KeywordCxt=void 0;var sT0=bQ();Object.defineProperty(U5,"KeywordCxt",{enumerable:!0,get:function(){return sT0.KeywordCxt}});var JU=s0();Object.defineProperty(U5,"_",{enumerable:!0,get:function(){return JU._}});Object.defineProperty(U5,"str",{enumerable:!0,get:function(){return JU.str}});Object.defineProperty(U5,"stringify",{enumerable:!0,get:function(){return JU.stringify}});Object.defineProperty(U5,"nil",{enumerable:!0,get:function(){return JU.nil}});Object.defineProperty(U5,"Name",{enumerable:!0,get:function(){return JU.Name}});Object.defineProperty(U5,"CodeGen",{enumerable:!0,get:function(){return JU.CodeGen}});var eT0=dW(),Vn=iQ(),$E0=HT(),cQ=lW(),IE0=s0(),dQ=kQ(),aW=xQ(),gT=w1(),qn=bi(),UE0=Kn(),wn=($,I)=>new RegExp($,I);wn.code="new RegExp";var YE0=["removeAdditional","useDefaults","coerceTypes"],JE0=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),QE0={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},KE0={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},Gn=200;function qE0($){var I,U,Y,J,Q,K,q,G,H,W,V,w,Z,z,L,D,F,E,T,A,R,u,g,b,C;let p=$.strict,n=(I=$.code)===null||I===void 0?void 0:I.optimize,S=n===!0||n===void 0?1:n||0,f=(Y=(U=$.code)===null||U===void 0?void 0:U.regExp)!==null&&Y!==void 0?Y:wn,i=(J=$.uriResolver)!==null&&J!==void 0?J:UE0.default;return{strictSchema:(K=(Q=$.strictSchema)!==null&&Q!==void 0?Q:p)!==null&&K!==void 0?K:!0,strictNumbers:(G=(q=$.strictNumbers)!==null&&q!==void 0?q:p)!==null&&G!==void 0?G:!0,strictTypes:(W=(H=$.strictTypes)!==null&&H!==void 0?H:p)!==null&&W!==void 0?W:"log",strictTuples:(w=(V=$.strictTuples)!==null&&V!==void 0?V:p)!==null&&w!==void 0?w:"log",strictRequired:(z=(Z=$.strictRequired)!==null&&Z!==void 0?Z:p)!==null&&z!==void 0?z:!1,code:$.code?{...$.code,optimize:S,regExp:f}:{optimize:S,regExp:f},loopRequired:(L=$.loopRequired)!==null&&L!==void 0?L:Gn,loopEnum:(D=$.loopEnum)!==null&&D!==void 0?D:Gn,meta:(F=$.meta)!==null&&F!==void 0?F:!0,messages:(E=$.messages)!==null&&E!==void 0?E:!0,inlineRefs:(T=$.inlineRefs)!==null&&T!==void 0?T:!0,schemaId:(A=$.schemaId)!==null&&A!==void 0?A:"$id",addUsedSchema:(R=$.addUsedSchema)!==null&&R!==void 0?R:!0,validateSchema:(u=$.validateSchema)!==null&&u!==void 0?u:!0,validateFormats:(g=$.validateFormats)!==null&&g!==void 0?g:!0,unicodeRegExp:(b=$.unicodeRegExp)!==null&&b!==void 0?b:!0,int32range:(C=$.int32range)!==null&&C!==void 0?C:!0,uriResolver:i}}class sW{constructor($={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,$=this.opts={...$,...qE0($)};let{es5:I,lines:U}=this.opts.code;this.scope=new IE0.ValueScope({scope:{},prefixes:JE0,es5:I,lines:U}),this.logger=ZE0($.logger);let Y=$.validateFormats;if($.validateFormats=!1,this.RULES=(0,$E0.getRules)(),Hn.call(this,QE0,$,"NOT SUPPORTED"),Hn.call(this,KE0,$,"DEPRECATED","warn"),this._metaOpts=VE0.call(this),$.formats)HE0.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),$.keywords)WE0.call(this,$.keywords);if(typeof $.meta=="object")this.addMetaSchema($.meta);GE0.call(this),$.validateFormats=Y}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:$,meta:I,schemaId:U}=this.opts,Y=qn;if(U==="id")Y={...qn},Y.id=Y.$id,delete Y.$id;if(I&&$)this.addMetaSchema(Y,Y[U],!1)}defaultMeta(){let{meta:$,schemaId:I}=this.opts;return this.opts.defaultMeta=typeof $=="object"?$[I]||$:void 0}validate($,I){let U;if(typeof $=="string"){if(U=this.getSchema($),!U)throw Error(`no schema with key or ref "${$}"`)}else U=this.compile($);let Y=U(I);if(!("$async"in U))this.errors=U.errors;return Y}compile($,I){let U=this._addSchema($,I);return U.validate||this._compileSchemaEnv(U)}compileAsync($,I){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:U}=this.opts;return Y.call(this,$,I);async function Y(H,W){await J.call(this,H.$schema);let V=this._addSchema(H,W);return V.validate||Q.call(this,V)}async function J(H){if(H&&!this.getSchema(H))await Y.call(this,{$ref:H},!0)}async function Q(H){try{return this._compileSchemaEnv(H)}catch(W){if(!(W instanceof Vn.default))throw W;return K.call(this,W),await q.call(this,W.missingSchema),Q.call(this,H)}}function K({missingSchema:H,missingRef:W}){if(this.refs[H])throw Error(`AnySchema ${H} is loaded but ${W} cannot be resolved`)}async function q(H){let W=await G.call(this,H);if(!this.refs[H])await J.call(this,W.$schema);if(!this.refs[H])this.addSchema(W,H,I)}async function G(H){let W=this._loading[H];if(W)return W;try{return await(this._loading[H]=U(H))}finally{delete this._loading[H]}}}addSchema($,I,U,Y=this.opts.validateSchema){if(Array.isArray($)){for(let Q of $)this.addSchema(Q,void 0,U,Y);return this}let J;if(typeof $==="object"){let{schemaId:Q}=this.opts;if(J=$[Q],J!==void 0&&typeof J!="string")throw Error(`schema ${Q} must be string`)}return I=(0,dQ.normalizeId)(I||J),this._checkUnique(I),this.schemas[I]=this._addSchema($,U,I,Y,!0),this}addMetaSchema($,I,U=this.opts.validateSchema){return this.addSchema($,I,!0,U),this}validateSchema($,I){if(typeof $=="boolean")return!0;let U;if(U=$.$schema,U!==void 0&&typeof U!="string")throw Error("$schema must be a string");if(U=U||this.opts.defaultMeta||this.defaultMeta(),!U)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let Y=this.validate(U,$);if(!Y&&I){let J="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(J);else throw Error(J)}return Y}getSchema($){let I;while(typeof(I=Wn.call(this,$))=="string")$=I;if(I===void 0){let{schemaId:U}=this.opts,Y=new cQ.SchemaEnv({schema:{},schemaId:U});if(I=cQ.resolveSchema.call(this,Y,$),!I)return;this.refs[$]=I}return I.validate||this._compileSchemaEnv(I)}removeSchema($){if($ instanceof RegExp)return this._removeAllSchemas(this.schemas,$),this._removeAllSchemas(this.refs,$),this;switch(typeof $){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let I=Wn.call(this,$);if(typeof I=="object")this._cache.delete(I.schema);return delete this.schemas[$],delete this.refs[$],this}case"object":{let I=$;this._cache.delete(I);let U=$[this.opts.schemaId];if(U)U=(0,dQ.normalizeId)(U),delete this.schemas[U],delete this.refs[U];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary($){for(let I of $)this.addKeyword(I);return this}addKeyword($,I){let U;if(typeof $=="string"){if(U=$,typeof I=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),I.keyword=U}else if(typeof $=="object"&&I===void 0){if(I=$,U=I.keyword,Array.isArray(U)&&!U.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(zE0.call(this,U,I),!I)return(0,gT.eachItem)(U,(J)=>ST.call(this,J)),this;DE0.call(this,I);let Y={...I,type:(0,aW.getJSONTypes)(I.type),schemaType:(0,aW.getJSONTypes)(I.schemaType)};return(0,gT.eachItem)(U,Y.type.length===0?(J)=>ST.call(this,J,Y):(J)=>Y.type.forEach((Q)=>ST.call(this,J,Y,Q))),this}getKeyword($){let I=this.RULES.all[$];return typeof I=="object"?I.definition:!!I}removeKeyword($){let{RULES:I}=this;delete I.keywords[$],delete I.all[$];for(let U of I.rules){let Y=U.rules.findIndex((J)=>J.keyword===$);if(Y>=0)U.rules.splice(Y,1)}return this}addFormat($,I){if(typeof I=="string")I=new RegExp(I);return this.formats[$]=I,this}errorsText($=this.errors,{separator:I=", ",dataVar:U="data"}={}){if(!$||$.length===0)return"No errors";return $.map((Y)=>`${U}${Y.instancePath} ${Y.message}`).reduce((Y,J)=>Y+I+J)}$dataMetaSchema($,I){let U=this.RULES.all;$=JSON.parse(JSON.stringify($));for(let Y of I){let J=Y.split("/").slice(1),Q=$;for(let K of J)Q=Q[K];for(let K in U){let q=U[K];if(typeof q!="object")continue;let{$data:G}=q.definition,H=Q[K];if(G&&H)Q[K]=Zn(H)}}return $}_removeAllSchemas($,I){for(let U in $){let Y=$[U];if(!I||I.test(U)){if(typeof Y=="string")delete $[U];else if(Y&&!Y.meta)this._cache.delete(Y.schema),delete $[U]}}}_addSchema($,I,U,Y=this.opts.validateSchema,J=this.opts.addUsedSchema){let Q,{schemaId:K}=this.opts;if(typeof $=="object")Q=$[K];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof $!="boolean")throw Error("schema must be object or boolean");let q=this._cache.get($);if(q!==void 0)return q;U=(0,dQ.normalizeId)(Q||U);let G=dQ.getSchemaRefs.call(this,$,U);if(q=new cQ.SchemaEnv({schema:$,schemaId:K,meta:I,baseId:U,localRefs:G}),this._cache.set(q.schema,q),J&&!U.startsWith("#")){if(U)this._checkUnique(U);this.refs[U]=q}if(Y)this.validateSchema($,!0);return q}_checkUnique($){if(this.schemas[$]||this.refs[$])throw Error(`schema with key or id "${$}" already exists`)}_compileSchemaEnv($){if($.meta)this._compileMetaSchema($);else cQ.compileSchema.call(this,$);if(!$.validate)throw Error("ajv implementation error");return $.validate}_compileMetaSchema($){let I=this.opts;this.opts=this._metaOpts;try{cQ.compileSchema.call(this,$)}finally{this.opts=I}}}sW.ValidationError=eT0.default;sW.MissingRefError=Vn.default;U5.default=sW;function Hn($,I,U,Y="error"){for(let J in $){let Q=J;if(Q in I)this.logger[Y](`${U}: option ${J}. ${$[Q]}`)}}function Wn($){return $=(0,dQ.normalizeId)($),this.schemas[$]||this.refs[$]}function GE0(){let $=this.opts.schemas;if(!$)return;if(Array.isArray($))this.addSchema($);else for(let I in $)this.addSchema($[I],I)}function HE0(){for(let $ in this.opts.formats){let I=this.opts.formats[$];if(I)this.addFormat($,I)}}function WE0($){if(Array.isArray($)){this.addVocabulary($);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let I in $){let U=$[I];if(!U.keyword)U.keyword=I;this.addKeyword(U)}}function VE0(){let $={...this.opts};for(let I of YE0)delete $[I];return $}var wE0={log(){},warn(){},error(){}};function ZE0($){if($===!1)return wE0;if($===void 0)return console;if($.log&&$.warn&&$.error)return $;throw Error("logger must implement log, warn and error methods")}var XE0=/^[a-z_$][a-z0-9_$:-]*$/i;function zE0($,I){let{RULES:U}=this;if((0,gT.eachItem)($,(Y)=>{if(U.keywords[Y])throw Error(`Keyword ${Y} is already defined`);if(!XE0.test(Y))throw Error(`Keyword ${Y} has invalid name`)}),!I)return;if(I.$data&&!(("code"in I)||("validate"in I)))throw Error('$data keyword must have "code" or "validate" function')}function ST($,I,U){var Y;let J=I===null||I===void 0?void 0:I.post;if(U&&J)throw Error('keyword with "post" flag cannot have "type"');let{RULES:Q}=this,K=J?Q.post:Q.rules.find(({type:G})=>G===U);if(!K)K={type:U,rules:[]},Q.rules.push(K);if(Q.keywords[$]=!0,!I)return;let q={keyword:$,definition:{...I,type:(0,aW.getJSONTypes)(I.type),schemaType:(0,aW.getJSONTypes)(I.schemaType)}};if(I.before)LE0.call(this,K,q,I.before);else K.rules.push(q);Q.all[$]=q,(Y=I.implements)===null||Y===void 0||Y.forEach((G)=>this.addKeyword(G))}function LE0($,I,U){let Y=$.rules.findIndex((J)=>J.keyword===U);if(Y>=0)$.rules.splice(Y,0,I);else $.rules.push(I),this.logger.warn(`rule ${U} is not defined`)}function DE0($){let{metaSchema:I}=$;if(I===void 0)return;if($.$data&&this.opts.$data)I=Zn(I);$.validateSchema=this.compile(I,!0)}var OE0={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Zn($){return{anyOf:[$,OE0]}}});var Ln=O((zn)=>{Object.defineProperty(zn,"__esModule",{value:!0});var ME0={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};zn.default=ME0});var An=O((Nn)=>{Object.defineProperty(Nn,"__esModule",{value:!0});Nn.callRef=Nn.getValidate=void 0;var PE0=iQ(),Dn=O$(),b6=s0(),QU=$5(),On=lW(),eW=w1(),TE0={keyword:"$ref",schemaType:"string",code($){let{gen:I,schema:U,it:Y}=$,{baseId:J,schemaEnv:Q,validateName:K,opts:q,self:G}=Y,{root:H}=Q;if((U==="#"||U==="#/")&&J===H.baseId)return V();let W=On.resolveRef.call(G,H,J,U);if(W===void 0)throw new PE0.default(Y.opts.uriResolver,J,U);if(W instanceof On.SchemaEnv)return w(W);return Z(W);function V(){if(Q===H)return $V($,K,Q,Q.$async);let z=I.scopeValue("root",{ref:H});return $V($,b6._`${z}.validate`,H,H.$async)}function w(z){let L=Fn($,z);$V($,L,z,z.$async)}function Z(z){let L=I.scopeValue("schema",q.code.source===!0?{ref:z,code:(0,b6.stringify)(z)}:{ref:z}),D=I.name("valid"),F=$.subschema({schema:z,dataTypes:[],schemaPath:b6.nil,topSchemaRef:L,errSchemaPath:U},D);$.mergeEvaluated(F),$.ok(D)}}};function Fn($,I){let{gen:U}=$;return I.validate?U.scopeValue("validate",{ref:I.validate}):b6._`${U.scopeValue("wrapper",{ref:I})}.validate`}Nn.getValidate=Fn;function $V($,I,U,Y){let{gen:J,it:Q}=$,{allErrors:K,schemaEnv:q,opts:G}=Q,H=G.passContext?QU.default.this:b6.nil;if(Y)W();else V();function W(){if(!q.$async)throw Error("async schema referenced by sync schema");let z=J.let("valid");J.try(()=>{if(J.code(b6._`await ${(0,Dn.callValidateCode)($,I,H)}`),Z(I),!K)J.assign(z,!0)},(L)=>{if(J.if(b6._`!(${L} instanceof ${Q.ValidationError})`,()=>J.throw(L)),w(L),!K)J.assign(z,!1)}),$.ok(z)}function V(){$.result((0,Dn.callValidateCode)($,I,H),()=>Z(I),()=>w(I))}function w(z){let L=b6._`${z}.errors`;J.assign(QU.default.vErrors,b6._`${QU.default.vErrors} === null ? ${L} : ${QU.default.vErrors}.concat(${L})`),J.assign(QU.default.errors,b6._`${QU.default.vErrors}.length`)}function Z(z){var L;if(!Q.opts.unevaluated)return;let D=(L=U===null||U===void 0?void 0:U.validate)===null||L===void 0?void 0:L.evaluated;if(Q.props!==!0)if(D&&!D.dynamicProps){if(D.props!==void 0)Q.props=eW.mergeEvaluated.props(J,D.props,Q.props)}else{let F=J.var("props",b6._`${z}.evaluated.props`);Q.props=eW.mergeEvaluated.props(J,F,Q.props,b6.Name)}if(Q.items!==!0)if(D&&!D.dynamicItems){if(D.items!==void 0)Q.items=eW.mergeEvaluated.items(J,D.items,Q.items)}else{let F=J.var("items",b6._`${z}.evaluated.items`);Q.items=eW.mergeEvaluated.items(J,F,Q.items,b6.Name)}}}Nn.callRef=$V;Nn.default=TE0});var Tn=O((Pn)=>{Object.defineProperty(Pn,"__esModule",{value:!0});var vE0=Ln(),RE0=An(),CE0=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",vE0.default,RE0.default];Pn.default=CE0});var Bn=O((En)=>{Object.defineProperty(En,"__esModule",{value:!0});var IV=s0(),V9=IV.operators,UV={maximum:{okStr:"<=",ok:V9.LTE,fail:V9.GT},minimum:{okStr:">=",ok:V9.GTE,fail:V9.LT},exclusiveMaximum:{okStr:"<",ok:V9.LT,fail:V9.GTE},exclusiveMinimum:{okStr:">",ok:V9.GT,fail:V9.LTE}},_E0={message:({keyword:$,schemaCode:I})=>IV.str`must be ${UV[$].okStr} ${I}`,params:({keyword:$,schemaCode:I})=>IV._`{comparison: ${UV[$].okStr}, limit: ${I}}`},SE0={keyword:Object.keys(UV),type:"number",schemaType:"number",$data:!0,error:_E0,code($){let{keyword:I,data:U,schemaCode:Y}=$;$.fail$data(IV._`${U} ${UV[I].fail} ${Y} || isNaN(${U})`)}};En.default=SE0});var Rn=O((vn)=>{Object.defineProperty(vn,"__esModule",{value:!0});var mQ=s0(),yE0={message:({schemaCode:$})=>mQ.str`must be multiple of ${$}`,params:({schemaCode:$})=>mQ._`{multipleOf: ${$}}`},hE0={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:yE0,code($){let{gen:I,data:U,schemaCode:Y,it:J}=$,Q=J.opts.multipleOfPrecision,K=I.let("res"),q=Q?mQ._`Math.abs(Math.round(${K}) - ${K}) > 1e-${Q}`:mQ._`${K} !== parseInt(${K})`;$.fail$data(mQ._`(${Y} === 0 || (${K} = ${U}/${Y}, ${q}))`)}};vn.default=hE0});var _n=O((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});function Cn($){let I=$.length,U=0,Y=0,J;while(Y=55296&&J<=56319&&Y{Object.defineProperty(Sn,"__esModule",{value:!0});var y7=s0(),uE0=w1(),fE0=_n(),bE0={message({keyword:$,schemaCode:I}){let U=$==="maxLength"?"more":"fewer";return y7.str`must NOT have ${U} than ${I} characters`},params:({schemaCode:$})=>y7._`{limit: ${$}}`},iE0={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:bE0,code($){let{keyword:I,data:U,schemaCode:Y,it:J}=$,Q=I==="maxLength"?y7.operators.GT:y7.operators.LT,K=J.opts.unicode===!1?y7._`${U}.length`:y7._`${(0,uE0.useFunc)($.gen,fE0.default)}(${U})`;$.fail$data(y7._`${K} ${Q} ${Y}`)}};Sn.default=iE0});var hn=O((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});var pE0=O$(),cE0=w1(),KU=s0(),dE0={message:({schemaCode:$})=>KU.str`must match pattern "${$}"`,params:({schemaCode:$})=>KU._`{pattern: ${$}}`},mE0={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:dE0,code($){let{gen:I,data:U,$data:Y,schema:J,schemaCode:Q,it:K}=$,q=K.opts.unicodeRegExp?"u":"";if(Y){let{regExp:G}=K.opts.code,H=G.code==="new RegExp"?KU._`new RegExp`:(0,cE0.useFunc)(I,G),W=I.let("valid");I.try(()=>I.assign(W,KU._`${H}(${Q}, ${q}).test(${U})`),()=>I.assign(W,!1)),$.fail$data(KU._`!${W}`)}else{let G=(0,pE0.usePattern)($,J);$.fail$data(KU._`!${G}.test(${U})`)}}};yn.default=mE0});var kn=O((xn)=>{Object.defineProperty(xn,"__esModule",{value:!0});var lQ=s0(),oE0={message({keyword:$,schemaCode:I}){let U=$==="maxProperties"?"more":"fewer";return lQ.str`must NOT have ${U} than ${I} properties`},params:({schemaCode:$})=>lQ._`{limit: ${$}}`},rE0={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:oE0,code($){let{keyword:I,data:U,schemaCode:Y}=$,J=I==="maxProperties"?lQ.operators.GT:lQ.operators.LT;$.fail$data(lQ._`Object.keys(${U}).length ${J} ${Y}`)}};xn.default=rE0});var fn=O((un)=>{Object.defineProperty(un,"__esModule",{value:!0});var oQ=O$(),rQ=s0(),aE0=w1(),sE0={message:({params:{missingProperty:$}})=>rQ.str`must have required property '${$}'`,params:({params:{missingProperty:$}})=>rQ._`{missingProperty: ${$}}`},eE0={keyword:"required",type:"object",schemaType:"array",$data:!0,error:sE0,code($){let{gen:I,schema:U,schemaCode:Y,data:J,$data:Q,it:K}=$,{opts:q}=K;if(!Q&&U.length===0)return;let G=U.length>=q.loopRequired;if(K.allErrors)H();else W();if(q.strictRequired){let Z=$.parentSchema.properties,{definedProperties:z}=$.it;for(let L of U)if((Z===null||Z===void 0?void 0:Z[L])===void 0&&!z.has(L)){let D=K.schemaEnv.baseId+K.errSchemaPath,F=`required property "${L}" is not defined at "${D}" (strictRequired)`;(0,aE0.checkStrictMode)(K,F,K.opts.strictRequired)}}function H(){if(G||Q)$.block$data(rQ.nil,V);else for(let Z of U)(0,oQ.checkReportMissingProp)($,Z)}function W(){let Z=I.let("missing");if(G||Q){let z=I.let("valid",!0);$.block$data(z,()=>w(Z,z)),$.ok(z)}else I.if((0,oQ.checkMissingProp)($,U,Z)),(0,oQ.reportMissingProp)($,Z),I.else()}function V(){I.forOf("prop",Y,(Z)=>{$.setParams({missingProperty:Z}),I.if((0,oQ.noPropertyInData)(I,J,Z,q.ownProperties),()=>$.error())})}function w(Z,z){$.setParams({missingProperty:Z}),I.forOf(Z,Y,()=>{I.assign(z,(0,oQ.propertyInData)(I,J,Z,q.ownProperties)),I.if((0,rQ.not)(z),()=>{$.error(),I.break()})},rQ.nil)}}};un.default=eE0});var nn=O((bn)=>{Object.defineProperty(bn,"__esModule",{value:!0});var tQ=s0(),IB0={message({keyword:$,schemaCode:I}){let U=$==="maxItems"?"more":"fewer";return tQ.str`must NOT have ${U} than ${I} items`},params:({schemaCode:$})=>tQ._`{limit: ${$}}`},UB0={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:IB0,code($){let{keyword:I,data:U,schemaCode:Y}=$,J=I==="maxItems"?tQ.operators.GT:tQ.operators.LT;$.fail$data(tQ._`${U}.length ${J} ${Y}`)}};bn.default=UB0});var YV=O((cn)=>{Object.defineProperty(cn,"__esModule",{value:!0});var pn=DT();pn.code='require("ajv/dist/runtime/equal").default';cn.default=pn});var mn=O((dn)=>{Object.defineProperty(dn,"__esModule",{value:!0});var yT=xQ(),a4=s0(),QB0=w1(),KB0=YV(),qB0={message:({params:{i:$,j:I}})=>a4.str`must NOT have duplicate items (items ## ${I} and ${$} are identical)`,params:({params:{i:$,j:I}})=>a4._`{i: ${$}, j: ${I}}`},GB0={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:qB0,code($){let{gen:I,data:U,$data:Y,schema:J,parentSchema:Q,schemaCode:K,it:q}=$;if(!Y&&!J)return;let G=I.let("valid"),H=Q.items?(0,yT.getSchemaTypes)(Q.items):[];$.block$data(G,W,a4._`${K} === false`),$.ok(G);function W(){let z=I.let("i",a4._`${U}.length`),L=I.let("j");$.setParams({i:z,j:L}),I.assign(G,!0),I.if(a4._`${z} > 1`,()=>(V()?w:Z)(z,L))}function V(){return H.length>0&&!H.some((z)=>z==="object"||z==="array")}function w(z,L){let D=I.name("item"),F=(0,yT.checkDataTypes)(H,D,q.opts.strictNumbers,yT.DataType.Wrong),E=I.const("indices",a4._`{}`);I.for(a4._`;${z}--;`,()=>{if(I.let(D,a4._`${U}[${z}]`),I.if(F,a4._`continue`),H.length>1)I.if(a4._`typeof ${D} == "string"`,a4._`${D} += "_"`);I.if(a4._`typeof ${E}[${D}] == "number"`,()=>{I.assign(L,a4._`${E}[${D}]`),$.error(),I.assign(G,!1).break()}).code(a4._`${E}[${D}] = ${z}`)})}function Z(z,L){let D=(0,QB0.useFunc)(I,KB0.default),F=I.name("outer");I.label(F).for(a4._`;${z}--;`,()=>I.for(a4._`${L} = ${z}; ${L}--;`,()=>I.if(a4._`${D}(${U}[${z}], ${U}[${L}])`,()=>{$.error(),I.assign(G,!1).break(F)})))}}};dn.default=GB0});var on=O((ln)=>{Object.defineProperty(ln,"__esModule",{value:!0});var hT=s0(),WB0=w1(),VB0=YV(),wB0={message:"must be equal to constant",params:({schemaCode:$})=>hT._`{allowedValue: ${$}}`},ZB0={keyword:"const",$data:!0,error:wB0,code($){let{gen:I,data:U,$data:Y,schemaCode:J,schema:Q}=$;if(Y||Q&&typeof Q=="object")$.fail$data(hT._`!${(0,WB0.useFunc)(I,VB0.default)}(${U}, ${J})`);else $.fail(hT._`${Q} !== ${U}`)}};ln.default=ZB0});var tn=O((rn)=>{Object.defineProperty(rn,"__esModule",{value:!0});var aQ=s0(),zB0=w1(),LB0=YV(),DB0={message:"must be equal to one of the allowed values",params:({schemaCode:$})=>aQ._`{allowedValues: ${$}}`},OB0={keyword:"enum",schemaType:"array",$data:!0,error:DB0,code($){let{gen:I,data:U,$data:Y,schema:J,schemaCode:Q,it:K}=$;if(!Y&&J.length===0)throw Error("enum must have non-empty array");let q=J.length>=K.opts.loopEnum,G,H=()=>G!==null&&G!==void 0?G:G=(0,zB0.useFunc)(I,LB0.default),W;if(q||Y)W=I.let("valid"),$.block$data(W,V);else{if(!Array.isArray(J))throw Error("ajv implementation error");let Z=I.const("vSchema",Q);W=(0,aQ.or)(...J.map((z,L)=>w(Z,L)))}$.pass(W);function V(){I.assign(W,!1),I.forOf("v",Q,(Z)=>I.if(aQ._`${H()}(${U}, ${Z})`,()=>I.assign(W,!0).break()))}function w(Z,z){let L=J[z];return typeof L==="object"&&L!==null?aQ._`${H()}(${U}, ${Z}[${z}])`:aQ._`${U} === ${L}`}}};rn.default=OB0});var sn=O((an)=>{Object.defineProperty(an,"__esModule",{value:!0});var NB0=Bn(),MB0=Rn(),AB0=gn(),PB0=hn(),TB0=kn(),EB0=fn(),BB0=nn(),vB0=mn(),RB0=on(),CB0=tn(),jB0=[NB0.default,MB0.default,AB0.default,PB0.default,TB0.default,EB0.default,BB0.default,vB0.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},RB0.default,CB0.default];an.default=jB0});var kT=O(($p)=>{Object.defineProperty($p,"__esModule",{value:!0});$p.validateAdditionalItems=void 0;var h7=s0(),xT=w1(),SB0={message:({params:{len:$}})=>h7.str`must NOT have more than ${$} items`,params:({params:{len:$}})=>h7._`{limit: ${$}}`},gB0={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:SB0,code($){let{parentSchema:I,it:U}=$,{items:Y}=I;if(!Array.isArray(Y)){(0,xT.checkStrictMode)(U,'"additionalItems" is ignored when "items" is not an array of schemas');return}en($,Y)}};function en($,I){let{gen:U,schema:Y,data:J,keyword:Q,it:K}=$;K.items=!0;let q=U.const("len",h7._`${J}.length`);if(Y===!1)$.setParams({len:I.length}),$.pass(h7._`${q} <= ${I.length}`);else if(typeof Y=="object"&&!(0,xT.alwaysValidSchema)(K,Y)){let H=U.var("valid",h7._`${q} <= ${I.length}`);U.if((0,h7.not)(H),()=>G(H)),$.ok(H)}function G(H){U.forRange("i",I.length,q,(W)=>{if($.subschema({keyword:Q,dataProp:W,dataPropType:xT.Type.Num},H),!K.allErrors)U.if((0,h7.not)(H),()=>U.break())})}}$p.validateAdditionalItems=en;$p.default=gB0});var uT=O((Jp)=>{Object.defineProperty(Jp,"__esModule",{value:!0});Jp.validateTuple=void 0;var Up=s0(),JV=w1(),hB0=O$(),xB0={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code($){let{schema:I,it:U}=$;if(Array.isArray(I))return Yp($,"additionalItems",I);if(U.items=!0,(0,JV.alwaysValidSchema)(U,I))return;$.ok((0,hB0.validateArray)($))}};function Yp($,I,U=$.schema){let{gen:Y,parentSchema:J,data:Q,keyword:K,it:q}=$;if(W(J),q.opts.unevaluated&&U.length&&q.items!==!0)q.items=JV.mergeEvaluated.items(Y,U.length,q.items);let G=Y.name("valid"),H=Y.const("len",Up._`${Q}.length`);U.forEach((V,w)=>{if((0,JV.alwaysValidSchema)(q,V))return;Y.if(Up._`${H} > ${w}`,()=>$.subschema({keyword:K,schemaProp:w,dataProp:w},G)),$.ok(G)});function W(V){let{opts:w,errSchemaPath:Z}=q,z=U.length,L=z===V.minItems&&(z===V.maxItems||V[I]===!1);if(w.strictTuples&&!L){let D=`"${K}" is ${z}-tuple, but minItems or maxItems/${I} are not specified or different at path "${Z}"`;(0,JV.checkStrictMode)(q,D,w.strictTuples)}}}Jp.validateTuple=Yp;Jp.default=xB0});var qp=O((Kp)=>{Object.defineProperty(Kp,"__esModule",{value:!0});var uB0=uT(),fB0={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:($)=>(0,uB0.validateTuple)($,"items")};Kp.default=fB0});var Wp=O((Hp)=>{Object.defineProperty(Hp,"__esModule",{value:!0});var Gp=s0(),iB0=w1(),nB0=O$(),pB0=kT(),cB0={message:({params:{len:$}})=>Gp.str`must NOT have more than ${$} items`,params:({params:{len:$}})=>Gp._`{limit: ${$}}`},dB0={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:cB0,code($){let{schema:I,parentSchema:U,it:Y}=$,{prefixItems:J}=U;if(Y.items=!0,(0,iB0.alwaysValidSchema)(Y,I))return;if(J)(0,pB0.validateAdditionalItems)($,J);else $.ok((0,nB0.validateArray)($))}};Hp.default=dB0});var wp=O((Vp)=>{Object.defineProperty(Vp,"__esModule",{value:!0});var F$=s0(),QV=w1(),lB0={message:({params:{min:$,max:I}})=>I===void 0?F$.str`must contain at least ${$} valid item(s)`:F$.str`must contain at least ${$} and no more than ${I} valid item(s)`,params:({params:{min:$,max:I}})=>I===void 0?F$._`{minContains: ${$}}`:F$._`{minContains: ${$}, maxContains: ${I}}`},oB0={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:lB0,code($){let{gen:I,schema:U,parentSchema:Y,data:J,it:Q}=$,K,q,{minContains:G,maxContains:H}=Y;if(Q.opts.next)K=G===void 0?1:G,q=H;else K=1;let W=I.const("len",F$._`${J}.length`);if($.setParams({min:K,max:q}),q===void 0&&K===0){(0,QV.checkStrictMode)(Q,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(q!==void 0&&K>q){(0,QV.checkStrictMode)(Q,'"minContains" > "maxContains" is always invalid'),$.fail();return}if((0,QV.alwaysValidSchema)(Q,U)){let L=F$._`${W} >= ${K}`;if(q!==void 0)L=F$._`${L} && ${W} <= ${q}`;$.pass(L);return}Q.items=!0;let V=I.name("valid");if(q===void 0&&K===1)Z(V,()=>I.if(V,()=>I.break()));else if(K===0){if(I.let(V,!0),q!==void 0)I.if(F$._`${J}.length > 0`,w)}else I.let(V,!1),w();$.result(V,()=>$.reset());function w(){let L=I.name("_valid"),D=I.let("count",0);Z(L,()=>I.if(L,()=>z(D)))}function Z(L,D){I.forRange("i",0,W,(F)=>{$.subschema({keyword:"contains",dataProp:F,dataPropType:QV.Type.Num,compositeRule:!0},L),D()})}function z(L){if(I.code(F$._`${L}++`),q===void 0)I.if(F$._`${L} >= ${K}`,()=>I.assign(V,!0).break());else if(I.if(F$._`${L} > ${q}`,()=>I.assign(V,!1).break()),K===1)I.assign(V,!0);else I.if(F$._`${L} >= ${K}`,()=>I.assign(V,!0))}}};Vp.default=oB0});var Op=O((zp)=>{Object.defineProperty(zp,"__esModule",{value:!0});zp.validateSchemaDeps=zp.validatePropertyDeps=zp.error=void 0;var fT=s0(),tB0=w1(),sQ=O$();zp.error={message:({params:{property:$,depsCount:I,deps:U}})=>{let Y=I===1?"property":"properties";return fT.str`must have ${Y} ${U} when property ${$} is present`},params:({params:{property:$,depsCount:I,deps:U,missingProperty:Y}})=>fT._`{property: ${$}, missingProperty: ${Y}, depsCount: ${I}, - deps: ${U}}`};var HB0={keyword:"dependencies",type:"object",schemaType:"object",error:en.error,code($){let[I,U]=WB0($);an($,I),sn($,U)}};function WB0({schema:$}){let I={},U={};for(let Y in $){if(Y==="__proto__")continue;let J=Array.isArray($[Y])?I:U;J[Y]=$[Y]}return[I,U]}function an($,I=$.schema){let{gen:U,data:Y,it:J}=$;if(Object.keys(I).length===0)return;let Q=U.let("missing");for(let K in I){let q=I[K];if(q.length===0)continue;let G=(0,rQ.propertyInData)(U,Y,K,J.opts.ownProperties);if($.setParams({property:K,depsCount:q.length,deps:q.join(", ")}),J.allErrors)U.if(G,()=>{for(let H of q)(0,rQ.checkReportMissingProp)($,H)});else U.if(BT._`${G} && (${(0,rQ.checkMissingProp)($,q,Q)})`),(0,rQ.reportMissingProp)($,Q),U.else()}}en.validatePropertyDeps=an;function sn($,I=$.schema){let{gen:U,data:Y,keyword:J,it:Q}=$,K=U.name("valid");for(let q in I){if((0,GB0.alwaysValidSchema)(Q,I[q]))continue;U.if((0,rQ.propertyInData)(U,Y,q,Q.opts.ownProperties),()=>{let G=$.subschema({keyword:J,schemaProp:q},K);$.mergeValidEvaluated(G,K)},()=>U.var(K,!0)),$.ok(K)}}en.validateSchemaDeps=sn;en.default=HB0});var Qp=O((Jp)=>{Object.defineProperty(Jp,"__esModule",{value:!0});var Yp=t0(),zB0=V1(),XB0={message:"property name must be valid",params:({params:$})=>Yp._`{propertyName: ${$.propertyName}}`},wB0={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:XB0,code($){let{gen:I,schema:U,data:Y,it:J}=$;if((0,zB0.alwaysValidSchema)(J,U))return;let Q=I.name("valid");I.forIn("key",Y,(K)=>{$.setParams({propertyName:K}),$.subschema({keyword:"propertyNames",data:K,dataTypes:["string"],propertyName:K,compositeRule:!0},Q),I.if((0,Yp.not)(Q),()=>{if($.error(!0),!J.allErrors)I.break()})}),$.ok(Q)}};Jp.default=wB0});var RT=O((Kp)=>{Object.defineProperty(Kp,"__esModule",{value:!0});var UV=D$(),p$=t0(),DB0=s8(),YV=V1(),OB0={message:"must NOT have additional properties",params:({params:$})=>p$._`{additionalProperty: ${$.additionalProperty}}`},NB0={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:OB0,code($){let{gen:I,schema:U,parentSchema:Y,data:J,errsCount:Q,it:K}=$;if(!Q)throw Error("ajv implementation error");let{allErrors:q,opts:G}=K;if(K.props=!0,G.removeAdditional!=="all"&&(0,YV.alwaysValidSchema)(K,U))return;let H=(0,UV.allSchemaProperties)(Y.properties),W=(0,UV.allSchemaProperties)(Y.patternProperties);V(),$.ok(p$._`${Q} === ${DB0.default.errors}`);function V(){I.forIn("key",J,(D)=>{if(!H.length&&!W.length)w(D);else I.if(z(D),()=>w(D))})}function z(D){let N;if(H.length>8){let E=(0,YV.schemaRefOrVal)(K,Y.properties,"properties");N=(0,UV.isOwnProperty)(I,E,D)}else if(H.length)N=(0,p$.or)(...H.map((E)=>p$._`${D} === ${E}`));else N=p$.nil;if(W.length)N=(0,p$.or)(N,...W.map((E)=>p$._`${(0,UV.usePattern)($,E)}.test(${D})`));return(0,p$.not)(N)}function Z(D){I.code(p$._`delete ${J}[${D}]`)}function w(D){if(G.removeAdditional==="all"||G.removeAdditional&&U===!1){Z(D);return}if(U===!1){if($.setParams({additionalProperty:D}),$.error(),!q)I.break();return}if(typeof U=="object"&&!(0,YV.alwaysValidSchema)(K,U)){let N=I.name("valid");if(G.removeAdditional==="failing")L(D,N,!1),I.if((0,p$.not)(N),()=>{$.reset(),Z(D)});else if(L(D,N),!q)I.if((0,p$.not)(N),()=>I.break())}}function L(D,N,E){let T={keyword:"additionalProperties",dataProp:D,dataPropType:YV.Type.Str};if(E===!1)Object.assign(T,{compositeRule:!0,createErrors:!1,allErrors:!1});$.subschema(T,N)}}};Kp.default=NB0});var Wp=O((Hp)=>{Object.defineProperty(Hp,"__esModule",{value:!0});var MB0=kQ(),qp=D$(),vT=V1(),Gp=RT(),AB0={keyword:"properties",type:"object",schemaType:"object",code($){let{gen:I,schema:U,parentSchema:Y,data:J,it:Q}=$;if(Q.opts.removeAdditional==="all"&&Y.additionalProperties===void 0)Gp.default.code(new MB0.KeywordCxt(Q,Gp.default,"additionalProperties"));let K=(0,qp.allSchemaProperties)(U);for(let V of K)Q.definedProperties.add(V);if(Q.opts.unevaluated&&K.length&&Q.props!==!0)Q.props=vT.mergeEvaluated.props(I,(0,vT.toHash)(K),Q.props);let q=K.filter((V)=>!(0,vT.alwaysValidSchema)(Q,U[V]));if(q.length===0)return;let G=I.name("valid");for(let V of q){if(H(V))W(V);else{if(I.if((0,qp.propertyInData)(I,J,V,Q.opts.ownProperties)),W(V),!Q.allErrors)I.else().var(G,!0);I.endIf()}$.it.definedProperties.add(V),$.ok(G)}function H(V){return Q.opts.useDefaults&&!Q.compositeRule&&U[V].default!==void 0}function W(V){$.subschema({keyword:"properties",schemaProp:V,dataProp:V},G)}}};Hp.default=AB0});var wp=O((Xp)=>{Object.defineProperty(Xp,"__esModule",{value:!0});var Vp=D$(),JV=t0(),Zp=V1(),zp=V1(),TB0={keyword:"patternProperties",type:"object",schemaType:"object",code($){let{gen:I,schema:U,data:Y,parentSchema:J,it:Q}=$,{opts:K}=Q,q=(0,Vp.allSchemaProperties)(U),G=q.filter((L)=>(0,Zp.alwaysValidSchema)(Q,U[L]));if(q.length===0||G.length===q.length&&(!Q.opts.unevaluated||Q.props===!0))return;let H=K.strictSchema&&!K.allowMatchingProperties&&J.properties,W=I.name("valid");if(Q.props!==!0&&!(Q.props instanceof JV.Name))Q.props=(0,zp.evaluatedPropsToName)(I,Q.props);let{props:V}=Q;z();function z(){for(let L of q){if(H)Z(L);if(Q.allErrors)w(L);else I.var(W,!0),w(L),I.if(W)}}function Z(L){for(let D in H)if(new RegExp(L).test(D))(0,Zp.checkStrictMode)(Q,`property ${D} matches pattern ${L} (use allowMatchingProperties)`)}function w(L){I.forIn("key",Y,(D)=>{I.if(JV._`${(0,Vp.usePattern)($,L)}.test(${D})`,()=>{let N=G.includes(L);if(!N)$.subschema({keyword:"patternProperties",schemaProp:L,dataProp:D,dataPropType:zp.Type.Str},W);if(Q.opts.unevaluated&&V!==!0)I.assign(JV._`${V}[${D}]`,!0);else if(!N&&!Q.allErrors)I.if((0,JV.not)(W),()=>I.break())})})}}};Xp.default=TB0});var Dp=O((Lp)=>{Object.defineProperty(Lp,"__esModule",{value:!0});var BB0=V1(),RB0={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code($){let{gen:I,schema:U,it:Y}=$;if((0,BB0.alwaysValidSchema)(Y,U)){$.fail();return}let J=I.name("valid");$.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},J),$.failResult(J,()=>$.reset(),()=>$.error())},error:{message:"must NOT be valid"}};Lp.default=RB0});var Np=O((Op)=>{Object.defineProperty(Op,"__esModule",{value:!0});var CB0=D$(),jB0={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:CB0.validateUnion,error:{message:"must match a schema in anyOf"}};Op.default=jB0});var Mp=O((Fp)=>{Object.defineProperty(Fp,"__esModule",{value:!0});var QV=t0(),SB0=V1(),gB0={message:"must match exactly one schema in oneOf",params:({params:$})=>QV._`{passingSchemas: ${$.passing}}`},yB0={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:gB0,code($){let{gen:I,schema:U,parentSchema:Y,it:J}=$;if(!Array.isArray(U))throw Error("ajv implementation error");if(J.opts.discriminator&&Y.discriminator)return;let Q=U,K=I.let("valid",!1),q=I.let("passing",null),G=I.name("_valid");$.setParams({passing:q}),I.block(H),$.result(K,()=>$.reset(),()=>$.error(!0));function H(){Q.forEach((W,V)=>{let z;if((0,SB0.alwaysValidSchema)(J,W))I.var(G,!0);else z=$.subschema({keyword:"oneOf",schemaProp:V,compositeRule:!0},G);if(V>0)I.if(QV._`${G} && ${K}`).assign(K,!1).assign(q,QV._`[${q}, ${V}]`).else();I.if(G,()=>{if(I.assign(K,!0),I.assign(q,V),z)$.mergeEvaluated(z,QV.Name)})})}}};Fp.default=yB0});var Pp=O((Ap)=>{Object.defineProperty(Ap,"__esModule",{value:!0});var xB0=V1(),kB0={keyword:"allOf",schemaType:"array",code($){let{gen:I,schema:U,it:Y}=$;if(!Array.isArray(U))throw Error("ajv implementation error");let J=I.name("valid");U.forEach((Q,K)=>{if((0,xB0.alwaysValidSchema)(Y,Q))return;let q=$.subschema({keyword:"allOf",schemaProp:K},J);$.ok(J),$.mergeEvaluated(q)})}};Ap.default=kB0});var Rp=O((Bp)=>{Object.defineProperty(Bp,"__esModule",{value:!0});var KV=t0(),Ep=V1(),fB0={message:({params:$})=>KV.str`must match "${$.ifClause}" schema`,params:({params:$})=>KV._`{failingKeyword: ${$.ifClause}}`},bB0={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:fB0,code($){let{gen:I,parentSchema:U,it:Y}=$;if(U.then===void 0&&U.else===void 0)(0,Ep.checkStrictMode)(Y,'"if" without "then" and "else" is ignored');let J=Tp(Y,"then"),Q=Tp(Y,"else");if(!J&&!Q)return;let K=I.let("valid",!0),q=I.name("_valid");if(G(),$.reset(),J&&Q){let W=I.let("ifClause");$.setParams({ifClause:W}),I.if(q,H("then",W),H("else",W))}else if(J)I.if(q,H("then"));else I.if((0,KV.not)(q),H("else"));$.pass(K,()=>$.error(!0));function G(){let W=$.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},q);$.mergeEvaluated(W)}function H(W,V){return()=>{let z=$.subschema({keyword:W},q);if(I.assign(K,q),$.mergeValidEvaluated(z,K),V)I.assign(V,KV._`${W}`);else $.setParams({ifClause:W})}}}};function Tp($,I){let U=$.schema[I];return U!==void 0&&!(0,Ep.alwaysValidSchema)($,U)}Bp.default=bB0});var Cp=O((vp)=>{Object.defineProperty(vp,"__esModule",{value:!0});var nB0=V1(),pB0={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:$,parentSchema:I,it:U}){if(I.if===void 0)(0,nB0.checkStrictMode)(U,`"${$}" without "if" is ignored`)}};vp.default=pB0});var _p=O((jp)=>{Object.defineProperty(jp,"__esModule",{value:!0});var dB0=TT(),mB0=dn(),lB0=ET(),oB0=on(),rB0=tn(),tB0=Up(),aB0=Qp(),sB0=RT(),eB0=Wp(),$R0=wp(),IR0=Dp(),UR0=Np(),YR0=Mp(),JR0=Pp(),QR0=Rp(),KR0=Cp();function qR0($=!1){let I=[IR0.default,UR0.default,YR0.default,JR0.default,QR0.default,KR0.default,aB0.default,sB0.default,tB0.default,eB0.default,$R0.default];if($)I.push(mB0.default,oB0.default);else I.push(dB0.default,lB0.default);return I.push(rB0.default),I}jp.default=qR0});var gp=O((Sp)=>{Object.defineProperty(Sp,"__esModule",{value:!0});var N4=t0(),HR0={message:({schemaCode:$})=>N4.str`must match format "${$}"`,params:({schemaCode:$})=>N4._`{format: ${$}}`},WR0={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:HR0,code($,I){let{gen:U,data:Y,$data:J,schema:Q,schemaCode:K,it:q}=$,{opts:G,errSchemaPath:H,schemaEnv:W,self:V}=q;if(!G.validateFormats)return;if(J)z();else Z();function z(){let w=U.scopeValue("formats",{ref:V.formats,code:G.code.formats}),L=U.const("fDef",N4._`${w}[${K}]`),D=U.let("fType"),N=U.let("format");U.if(N4._`typeof ${L} == "object" && !(${L} instanceof RegExp)`,()=>U.assign(D,N4._`${L}.type || "string"`).assign(N,N4._`${L}.validate`),()=>U.assign(D,N4._`"string"`).assign(N,L)),$.fail$data((0,N4.or)(E(),T()));function E(){if(G.strictSchema===!1)return N4.nil;return N4._`${K} && !${N}`}function T(){let A=W.$async?N4._`(${L}.async ? await ${N}(${Y}) : ${N}(${Y}))`:N4._`${N}(${Y})`,v=N4._`(typeof ${N} == "function" ? ${A} : ${N}.test(${Y}))`;return N4._`${N} && ${N} !== true && ${D} === ${I} && !${v}`}}function Z(){let w=V.formats[Q];if(!w){E();return}if(w===!0)return;let[L,D,N]=T(w);if(L===I)$.pass(A());function E(){if(G.strictSchema===!1){V.logger.warn(v());return}throw Error(v());function v(){return`unknown format "${Q}" ignored in schema at path "${H}"`}}function T(v){let u=v instanceof RegExp?(0,N4.regexpCode)(v):G.code.formats?N4._`${G.code.formats}${(0,N4.getProperty)(Q)}`:void 0,g=U.scopeValue("formats",{key:Q,ref:v,code:u});if(typeof v=="object"&&!(v instanceof RegExp))return[v.type||"string",v.validate,N4._`${g}.validate`];return["string",v,g]}function A(){if(typeof w=="object"&&!(w instanceof RegExp)&&w.async){if(!W.$async)throw Error("async format in sync schema");return N4._`await ${N}(${Y})`}return typeof D=="function"?N4._`${N}(${Y})`:N4._`${N}.test(${Y})`}}}};Sp.default=WR0});var hp=O((yp)=>{Object.defineProperty(yp,"__esModule",{value:!0});var ZR0=gp(),zR0=[ZR0.default];yp.default=zR0});var up=O((xp)=>{Object.defineProperty(xp,"__esModule",{value:!0});xp.contentVocabulary=xp.metadataVocabulary=void 0;xp.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];xp.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var ip=O((bp)=>{Object.defineProperty(bp,"__esModule",{value:!0});var LR0=Gn(),DR0=hn(),OR0=_p(),NR0=hp(),fp=up(),FR0=[LR0.default,DR0.default,(0,OR0.default)(),NR0.default,fp.metadataVocabulary,fp.contentVocabulary];bp.default=FR0});var dp=O((pp)=>{Object.defineProperty(pp,"__esModule",{value:!0});pp.DiscrError=void 0;var np;(function($){$.Tag="tag",$.Mapping="mapping"})(np||(pp.DiscrError=np={}))});var op=O((lp)=>{Object.defineProperty(lp,"__esModule",{value:!0});var QU=t0(),CT=dp(),mp=pW(),AR0=uQ(),PR0=V1(),TR0={message:({params:{discrError:$,tagName:I}})=>$===CT.DiscrError.Tag?`tag "${I}" must be string`:`value of tag "${I}" must be in oneOf`,params:({params:{discrError:$,tag:I,tagName:U}})=>QU._`{error: ${$}, tag: ${U}, tagValue: ${I}}`},ER0={keyword:"discriminator",type:"object",schemaType:"object",error:TR0,code($){let{gen:I,data:U,schema:Y,parentSchema:J,it:Q}=$,{oneOf:K}=J;if(!Q.opts.discriminator)throw Error("discriminator: requires discriminator option");let q=Y.propertyName;if(typeof q!="string")throw Error("discriminator: requires propertyName");if(Y.mapping)throw Error("discriminator: mapping is not supported");if(!K)throw Error("discriminator: requires oneOf keyword");let G=I.let("valid",!1),H=I.const("tag",QU._`${U}${(0,QU.getProperty)(q)}`);I.if(QU._`typeof ${H} == "string"`,()=>W(),()=>$.error(!1,{discrError:CT.DiscrError.Tag,tag:H,tagName:q})),$.ok(G);function W(){let Z=z();I.if(!1);for(let w in Z)I.elseIf(QU._`${H} === ${w}`),I.assign(G,V(Z[w]));I.else(),$.error(!1,{discrError:CT.DiscrError.Mapping,tag:H,tagName:q}),I.endIf()}function V(Z){let w=I.name("valid"),L=$.subschema({keyword:"oneOf",schemaProp:Z},w);return $.mergeEvaluated(L,QU.Name),w}function z(){var Z;let w={},L=N(J),D=!0;for(let A=0;A{RR0.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var _T=O((b6,jT)=>{Object.defineProperty(b6,"__esModule",{value:!0});b6.MissingRefError=b6.ValidationError=b6.CodeGen=b6.Name=b6.nil=b6.stringify=b6.str=b6._=b6.KeywordCxt=b6.Ajv=void 0;var vR0=si(),CR0=ip(),jR0=op(),tp=rp(),_R0=["/properties"],qV="http://json-schema.org/draft-07/schema";class tQ extends vR0.default{_addVocabularies(){if(super._addVocabularies(),CR0.default.forEach(($)=>this.addVocabulary($)),this.opts.discriminator)this.addKeyword(jR0.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let $=this.opts.$data?this.$dataMetaSchema(tp,_R0):tp;this.addMetaSchema($,qV,!1),this.refs["http://json-schema.org/schema"]=qV}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(qV)?qV:void 0)}}b6.Ajv=tQ;jT.exports=b6=tQ;jT.exports.Ajv=tQ;Object.defineProperty(b6,"__esModule",{value:!0});b6.default=tQ;var SR0=kQ();Object.defineProperty(b6,"KeywordCxt",{enumerable:!0,get:function(){return SR0.KeywordCxt}});var KU=t0();Object.defineProperty(b6,"_",{enumerable:!0,get:function(){return KU._}});Object.defineProperty(b6,"str",{enumerable:!0,get:function(){return KU.str}});Object.defineProperty(b6,"stringify",{enumerable:!0,get:function(){return KU.stringify}});Object.defineProperty(b6,"nil",{enumerable:!0,get:function(){return KU.nil}});Object.defineProperty(b6,"Name",{enumerable:!0,get:function(){return KU.Name}});Object.defineProperty(b6,"CodeGen",{enumerable:!0,get:function(){return KU.CodeGen}});var gR0=iW();Object.defineProperty(b6,"ValidationError",{enumerable:!0,get:function(){return gR0.default}});var yR0=uQ();Object.defineProperty(b6,"MissingRefError",{enumerable:!0,get:function(){return yR0.default}})});var Kc=O((Jc)=>{Object.defineProperty(Jc,"__esModule",{value:!0});Jc.formatNames=Jc.fastFormats=Jc.fullFormats=void 0;function V8($,I){return{validate:$,compare:I}}Jc.fullFormats={date:V8($c,hT),time:V8(gT(!0),xT),"date-time":V8(ap(!0),Uc),"iso-time":V8(gT(),Ic),"iso-date-time":V8(ap(),Yc),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:nR0,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:rR0,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:pR0,int32:{type:"number",validate:mR0},int64:{type:"number",validate:lR0},float:{type:"number",validate:ep},double:{type:"number",validate:ep},password:!0,binary:!0};Jc.fastFormats={...Jc.fullFormats,date:V8(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,hT),time:V8(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,xT),"date-time":V8(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Uc),"iso-time":V8(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Ic),"iso-date-time":V8(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Yc),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};Jc.formatNames=Object.keys(Jc.fullFormats);function kR0($){return $%4===0&&($%100!==0||$%400===0)}var uR0=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,fR0=[0,31,28,31,30,31,30,31,31,30,31,30,31];function $c($){let I=uR0.exec($);if(!I)return!1;let U=+I[1],Y=+I[2],J=+I[3];return Y>=1&&Y<=12&&J>=1&&J<=(Y===2&&kR0(U)?29:fR0[Y])}function hT($,I){if(!($&&I))return;if($>I)return 1;if($23||W>59||$&&!q)return!1;if(J<=23&&Q<=59&&K<60)return!0;let V=Q-W*G,z=J-H*G-(V<0?1:0);return(z===23||z===-1)&&(V===59||V===-1)&&K<61}}function xT($,I){if(!($&&I))return;let U=new Date("2020-01-01T"+$).valueOf(),Y=new Date("2020-01-01T"+I).valueOf();if(!(U&&Y))return;return U-Y}function Ic($,I){if(!($&&I))return;let U=ST.exec($),Y=ST.exec(I);if(!(U&&Y))return;if($=U[1]+U[2]+U[3],I=Y[1]+Y[2]+Y[3],$>I)return 1;if($=cR0}function lR0($){return Number.isInteger($)}function ep(){return!0}var oR0=/[^\\]\\Z/;function rR0($){if(oR0.test($))return!1;try{return new RegExp($),!0}catch(I){return!1}}});var Gc=O((qc)=>{Object.defineProperty(qc,"__esModule",{value:!0});qc.formatLimitDefinition=void 0;var aR0=_T(),c$=t0(),W9=c$.operators,GV={formatMaximum:{okStr:"<=",ok:W9.LTE,fail:W9.GT},formatMinimum:{okStr:">=",ok:W9.GTE,fail:W9.LT},formatExclusiveMaximum:{okStr:"<",ok:W9.LT,fail:W9.GTE},formatExclusiveMinimum:{okStr:">",ok:W9.GT,fail:W9.LTE}},sR0={message:({keyword:$,schemaCode:I})=>c$.str`should be ${GV[$].okStr} ${I}`,params:({keyword:$,schemaCode:I})=>c$._`{comparison: ${GV[$].okStr}, limit: ${I}}`};qc.formatLimitDefinition={keyword:Object.keys(GV),type:"string",schemaType:"string",$data:!0,error:sR0,code($){let{gen:I,data:U,schemaCode:Y,keyword:J,it:Q}=$,{opts:K,self:q}=Q;if(!K.validateFormats)return;let G=new aR0.KeywordCxt(Q,q.RULES.all.format.definition,"format");if(G.$data)H();else W();function H(){let z=I.scopeValue("formats",{ref:q.formats,code:K.code.formats}),Z=I.const("fmt",c$._`${z}[${G.schemaCode}]`);$.fail$data((0,c$.or)(c$._`typeof ${Z} != "object"`,c$._`${Z} instanceof RegExp`,c$._`typeof ${Z}.compare != "function"`,V(Z)))}function W(){let z=G.schema,Z=q.formats[z];if(!Z||Z===!0)return;if(typeof Z!="object"||Z instanceof RegExp||typeof Z.compare!="function")throw Error(`"${J}": format "${z}" does not define "compare" function`);let w=I.scopeValue("formats",{key:z,ref:Z,code:K.code.formats?c$._`${K.code.formats}${(0,c$.getProperty)(z)}`:void 0});$.fail$data(V(w))}function V(z){return c$._`${z}.compare(${U}, ${Y}) ${GV[J].fail} 0`}},dependencies:["format"]};var eR0=($)=>{return $.addKeyword(qc.formatLimitDefinition),$};qc.default=eR0});var Zc=O((aQ,Vc)=>{Object.defineProperty(aQ,"__esModule",{value:!0});var qU=Kc(),Iv0=Gc(),fT=t0(),Hc=new fT.Name("fullFormats"),Uv0=new fT.Name("fastFormats"),bT=($,I={keywords:!0})=>{if(Array.isArray(I))return Wc($,I,qU.fullFormats,Hc),$;let[U,Y]=I.mode==="fast"?[qU.fastFormats,Uv0]:[qU.fullFormats,Hc],J=I.formats||qU.formatNames;if(Wc($,J,U,Y),I.keywords)(0,Iv0.default)($);return $};bT.get=($,I="full")=>{let Y=(I==="fast"?qU.fastFormats:qU.fullFormats)[$];if(!Y)throw Error(`Unknown format "${$}"`);return Y};function Wc($,I,U,Y){var J,Q;(J=(Q=$.opts.code).formats)!==null&&J!==void 0||(Q.formats=fT._`require("ajv-formats/dist/formats").${Y}`);for(let K of I)$.addFormat(K,U[K])}Vc.exports=aQ=bT;Object.defineProperty(aQ,"__esModule",{value:!0});aQ.default=bT});var z4=O((XF1,Mm)=>{var{toString:Fm}=Object.prototype,XC0=/["&<>]/,J5={each:function(I,U){if(I)if(Array.isArray(I))I.forEach(U);else Object.keys(I).forEach((Y)=>{U(I[Y],Y)})},some:function(I,U){if(I){if(Array.isArray(I))return I.some(U);return Object.keys(I).some((Y)=>U(I[Y],Y))}return!1},every:function(I,U){if(I){if(Array.isArray(I))return I.every(U);return Object.keys(I).every((Y)=>U(I[Y],Y))}return!0},map:function(I,U){if(I){if(Array.isArray(I))return I.map(U);return Object.keys(I).map((Y)=>U(I[Y],Y))}return[]},keyBy($,I){return $.reduce((U,Y)=>{return U[Y[I]]=Y,U},{})},isEqual:function(I,U){let Y=typeof I,J=typeof U,Q=Array.isArray(I),K=Array.isArray(U),q;if(Y!==J)return!1;switch(typeof I){case"object":if(Q||K){if(Q&&K)return I.length===U.length&&I.every((G,H)=>{let W=U[H];return J5.isEqual(G,W)});return!1}if(I===null||U===null)return I===U;if(q=Object.keys(I),Object.keys(U).length!==q.length)return!1;for(let G of q)if(!U.hasOwnProperty(G))return!1;return J5.every(I,(G,H)=>{let W=U[H];return J5.isEqual(G,W)});default:return I===U}},escapeHtml($){let I=XC0.exec($);if(!I)return $;let U="",Y="",J=0,Q=I.index;for(;Q<$.length;Q++){switch($.charAt(Q)){case'"':Y=""";break;case"&":Y="&";break;case"'":Y="'";break;case"<":Y="<";break;case">":Y=">";break;default:continue}if(J!==Q)U+=$.substring(J,Q);J=Q+1,U+=Y}if(J!==Q)return U+$.substring(J,Q);return U},strcmp($,I){if($I)return 1;return 0},isUndefined($){return Fm.call($)==="[object Undefined]"},isObject($){return Fm.call($)==="[object Object]"},deepMerge(){let $=arguments[0]||{},{length:I}=arguments,U,Y,J;function Q(K,q){if(U=$[q],J=Array.isArray(K),J5.isObject(K)||J){if(J)J=!1,Y=U&&Array.isArray(U)?U:[];else Y=U&&J5.isObject(U)?U:{};$[q]=J5.deepMerge(Y,K)}else if(!J5.isUndefined(K))$[q]=K}for(let K=0;K{var wC0=/^[A-Z]+\d+$/,Z2={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level($){if($<=26)return 1;if($<=676)return 2;return 3},_fill($){let I,U,Y,J,Q,K=1;if($>=4)throw Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&$>=1){while(K<=26)I=this._dictionary[K-1],this._n2l[K]=I,this._l2n[I]=K,K++;this._l2nFill=1}if(this._l2nFill<2&&$>=2){K=27;while(K<=702)U=K-27,Y=U%26,J=Math.floor(U/26),I=this._dictionary[J]+this._dictionary[Y],this._n2l[K]=I,this._l2n[I]=K,K++;this._l2nFill=2}if(this._l2nFill<3&&$>=3){K=703;while(K<=16384)U=K-703,Y=U%26,J=Math.floor(U/26)%26,Q=Math.floor(U/676),I=this._dictionary[Q]+this._dictionary[J]+this._dictionary[Y],this._n2l[K]=I,this._l2n[I]=K,K++;this._l2nFill=3}},l2n($){if(!this._l2n[$])this._fill($.length);if(!this._l2n[$])throw Error(`Out of bounds. Invalid column letter: ${$}`);return this._l2n[$]},n2l($){if($<1||$>16384)throw Error(`${$} is out of bounds. Excel supports columns from 1 to 16384`);if(!this._n2l[$])this._fill(this._level($));return this._n2l[$]},_hash:{},validateAddress($){if(!wC0.test($))throw Error(`Invalid Address: ${$}`);return!0},decodeAddress($){let I=$.length<5&&this._hash[$];if(I)return I;let U=!1,Y="",J=0,Q=!1,K="",q=0;for(let H=0,W;H<$.length;H++)if(W=$.charCodeAt(H),!Q&&W>=65&&W<=90)U=!0,Y+=$[H],J=J*26+W-64;else if(W>=48&&W<=57)Q=!0,K+=$[H],q=q*10+W-48;else if(Q&&U&&W!==36)break;if(!U)J=void 0;else if(J>16384)throw Error(`Out of bounds. Invalid column letter: ${Y}`);if(!Q)q=void 0;$=Y+K;let G={address:$,col:J,row:q,$col$row:`$${Y}$${K}`};if(J<=100&&q<=100)this._hash[$]=G,this._hash[G.$col$row]=G;return G},getAddress($,I){if(I){let U=this.n2l(I)+$;return this.decodeAddress(U)}return this.decodeAddress($)},decode($){let I=$.split(":");if(I.length===2){let U=this.decodeAddress(I[0]),Y=this.decodeAddress(I[1]),J={top:Math.min(U.row,Y.row),left:Math.min(U.col,Y.col),bottom:Math.max(U.row,Y.row),right:Math.max(U.col,Y.col)};return J.tl=this.n2l(J.left)+J.top,J.br=this.n2l(J.right)+J.bottom,J.dimensions=`${J.tl}:${J.br}`,J}return this.decodeAddress($)},decodeEx($){let I=$.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),U=I[1]||I[2],Y=I[3],J=Y.split(":");if(J.length>1){let K=this.decodeAddress(J[0]),q=this.decodeAddress(J[1]),G=Math.min(K.row,q.row),H=Math.min(K.col,q.col),W=Math.max(K.row,q.row),V=Math.max(K.col,q.col);return K=this.n2l(H)+G,q=this.n2l(V)+W,{top:G,left:H,bottom:W,right:V,sheetName:U,tl:{address:K,col:H,row:G,$col$row:`$${this.n2l(H)}$${G}`,sheetName:U},br:{address:q,col:V,row:W,$col$row:`$${this.n2l(V)}$${W}`,sheetName:U},dimensions:`${K}:${q}`}}if(Y.startsWith("#"))return U?{sheetName:U,error:Y}:{error:Y};let Q=this.decodeAddress(Y);return U?{sheetName:U,...Q}:Q},encodeAddress($,I){return Z2.n2l(I)+$},encode(){switch(arguments.length){case 2:return Z2.encodeAddress(arguments[0],arguments[1]);case 4:return`${Z2.encodeAddress(arguments[0],arguments[1])}:${Z2.encodeAddress(arguments[2],arguments[3])}`;default:throw Error("Can only encode with 2 or 4 arguments")}},inRange($,I){let[U,Y,,J,Q]=$,[K,q]=I;return K>=U&&K<=J&&q>=Y&&q<=Q}};Am.exports=Z2});var Q5=O((LF1,Pm)=>{var w8=G4();class RE{constructor(){this.decode(arguments)}setTLBR($,I,U,Y,J){if(arguments.length<4){let Q=w8.decodeAddress($),K=w8.decodeAddress(I);this.model={top:Math.min(Q.row,K.row),left:Math.min(Q.col,K.col),bottom:Math.max(Q.row,K.row),right:Math.max(Q.col,K.col),sheetName:U},this.setTLBR(Q.row,Q.col,K.row,K.col,J)}else this.model={top:Math.min($,U),left:Math.min(I,Y),bottom:Math.max($,U),right:Math.max(I,Y),sheetName:J}}decode($){switch($.length){case 5:this.setTLBR($[0],$[1],$[2],$[3],$[4]);break;case 4:this.setTLBR($[0],$[1],$[2],$[3]);break;case 3:this.setTLBR($[0],$[1],$[2]);break;case 2:this.setTLBR($[0],$[1]);break;case 1:{let I=$[0];if(I instanceof RE)this.model={top:I.model.top,left:I.model.left,bottom:I.model.bottom,right:I.model.right,sheetName:I.sheetName};else if(I instanceof Array)this.decode(I);else if(I.top&&I.left&&I.bottom&&I.right)this.model={top:I.top,left:I.left,bottom:I.bottom,right:I.right,sheetName:I.sheetName};else{let U=w8.decodeEx(I);if(U.top)this.model={top:U.top,left:U.left,bottom:U.bottom,right:U.right,sheetName:U.sheetName};else this.model={top:U.row,left:U.col,bottom:U.row,right:U.col,sheetName:U.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw Error(`Invalid number of arguments to _getDimensions() - ${$.length}`)}}get top(){return this.model.top||1}set top($){this.model.top=$}get left(){return this.model.left||1}set left($){this.model.left=$}get bottom(){return this.model.bottom||1}set bottom($){this.model.bottom=$}get right(){return this.model.right||1}set right($){this.model.right=$}get sheetName(){return this.model.sheetName}set sheetName($){this.model.sheetName=$}get _serialisedSheetName(){let{sheetName:$}=this.model;if($){if(/^[a-zA-Z0-9]*$/.test($))return`${$}!`;return`'${$}'!`}return""}expand($,I,U,Y){if(!this.model.top||$this.bottom)this.bottom=U;if(!this.model.right||Y>this.right)this.right=Y}expandRow($){if($){let{dimensions:I,number:U}=$;if(I)this.expand(U,I.min,U,I.max)}}expandToAddress($){let I=w8.decodeEx($);this.expand(I.row,I.col,I.row,I.col)}get tl(){return w8.n2l(this.left)+this.top}get $t$l(){return`$${w8.n2l(this.left)}$${this.top}`}get br(){return w8.n2l(this.right)+this.bottom}get $b$r(){return`$${w8.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;if($.bottomthis.bottom)return!1;if($.rightthis.right)return!1;return!0}contains($){let I=w8.decodeEx($);return this.containsEx(I)}containsEx($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;return $.row>=this.top&&$.row<=this.bottom&&$.col>=this.left&&$.col<=this.right}forEachAddress($){for(let I=this.left;I<=this.right;I++)for(let U=this.top;U<=this.bottom;U++)$(w8.encodeAddress(U,I),U,I)}}Pm.exports=RE});var l$=O((DF1,Tm)=>{Tm.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}});var Bm=O((OF1,Em)=>{var yV=G4(),LC0=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,DC0=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function OC0($,I,U){let Y=yV.decode(I),J=yV.decode(U);return $.replace(LC0,(Q,K,q,G,H)=>{if(H)return Q;let W=DC0.exec(G);if(W){let V=W[1],z=W[2].toUpperCase(),Z=W[3],w=W[4];if(z.length>3||z.length===3&&z>"XFD")return Q;let L=yV.l2n(z),D=parseInt(w,10);if(!V)L+=J.col-Y.col;if(!Z)D+=J.row-Y.row;return(K||"")+(V||"")+yV.n2l(L)+(Z||"")+D}return Q})}Em.exports={slideFormula:OC0}});var vm=O((NF1,Rm)=>{var NC0=z4();class z2{constructor($){this.note=$}get model(){let $=null;switch(typeof this.note){case"string":$={type:"note",note:{texts:[{text:this.note}]}};break;default:$={type:"note",note:this.note};break}return NC0.deepMerge({},z2.DEFAULT_CONFIGS,$)}set model($){let{note:I}=$,{texts:U}=I;if(U.length===1&&Object.keys(U[0]).length===1)this.note=U[0].text;else this.note=I}static fromModel($){let I=new z2;return I.model=$,I}}z2.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[0.13,0.13,0.25,0.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}};Rm.exports=z2});var pm=O((FF1,nm)=>{var FC0=G4(),MC0=z4(),o$=l$(),{slideFormula:AC0}=Bm(),Cm=vm();class F0{constructor($,I,U){if(!$||!I)throw Error("A Cell needs a Row");this._row=$,this._column=I,FC0.validateAddress(U),this._address=U,this._value=X9.create(F0.Types.Null,this),this.style=this._mergeStyle($.style,I.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt($){this.style.numFmt=$}get font(){return this.style.font}set font($){this.style.font=$}get alignment(){return this.style.alignment}set alignment($){this.style.alignment=$}get border(){return this.style.border}set border($){this.style.border=$}get fill(){return this.style.fill}set fill($){this.style.fill=$}get protection(){return this.style.protection}set protection($){this.style.protection=$}_mergeStyle($,I,U){let Y=$&&$.numFmt||I&&I.numFmt;if(Y)U.numFmt=Y;let J=$&&$.font||I&&I.font;if(J)U.font=J;let Q=$&&$.alignment||I&&I.alignment;if(Q)U.alignment=Q;let K=$&&$.border||I&&I.border;if(K)U.border=K;let q=$&&$.fill||I&&I.fill;if(q)U.fill=q;let G=$&&$.protection||I&&I.protection;if(G)U.protection=G;return U}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===F0.Types.Merge}merge($,I){if(this._value.release(),this._value=X9.create(F0.Types.Merge,this,$),!I)this.style=$.style}unmerge(){if(this.type===F0.Types.Merge)this._value.release(),this._value=X9.create(F0.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{})}isMergedTo($){if(this._value.type!==F0.Types.Merge)return!1;return this._value.isMergedTo($)}get master(){if(this.type===F0.Types.Merge)return this._value.master;return this}get isHyperlink(){return this._value.type===F0.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value($){if(this.type===F0.Types.Merge){this._value.master.value=$;return}this._value.release(),this._value=X9.create(X9.getType($),this,$)}get note(){return this._comment&&this._comment.note}set note($){this._comment=new Cm($)}get text(){return this._value.toString()}get html(){return MC0.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink($){if(this.type===F0.Types.String)this._value=X9.create(F0.Types.Hyperlink,this,{text:this._value.value,hyperlink:$})}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){let{worksheet:$}=this._row;return{sheetName:$.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name($){this.names=[$]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names($){let{definedNames:I}=this.workbook;I.removeAllNames(this.fullAddress),$.forEach((U)=>{I.addEx(this.fullAddress,U)})}addName($){this.workbook.definedNames.addEx(this.fullAddress,$)}removeName($){this.workbook.definedNames.removeEx(this.fullAddress,$)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation($){this._dataValidations.add(this.address,$)}get model(){let{model:$}=this._value;if($.style=this.style,this._comment)$.comment=this._comment.model;return $}set model($){if(this._value.release(),this._value=X9.create($.type,this),this._value.model=$,$.comment)switch($.comment.type){case"note":this._comment=Cm.fromModel($.comment);break}if($.style)this.style=$.style;else this.style={}}}F0.Types=o$.ValueType;class jm{constructor($){this.model={address:$.address,type:F0.Types.Null}}get value(){return null}set value($){}get type(){return F0.Types.Null}get effectiveType(){return F0.Types.Null}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){}toString(){return""}}class _m{constructor($,I){this.model={address:$.address,type:F0.Types.Number,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.Number}get effectiveType(){return F0.Types.Number}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class Sm{constructor($,I){this.model={address:$.address,type:F0.Types.String,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.String}get effectiveType(){return F0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}class gm{constructor($,I){this.model={address:$.address,type:F0.Types.String,value:I}}get value(){return this.model.value}set value($){this.model.value=$}toString(){return this.model.value.richText.map(($)=>$.text).join("")}get type(){return F0.Types.RichText}get effectiveType(){return F0.Types.RichText}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}class ym{constructor($,I){this.model={address:$.address,type:F0.Types.Date,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.Date}get effectiveType(){return F0.Types.Date}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}class hm{constructor($,I){if(this.model={address:$.address,type:F0.Types.Hyperlink,text:I?I.text:void 0,hyperlink:I?I.hyperlink:void 0},I&&I.tooltip)this.model.tooltip=I.tooltip}get value(){let $={text:this.model.text,hyperlink:this.model.hyperlink};if(this.model.tooltip)$.tooltip=this.model.tooltip;return $}set value($){if(this.model={text:$.text,hyperlink:$.hyperlink},$.tooltip)this.model.tooltip=$.tooltip}get text(){return this.model.text}set text($){this.model.text=$}get hyperlink(){return this.model.hyperlink}set hyperlink($){this.model.hyperlink=$}get type(){return F0.Types.Hyperlink}get effectiveType(){return F0.Types.Hyperlink}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}class xm{constructor($,I){if(this.model={address:$.address,type:F0.Types.Merge,master:I?I.address:void 0},this._master=I,I)I.addMergeRef()}get value(){return this._master.value}set value($){if($ instanceof F0){if(this._master)this._master.releaseMergeRef();$.addMergeRef(),this._master=$}else this._master.value=$}isMergedTo($){return $===this._master}get master(){return this._master}get type(){return F0.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}class km{constructor($,I){this.cell=$,this.model={address:$.address,type:F0.Types.Formula,shareType:I?I.shareType:void 0,ref:I?I.ref:void 0,formula:I?I.formula:void 0,sharedFormula:I?I.sharedFormula:void 0,result:I?I.result:void 0}}_copyModel($){let I={},U=(Y)=>{let J=$[Y];if(J)I[Y]=J};return U("formula"),U("result"),U("ref"),U("shareType"),U("sharedFormula"),I}get value(){return this._copyModel(this.model)}set value($){this.model=this._copyModel($)}validate($){switch(X9.getType($)){case F0.Types.Null:case F0.Types.String:case F0.Types.Number:case F0.Types.Date:break;case F0.Types.Hyperlink:case F0.Types.Formula:default:throw Error("Cannot process that type of result value")}}get dependencies(){let $=this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),I=this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g);return{ranges:$,cells:I}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula($){this.model.formula=$}get formulaType(){if(this.model.formula)return o$.FormulaType.Master;if(this.model.sharedFormula)return o$.FormulaType.Shared;return o$.FormulaType.None}get result(){return this.model.result}set result($){this.model.result=$}get type(){return F0.Types.Formula}get effectiveType(){let $=this.model.result;if($===null||$===void 0)return o$.ValueType.Null;if($ instanceof String||typeof $==="string")return o$.ValueType.String;if(typeof $==="number")return o$.ValueType.Number;if($ instanceof Date)return o$.ValueType.Date;if($.text&&$.hyperlink)return o$.ValueType.Hyperlink;if($.formula)return o$.ValueType.Formula;return o$.ValueType.Null}get address(){return this.model.address}set address($){this.model.address=$}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:$}=this.cell,I=$.findCell(this.model.sharedFormula);this._translatedFormula=I&&AC0(I.formula,I.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}class um{constructor($,I){this.model={address:$.address,type:F0.Types.SharedString,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.SharedString}get effectiveType(){return F0.Types.SharedString}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class fm{constructor($,I){this.model={address:$.address,type:F0.Types.Boolean,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.Boolean}get effectiveType(){return F0.Types.Boolean}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}class bm{constructor($,I){this.model={address:$.address,type:F0.Types.Error,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.Error}get effectiveType(){return F0.Types.Error}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}class im{constructor($,I){this.model={address:$.address,type:F0.Types.String,value:JSON.stringify(I),rawValue:I}}get value(){return this.model.rawValue}set value($){this.model.rawValue=$,this.model.value=JSON.stringify($)}get type(){return F0.Types.String}get effectiveType(){return F0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}var X9={getType($){if($===null||$===void 0)return F0.Types.Null;if($ instanceof String||typeof $==="string")return F0.Types.String;if(typeof $==="number")return F0.Types.Number;if(typeof $==="boolean")return F0.Types.Boolean;if($ instanceof Date)return F0.Types.Date;if($.text&&$.hyperlink)return F0.Types.Hyperlink;if($.formula||$.sharedFormula)return F0.Types.Formula;if($.richText)return F0.Types.RichText;if($.sharedString)return F0.Types.SharedString;if($.error)return F0.Types.Error;return F0.Types.JSON},types:[{t:F0.Types.Null,f:jm},{t:F0.Types.Number,f:_m},{t:F0.Types.String,f:Sm},{t:F0.Types.Date,f:ym},{t:F0.Types.Hyperlink,f:hm},{t:F0.Types.Formula,f:km},{t:F0.Types.Merge,f:xm},{t:F0.Types.JSON,f:im},{t:F0.Types.SharedString,f:um},{t:F0.Types.RichText,f:gm},{t:F0.Types.Boolean,f:fm},{t:F0.Types.Error,f:bm}].reduce(($,I)=>{return $[I.t]=I.f,$},[]),create($,I,U){let Y=this.types[$];if(!Y)throw Error(`Could not create Value of type ${$}`);return new Y(I,U)}};nm.exports=F0});var xV=O((MF1,mm)=>{var PC0=z4(),hV=l$(),h7=G4(),cm=pm();class dm{constructor($,I){this._worksheet=$,this._number=I,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell($){return this._cells[$-1]}getCellEx($){let I=this._cells[$.col-1];if(!I){let U=this._worksheet.getColumn($.col);I=new cm(this,U,$.address),this._cells[$.col-1]=I}return I}getCell($){if(typeof $==="string"){let I=this._worksheet.getColumnKey($);if(I)$=I.number;else $=h7.l2n($)}return this._cells[$-1]||this.getCellEx({address:h7.encodeAddress(this._number,$),row:this._number,col:$})}splice($,I,...U){let Y=$+I,J=U.length-I,Q=this._cells.length,K,q,G;if(J<0){for(K=$+U.length;K<=Q;K++)if(G=this._cells[K-1],q=this._cells[K-J-1],q)G=this.getCell(K),G.value=q.value,G.style=q.style,G._comment=q._comment;else if(G)G.value=null,G.style={},G._comment=void 0}else if(J>0)for(K=Q;K>=Y;K--)if(q=this._cells[K-1],q)G=this.getCell(K+J),G.value=q.value,G.style=q.style,G._comment=q._comment;else this._cells[K+J-1]=void 0;for(K=0;K{if(U&&U.type!==hV.ValueType.Null)I(U,Y+1)})}addPageBreak($,I){let U=this._worksheet,Y=Math.max(0,$-1)||0,J=Math.max(0,I-1)||16838,Q={id:this._number,max:J,man:1};if(Y)Q.min=Y;U.rowBreaks.push(Q)}get values(){let $=[];return this._cells.forEach((I)=>{if(I&&I.type!==hV.ValueType.Null)$[I.col]=I.value}),$}set values($){if(this._cells=[],!$);else if($ instanceof Array){let I=0;if($.hasOwnProperty("0"))I=1;$.forEach((U,Y)=>{if(U!==void 0)this.getCellEx({address:h7.encodeAddress(this._number,Y+I),row:this._number,col:Y+I}).value=U})}else this._worksheet.eachColumnKey((I,U)=>{if($[U]!==void 0)this.getCellEx({address:h7.encodeAddress(this._number,I.number),row:this._number,col:I.number}).value=$[U]})}get hasValues(){return PC0.some(this._cells,($)=>$&&$.type!==hV.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let $=0;return this.eachCell(()=>{$++}),$}get dimensions(){let $=0,I=0;return this._cells.forEach((U)=>{if(U&&U.type!==hV.ValueType.Null){if(!$||$>U.col)$=U.col;if(I0?{min:$,max:I}:null}_applyStyle($,I){return this.style[$]=I,this._cells.forEach((U)=>{if(U)U[$]=I}),I}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){let $=[],I=0,U=0;return this._cells.forEach((Y)=>{if(Y){let J=Y.model;if(J){if(!I||I>Y.col)I=Y.col;if(U{switch(U.type){case cm.Types.Merge:break;default:{let Y;if(U.address)Y=h7.decodeAddress(U.address);else if(I){let{row:Q}=I,K=I.col+1;Y={row:Q,col:K,address:h7.encodeAddress(Q,K),$col$row:`$${h7.n2l(K)}$${Q}`}}I=Y;let J=this.getCellEx(Y);J.model=U;break}}}),$.height)this.height=$.height;else delete this.height;this.hidden=$.hidden,this.outlineLevel=$.outlineLevel||0,this.style=$.style&&JSON.parse(JSON.stringify($.style))||{}}}mm.exports=dm});var uV=O((AF1,lm)=>{var TC0=z4(),EC0=l$(),BC0=G4();class kV{constructor($,I,U){if(this._worksheet=$,this._number=I,U!==!1)this.defn=U}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return BC0.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn($){if($){if(this.key=$.key,this.width=$.width!==void 0?$.width:9,this.outlineLevel=$.outlineLevel,$.style)this.style=$.style;else this.style={};this.header=$.header,this._hidden=!!$.hidden}else delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header($){if($!==void 0)this._header=$,this.headers.forEach((I,U)=>{this._worksheet.getCell(U+1,this.number).value=I});else this._header=void 0}get key(){return this._key}set key($){if((this._key&&this._worksheet.getColumnKey(this._key))===this)this._worksheet.deleteColumnKey(this._key);if(this._key=$,$)this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo($){return this.width===$.width&&this.hidden===$.hidden&&this.outlineLevel===$.outlineLevel&&TC0.isEqual(this.style,$.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;let $=this.style;if($&&($.font||$.numFmt||$.alignment||$.border||$.fill||$.protection))return!1;return!0}get headerCount(){return this.headers.length}eachCell($,I){let U=this.number;if(!I)I=$,$=null;this._worksheet.eachRow($,(Y,J)=>{I(Y.getCell(U),J)})}get values(){let $=[];return this.eachCell((I,U)=>{if(I&&I.type!==EC0.ValueType.Null)$[U]=I.value}),$}set values($){if(!$)return;let I=this.number,U=0;if($.hasOwnProperty("0"))U=1;$.forEach((Y,J)=>{this._worksheet.getCell(J+U,I).value=Y})}_applyStyle($,I){return this.style[$]=I,this.eachCell((U)=>{U[$]=I}),I}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}static toModel($){let I=[],U=null;if($)$.forEach((Y,J)=>{if(Y.isDefault){if(U)U=null}else if(!U||!Y.equivalentTo(U))U={min:J+1,max:J+1,width:Y.width!==void 0?Y.width:9,style:Y.style,isCustomWidth:Y.isCustomWidth,hidden:Y.hidden,outlineLevel:Y.outlineLevel,collapsed:Y.collapsed},I.push(U);else U.max=J+1});return I.length?I:void 0}static fromModel($,I){I=I||[];let U=[],Y=1,J=0;I=I.sort(function(Q,K){return Q.min-K.min});while(J{var RC0=G4();class fV{constructor($,I,U=0){if(this.worksheet=$,!I)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof I==="string"){let Y=RC0.decodeAddress(I);this.nativeCol=Y.col+U,this.nativeColOff=0,this.nativeRow=Y.row+U,this.nativeRowOff=0}else if(I.nativeCol!==void 0)this.nativeCol=I.nativeCol||0,this.nativeColOff=I.nativeColOff||0,this.nativeRow=I.nativeRow||0,this.nativeRowOff=I.nativeRowOff||0;else if(I.col!==void 0)this.col=I.col+U,this.row=I.row+U;else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance($){return $ instanceof fV||$==null?$:new fV($)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col($){this.nativeCol=Math.floor($),this.nativeColOff=Math.floor(($-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row($){this.nativeRow=Math.floor($),this.nativeRowOff=Math.floor(($-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(this.worksheet.getColumn(this.nativeCol+1).width*1e4):640000}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(this.worksheet.getRow(this.nativeRow+1).height*1e4):180000}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model($){this.nativeCol=$.nativeCol,this.nativeColOff=$.nativeColOff,this.nativeRow=$.nativeRow,this.nativeRowOff=$.nativeRowOff}}om.exports=fV});var sm=O((TF1,am)=>{var vC0=G4(),bV=rm();class tm{constructor($,I){this.worksheet=$,this.model=I}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw Error("Invalid Image Type")}}set model({type:$,imageId:I,range:U,hyperlinks:Y}){if(this.type=$,this.imageId=I,$==="image")if(typeof U==="string"){let J=vC0.decode(U);this.range={tl:new bV(this.worksheet,{col:J.left,row:J.top},-1),br:new bV(this.worksheet,{col:J.right,row:J.bottom},0),editAs:"oneCell"}}else this.range={tl:new bV(this.worksheet,U.tl,0),br:U.br&&new bV(this.worksheet,U.br,0),ext:U.ext,editAs:U.editAs,hyperlinks:Y||U.hyperlinks}}}am.exports=tm});var Ul=O((EF1,Il)=>{var iV=G4();class em{constructor($,I,U){this.table=$,this.column=I,this.index=U}_set($,I){this.table.cacheState(),this.column[$]=I}get name(){return this.column.name}set name($){this._set("name",$)}get filterButton(){return this.column.filterButton}set filterButton($){this.column.filterButton=$}get style(){return this.column.style}set style($){this.column.style=$}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel($){this._set("totalsRowLabel",$)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction($){this._set("totalsRowFunction",$)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult($){this._set("totalsRowResult",$)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula($){this._set("totalsRowFormula",$)}}class $l{constructor($,I){if(this.worksheet=$,I)this.table=I,this.validate(),this.store()}getFormula($){switch($.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${$.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${$.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${$.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${$.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${$.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${$.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${$.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${$.name}])`;case"custom":return $.totalsRowFormula;default:throw Error(`Invalid Totals Row Function: ${$.totalsRowFunction}`)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){let{table:$}=this,I=(G,H,W)=>{if(G[H]===void 0)G[H]=W};I($,"headerRow",!0),I($,"totalsRow",!1),I($,"style",{}),I($.style,"theme","TableStyleMedium2"),I($.style,"showFirstColumn",!1),I($.style,"showLastColumn",!1),I($.style,"showRowStripes",!1),I($.style,"showColumnStripes",!1);let U=(G,H)=>{if(!G)throw Error(H)};U($.ref,"Table must have ref"),U($.columns,"Table must have column definitions"),U($.rows,"Table must have row definitions"),$.tl=iV.decodeAddress($.ref);let{row:Y,col:J}=$.tl;U(Y>0,"Table must be on valid row"),U(J>0,"Table must be on valid col");let{width:Q,filterHeight:K,tableHeight:q}=this;$.autoFilterRef=iV.encode(Y,J,Y+K-1,J+Q-1),$.tableRef=iV.encode(Y,J,Y+q-1,J+Q-1),$.columns.forEach((G,H)=>{if(U(G.name,`Column ${H} must have a name`),H===0)I(G,"totalsRowLabel","Total");else I(G,"totalsRowFunction","none"),G.totalsRowFormula=this.getFormula(G)})}store(){let $=(K,q)=>{if(q)Object.keys(q).forEach((G)=>{K[G]=q[G]})},{worksheet:I,table:U}=this,{row:Y,col:J}=U.tl,Q=0;if(U.headerRow){let K=I.getRow(Y+Q++);U.columns.forEach((q,G)=>{let{style:H,name:W}=q,V=K.getCell(J+G);V.value=W,$(V,H)})}if(U.rows.forEach((K)=>{let q=I.getRow(Y+Q++);K.forEach((G,H)=>{let W=q.getCell(J+H);W.value=G,$(W,U.columns[H].style)})}),U.totalsRow){let K=I.getRow(Y+Q++);U.columns.forEach((q,G)=>{let H=K.getCell(J+G);if(G===0)H.value=q.totalsRowLabel;else if(this.getFormula(q))H.value={formula:q.totalsRowFormula,result:q.totalsRowResult};else H.value=null;$(H,q.style)})}}load($){let{table:I}=this,{row:U,col:Y}=I.tl,J=0;if(I.headerRow){let Q=$.getRow(U+J++);I.columns.forEach((K,q)=>{let G=Q.getCell(Y+q);G.value=K.name})}if(I.rows.forEach((Q)=>{let K=$.getRow(U+J++);Q.forEach((q,G)=>{let H=K.getCell(Y+G);H.value=q})}),I.totalsRow){let Q=$.getRow(U+J++);I.columns.forEach((K,q)=>{let G=Q.getCell(Y+q);if(q===0)G.value=K.totalsRowLabel;else if(this.getFormula(K))G.value={formula:K.totalsRowFormula,result:K.totalsRowResult}})}}get model(){return this.table}set model($){this.table=$}cacheState(){if(!this._cache)this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let $=iV.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let I=0;I{Y.push(I[J])});else this.table.columns.splice(U,0,$),this.table.rows.forEach((Y,J)=>{Y.splice(U,0,I[J])})}removeColumns($,I=1){this.cacheState(),this.table.columns.splice($,I),this.table.rows.forEach((U)=>{U.splice($,I)})}_assign($,I,U){this.cacheState(),$[I]=U}get ref(){return this.table.ref}set ref($){this._assign(this.table,"ref",$)}get name(){return this.table.name}set name($){this.table.name=$}get displayName(){return this.table.displyName||this.table.name}set displayNamename($){this.table.displayName=$}get headerRow(){return this.table.headerRow}set headerRow($){this._assign(this.table,"headerRow",$)}get totalsRow(){return this.table.totalsRow}set totalsRow($){this._assign(this.table,"totalsRow",$)}get theme(){return this.table.style.name}set theme($){this.table.style.name=$}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn($){this.table.style.showFirstColumn=$}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn($){this.table.style.showLastColumn=$}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes($){this.table.style.showRowStripes=$}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes($){this.table.style.showColumnStripes=$}}Il.exports=$l});var vE=O((BF1,Jl)=>{class Yl{constructor($){this.model=$||{}}add($,I){return this.model[$]=I}find($){return this.model[$]}remove($){this.model[$]=void 0}}Jl.exports=Yl});var jE=O((RF1,Ql)=>{var CE=r("crypto"),CC0={hash($,...I){let U=CE.createHash($);return U.update(Buffer.concat(I)),U.digest()},convertPasswordToHash($,I,U,Y){if(I=I.toLowerCase(),CE.getHashes().indexOf(I)<0)throw Error(`Hash algorithm '${I}' not supported!`);let Q=Buffer.from($,"utf16le"),K=this.hash(I,Buffer.from(U,"base64"),Q);for(let q=0;q{var Kl=($,I)=>({...$,...I.reduce((U,Y)=>{if($[Y])U[Y]={...$[Y]};return U},{})}),L8=($,I,U,Y=[])=>{if($[U])I[U]=Kl($[U],Y)},jC0=($)=>Object.keys($).length===0,_C0=($)=>{if(!$)return $;if(jC0($))return{};let I={...$};if(L8($,I,"font",["color"]),L8($,I,"alignment"),L8($,I,"protection"),$.border)L8($,I,"border"),L8($.border,I.border,"top",["color"]),L8($.border,I.border,"left",["color"]),L8($.border,I.border,"bottom",["color"]),L8($.border,I.border,"right",["color"]),L8($.border,I.border,"diagonal",["color"]);if($.fill){if(L8($,I,"fill",["fgColor","bgColor","center"]),$.fill.stops)I.fill.stops=$.fill.stops.map((U)=>Kl(U,["color"]))}return I};SC0.copyStyle=_C0});var wl=O((CF1,Xl)=>{var X2=z4(),w2=G4(),L2=Q5(),Gl=xV(),nV=uV(),yC0=l$(),_E=sm(),Hl=Ul(),Wl=vE(),Vl=jE(),{copyStyle:Zl}=ql();class zl{constructor($){$=$||{},this._workbook=$.workbook,this.id=$.id,this.orderNo=$.orderNo,this.name=$.name,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.dataValidations=new Wl,this.views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name($){if($===void 0)$=`sheet${this.id}`;if(this._name===$)return;if(typeof $!=="string")throw Error("The name has to be a string.");if($==="")throw Error("The name can't be empty.");if($==="History")throw Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test($))throw Error(`Worksheet name ${$} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test($))throw Error(`The first or last character of worksheet name cannot be a single quotation mark: ${$}`);if($&&$.length>31)console.warn(`Worksheet name ${$} exceeds 31 chars. This will be truncated`),$=$.substring(0,31);if(this._workbook._worksheets.find((I)=>I&&I.name.toLowerCase()===$.toLowerCase()))throw Error(`Worksheet name already exists: ${$}`);this._name=$}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let $=new L2;return this._rows.forEach((I)=>{if(I){let U=I.dimensions;if(U)$.expand(I.number,U.min,I.number,U.max)}}),$}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((Y,J)=>{let Q=J.header&&1||J.headers&&J.headers.length||0;return Math.max(Y,Q)},0);let I=1,U=this._columns=[];$.forEach((Y)=>{let J=new nV(this,I++,!1);U.push(J),J.defn=Y})}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){X2.each(this._keys,$)}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=w2.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new nV(this,I++))}return this._columns[$-1]}spliceColumns($,I,...U){let J=this._rows.length;if(U.length>0)for(let G=0;G{H.push(V[G]||null)});let W=this.getRow(G+1);W.splice.apply(W,H)}else this._rows.forEach((G)=>{if(G)G.splice($,I)});let Q=U.length-I,K=$+I,q=this._columns.length;if(Q<0)for(let G=$+U.length;G<=q;G++)this.getColumn(G).defn=this.getColumn(G-Q).defn;else if(Q>0)for(let G=q;G>=K;G--)this.getColumn(G+Q).defn=this.getColumn(G).defn;for(let G=$;G<$+U.length;G++)this.getColumn(G).defn=null;this.workbook.definedNames.spliceColumns(this.name,$,I,U.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let $=0;return this.eachRow((I)=>{$=Math.max($,I.cellCount)}),$}get actualColumnCount(){let $=[],I=0;return this.eachRow((U)=>{U.eachCell(({col:Y})=>{if(!$[Y])$[Y]=!0,I++})}),I}_commitRow(){}get _lastRowNumber(){let $=this._rows,I=$.length;while(I>0&&$[I-1]===void 0)I--;return I}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){return this._rows[$-1]}findRows($,I){return this._rows.slice($-1,$-1+I)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let $=0;return this.eachRow(()=>{$++}),$}getRow($){let I=this._rows[$-1];if(!I)I=this._rows[$-1]=new Gl(this,$);return I}getRows($,I){if(I<1)return;let U=[];for(let Y=$;Y<$+I;Y++)U.push(this.getRow(Y));return U}addRow($,I="n"){let U=this._nextRow,Y=this.getRow(U);return Y.values=$,this._setStyleOption(U,I[0]==="i"?I:"n"),Y}addRows($,I="n"){let U=[];return $.forEach((Y)=>{U.push(this.addRow(Y,I))}),U}insertRow($,I,U="n"){return this.spliceRows($,0,I),this._setStyleOption($,U),this.getRow($)}insertRows($,I,U="n"){if(this.spliceRows($,0,...I),U!=="n"){for(let Y=0;Y{J.getCell(K).style=Zl(Q.style)}),J.height=Y.height}duplicateRow($,I,U=!1){let Y=this._rows[$-1],J=Array(I).fill(Y.values);this.spliceRows($+1,U?0:I,...J);for(let Q=0;Q{K.getCell(G).style=q.style})}}spliceRows($,I,...U){let Y=$+I,J=U.length,Q=J-I,K=this._rows.length,q,G;if(Q<0){if($===K)this._rows[K-1]=void 0;for(q=Y;q<=K;q++)if(G=this._rows[q-1],G){let H=this.getRow(q+Q);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,V)=>{H.getCell(V).style=W.style}),this._rows[q-1]=void 0}else this._rows[q+Q-1]=void 0}else if(Q>0)for(q=K;q>=Y;q--)if(G=this._rows[q-1],G){let H=this.getRow(q+Q);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,V)=>{if(H.getCell(V).style=W.style,W._value.constructor.name==="MergeValue"){let z=this.getRow(W._row._number+J).getCell(V),Z=W._value._master,w=this.getRow(Z._row._number+J).getCell(Z._column._number);z.merge(w)}})}else this._rows[q+Q-1]=void 0;for(q=0;q{if(U&&U.hasValues)I(U,U.number)})}getSheetValues(){let $=[];return this._rows.forEach((I)=>{if(I)$[I.number]=I.values}),$}findCell($,I){let U=w2.getAddress($,I),Y=this._rows[U.row-1];return Y?Y.findCell(U.col):void 0}getCell($,I){let U=w2.getAddress($,I);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let I=new L2($);this._mergeCellsInternal(I)}mergeCellsWithoutStyle(...$){let I=new L2($);this._mergeCellsInternal(I,!0)}_mergeCellsInternal($,I){X2.each(this._merges,(Y)=>{if(Y.intersects($))throw Error("Cannot merge already merged cells")});let U=this.getCell($.top,$.left);for(let Y=$.top;Y<=$.bottom;Y++)for(let J=$.left;J<=$.right;J++)if(Y>$.top||J>$.left)this.getCell(Y,J).merge(U,I);this._merges[U.address]=$}_unMergeMaster($){let I=this._merges[$.address];if(I){for(let U=I.top;U<=I.bottom;U++)for(let Y=I.left;Y<=I.right;Y++)this.getCell(U,Y).unmerge();delete this._merges[$.address]}}get hasMerges(){return X2.some(this._merges,Boolean)}unMergeCells(...$){let I=new L2($);for(let U=I.top;U<=I.bottom;U++)for(let Y=I.left;Y<=I.right;Y++){let J=this.findCell(U,Y);if(J){if(J.type===yC0.ValueType.Merge)this._unMergeMaster(J.master);else if(this._merges[J.address])this._unMergeMaster(J)}}}fillFormula($,I,U,Y="shared"){let J=w2.decode($),{top:Q,left:K,bottom:q,right:G}=J,H=G-K+1,W=w2.encodeAddress(Q,K),V=Y==="shared",z;if(typeof U==="function")z=U;else if(Array.isArray(U))if(Array.isArray(U[0]))z=(w,L)=>U[w-Q][L-K];else z=(w,L)=>U[(w-Q)*H+(L-K)];else z=()=>{return};let Z=!0;for(let w=Q;w<=q;w++)for(let L=K;L<=G;L++)if(Z)this.getCell(w,L).value={shareType:Y,formula:I,ref:$,result:z(w,L)},Z=!1;else this.getCell(w,L).value=V?{sharedFormula:W,result:z(w,L)}:z(w,L)}addImage($,I){let U={type:"image",imageId:$,range:I};this._media.push(new _E(this,U))}getImages(){return this._media.filter(($)=>$.type==="image")}addBackgroundImage($){let I={type:"background",imageId:$};this._media.push(new _E(this,I))}getBackgroundImageId(){let $=this._media.find((I)=>I.type==="background");return $&&$.imageId}protect($,I){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},I&&"spinCount"in I)I.spinCount=Number.isFinite(I.spinCount)?Math.round(Math.max(0,I.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=Vl.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=I&&"spinCount"in I?I.spinCount:1e5,this.sheetProtection.hashValue=Vl.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(I){if(this.sheetProtection=Object.assign(this.sheetProtection,I),!$&&"spinCount"in I)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}addTable($){let I=new Hl(this,$);return this.tables[$.name]=I,I}getTable($){return this.tables[$]}removeTable($){delete this.tables[$]}getTables(){return Object.values(this.tables)}addConditionalFormatting($){this.conditionalFormattings.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormattings.splice($,1);else if($ instanceof Function)this.conditionalFormattings=this.conditionalFormattings.filter($);else this.conditionalFormattings=[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor($){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=$}get model(){let $={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((Y)=>Y.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((Y)=>Y.model),conditionalFormattings:this.conditionalFormattings};$.cols=nV.toModel(this.columns);let I=$.rows=[],U=$.dimensions=new L2;return this._rows.forEach((Y)=>{let J=Y&&Y.model;if(J)U.expand(J.number,J.min,J.number,J.max),I.push(J)}),$.merges=[],X2.each(this._merges,(Y)=>{$.merges.push(Y.range)}),$}_parseRows($){this._rows=[],$.rows.forEach((I)=>{let U=new Gl(this,I.number);this._rows[U.number-1]=U,U.model=I})}_parseMergeCells($){X2.each($.mergeCells,(I)=>{this.mergeCellsWithoutStyle(I)})}set model($){this.name=$.name,this._columns=nV.fromModel(this,$.cols),this._parseRows($),this._parseMergeCells($),this.dataValidations=new Wl($.dataValidations),this.properties=$.properties,this.pageSetup=$.pageSetup,this.headerFooter=$.headerFooter,this.views=$.views,this.autoFilter=$.autoFilter,this._media=$.media.map((I)=>new _E(this,I)),this.sheetProtection=$.sheetProtection,this.tables=$.tables.reduce((I,U)=>{let Y=new Hl;return Y.model=U,I[U.name]=Y,I},{}),this.conditionalFormattings=$.conditionalFormattings}}Xl.exports=zl});var Nl=O((jF1,Ol)=>{var Ll=z4(),pV=G4();class Dl{constructor($){this.template=$,this.sheets={}}addCell($){this.addCellEx(pV.decodeEx($))}getCell($){return this.findCellEx(pV.decodeEx($),!0)}findCell($){return this.findCellEx(pV.decodeEx($),!1)}findCellAt($,I,U){let Y=this.sheets[$],J=Y&&Y[I];return J&&J[U]}addCellEx($){if($.top)for(let I=$.top;I<=$.bottom;I++)for(let U=$.left;U<=$.right;U++)this.getCellAt($.sheetName,I,U);else this.findCellEx($,!0)}getCellEx($){return this.findCellEx($,!0)}findCellEx($,I){let U=this.findSheet($,I),Y=this.findSheetRow(U,$,I);return this.findRowCell(Y,$,I)}getCellAt($,I,U){let Y=this.sheets[$]||(this.sheets[$]=[]),J=Y[I]||(Y[I]=[]);return J[U]||(J[U]={sheetName:$,address:pV.n2l(U)+I,row:I,col:U})}removeCellEx($){let I=this.findSheet($);if(!I)return;let U=this.findSheetRow(I,$);if(!U)return;delete U[$.col]}forEachInSheet($,I){let U=this.sheets[$];if(U)U.forEach((Y,J)=>{if(Y)Y.forEach((Q,K)=>{if(Q)I(Q,J,K)})})}forEach($){Ll.each(this.sheets,(I,U)=>{this.forEachInSheet(U,$)})}map($){let I=[];return this.forEach((U)=>{I.push($(U))}),I}findSheet($,I){let U=$.sheetName;if(this.sheets[U])return this.sheets[U];if(I)return this.sheets[U]=[];return}findSheetRow($,I,U){let{row:Y}=I;if($&&$[Y])return $[Y];if(U)return $[Y]=[];return}findRowCell($,I,U){let{col:Y}=I;if($&&$[Y])return $[Y];if(U)return $[Y]=this.template?Object.assign(I,JSON.parse(JSON.stringify(this.template))):I;return}spliceRows($,I,U,Y){let J=this.sheets[$];if(J){let Q=[];for(let K=0;K{K.splice(I,U,...Q)})}}}Ol.exports=Dl});var SE=O((_F1,Al)=>{var DU=z4(),D2=G4(),Fl=Nl(),hC0=Q5(),xC0=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;class Ml{constructor(){this.matrixMap={}}getMatrix($){return this.matrixMap[$]||(this.matrixMap[$]=new Fl)}add($,I){let U=D2.decodeEx($);this.addEx(U,I)}addEx($,I){let U=this.getMatrix(I);if($.top)for(let Y=$.left;Y<=$.right;Y++)for(let J=$.top;J<=$.bottom;J++){let Q={sheetName:$.sheetName,address:D2.n2l(Y)+J,row:J,col:Y};U.addCellEx(Q)}else U.addCellEx($)}remove($,I){let U=D2.decodeEx($);this.removeEx(U,I)}removeEx($,I){this.getMatrix(I).removeCellEx($)}removeAllNames($){DU.each(this.matrixMap,(I)=>{I.removeCellEx($)})}forEach($){DU.each(this.matrixMap,(I,U)=>{I.forEach((Y)=>{$(U,Y)})})}getNames($){return this.getNamesEx(D2.decodeEx($))}getNamesEx($){return DU.map(this.matrixMap,(I,U)=>I.findCellEx($)&&U).filter(Boolean)}_explore($,I){I.mark=!1;let{sheetName:U}=I,Y=new hC0(I.row,I.col,I.row,I.col,U),J,Q;function K(G,H){let W=$.findCellAt(U,G,I.col);if(!W||!W.mark)return!1;return Y[H]=G,W.mark=!1,!0}for(Q=I.row-1;K(Q,"top");Q--);for(Q=I.row+1;K(Q,"bottom");Q++);function q(G,H){let W=[];for(Q=Y.top;Q<=Y.bottom;Q++){let V=$.findCellAt(U,Q,G);if(V&&V.mark)W.push(V);else return!1}Y[H]=G;for(let V=0;V{Y.mark=!0});let U=I.map((Y)=>Y.mark&&this._explore(I,Y)).filter(Boolean).map((Y)=>Y.$shortRange);return{name:$,ranges:U}}normaliseMatrix($,I){$.forEachInSheet(I,(U,Y,J)=>{if(U){if(U.row!==Y||U.col!==J)U.row=Y,U.col=J,U.address=D2.n2l(J)+Y}})}spliceRows($,I,U,Y){DU.each(this.matrixMap,(J)=>{J.spliceRows($,I,U,Y),this.normaliseMatrix(J,$)})}spliceColumns($,I,U,Y){DU.each(this.matrixMap,(J)=>{J.spliceColumns($,I,U,Y),this.normaliseMatrix(J,$)})}get model(){return DU.map(this.matrixMap,($,I)=>this.getRanges(I,$)).filter(($)=>$.ranges.length)}set model($){let I=this.matrixMap={};$.forEach((U)=>{let Y=I[U.name]=new Fl;U.ranges.forEach((J)=>{if(xC0.test(J.split("!").pop()||""))Y.addCell(J)})})}}Al.exports=Ml});var F4=O((SF1,gE)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)gE.exports={nextTick:kC0};else gE.exports=process;function kC0($,I,U,Y){if(typeof $!=="function")throw TypeError('"callback" argument must be a function');var J=arguments.length,Q,K;switch(J){case 0:case 1:return process.nextTick($);case 2:return process.nextTick(function(){$.call(null,I)});case 3:return process.nextTick(function(){$.call(null,I,U)});case 4:return process.nextTick(function(){$.call(null,I,U,Y)});default:Q=Array(J-1),K=0;while(K{var uC0={}.toString;Pl.exports=Array.isArray||function($){return uC0.call($)=="[object Array]"}});var M4=O((yE,El)=>{var cV=r("buffer"),K5=cV.Buffer;function Tl($,I){for(var U in $)I[U]=$[U]}if(K5.from&&K5.alloc&&K5.allocUnsafe&&K5.allocUnsafeSlow)El.exports=cV;else Tl(cV,yE),yE.Buffer=NU;function NU($,I,U){return K5($,I,U)}Tl(K5,NU);NU.from=function($,I,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return K5($,I,U)};NU.alloc=function($,I,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var Y=K5($);if(I!==void 0)if(typeof U==="string")Y.fill(I,U);else Y.fill(I);else Y.fill(0);return Y};NU.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return K5($)};NU.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return cV.SlowBuffer($)}});var n1=O((eC0)=>{function fC0($){if(Array.isArray)return Array.isArray($);return dV($)==="[object Array]"}eC0.isArray=fC0;function bC0($){return typeof $==="boolean"}eC0.isBoolean=bC0;function iC0($){return $===null}eC0.isNull=iC0;function nC0($){return $==null}eC0.isNullOrUndefined=nC0;function pC0($){return typeof $==="number"}eC0.isNumber=pC0;function cC0($){return typeof $==="string"}eC0.isString=cC0;function dC0($){return typeof $==="symbol"}eC0.isSymbol=dC0;function mC0($){return $===void 0}eC0.isUndefined=mC0;function lC0($){return dV($)==="[object RegExp]"}eC0.isRegExp=lC0;function oC0($){return typeof $==="object"&&$!==null}eC0.isObject=oC0;function rC0($){return dV($)==="[object Date]"}eC0.isDate=rC0;function tC0($){return dV($)==="[object Error]"||$ instanceof Error}eC0.isError=tC0;function aC0($){return typeof $==="function"}eC0.isFunction=aC0;function sC0($){return $===null||typeof $==="boolean"||typeof $==="number"||typeof $==="string"||typeof $==="symbol"||typeof $>"u"}eC0.isPrimitive=sC0;eC0.isBuffer=r("buffer").Buffer.isBuffer;function dV($){return Object.prototype.toString.call($)}});var Bl=O((hF1,hE)=>{if(typeof Object.create==="function")hE.exports=function(I,U){if(U)I.super_=U,I.prototype=Object.create(U.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}})};else hE.exports=function(I,U){if(U){I.super_=U;var Y=function(){};Y.prototype=U.prototype,I.prototype=new Y,I.prototype.constructor=I}}});var p0=O((xF1,xE)=>{try{if(mV=r("util"),typeof mV.inherits!=="function")throw"";xE.exports=mV.inherits}catch($){xE.exports=Bl()}var mV});var vl=O((kF1,kE)=>{function wj0($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var Rl=M4().Buffer,O2=r("util");function Lj0($,I,U){$.copy(I,U)}kE.exports=function(){function $(){wj0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return Rl.alloc(0);var Y=Rl.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)Lj0(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(O2&&O2.inspect&&O2.inspect.custom)kE.exports.prototype[O2.inspect.custom]=function(){var $=O2.inspect({length:this.length});return this.constructor.name+" "+$}});var uE=O((uF1,Cl)=>{var lV=F4();function Dj0($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)lV.nextTick(oV,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,lV.nextTick(oV,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)lV.nextTick(oV,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,lV.nextTick(oV,U,Q)}else if(I)I(Q)}),this}function Oj0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function oV($,I){$.emit("error",I)}Cl.exports={destroy:Dj0,undestroy:Oj0}});var x7=O((fF1,jl)=>{jl.exports=r("util").deprecate});var bE=O((bF1,ul)=>{var k7=F4();ul.exports=P4;function Sl($){var I=this;this.next=null,this.entry=null,this.finish=function(){xj0(I,$)}}var Nj0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:k7.nextTick,FU;P4.WritableState=F2;var gl=Object.create(n1());gl.inherits=p0();var Fj0={deprecate:x7()},yl=r("stream"),tV=M4().Buffer,Mj0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Aj0($){return tV.from($)}function Pj0($){return tV.isBuffer($)||$ instanceof Mj0}var hl=uE();gl.inherits(P4,yl);function Tj0(){}function F2($,I){FU=FU||u7(),$=$||{};var U=I instanceof FU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){_j0(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Sl(this)}F2.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(F2.prototype,"buffer",{get:Fj0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var rV;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")rV=Function.prototype[Symbol.hasInstance],Object.defineProperty(P4,Symbol.hasInstance,{value:function($){if(rV.call(this,$))return!0;if(this!==P4)return!1;return $&&$._writableState instanceof F2}});else rV=function($){return $ instanceof this};function P4($){if(FU=FU||u7(),!rV.call(P4,this)&&!(this instanceof FU))return new P4($);if(this._writableState=new F2($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}yl.call(this)}P4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function Ej0($,I){var U=Error("write after end");$.emit("error",U),k7.nextTick(I,U)}function Bj0($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),k7.nextTick(Y,Q),J=!1;return J}P4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&Pj0($);if(Q&&!tV.isBuffer($))$=Aj0($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=Tj0;if(Y.ended)Ej0(this,U);else if(Q||Bj0(this,Y,$,U))Y.pendingcb++,J=vj0(this,Y,Q,$,I,U);return J};P4.prototype.cork=function(){var $=this._writableState;$.corked++};P4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)xl(this,$)}};P4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function Rj0($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=tV.from(I,U);return I}Object.defineProperty(P4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function vj0($,I,U,Y,J,Q){if(!U){var K=Rj0(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var fl=F4(),kj0=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};nl.exports=q5;var bl=Object.create(n1());bl.inherits=p0();var il=nE(),iE=bE();bl.inherits(q5,il);{aV=kj0(iE.prototype);for(M2=0;M2{var cE=M4().Buffer,pl=cE.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function bj0($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function ij0($){var I=bj0($);if(typeof I!=="string"&&(cE.isEncoding===pl||!pl($)))throw Error("Unknown encoding: "+$);return I||$}ej0.StringDecoder=P2;function P2($){this.encoding=ij0($);var I;switch(this.encoding){case"utf16le":this.text=lj0,this.end=oj0,I=4;break;case"utf8":this.fillLast=cj0,I=4;break;case"base64":this.text=rj0,this.end=tj0,I=3;break;default:this.write=aj0,this.end=sj0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=cE.allocUnsafe(I)}P2.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};P2.prototype.end=mj0;P2.prototype.text=dj0;P2.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function pE($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function nj0($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function pj0($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function cj0($){var I=this.lastTotal-this.lastNeed,U=pj0(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function dj0($,I){var U=nj0(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function mj0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function lj0($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function oj0($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function rj0($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function tj0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function aj0($){return $.toString(this.encoding)}function sj0($){return $&&$.length?this.write($):""}});var nE=O((cF1,Io)=>{var AU=F4();Io.exports=l1;var I_0=OU(),T2;l1.ReadableState=tl;var pF1=r("events").EventEmitter,ll=function($,I){return $.listeners(I).length},tE=r("stream"),E2=M4().Buffer,U_0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Y_0($){return E2.from($)}function J_0($){return E2.isBuffer($)||$ instanceof U_0}var ol=Object.create(n1());ol.inherits=p0();var mE=r("util"),A1=void 0;if(mE&&mE.debuglog)A1=mE.debuglog("stream");else A1=function(){};var Q_0=vl(),rl=uE(),MU;ol.inherits(l1,tE);var lE=["error","close","destroy","pause","resume"];function K_0($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(I_0($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function tl($,I){T2=T2||u7(),$=$||{};var U=I instanceof T2;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Q_0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!MU)MU=dE().StringDecoder;this.decoder=new MU($.encoding),this.encoding=$.encoding}}function l1($){if(T2=T2||u7(),!(this instanceof l1))return new l1($);if(this._readableState=new tl($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}tE.call(this)}Object.defineProperty(l1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});l1.prototype.destroy=rl.destroy;l1.prototype._undestroy=rl.undestroy;l1.prototype._destroy=function($,I){this.push(null),I($)};l1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=E2.from($,I),I="";Y=!0}}else Y=!0;return al(this,$,I,!1,Y)};l1.prototype.unshift=function($){return al(this,$,null,!0,!1)};function al($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,W_0($,Q);else{var K;if(!J)K=q_0(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==E2.prototype)I=Y_0(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else oE($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)oE($,Q,I,!1);else sl($,Q);else oE($,Q,I,!1)}else if(!Y)Q.reading=!1}return G_0(Q)}function oE($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)sV($)}sl($,I)}function q_0($,I){var U;if(!J_0(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function G_0($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}l1.prototype.isPaused=function(){return this._readableState.flowing===!1};l1.prototype.setEncoding=function($){if(!MU)MU=dE().StringDecoder;return this._readableState.decoder=new MU($),this._readableState.encoding=$,this};var cl=8388608;function H_0($){if($>=cl)$=cl;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function dl($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=H_0($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}l1.prototype.read=function($){A1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(A1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)rE(this);else sV(this);return null}if($=dl($,I),$===0&&I.ended){if(I.length===0)rE(this);return null}var Y=I.needReadable;if(A1("need readable",Y),I.length===0||I.length-$0)J=el($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)rE(this)}if(J!==null)this.emit("data",J);return J};function W_0($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,sV($)}function sV($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(A1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)AU.nextTick(ml,$);else ml($)}function ml($){A1("emit readable"),$.emit("readable"),aE($)}function sl($,I){if(!I.readingMore)I.readingMore=!0,AU.nextTick(V_0,$,I)}function V_0($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&$o(Y.pipes,$)!==-1)&&!H)A1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(A1("onerror",N),D(),$.removeListener("error",Z),ll($,"error")===0)$.emit("error",N)}K_0($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){A1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){A1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)A1("pipe resume"),U.resume();return $};function Z_0($){return function(){var I=$._readableState;if(A1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&ll($,"data"))I.flowing=!0,aE($)}}l1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=L_0($,I.buffer,I.decoder);return U}function L_0($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function O_0($,I){var U=E2.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function rE($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,AU.nextTick(N_0,I,$)}function N_0($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function $o($,I){for(var U=0,Y=$.length;U{Jo.exports=G5;var eV=u7(),Yo=Object.create(n1());Yo.inherits=p0();Yo.inherits(G5,eV);function F_0($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{qo.exports=B2;var Qo=sE(),Ko=Object.create(n1());Ko.inherits=p0();Ko.inherits(B2,Qo);function B2($){if(!(this instanceof B2))return new B2($);Qo.call(this,$)}B2.prototype._transform=function($,I,U){U(null,$)}});var eE=O((s4,$Z)=>{var D8=r("stream");if(process.env.READABLE_STREAM==="disable"&&D8)$Z.exports=D8,s4=$Z.exports=D8.Readable,s4.Readable=D8.Readable,s4.Writable=D8.Writable,s4.Duplex=D8.Duplex,s4.Transform=D8.Transform,s4.PassThrough=D8.PassThrough,s4.Stream=D8;else s4=$Z.exports=nE(),s4.Stream=D8||s4,s4.Readable=s4,s4.Writable=bE(),s4.Duplex=u7(),s4.Transform=sE(),s4.PassThrough=Go()});var H5=O((P_0)=>{P_0.base64=!0;P_0.array=!0;P_0.string=!0;P_0.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";P_0.nodebuffer=typeof Buffer<"u";P_0.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")P_0.blob=!1;else{IZ=new ArrayBuffer(0);try{P_0.blob=new Blob([IZ],{type:"application/zip"}).size===0}catch($){try{IB=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,UZ=new IB,UZ.append(IZ),P_0.blob=UZ.getBlob("application/zip").size===0}catch(I){P_0.blob=!1}}}var IZ,IB,UZ;try{P_0.nodestream=!!eE().Readable}catch($){P_0.nodestream=!1}});var UB=O((S_0)=>{var j_0=H4(),__0=H5(),O8="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";S_0.encode=function($){var I=[],U,Y,J,Q,K,q,G,H=0,W=$.length,V=W,z=j_0.getTypeOf($)!=="string";while(H<$.length){if(V=W-H,!z)U=$.charCodeAt(H++),Y=H>2,K=(U&3)<<4|Y>>4,q=V>1?(Y&15)<<2|J>>6:64,G=V>2?J&63:64,I.push(O8.charAt(Q)+O8.charAt(K)+O8.charAt(q)+O8.charAt(G))}return I.join("")};S_0.decode=function($){var I,U,Y,J,Q,K,q,G=0,H=0,W="data:";if($.substr(0,W.length)===W)throw Error("Invalid base64 input, it looks like a data url.");$=$.replace(/[^A-Za-z0-9+/=]/g,"");var V=$.length*3/4;if($.charAt($.length-1)===O8.charAt(64))V--;if($.charAt($.length-2)===O8.charAt(64))V--;if(V%1!==0)throw Error("Invalid base64 input, bad content length.");var z;if(__0.uint8array)z=new Uint8Array(V|0);else z=Array(V|0);while(G<$.length){if(J=O8.indexOf($.charAt(G++)),Q=O8.indexOf($.charAt(G++)),K=O8.indexOf($.charAt(G++)),q=O8.indexOf($.charAt(G++)),I=J<<2|Q>>4,U=(Q&15)<<4|K>>2,Y=(K&3)<<6|q,z[H++]=I,K!==64)z[H++]=U;if(q!==64)z[H++]=Y}return z}});var R2=O((rF1,Ho)=>{Ho.exports={isNode:typeof Buffer<"u",newBufferFrom:function($,I){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from($,I);else{if(typeof $==="number")throw Error('The "data" argument must not be a number');return new Buffer($,I)}},allocBuffer:function($){if(Buffer.alloc)return Buffer.alloc($);else{var I=new Buffer($);return I.fill(0),I}},isBuffer:function($){return Buffer.isBuffer($)},isStream:function($){return $&&typeof $.on==="function"&&typeof $.pause==="function"&&typeof $.resume==="function"}}});var Zo=O((aF1,Vo)=>{var tF1=global.MutationObserver||global.WebKitMutationObserver,Wo;Wo=function(){process.nextTick(f_0)};var h_0,x_0,k_0,u_0,YB,v2=[];function f_0(){YB=!0;var $,I,U=v2.length;while(U){I=v2,v2=[],$=-1;while(++${var zo=Zo();function TU(){}var X6={},Xo=["REJECTED"],JB=["FULFILLED"],wo=["PENDING"];PU=["UNHANDLED"];var PU;Oo.exports=w9;function w9($){if(typeof $!=="function")throw TypeError("resolver must be a function");if(this.state=wo,this.queue=[],this.outcome=void 0,this.handled=PU,$!==TU)Lo(this,$)}w9.prototype.finally=function($){if(typeof $!=="function")return this;var I=this.constructor;return this.then(U,Y);function U(J){function Q(){return J}return I.resolve($()).then(Q)}function Y(J){function Q(){throw J}return I.resolve($()).then(Q)}};w9.prototype.catch=function($){return this.then(null,$)};w9.prototype.then=function($,I){if(typeof $!=="function"&&this.state===JB||typeof I!=="function"&&this.state===Xo)return this;var U=new this.constructor(TU);if(this.handled===PU)this.handled=null;if(this.state!==wo){var Y=this.state===JB?$:I;QB(U,Y,this.outcome)}else this.queue.push(new C2(U,$,I));return U};function C2($,I,U){if(this.promise=$,typeof I==="function")this.onFulfilled=I,this.callFulfilled=this.otherCallFulfilled;if(typeof U==="function")this.onRejected=U,this.callRejected=this.otherCallRejected}C2.prototype.callFulfilled=function($){X6.resolve(this.promise,$)};C2.prototype.otherCallFulfilled=function($){QB(this.promise,this.onFulfilled,$)};C2.prototype.callRejected=function($){X6.reject(this.promise,$)};C2.prototype.otherCallRejected=function($){QB(this.promise,this.onRejected,$)};function QB($,I,U){zo(function(){var Y;try{Y=I(U)}catch(J){return X6.reject($,J)}if(Y===$)X6.reject($,TypeError("Cannot resolve promise with itself"));else X6.resolve($,Y)})}X6.resolve=function($,I){var U=Do(i_0,I);if(U.status==="error")return X6.reject($,U.value);var Y=U.value;if(Y)Lo($,Y);else{$.state=JB,$.outcome=I;var J=-1,Q=$.queue.length;while(++J{var KB=null;if(typeof Promise<"u")KB=Promise;else KB=No();Fo.exports={Promise:KB}});var qB=O((Mo)=>{(function($,I){if($.setImmediate)return;var U=1,Y={},J=!1,Q=$.document,K;function q(E){if(typeof E!=="function")E=Function(""+E);var T=Array(arguments.length-1);for(var A=0;A"u"?typeof global>"u"?Mo:global:self)});var H4=O((o_0)=>{var L9=H5(),m_0=UB(),BU=R2(),GB=EU();qB();function l_0($){var I=null;if(L9.uint8array)I=new Uint8Array($.length);else I=Array($.length);return JZ($,I)}o_0.newBlob=function($,I){o_0.checkSupport("blob");try{return new Blob([$],{type:I})}catch(J){try{var U=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Y=new U;return Y.append($),Y.getBlob(I)}catch(Q){throw Error("Bug : can't construct the Blob.")}}};function j2($){return $}function JZ($,I){for(var U=0;U<$.length;++U)I[U]=$.charCodeAt(U)&255;return I}var YZ={stringifyByChunk:function($,I,U){var Y=[],J=0,Q=$.length;if(Q<=U)return String.fromCharCode.apply(null,$);while(J1)try{return YZ.stringifyByChunk($,U,I)}catch(J){I=Math.floor(I/2)}return YZ.stringifyByChar($)}o_0.applyFromCharCode=_2;function QZ($,I){for(var U=0;U<$.length;U++)I[U]=$[U];return I}var D9={};D9.string={string:j2,array:function($){return JZ($,Array($.length))},arraybuffer:function($){return D9.string.uint8array($).buffer},uint8array:function($){return JZ($,new Uint8Array($.length))},nodebuffer:function($){return JZ($,BU.allocBuffer($.length))}};D9.array={string:_2,array:j2,arraybuffer:function($){return new Uint8Array($).buffer},uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return BU.newBufferFrom($)}};D9.arraybuffer={string:function($){return _2(new Uint8Array($))},array:function($){return QZ(new Uint8Array($),Array($.byteLength))},arraybuffer:j2,uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return BU.newBufferFrom(new Uint8Array($))}};D9.uint8array={string:_2,array:function($){return QZ($,Array($.length))},arraybuffer:function($){return $.buffer},uint8array:j2,nodebuffer:function($){return BU.newBufferFrom($)}};D9.nodebuffer={string:_2,array:function($){return QZ($,Array($.length))},arraybuffer:function($){return D9.nodebuffer.uint8array($).buffer},uint8array:function($){return QZ($,new Uint8Array($.length))},nodebuffer:j2};o_0.transformTo=function($,I){if(!I)I="";if(!$)return I;o_0.checkSupport($);var U=o_0.getTypeOf(I),Y=D9[U][$](I);return Y};o_0.resolve=function($){var I=$.split("/"),U=[];for(var Y=0;Y"u")$[U]=arguments[I][U];return $};o_0.prepareContent=function($,I,U,Y,J){var Q=GB.Promise.resolve(I).then(function(K){var q=L9.blob&&(K instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(K))!==-1);if(q&&typeof FileReader<"u")return new GB.Promise(function(G,H){var W=new FileReader;W.onload=function(V){G(V.target.result)},W.onerror=function(V){H(V.target.error)},W.readAsArrayBuffer(K)});else return K});return Q.then(function(K){var q=o_0.getTypeOf(K);if(!q)return GB.Promise.reject(Error("Can't read the data of '"+$+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(q==="arraybuffer")K=o_0.transformTo("uint8array",K);else if(q==="string"){if(J)K=m_0.decode(K);else if(U){if(Y!==!0)K=l_0(K)}}return K})}});var U$=O((UM1,Eo)=>{function To($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}To.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=$;else{if(this.isFinished=!0,this.emit("error",$),this.previous)this.previous.error($);this.cleanUp()}return!0},on:function($,I){return this._listeners[$].push(I),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,I){if(this._listeners[$])for(var U=0;U "+$;else return $}};Eo.exports=To});var vU=O((HS0)=>{var RU=H4(),f7=H5(),QS0=R2(),KZ=U$(),S2=Array(256);for(N8=0;N8<256;N8++)S2[N8]=N8>=252?6:N8>=248?5:N8>=240?4:N8>=224?3:N8>=192?2:1;var N8;S2[254]=S2[254]=1;var KS0=function($){var I,U,Y,J,Q,K=$.length,q=0;for(J=0;J>>6,I[Q++]=128|U&63;else if(U<65536)I[Q++]=224|U>>>12,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63;else I[Q++]=240|U>>>18,I[Q++]=128|U>>>12&63,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63}return I},qS0=function($,I){var U;if(I=I||$.length,I>$.length)I=$.length;U=I-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return I;if(U===0)return I;return U+S2[$[U]]>I?U:I},GS0=function($){var I,U,Y,J,Q=$.length,K=Array(Q*2);for(U=0,I=0;I4){K[U++]=65533,I+=J-1;continue}Y&=J===2?31:J===3?15:7;while(J>1&&I1){K[U++]=65533;continue}if(Y<65536)K[U++]=Y;else Y-=65536,K[U++]=55296|Y>>10&1023,K[U++]=56320|Y&1023}if(K.length!==U)if(K.subarray)K=K.subarray(0,U);else K.length=U;return RU.applyFromCharCode(K)};HS0.utf8encode=function(I){if(f7.nodebuffer)return QS0.newBufferFrom(I,"utf-8");return KS0(I)};HS0.utf8decode=function(I){if(f7.nodebuffer)return RU.transformTo("nodebuffer",I).toString("utf-8");return I=RU.transformTo(f7.uint8array?"uint8array":"array",I),GS0(I)};function qZ(){KZ.call(this,"utf-8 decode"),this.leftOver=null}RU.inherits(qZ,KZ);qZ.prototype.processChunk=function($){var I=RU.transformTo(f7.uint8array?"uint8array":"array",$.data);if(this.leftOver&&this.leftOver.length){if(f7.uint8array){var U=I;I=new Uint8Array(U.length+this.leftOver.length),I.set(this.leftOver,0),I.set(U,this.leftOver.length)}else I=this.leftOver.concat(I);this.leftOver=null}var Y=qS0(I),J=I;if(Y!==I.length)if(f7.uint8array)J=I.subarray(0,Y),this.leftOver=I.subarray(Y,I.length);else J=I.slice(0,Y),this.leftOver=I.slice(Y,I.length);this.push({data:HS0.utf8decode(J),meta:$.meta})};qZ.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:HS0.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};HS0.Utf8DecodeWorker=qZ;function WB(){KZ.call(this,"utf-8 encode")}RU.inherits(WB,KZ);WB.prototype.processChunk=function($){this.push({data:HS0.utf8encode($.data),meta:$.meta})};HS0.Utf8EncodeWorker=WB});var jo=O((JM1,Co)=>{var Ro=U$(),vo=H4();function ZB($){Ro.call(this,"ConvertWorker to "+$),this.destType=$}vo.inherits(ZB,Ro);ZB.prototype.processChunk=function($){this.push({data:vo.transformTo(this.destType,$.data),meta:$.meta})};Co.exports=ZB});var go=O((QM1,So)=>{var _o=eE().Readable,ZS0=H4();ZS0.inherits(zB,_o);function zB($,I,U){_o.call(this,I),this._helper=$;var Y=this;$.on("data",function(J,Q){if(!Y.push(J))Y._helper.pause();if(U)U(Q)}).on("error",function(J){Y.emit("error",J)}).on("end",function(){Y.push(null)})}zB.prototype._read=function(){this._helper.resume()};So.exports=zB});var XB=O((KM1,xo)=>{var b7=H4(),zS0=jo(),XS0=U$(),wS0=UB(),LS0=H5(),DS0=EU(),yo=null;if(LS0.nodestream)try{yo=go()}catch($){}function OS0($,I,U){switch($){case"blob":return b7.newBlob(b7.transformTo("arraybuffer",I),U);case"base64":return wS0.encode(I);default:return b7.transformTo($,I)}}function NS0($,I){var U,Y=0,J=null,Q=0;for(U=0;U{MS0.base64=!1;MS0.binary=!1;MS0.dir=!1;MS0.createFolders=!0;MS0.date=null;MS0.compression=null;MS0.compressionOptions=null;MS0.comment=null;MS0.unixPermissions=null;MS0.dosPermissions=null});var LB=O((GM1,ko)=>{var GZ=H4(),HZ=U$(),SS0=16384;function CU($){HZ.call(this,"DataWorker");var I=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,$.then(function(U){if(I.dataIsReady=!0,I.data=U,I.max=U&&U.length||0,I.type=GZ.getTypeOf(U),!I.isPaused)I._tickAndRepeat()},function(U){I.error(U)})}GZ.inherits(CU,HZ);CU.prototype.cleanUp=function(){HZ.prototype.cleanUp.call(this),this.data=null};CU.prototype.resume=function(){if(!HZ.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,GZ.delay(this._tickAndRepeat,[],this);return!0};CU.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)GZ.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};CU.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var $=SS0,I=null,U=Math.min(this.max,this.index+$);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":I=this.data.substring(this.index,U);break;case"uint8array":I=this.data.subarray(this.index,U);break;case"array":case"nodebuffer":I=this.data.slice(this.index,U);break}return this.index=U,this.push({data:I,meta:{percent:this.max?this.index/this.max*100:0}})}};ko.exports=CU});var WZ=O((HM1,fo)=>{var gS0=H4();function yS0(){var $,I=[];for(var U=0;U<256;U++){$=U;for(var Y=0;Y<8;Y++)$=$&1?3988292384^$>>>1:$>>>1;I[U]=$}return I}var uo=yS0();function hS0($,I,U,Y){var J=uo,Q=Y+U;$=$^-1;for(var K=Y;K>>8^J[($^I[K])&255];return $^-1}function xS0($,I,U,Y){var J=uo,Q=Y+U;$=$^-1;for(var K=Y;K>>8^J[($^I.charCodeAt(K))&255];return $^-1}fo.exports=function(I,U){if(typeof I>"u"||!I.length)return 0;var Y=gS0.getTypeOf(I)!=="string";if(Y)return hS0(U|0,I,I.length,0);else return xS0(U|0,I,I.length,0)}});var OB=O((WM1,io)=>{var bo=U$(),kS0=WZ(),uS0=H4();function DB(){bo.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}uS0.inherits(DB,bo);DB.prototype.processChunk=function($){this.streamInfo.crc32=kS0($.data,this.streamInfo.crc32||0),this.push($)};io.exports=DB});var po=O((VM1,no)=>{var fS0=H4(),NB=U$();function FB($){NB.call(this,"DataLengthProbe for "+$),this.propName=$,this.withStreamInfo($,0)}fS0.inherits(FB,NB);FB.prototype.processChunk=function($){if($){var I=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=I+$.data.length}NB.prototype.processChunk.call(this,$)};no.exports=FB});var VZ=O((ZM1,lo)=>{var co=EU(),mo=LB(),bS0=OB(),MB=po();function AB($,I,U,Y,J){this.compressedSize=$,this.uncompressedSize=I,this.crc32=U,this.compression=Y,this.compressedContent=J}AB.prototype={getContentWorker:function(){var $=new mo(co.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new MB("data_length")),I=this;return $.on("end",function(){if(this.streamInfo.data_length!==I.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),$},getCompressedWorker:function(){return new mo(co.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};AB.createWorkerFrom=function($,I,U){return $.pipe(new bS0).pipe(new MB("uncompressedSize")).pipe(I.compressWorker(U)).pipe(new MB("compressedSize")).withStreamInfo("compression",I)};lo.exports=AB});var ao=O((zM1,to)=>{var iS0=XB(),nS0=LB(),PB=vU(),TB=VZ(),oo=U$(),EB=function($,I,U){this.name=$,this.dir=U.dir,this.date=U.date,this.comment=U.comment,this.unixPermissions=U.unixPermissions,this.dosPermissions=U.dosPermissions,this._data=I,this._dataBinary=U.binary,this.options={compression:U.compression,compressionOptions:U.compressionOptions}};EB.prototype={internalStream:function($){var I=null,U="string";try{if(!$)throw Error("No output type specified.");U=$.toLowerCase();var Y=U==="string"||U==="text";if(U==="binarystring"||U==="text")U="string";I=this._decompressWorker();var J=!this._dataBinary;if(J&&!Y)I=I.pipe(new PB.Utf8EncodeWorker);if(!J&&Y)I=I.pipe(new PB.Utf8DecodeWorker)}catch(Q){I=new oo("error"),I.error(Q)}return new iS0(I,U,"")},async:function($,I){return this.internalStream($).accumulate(I)},nodeStream:function($,I){return this.internalStream($||"nodebuffer").toNodejsStream(I)},_compressWorker:function($,I){if(this._data instanceof TB&&this._data.compression.magic===$.magic)return this._data.getCompressedWorker();else{var U=this._decompressWorker();if(!this._dataBinary)U=U.pipe(new PB.Utf8EncodeWorker);return TB.createWorkerFrom(U,$,I)}},_decompressWorker:function(){if(this._data instanceof TB)return this._data.getContentWorker();else if(this._data instanceof oo)return this._data;else return new nS0(this._data)}};var ro=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],pS0=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(g2=0;g2{var lS0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function oS0($,I){return Object.prototype.hasOwnProperty.call($,I)}BB.assign=function($){var I=Array.prototype.slice.call(arguments,1);while(I.length){var U=I.shift();if(!U)continue;if(typeof U!=="object")throw TypeError(U+"must be non-object");for(var Y in U)if(oS0(U,Y))$[Y]=U[Y]}return $};BB.shrinkBuf=function($,I){if($.length===I)return $;if($.subarray)return $.subarray(0,I);return $.length=I,$};var rS0={arraySet:function($,I,U,Y,J){if(I.subarray&&$.subarray){$.set(I.subarray(U,U+Y),J);return}for(var Q=0;Q{var sS0=W5(),eS0=4,eo=0,$r=1,$g0=2;function _U($){var I=$.length;while(--I>=0)$[I]=0}var Ig0=0,Kr=1,Ug0=2,Yg0=3,Jg0=258,yB=29,f2=256,h2=f2+1+yB,jU=30,hB=19,qr=2*h2+1,i7=15,vB=16,Qg0=7,xB=256,Gr=16,Hr=17,Wr=18,SB=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ZZ=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Kg0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Vr=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],qg0=512,V5=Array((h2+2)*2);_U(V5);var y2=Array(jU*2);_U(y2);var x2=Array(qg0);_U(x2);var k2=Array(Jg0-Yg0+1);_U(k2);var kB=Array(yB);_U(kB);var zZ=Array(jU);_U(zZ);function CB($,I,U,Y,J){this.static_tree=$,this.extra_bits=I,this.extra_base=U,this.elems=Y,this.max_length=J,this.has_stree=$&&$.length}var Zr,zr,Xr;function jB($,I){this.dyn_tree=$,this.max_code=0,this.stat_desc=I}function wr($){return $<256?x2[$]:x2[256+($>>>7)]}function u2($,I){$.pending_buf[$.pending++]=I&255,$.pending_buf[$.pending++]=I>>>8&255}function n6($,I,U){if($.bi_valid>vB-U)$.bi_buf|=I<<$.bi_valid&65535,u2($,$.bi_buf),$.bi_buf=I>>vB-$.bi_valid,$.bi_valid+=U-vB;else $.bi_buf|=I<<$.bi_valid&65535,$.bi_valid+=U}function F8($,I,U){n6($,U[I*2],U[I*2+1])}function Lr($,I){var U=0;do U|=$&1,$>>>=1,U<<=1;while(--I>0);return U>>>1}function Gg0($){if($.bi_valid===16)u2($,$.bi_buf),$.bi_buf=0,$.bi_valid=0;else if($.bi_valid>=8)$.pending_buf[$.pending++]=$.bi_buf&255,$.bi_buf>>=8,$.bi_valid-=8}function Hg0($,I){var{dyn_tree:U,max_code:Y}=I,J=I.stat_desc.static_tree,Q=I.stat_desc.has_stree,K=I.stat_desc.extra_bits,q=I.stat_desc.extra_base,G=I.stat_desc.max_length,H,W,V,z,Z,w,L=0;for(z=0;z<=i7;z++)$.bl_count[z]=0;U[$.heap[$.heap_max]*2+1]=0;for(H=$.heap_max+1;HG)z=G,L++;if(U[W*2+1]=z,W>Y)continue;if($.bl_count[z]++,Z=0,W>=q)Z=K[W-q];if(w=U[W*2],$.opt_len+=w*(z+Z),Q)$.static_len+=w*(J[W*2+1]+Z)}if(L===0)return;do{z=G-1;while($.bl_count[z]===0)z--;$.bl_count[z]--,$.bl_count[z+1]+=2,$.bl_count[G]--,L-=2}while(L>0);for(z=G;z!==0;z--){W=$.bl_count[z];while(W!==0){if(V=$.heap[--H],V>Y)continue;if(U[V*2+1]!==z)$.opt_len+=(z-U[V*2+1])*U[V*2],U[V*2+1]=z;W--}}}function Dr($,I,U){var Y=Array(i7+1),J=0,Q,K;for(Q=1;Q<=i7;Q++)Y[Q]=J=J+U[Q-1]<<1;for(K=0;K<=I;K++){var q=$[K*2+1];if(q===0)continue;$[K*2]=Lr(Y[q]++,q)}}function Wg0(){var $,I,U,Y,J,Q=Array(i7+1);U=0;for(Y=0;Y>=7;for(;Y8)u2($,$.bi_buf);else if($.bi_valid>0)$.pending_buf[$.pending++]=$.bi_buf;$.bi_buf=0,$.bi_valid=0}function Vg0($,I,U,Y){if(Nr($),Y)u2($,U),u2($,~U);sS0.arraySet($.pending_buf,$.window,I,U,$.pending),$.pending+=U}function Ir($,I,U,Y){var J=I*2,Q=U*2;return $[J]<$[Q]||$[J]===$[Q]&&Y[I]<=Y[U]}function _B($,I,U){var Y=$.heap[U],J=U<<1;while(J<=$.heap_len){if(J<$.heap_len&&Ir(I,$.heap[J+1],$.heap[J],$.depth))J++;if(Ir(I,Y,$.heap[J],$.depth))break;$.heap[U]=$.heap[J],U=J,J<<=1}$.heap[U]=Y}function Ur($,I,U){var Y,J,Q=0,K,q;if($.last_lit!==0)do if(Y=$.pending_buf[$.d_buf+Q*2]<<8|$.pending_buf[$.d_buf+Q*2+1],J=$.pending_buf[$.l_buf+Q],Q++,Y===0)F8($,J,I);else{if(K=k2[J],F8($,K+f2+1,I),q=SB[K],q!==0)J-=kB[K],n6($,J,q);if(Y--,K=wr(Y),F8($,K,U),q=ZZ[K],q!==0)Y-=zZ[K],n6($,Y,q)}while(Q<$.last_lit);F8($,xB,I)}function gB($,I){var U=I.dyn_tree,Y=I.stat_desc.static_tree,J=I.stat_desc.has_stree,Q=I.stat_desc.elems,K,q,G=-1,H;$.heap_len=0,$.heap_max=qr;for(K=0;K>1;K>=1;K--)_B($,U,K);H=Q;do K=$.heap[1],$.heap[1]=$.heap[$.heap_len--],_B($,U,1),q=$.heap[1],$.heap[--$.heap_max]=K,$.heap[--$.heap_max]=q,U[H*2]=U[K*2]+U[q*2],$.depth[H]=($.depth[K]>=$.depth[q]?$.depth[K]:$.depth[q])+1,U[K*2+1]=U[q*2+1]=H,$.heap[1]=H++,_B($,U,1);while($.heap_len>=2);$.heap[--$.heap_max]=$.heap[1],Hg0($,I),Dr(U,G,$.bl_count)}function Yr($,I,U){var Y,J=-1,Q,K=I[1],q=0,G=7,H=4;if(K===0)G=138,H=3;I[(U+1)*2+1]=65535;for(Y=0;Y<=U;Y++){if(Q=K,K=I[(Y+1)*2+1],++q=3;I--)if($.bl_tree[Vr[I]*2+1]!==0)break;return $.opt_len+=3*(I+1)+5+5+4,I}function zg0($,I,U,Y){var J;n6($,I-257,5),n6($,U-1,5),n6($,Y-4,4);for(J=0;J>>=1)if(I&1&&$.dyn_ltree[U*2]!==0)return eo;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return $r;for(U=32;U0){if($.strm.data_type===$g0)$.strm.data_type=Xg0($);if(gB($,$.l_desc),gB($,$.d_desc),K=Zg0($),J=$.opt_len+3+7>>>3,Q=$.static_len+3+7>>>3,Q<=J)J=Q}else J=Q=U+5;if(U+4<=J&&I!==-1)Fr($,I,U,Y);else if($.strategy===eS0||Q===J)n6($,(Kr<<1)+(Y?1:0),3),Ur($,V5,y2);else n6($,(Ug0<<1)+(Y?1:0),3),zg0($,$.l_desc.max_code+1,$.d_desc.max_code+1,K+1),Ur($,$.dyn_ltree,$.dyn_dtree);if(Or($),Y)Nr($)}function Og0($,I,U){if($.pending_buf[$.d_buf+$.last_lit*2]=I>>>8&255,$.pending_buf[$.d_buf+$.last_lit*2+1]=I&255,$.pending_buf[$.l_buf+$.last_lit]=U&255,$.last_lit++,I===0)$.dyn_ltree[U*2]++;else $.matches++,I--,$.dyn_ltree[(k2[U]+f2+1)*2]++,$.dyn_dtree[wr(I)*2]++;return $.last_lit===$.lit_bufsize-1}Ng0._tr_init=wg0;Ng0._tr_stored_block=Fr;Ng0._tr_flush_block=Dg0;Ng0._tr_tally=Og0;Ng0._tr_align=Lg0});var uB=O((LM1,Ar)=>{function Eg0($,I,U,Y){var J=$&65535|0,Q=$>>>16&65535|0,K=0;while(U!==0){K=U>2000?2000:U,U-=K;do J=J+I[Y++]|0,Q=Q+J|0;while(--K);J%=65521,Q%=65521}return J|Q<<16|0}Ar.exports=Eg0});var fB=O((DM1,Pr)=>{function Bg0(){var $,I=[];for(var U=0;U<256;U++){$=U;for(var Y=0;Y<8;Y++)$=$&1?3988292384^$>>>1:$>>>1;I[U]=$}return I}var Rg0=Bg0();function vg0($,I,U,Y){var J=Rg0,Q=Y+U;$^=-1;for(var K=Y;K>>8^J[($^I[K])&255];return $^-1}Pr.exports=vg0});var XZ=O((OM1,Tr)=>{Tr.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var gr=O((qy0)=>{var R6=W5(),M$=Mr(),vr=uB(),O9=fB(),Cg0=XZ(),d7=0,jg0=1,_g0=3,P9=4,Er=5,A8=0,Br=1,A$=-2,Sg0=-3,bB=-5,gg0=-1,yg0=1,wZ=2,hg0=3,xg0=4,kg0=0,ug0=2,NZ=8,fg0=9,bg0=15,ig0=8,ng0=29,pg0=256,nB=pg0+1+ng0,cg0=30,dg0=19,mg0=2*nB+1,lg0=15,q1=3,M9=258,r$=M9+q1+1,og0=32,FZ=42,pB=69,LZ=73,DZ=91,OZ=103,n7=113,i2=666,S4=1,n2=2,p7=3,yU=4,rg0=3;function A9($,I){return $.msg=Cg0[I],I}function Rr($){return($<<1)-($>4?9:0)}function F9($){var I=$.length;while(--I>=0)$[I]=0}function N9($){var I=$.state,U=I.pending;if(U>$.avail_out)U=$.avail_out;if(U===0)return;if(R6.arraySet($.output,I.pending_buf,I.pending_out,U,$.next_out),$.next_out+=U,I.pending_out+=U,$.total_out+=U,$.avail_out-=U,I.pending-=U,I.pending===0)I.pending_out=0}function e4($,I){M$._tr_flush_block($,$.block_start>=0?$.block_start:-1,$.strstart-$.block_start,I),$.block_start=$.strstart,N9($.strm)}function N1($,I){$.pending_buf[$.pending++]=I}function b2($,I){$.pending_buf[$.pending++]=I>>>8&255,$.pending_buf[$.pending++]=I&255}function tg0($,I,U,Y){var J=$.avail_in;if(J>Y)J=Y;if(J===0)return 0;if($.avail_in-=J,R6.arraySet(I,$.input,$.next_in,J,U),$.state.wrap===1)$.adler=vr($.adler,I,J,U);else if($.state.wrap===2)$.adler=O9($.adler,I,J,U);return $.next_in+=J,$.total_in+=J,J}function Cr($,I){var{max_chain_length:U,strstart:Y}=$,J,Q,K=$.prev_length,q=$.nice_match,G=$.strstart>$.w_size-r$?$.strstart-($.w_size-r$):0,H=$.window,W=$.w_mask,V=$.prev,z=$.strstart+M9,Z=H[Y+K-1],w=H[Y+K];if($.prev_length>=$.good_match)U>>=2;if(q>$.lookahead)q=$.lookahead;do{if(J=I,H[J+K]!==w||H[J+K-1]!==Z||H[J]!==H[Y]||H[++J]!==H[Y+1])continue;Y+=2,J++;do;while(H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&YK){if($.match_start=I,K=Q,Q>=q)break;Z=H[Y+K-1],w=H[Y+K]}}while((I=V[I&W])>G&&--U!==0);if(K<=$.lookahead)return K;return $.lookahead}function c7($){var I=$.w_size,U,Y,J,Q,K;do{if(Q=$.window_size-$.lookahead-$.strstart,$.strstart>=I+(I-r$)){R6.arraySet($.window,$.window,I,I,0),$.match_start-=I,$.strstart-=I,$.block_start-=I,Y=$.hash_size,U=Y;do J=$.head[--U],$.head[U]=J>=I?J-I:0;while(--Y);Y=I,U=Y;do J=$.prev[--U],$.prev[U]=J>=I?J-I:0;while(--Y);Q+=I}if($.strm.avail_in===0)break;if(Y=tg0($.strm,$.window,$.strstart+$.lookahead,Q),$.lookahead+=Y,$.lookahead+$.insert>=q1){K=$.strstart-$.insert,$.ins_h=$.window[K],$.ins_h=($.ins_h<<$.hash_shift^$.window[K+1])&$.hash_mask;while($.insert)if($.ins_h=($.ins_h<<$.hash_shift^$.window[K+q1-1])&$.hash_mask,$.prev[K&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=K,K++,$.insert--,$.lookahead+$.insert$.pending_buf_size-5)U=$.pending_buf_size-5;for(;;){if($.lookahead<=1){if(c7($),$.lookahead===0&&I===d7)return S4;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var Y=$.block_start+U;if($.strstart===0||$.strstart>=Y){if($.lookahead=$.strstart-Y,$.strstart=Y,e4($,!1),$.strm.avail_out===0)return S4}if($.strstart-$.block_start>=$.w_size-r$){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===P9){if(e4($,!0),$.strm.avail_out===0)return p7;return yU}if($.strstart>$.block_start){if(e4($,!1),$.strm.avail_out===0)return S4}return S4}function iB($,I){var U,Y;for(;;){if($.lookahead=q1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+q1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if(U!==0&&$.strstart-U<=$.w_size-r$)$.match_length=Cr($,U);if($.match_length>=q1)if(Y=M$._tr_tally($,$.strstart-$.match_start,$.match_length-q1),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=q1){$.match_length--;do $.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+q1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.match_length!==0);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+1])&$.hash_mask;else Y=M$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(Y){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=$.strstart=q1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+q1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if($.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=q1-1,U!==0&&$.prev_length<$.max_lazy_match&&$.strstart-U<=$.w_size-r$){if($.match_length=Cr($,U),$.match_length<=5&&($.strategy===yg0||$.match_length===q1&&$.strstart-$.match_start>4096))$.match_length=q1-1}if($.prev_length>=q1&&$.match_length<=$.prev_length){J=$.strstart+$.lookahead-q1,Y=M$._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-q1),$.lookahead-=$.prev_length-1,$.prev_length-=2;do if(++$.strstart<=J)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+q1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.prev_length!==0);if($.match_available=0,$.match_length=q1-1,$.strstart++,Y){if(e4($,!1),$.strm.avail_out===0)return S4}}else if($.match_available){if(Y=M$._tr_tally($,0,$.window[$.strstart-1]),Y)e4($,!1);if($.strstart++,$.lookahead--,$.strm.avail_out===0)return S4}else $.match_available=1,$.strstart++,$.lookahead--}if($.match_available)Y=M$._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0;if($.insert=$.strstart=q1&&$.strstart>0){if(J=$.strstart-1,Y=K[J],Y===K[++J]&&Y===K[++J]&&Y===K[++J]){Q=$.strstart+M9;do;while(Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&J$.lookahead)$.match_length=$.lookahead}}if($.match_length>=q1)U=M$._tr_tally($,1,$.match_length-q1),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0;else U=M$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(U){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===P9){if(e4($,!0),$.strm.avail_out===0)return p7;return yU}if($.last_lit){if(e4($,!1),$.strm.avail_out===0)return S4}return n2}function eg0($,I){var U;for(;;){if($.lookahead===0){if(c7($),$.lookahead===0){if(I===d7)return S4;break}}if($.match_length=0,U=M$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,U){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===P9){if(e4($,!0),$.strm.avail_out===0)return p7;return yU}if($.last_lit){if(e4($,!1),$.strm.avail_out===0)return S4}return n2}function M8($,I,U,Y,J){this.good_length=$,this.max_lazy=I,this.nice_length=U,this.max_chain=Y,this.func=J}var gU;gU=[new M8(0,0,0,0,ag0),new M8(4,4,8,4,iB),new M8(4,5,16,8,iB),new M8(4,6,32,32,iB),new M8(4,4,16,16,SU),new M8(8,16,32,32,SU),new M8(8,16,128,128,SU),new M8(8,32,128,256,SU),new M8(32,128,258,1024,SU),new M8(32,258,258,4096,SU)];function $y0($){$.window_size=2*$.w_size,F9($.head),$.max_lazy_match=gU[$.level].max_lazy,$.good_match=gU[$.level].good_length,$.nice_match=gU[$.level].nice_length,$.max_chain_length=gU[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=q1-1,$.match_available=0,$.ins_h=0}function Iy0(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=NZ,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new R6.Buf16(mg0*2),this.dyn_dtree=new R6.Buf16((2*cg0+1)*2),this.bl_tree=new R6.Buf16((2*dg0+1)*2),F9(this.dyn_ltree),F9(this.dyn_dtree),F9(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new R6.Buf16(lg0+1),this.heap=new R6.Buf16(2*nB+1),F9(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new R6.Buf16(2*nB+1),F9(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function jr($){var I;if(!$||!$.state)return A9($,A$);if($.total_in=$.total_out=0,$.data_type=ug0,I=$.state,I.pending=0,I.pending_out=0,I.wrap<0)I.wrap=-I.wrap;return I.status=I.wrap?FZ:n7,$.adler=I.wrap===2?0:1,I.last_flush=d7,M$._tr_init(I),A8}function _r($){var I=jr($);if(I===A8)$y0($.state);return I}function Uy0($,I){if(!$||!$.state)return A$;if($.state.wrap!==2)return A$;return $.state.gzhead=I,A8}function Sr($,I,U,Y,J,Q){if(!$)return A$;var K=1;if(I===gg0)I=6;if(Y<0)K=0,Y=-Y;else if(Y>15)K=2,Y-=16;if(J<1||J>fg0||U!==NZ||Y<8||Y>15||I<0||I>9||Q<0||Q>xg0)return A9($,A$);if(Y===8)Y=9;var q=new Iy0;return $.state=q,q.strm=$,q.wrap=K,q.gzhead=null,q.w_bits=Y,q.w_size=1<Er||I<0)return $?A9($,A$):A$;if(Y=$.state,!$.output||!$.input&&$.avail_in!==0||Y.status===i2&&I!==P9)return A9($,$.avail_out===0?bB:A$);if(Y.strm=$,U=Y.last_flush,Y.last_flush=I,Y.status===FZ)if(Y.wrap===2)if($.adler=0,N1(Y,31),N1(Y,139),N1(Y,8),!Y.gzhead)N1(Y,0),N1(Y,0),N1(Y,0),N1(Y,0),N1(Y,0),N1(Y,Y.level===9?2:Y.strategy>=wZ||Y.level<2?4:0),N1(Y,rg0),Y.status=n7;else{if(N1(Y,(Y.gzhead.text?1:0)+(Y.gzhead.hcrc?2:0)+(!Y.gzhead.extra?0:4)+(!Y.gzhead.name?0:8)+(!Y.gzhead.comment?0:16)),N1(Y,Y.gzhead.time&255),N1(Y,Y.gzhead.time>>8&255),N1(Y,Y.gzhead.time>>16&255),N1(Y,Y.gzhead.time>>24&255),N1(Y,Y.level===9?2:Y.strategy>=wZ||Y.level<2?4:0),N1(Y,Y.gzhead.os&255),Y.gzhead.extra&&Y.gzhead.extra.length)N1(Y,Y.gzhead.extra.length&255),N1(Y,Y.gzhead.extra.length>>8&255);if(Y.gzhead.hcrc)$.adler=O9($.adler,Y.pending_buf,Y.pending,0);Y.gzindex=0,Y.status=pB}else{var K=NZ+(Y.w_bits-8<<4)<<8,q=-1;if(Y.strategy>=wZ||Y.level<2)q=0;else if(Y.level<6)q=1;else if(Y.level===6)q=2;else q=3;if(K|=q<<6,Y.strstart!==0)K|=og0;if(K+=31-K%31,Y.status=n7,b2(Y,K),Y.strstart!==0)b2(Y,$.adler>>>16),b2(Y,$.adler&65535);$.adler=1}if(Y.status===pB)if(Y.gzhead.extra){J=Y.pending;while(Y.gzindex<(Y.gzhead.extra.length&65535)){if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(N9($),J=Y.pending,Y.pending===Y.pending_buf_size)break}N1(Y,Y.gzhead.extra[Y.gzindex]&255),Y.gzindex++}if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(Y.gzindex===Y.gzhead.extra.length)Y.gzindex=0,Y.status=LZ}else Y.status=LZ;if(Y.status===LZ)if(Y.gzhead.name){J=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(N9($),J=Y.pending,Y.pending===Y.pending_buf_size){Q=1;break}}if(Y.gzindexJ)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(Q===0)Y.gzindex=0,Y.status=DZ}else Y.status=DZ;if(Y.status===DZ)if(Y.gzhead.comment){J=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(N9($),J=Y.pending,Y.pending===Y.pending_buf_size){Q=1;break}}if(Y.gzindexJ)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(Q===0)Y.status=OZ}else Y.status=OZ;if(Y.status===OZ)if(Y.gzhead.hcrc){if(Y.pending+2>Y.pending_buf_size)N9($);if(Y.pending+2<=Y.pending_buf_size)N1(Y,$.adler&255),N1(Y,$.adler>>8&255),$.adler=0,Y.status=n7}else Y.status=n7;if(Y.pending!==0){if(N9($),$.avail_out===0)return Y.last_flush=-1,A8}else if($.avail_in===0&&Rr(I)<=Rr(U)&&I!==P9)return A9($,bB);if(Y.status===i2&&$.avail_in!==0)return A9($,bB);if($.avail_in!==0||Y.lookahead!==0||I!==d7&&Y.status!==i2){var G=Y.strategy===wZ?eg0(Y,I):Y.strategy===hg0?sg0(Y,I):gU[Y.level].func(Y,I);if(G===p7||G===yU)Y.status=i2;if(G===S4||G===p7){if($.avail_out===0)Y.last_flush=-1;return A8}if(G===n2){if(I===jg0)M$._tr_align(Y);else if(I!==Er){if(M$._tr_stored_block(Y,0,0,!1),I===_g0){if(F9(Y.head),Y.lookahead===0)Y.strstart=0,Y.block_start=0,Y.insert=0}}if(N9($),$.avail_out===0)return Y.last_flush=-1,A8}}if(I!==P9)return A8;if(Y.wrap<=0)return Br;if(Y.wrap===2)N1(Y,$.adler&255),N1(Y,$.adler>>8&255),N1(Y,$.adler>>16&255),N1(Y,$.adler>>24&255),N1(Y,$.total_in&255),N1(Y,$.total_in>>8&255),N1(Y,$.total_in>>16&255),N1(Y,$.total_in>>24&255);else b2(Y,$.adler>>>16),b2(Y,$.adler&65535);if(N9($),Y.wrap>0)Y.wrap=-Y.wrap;return Y.pending!==0?A8:Br}function Qy0($){var I;if(!$||!$.state)return A$;if(I=$.state.status,I!==FZ&&I!==pB&&I!==LZ&&I!==DZ&&I!==OZ&&I!==n7&&I!==i2)return A9($,A$);return $.state=null,I===n7?A9($,Sg0):A8}function Ky0($,I){var U=I.length,Y,J,Q,K,q,G,H,W;if(!$||!$.state)return A$;if(Y=$.state,K=Y.wrap,K===2||K===1&&Y.status!==FZ||Y.lookahead)return A$;if(K===1)$.adler=vr($.adler,I,U,0);if(Y.wrap=0,U>=Y.w_size){if(K===0)F9(Y.head),Y.strstart=0,Y.block_start=0,Y.insert=0;W=new R6.Buf8(Y.w_size),R6.arraySet(W,I,U-Y.w_size,Y.w_size,0),I=W,U=Y.w_size}q=$.avail_in,G=$.next_in,H=$.input,$.avail_in=U,$.next_in=0,$.input=I,c7(Y);while(Y.lookahead>=q1){J=Y.strstart,Q=Y.lookahead-(q1-1);do Y.ins_h=(Y.ins_h<{var MZ=W5(),yr=!0,hr=!0;try{String.fromCharCode.apply(null,[0])}catch($){yr=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch($){hr=!1}var p2=new MZ.Buf8(256);for(P8=0;P8<256;P8++)p2[P8]=P8>=252?6:P8>=248?5:P8>=240?4:P8>=224?3:P8>=192?2:1;var P8;p2[254]=p2[254]=1;Dy0.string2buf=function($){var I,U,Y,J,Q,K=$.length,q=0;for(J=0;J>>6,I[Q++]=128|U&63;else if(U<65536)I[Q++]=224|U>>>12,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63;else I[Q++]=240|U>>>18,I[Q++]=128|U>>>12&63,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63}return I};function xr($,I){if(I<65534){if($.subarray&&hr||!$.subarray&&yr)return String.fromCharCode.apply(null,MZ.shrinkBuf($,I))}var U="";for(var Y=0;Y4){q[Y++]=65533,U+=Q-1;continue}J&=Q===2?31:Q===3?15:7;while(Q>1&&U1){q[Y++]=65533;continue}if(J<65536)q[Y++]=J;else J-=65536,q[Y++]=55296|J>>10&1023,q[Y++]=56320|J&1023}return xr(q,Y)};Dy0.utf8border=function($,I){var U;if(I=I||$.length,I>$.length)I=$.length;U=I-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return I;if(U===0)return I;return U+p2[$[U]]>I?U:I}});var dB=O((MM1,kr)=>{function Py0(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}kr.exports=Py0});var ir=O((_y0)=>{var c2=gr(),d2=W5(),lB=cB(),oB=XZ(),Ty0=dB(),br=Object.prototype.toString,Ey0=0,mB=4,hU=0,ur=1,fr=2,By0=-1,Ry0=0,vy0=8;function m7($){if(!(this instanceof m7))return new m7($);this.options=d2.assign({level:By0,method:vy0,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ry0,to:""},$||{});var I=this.options;if(I.raw&&I.windowBits>0)I.windowBits=-I.windowBits;else if(I.gzip&&I.windowBits>0&&I.windowBits<16)I.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ty0,this.strm.avail_out=0;var U=c2.deflateInit2(this.strm,I.level,I.method,I.windowBits,I.memLevel,I.strategy);if(U!==hU)throw Error(oB[U]);if(I.header)c2.deflateSetHeader(this.strm,I.header);if(I.dictionary){var Y;if(typeof I.dictionary==="string")Y=lB.string2buf(I.dictionary);else if(br.call(I.dictionary)==="[object ArrayBuffer]")Y=new Uint8Array(I.dictionary);else Y=I.dictionary;if(U=c2.deflateSetDictionary(this.strm,Y),U!==hU)throw Error(oB[U]);this._dict_set=!0}}m7.prototype.push=function($,I){var U=this.strm,Y=this.options.chunkSize,J,Q;if(this.ended)return!1;if(Q=I===~~I?I:I===!0?mB:Ey0,typeof $==="string")U.input=lB.string2buf($);else if(br.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new d2.Buf8(Y),U.next_out=0,U.avail_out=Y;if(J=c2.deflate(U,Q),J!==ur&&J!==hU)return this.onEnd(J),this.ended=!0,!1;if(U.avail_out===0||U.avail_in===0&&(Q===mB||Q===fr))if(this.options.to==="string")this.onData(lB.buf2binstring(d2.shrinkBuf(U.output,U.next_out)));else this.onData(d2.shrinkBuf(U.output,U.next_out))}while((U.avail_in>0||U.avail_out===0)&&J!==ur);if(Q===mB)return J=c2.deflateEnd(this.strm),this.onEnd(J),this.ended=!0,J===hU;if(Q===fr)return this.onEnd(hU),U.avail_out=0,!0;return!0};m7.prototype.onData=function($){this.chunks.push($)};m7.prototype.onEnd=function($){if($===hU)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=d2.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function rB($,I){var U=new m7(I);if(U.push($,!0),U.err)throw U.msg||oB[U.err];return U.result}function Cy0($,I){return I=I||{},I.raw=!0,rB($,I)}function jy0($,I){return I=I||{},I.gzip=!0,rB($,I)}_y0.Deflate=m7;_y0.deflate=rB;_y0.deflateRaw=Cy0;_y0.gzip=jy0});var pr=O((PM1,nr)=>{var AZ=30,xy0=12;nr.exports=function(I,U){var Y,J,Q,K,q,G,H,W,V,z,Z,w,L,D,N,E,T,A,v,u,g,b,C,p,n;Y=I.state,J=I.next_in,p=I.input,Q=J+(I.avail_in-5),K=I.next_out,n=I.output,q=K-(U-I.avail_out),G=K+(I.avail_out-257),H=Y.dmax,W=Y.wsize,V=Y.whave,z=Y.wnext,Z=Y.window,w=Y.hold,L=Y.bits,D=Y.lencode,N=Y.distcode,E=(1<>>24,w>>>=v,L-=v,v=A>>>16&255,v===0)n[K++]=A&65535;else if(v&16){if(u=A&65535,v&=15,v){if(L>>=v,L-=v}if(L<15)w+=p[J++]<>>24,w>>>=v,L-=v,v=A>>>16&255,v&16){if(g=A&65535,v&=15,LH){I.msg="invalid distance too far back",Y.mode=AZ;break $}if(w>>>=v,L-=v,v=K-q,g>v){if(v=g-v,v>V){if(Y.sane){I.msg="invalid distance too far back",Y.mode=AZ;break $}}if(b=0,C=Z,z===0){if(b+=W-v,v2)n[K++]=C[b++],n[K++]=C[b++],n[K++]=C[b++],u-=3;if(u){if(n[K++]=C[b++],u>1)n[K++]=C[b++]}}else{b=K-g;do n[K++]=n[b++],n[K++]=n[b++],n[K++]=n[b++],u-=3;while(u>2);if(u){if(n[K++]=n[b++],u>1)n[K++]=n[b++]}}}else if((v&64)===0){A=N[(A&65535)+(w&(1<>3,J-=u,L-=u<<3,w&=(1<{var cr=W5(),xU=15,dr=852,mr=592,lr=0,tB=1,or=2,ky0=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],uy0=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],fy0=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],by0=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];rr.exports=function(I,U,Y,J,Q,K,q,G){var H=G.bits,W=0,V=0,z=0,Z=0,w=0,L=0,D=0,N=0,E=0,T=0,A,v,u,g,b,C=null,p=0,n,S=new cr.Buf16(xU+1),f=new cr.Buf16(xU+1),i=null,Y0=0,B,k,d;for(W=0;W<=xU;W++)S[W]=0;for(V=0;V=1;Z--)if(S[Z]!==0)break;if(w>Z)w=Z;if(Z===0)return Q[K++]=20971520,Q[K++]=20971520,G.bits=1,0;for(z=1;z0&&(I===lr||Z!==1))return-1;f[1]=0;for(W=1;Wdr||I===or&&E>mr)return 1;for(;;){if(B=W-D,q[V]n)k=i[Y0+q[V]],d=C[p+q[V]];else k=96,d=0;A=1<>D)+v]=B<<24|k<<16|d|0;while(v!==0);A=1<>=1;if(A!==0)T&=A-1,T+=A;else T=0;if(V++,--S[W]===0){if(W===Z)break;W=U[Y+q[V]]}if(W>w&&(T&g)!==u){if(D===0)D=w;b+=z,L=W-D,N=1<dr||I===or&&E>mr)return 1;u=T&g,Q[u]=w<<24|L<<16|b-K|0}}if(T!==0)Q[b+T]=W-D<<24|4194304|0;return G.bits=w,0}});var _t=O((Qh0)=>{var Y$=W5(),UR=uB(),T8=fB(),iy0=pr(),m2=tr(),ny0=0,At=1,Pt=2,ar=4,py0=5,PZ=6,l7=0,cy0=1,dy0=2,P$=-2,Tt=-3,YR=-4,my0=-5,sr=8,Et=1,er=2,$t=3,It=4,Ut=5,Yt=6,Jt=7,Qt=8,Kt=9,qt=10,BZ=11,Z5=12,aB=13,Gt=14,sB=15,Ht=16,Wt=17,Vt=18,Zt=19,TZ=20,EZ=21,zt=22,Xt=23,wt=24,Lt=25,Dt=26,eB=27,Ot=28,Nt=29,Y4=30,JR=31,ly0=32,oy0=852,ry0=592,ty0=15,ay0=ty0;function Ft($){return($>>>24&255)+($>>>8&65280)+(($&65280)<<8)+(($&255)<<24)}function sy0(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Y$.Buf16(320),this.work=new Y$.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Bt($){var I;if(!$||!$.state)return P$;if(I=$.state,$.total_in=$.total_out=I.total=0,$.msg="",I.wrap)$.adler=I.wrap&1;return I.mode=Et,I.last=0,I.havedict=0,I.dmax=32768,I.head=null,I.hold=0,I.bits=0,I.lencode=I.lendyn=new Y$.Buf32(oy0),I.distcode=I.distdyn=new Y$.Buf32(ry0),I.sane=1,I.back=-1,l7}function Rt($){var I;if(!$||!$.state)return P$;return I=$.state,I.wsize=0,I.whave=0,I.wnext=0,Bt($)}function vt($,I){var U,Y;if(!$||!$.state)return P$;if(Y=$.state,I<0)U=0,I=-I;else if(U=(I>>4)+1,I<48)I&=15;if(I&&(I<8||I>15))return P$;if(Y.window!==null&&Y.wbits!==I)Y.window=null;return Y.wrap=U,Y.wbits=I,Rt($)}function Ct($,I){var U,Y;if(!$)return P$;if(Y=new sy0,$.state=Y,Y.window=null,U=vt($,I),U!==l7)$.state=null;return U}function ey0($){return Ct($,ay0)}var Mt=!0,$R,IR;function $h0($){if(Mt){var I;$R=new Y$.Buf32(512),IR=new Y$.Buf32(32),I=0;while(I<144)$.lens[I++]=8;while(I<256)$.lens[I++]=9;while(I<280)$.lens[I++]=7;while(I<288)$.lens[I++]=8;m2(At,$.lens,0,288,$R,0,$.work,{bits:9}),I=0;while(I<32)$.lens[I++]=5;m2(Pt,$.lens,0,32,IR,0,$.work,{bits:5}),Mt=!1}$.lencode=$R,$.lenbits=9,$.distcode=IR,$.distbits=5}function jt($,I,U,Y){var J,Q=$.state;if(Q.window===null)Q.wsize=1<=Q.wsize)Y$.arraySet(Q.window,I,U-Q.wsize,Q.wsize,0),Q.wnext=0,Q.whave=Q.wsize;else{if(J=Q.wsize-Q.wnext,J>Y)J=Y;if(Y$.arraySet(Q.window,I,U-Y,J,Q.wnext),Y-=J,Y)Y$.arraySet(Q.window,I,U-Y,Y,0),Q.wnext=Y,Q.whave=Q.wsize;else{if(Q.wnext+=J,Q.wnext===Q.wsize)Q.wnext=0;if(Q.whave>>8&255,U.check=T8(U.check,C,2,0),H=0,W=0,U.mode=er;break}if(U.flags=0,U.head)U.head.done=!1;if(!(U.wrap&1)||(((H&255)<<8)+(H>>8))%31){$.msg="incorrect header check",U.mode=Y4;break}if((H&15)!==sr){$.msg="unknown compression method",U.mode=Y4;break}if(H>>>=4,W-=4,g=(H&15)+8,U.wbits===0)U.wbits=g;else if(g>U.wbits){$.msg="invalid window size",U.mode=Y4;break}U.dmax=1<>8&1;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0,U.mode=$t;case $t:while(W<32){if(q===0)break $;q--,H+=Y[Q++]<>>8&255,C[2]=H>>>16&255,C[3]=H>>>24&255,U.check=T8(U.check,C,4,0);H=0,W=0,U.mode=It;case It:while(W<16){if(q===0)break $;q--,H+=Y[Q++]<>8;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0,U.mode=Ut;case Ut:if(U.flags&1024){while(W<16){if(q===0)break $;q--,H+=Y[Q++]<>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0}else if(U.head)U.head.extra=null;U.mode=Yt;case Yt:if(U.flags&1024){if(Z=U.length,Z>q)Z=q;if(Z){if(U.head){if(g=U.head.extra_len-U.length,!U.head.extra)U.head.extra=Array(U.head.extra_len);Y$.arraySet(U.head.extra,Y,Q,Z,g)}if(U.flags&512)U.check=T8(U.check,Y,Z,Q);q-=Z,Q+=Z,U.length-=Z}if(U.length)break $}U.length=0,U.mode=Jt;case Jt:if(U.flags&2048){if(q===0)break $;Z=0;do if(g=Y[Q+Z++],U.head&&g&&U.length<65536)U.head.name+=String.fromCharCode(g);while(g&&Z>9&1,U.head.done=!0;$.adler=U.check=0,U.mode=Z5;break;case qt:while(W<32){if(q===0)break $;q--,H+=Y[Q++]<>>=W&7,W-=W&7,U.mode=eB;break}while(W<3){if(q===0)break $;q--,H+=Y[Q++]<>>=1,W-=1,H&3){case 0:U.mode=Gt;break;case 1:if($h0(U),U.mode=TZ,I===PZ){H>>>=2,W-=2;break $}break;case 2:U.mode=Wt;break;case 3:$.msg="invalid block type",U.mode=Y4}H>>>=2,W-=2;break;case Gt:H>>>=W&7,W-=W&7;while(W<32){if(q===0)break $;q--,H+=Y[Q++]<>>16^65535)){$.msg="invalid stored block lengths",U.mode=Y4;break}if(U.length=H&65535,H=0,W=0,U.mode=sB,I===PZ)break $;case sB:U.mode=Ht;case Ht:if(Z=U.length,Z){if(Z>q)Z=q;if(Z>G)Z=G;if(Z===0)break $;Y$.arraySet(J,Y,Q,Z,K),q-=Z,Q+=Z,G-=Z,K+=Z,U.length-=Z;break}U.mode=Z5;break;case Wt:while(W<14){if(q===0)break $;q--,H+=Y[Q++]<>>=5,W-=5,U.ndist=(H&31)+1,H>>>=5,W-=5,U.ncode=(H&15)+4,H>>>=4,W-=4,U.nlen>286||U.ndist>30){$.msg="too many length or distance symbols",U.mode=Y4;break}U.have=0,U.mode=Vt;case Vt:while(U.have>>=3,W-=3}while(U.have<19)U.lens[S[U.have++]]=0;if(U.lencode=U.lendyn,U.lenbits=7,p={bits:U.lenbits},b=m2(ny0,U.lens,0,19,U.lencode,0,U.work,p),U.lenbits=p.bits,b){$.msg="invalid code lengths set",U.mode=Y4;break}U.have=0,U.mode=Zt;case Zt:while(U.have>>24,E=D>>>16&255,T=D&65535,N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>>=N,W-=N,U.lens[U.have++]=T;else{if(T===16){n=N+2;while(W>>=N,W-=N,U.have===0){$.msg="invalid bit length repeat",U.mode=Y4;break}g=U.lens[U.have-1],Z=3+(H&3),H>>>=2,W-=2}else if(T===17){n=N+3;while(W>>=N,W-=N,g=0,Z=3+(H&7),H>>>=3,W-=3}else{n=N+7;while(W>>=N,W-=N,g=0,Z=11+(H&127),H>>>=7,W-=7}if(U.have+Z>U.nlen+U.ndist){$.msg="invalid bit length repeat",U.mode=Y4;break}while(Z--)U.lens[U.have++]=g}}if(U.mode===Y4)break;if(U.lens[256]===0){$.msg="invalid code -- missing end-of-block",U.mode=Y4;break}if(U.lenbits=9,p={bits:U.lenbits},b=m2(At,U.lens,0,U.nlen,U.lencode,0,U.work,p),U.lenbits=p.bits,b){$.msg="invalid literal/lengths set",U.mode=Y4;break}if(U.distbits=6,U.distcode=U.distdyn,p={bits:U.distbits},b=m2(Pt,U.lens,U.nlen,U.ndist,U.distcode,0,U.work,p),U.distbits=p.bits,b){$.msg="invalid distances set",U.mode=Y4;break}if(U.mode=TZ,I===PZ)break $;case TZ:U.mode=EZ;case EZ:if(q>=6&&G>=258){if($.next_out=K,$.avail_out=G,$.next_in=Q,$.avail_in=q,U.hold=H,U.bits=W,iy0($,z),K=$.next_out,J=$.output,G=$.avail_out,Q=$.next_in,Y=$.input,q=$.avail_in,H=U.hold,W=U.bits,U.mode===Z5)U.back=-1;break}U.back=0;for(;;){if(D=U.lencode[H&(1<>>24,E=D>>>16&255,T=D&65535,N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>A)],N=D>>>24,E=D>>>16&255,T=D&65535,A+N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>>=A,W-=A,U.back+=A}if(H>>>=N,W-=N,U.back+=N,U.length=T,E===0){U.mode=Dt;break}if(E&32){U.back=-1,U.mode=Z5;break}if(E&64){$.msg="invalid literal/length code",U.mode=Y4;break}U.extra=E&15,U.mode=zt;case zt:if(U.extra){n=U.extra;while(W>>=U.extra,W-=U.extra,U.back+=U.extra}U.was=U.length,U.mode=Xt;case Xt:for(;;){if(D=U.distcode[H&(1<>>24,E=D>>>16&255,T=D&65535,N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>A)],N=D>>>24,E=D>>>16&255,T=D&65535,A+N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>>=A,W-=A,U.back+=A}if(H>>>=N,W-=N,U.back+=N,E&64){$.msg="invalid distance code",U.mode=Y4;break}U.offset=T,U.extra=E&15,U.mode=wt;case wt:if(U.extra){n=U.extra;while(W>>=U.extra,W-=U.extra,U.back+=U.extra}if(U.offset>U.dmax){$.msg="invalid distance too far back",U.mode=Y4;break}U.mode=Lt;case Lt:if(G===0)break $;if(Z=z-G,U.offset>Z){if(Z=U.offset-Z,Z>U.whave){if(U.sane){$.msg="invalid distance too far back",U.mode=Y4;break}}if(Z>U.wnext)Z-=U.wnext,w=U.wsize-Z;else w=U.wnext-Z;if(Z>U.length)Z=U.length;L=U.window}else L=J,w=K-U.offset,Z=U.length;if(Z>G)Z=G;G-=Z,U.length-=Z;do J[K++]=L[w++];while(--Z);if(U.length===0)U.mode=EZ;break;case Dt:if(G===0)break $;J[K++]=U.length,G--,U.mode=EZ;break;case eB:if(U.wrap){while(W<32){if(q===0)break $;q--,H|=Y[Q++]<{St.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var yt=O((RM1,gt)=>{function Lh0(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}gt.exports=Lh0});var xt=O((Fh0)=>{var kU=_t(),l2=W5(),RZ=cB(),A4=QR(),KR=XZ(),Dh0=dB(),Oh0=yt(),ht=Object.prototype.toString;function o7($){if(!(this instanceof o7))return new o7($);this.options=l2.assign({chunkSize:16384,windowBits:0,to:""},$||{});var I=this.options;if(I.raw&&I.windowBits>=0&&I.windowBits<16){if(I.windowBits=-I.windowBits,I.windowBits===0)I.windowBits=-15}if(I.windowBits>=0&&I.windowBits<16&&!($&&$.windowBits))I.windowBits+=32;if(I.windowBits>15&&I.windowBits<48){if((I.windowBits&15)===0)I.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Dh0,this.strm.avail_out=0;var U=kU.inflateInit2(this.strm,I.windowBits);if(U!==A4.Z_OK)throw Error(KR[U]);if(this.header=new Oh0,kU.inflateGetHeader(this.strm,this.header),I.dictionary){if(typeof I.dictionary==="string")I.dictionary=RZ.string2buf(I.dictionary);else if(ht.call(I.dictionary)==="[object ArrayBuffer]")I.dictionary=new Uint8Array(I.dictionary);if(I.raw){if(U=kU.inflateSetDictionary(this.strm,I.dictionary),U!==A4.Z_OK)throw Error(KR[U])}}}o7.prototype.push=function($,I){var U=this.strm,Y=this.options.chunkSize,J=this.options.dictionary,Q,K,q,G,H,W=!1;if(this.ended)return!1;if(K=I===~~I?I:I===!0?A4.Z_FINISH:A4.Z_NO_FLUSH,typeof $==="string")U.input=RZ.binstring2buf($);else if(ht.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new l2.Buf8(Y),U.next_out=0,U.avail_out=Y;if(Q=kU.inflate(U,A4.Z_NO_FLUSH),Q===A4.Z_NEED_DICT&&J)Q=kU.inflateSetDictionary(this.strm,J);if(Q===A4.Z_BUF_ERROR&&W===!0)Q=A4.Z_OK,W=!1;if(Q!==A4.Z_STREAM_END&&Q!==A4.Z_OK)return this.onEnd(Q),this.ended=!0,!1;if(U.next_out){if(U.avail_out===0||Q===A4.Z_STREAM_END||U.avail_in===0&&(K===A4.Z_FINISH||K===A4.Z_SYNC_FLUSH))if(this.options.to==="string"){if(q=RZ.utf8border(U.output,U.next_out),G=U.next_out-q,H=RZ.buf2string(U.output,q),U.next_out=G,U.avail_out=Y-G,G)l2.arraySet(U.output,U.output,q,G,0);this.onData(H)}else this.onData(l2.shrinkBuf(U.output,U.next_out))}if(U.avail_in===0&&U.avail_out===0)W=!0}while((U.avail_in>0||U.avail_out===0)&&Q!==A4.Z_STREAM_END);if(Q===A4.Z_STREAM_END)K=A4.Z_FINISH;if(K===A4.Z_FINISH)return Q=kU.inflateEnd(this.strm),this.onEnd(Q),this.ended=!0,Q===A4.Z_OK;if(K===A4.Z_SYNC_FLUSH)return this.onEnd(A4.Z_OK),U.avail_out=0,!0;return!0};o7.prototype.onData=function($){this.chunks.push($)};o7.prototype.onEnd=function($){if($===A4.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=l2.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function qR($,I){var U=new o7(I);if(U.push($,!0),U.err)throw U.msg||KR[U.err];return U.result}function Nh0($,I){return I=I||{},I.raw=!0,qR($,I)}Fh0.Inflate=o7;Fh0.inflate=qR;Fh0.inflateRaw=Nh0;Fh0.ungzip=qR});var ft=O((CM1,ut)=>{var Eh0=W5().assign,Bh0=ir(),Rh0=xt(),vh0=QR(),kt={};Eh0(kt,Bh0,Rh0,vh0);ut.exports=kt});var it=O((Sh0)=>{var Ch0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",jh0=ft(),bt=H4(),vZ=U$(),_h0=Ch0?"uint8array":"array";Sh0.magic="\b\x00";function r7($,I){vZ.call(this,"FlateWorker/"+$),this._pako=null,this._pakoAction=$,this._pakoOptions=I,this.meta={}}bt.inherits(r7,vZ);r7.prototype.processChunk=function($){if(this.meta=$.meta,this._pako===null)this._createPako();this._pako.push(bt.transformTo(_h0,$.data),!1)};r7.prototype.flush=function(){if(vZ.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};r7.prototype.cleanUp=function(){vZ.prototype.cleanUp.call(this),this._pako=null};r7.prototype._createPako=function(){this._pako=new jh0[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var $=this;this._pako.onData=function(I){$.push({data:I,meta:$.meta})}};Sh0.compressWorker=function($){return new r7("Deflate",$)};Sh0.uncompressWorker=function(){return new r7("Inflate",{})}});var GR=O((xh0)=>{var nt=U$();xh0.STORE={magic:"\x00\x00",compressWorker:function(){return new nt("STORE compression")},uncompressWorker:function(){return new nt("STORE decompression")}};xh0.DEFLATE=it()});var HR=O((fh0)=>{fh0.LOCAL_FILE_HEADER="PK\x03\x04";fh0.CENTRAL_FILE_HEADER="PK\x01\x02";fh0.CENTRAL_DIRECTORY_END="PK\x05\x06";fh0.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";fh0.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";fh0.DATA_DESCRIPTOR="PK\x07\b"});var mt=O((gM1,dt)=>{var uU=H4(),fU=U$(),WR=vU(),pt=WZ(),CZ=HR(),p1=function($,I){var U="",Y;for(Y=0;Y>>8;return U},mh0=function($,I){var U=$;if(!$)U=I?16893:33204;return(U&65535)<<16},lh0=function($){return($||0)&63},ct=function($,I,U,Y,J,Q){var{file:K,compression:q}=$,G=Q!==WR.utf8encode,H=uU.transformTo("string",Q(K.name)),W=uU.transformTo("string",WR.utf8encode(K.name)),V=K.comment,z=uU.transformTo("string",Q(V)),Z=uU.transformTo("string",WR.utf8encode(V)),w=W.length!==K.name.length,L=Z.length!==V.length,D,N,E="",T="",A="",v=K.dir,u=K.date,g={crc32:0,compressedSize:0,uncompressedSize:0};if(!I||U)g.crc32=$.crc32,g.compressedSize=$.compressedSize,g.uncompressedSize=$.uncompressedSize;var b=0;if(I)b|=8;if(!G&&(w||L))b|=2048;var C=0,p=0;if(v)C|=16;if(J==="UNIX")p=798,C|=mh0(K.unixPermissions,v);else p=20,C|=lh0(K.dosPermissions,v);if(D=u.getUTCHours(),D=D<<6,D=D|u.getUTCMinutes(),D=D<<5,D=D|u.getUTCSeconds()/2,N=u.getUTCFullYear()-1980,N=N<<4,N=N|u.getUTCMonth()+1,N=N<<5,N=N|u.getUTCDate(),w)T=p1(1,1)+p1(pt(H),4)+W,E+="up"+p1(T.length,2)+T;if(L)A=p1(1,1)+p1(pt(z),4)+Z,E+="uc"+p1(A.length,2)+A;var n="";n+=` -\x00`,n+=p1(b,2),n+=q.magic,n+=p1(D,2),n+=p1(N,2),n+=p1(g.crc32,4),n+=p1(g.compressedSize,4),n+=p1(g.uncompressedSize,4),n+=p1(H.length,2),n+=p1(E.length,2);var S=CZ.LOCAL_FILE_HEADER+n+H+E,f=CZ.CENTRAL_FILE_HEADER+p1(p,2)+n+p1(z.length,2)+"\x00\x00\x00\x00"+p1(C,4)+p1(Y,4)+H+E+z;return{fileRecord:S,dirRecord:f}},oh0=function($,I,U,Y,J){var Q="",K=uU.transformTo("string",J(Y));return Q=CZ.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+p1($,2)+p1($,2)+p1(I,4)+p1(U,4)+p1(K.length,2)+K,Q},rh0=function($){var I="";return I=CZ.DATA_DESCRIPTOR+p1($.crc32,4)+p1($.compressedSize,4)+p1($.uncompressedSize,4),I};function t$($,I,U,Y){fU.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=I,this.zipPlatform=U,this.encodeFileName=Y,this.streamFiles=$,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}uU.inherits(t$,fU);t$.prototype.push=function($){var I=$.meta.percent||0,U=this.entriesCount,Y=this._sources.length;if(this.accumulate)this.contentBuffer.push($);else this.bytesWritten+=$.data.length,fU.prototype.push.call(this,{data:$.data,meta:{currentFile:this.currentFile,percent:U?(I+100*(U-Y-1))/U:100}})};t$.prototype.openedSource=function($){this.currentSourceOffset=this.bytesWritten,this.currentFile=$.file.name;var I=this.streamFiles&&!$.file.dir;if(I){var U=ct($,I,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:U.fileRecord,meta:{percent:0}})}else this.accumulate=!0};t$.prototype.closedSource=function($){this.accumulate=!1;var I=this.streamFiles&&!$.file.dir,U=ct($,I,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(U.dirRecord),I)this.push({data:rh0($),meta:{percent:100}});else{this.push({data:U.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};t$.prototype.flush=function(){var $=this.bytesWritten;for(var I=0;I{var th0=GR(),ah0=mt(),sh0=function($,I){var U=$||I,Y=th0[U];if(!Y)throw Error(U+" is not a valid compression method !");return Y};eh0.generateWorker=function($,I,U){var Y=new ah0(I.streamFiles,U,I.platform,I.encodeFileName),J=0;try{$.forEach(function(Q,K){J++;var q=sh0(K.options.compression,I.compression),G=K.options.compressionOptions||I.compressionOptions||{},H=K.dir,W=K.date;K._compressWorker(q,G).withStreamInfo("file",{name:Q,dir:H,date:W,comment:K.comment||"",unixPermissions:K.unixPermissions,dosPermissions:K.dosPermissions}).pipe(Y)}),Y.entriesCount=J}catch(Q){Y.error(Q)}return Y}});var rt=O((hM1,ot)=>{var Ix0=H4(),jZ=U$();function o2($,I){jZ.call(this,"Nodejs stream input adapter for "+$),this._upstreamEnded=!1,this._bindStream(I)}Ix0.inherits(o2,jZ);o2.prototype._bindStream=function($){var I=this;this._stream=$,$.pause(),$.on("data",function(U){I.push({data:U,meta:{percent:0}})}).on("error",function(U){if(I.isPaused)this.generatedError=U;else I.error(U)}).on("end",function(){if(I.isPaused)I._upstreamEnded=!0;else I.end()})};o2.prototype.pause=function(){if(!jZ.prototype.pause.call(this))return!1;return this._stream.pause(),!0};o2.prototype.resume=function(){if(!jZ.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};ot.exports=o2});var Qa=O((xM1,Ja)=>{var Ux0=vU(),r2=H4(),et=U$(),Yx0=XB(),$a=wB(),tt=VZ(),Jx0=ao(),Qx0=lt(),at=R2(),Kx0=rt(),Ia=function($,I,U){var Y=r2.getTypeOf(I),J,Q=r2.extend(U||{},$a);if(Q.date=Q.date||new Date,Q.compression!==null)Q.compression=Q.compression.toUpperCase();if(typeof Q.unixPermissions==="string")Q.unixPermissions=parseInt(Q.unixPermissions,8);if(Q.unixPermissions&&Q.unixPermissions&16384)Q.dir=!0;if(Q.dosPermissions&&Q.dosPermissions&16)Q.dir=!0;if(Q.dir)$=Ua($);if(Q.createFolders&&(J=qx0($)))Ya.call(this,J,!0);var K=Y==="string"&&Q.binary===!1&&Q.base64===!1;if(!U||typeof U.binary>"u")Q.binary=!K;var q=I instanceof tt&&I.uncompressedSize===0;if(q||Q.dir||!I||I.length===0)Q.base64=!1,Q.binary=!0,I="",Q.compression="STORE",Y="string";var G=null;if(I instanceof tt||I instanceof et)G=I;else if(at.isNode&&at.isStream(I))G=new Kx0($,I);else G=r2.prepareContent($,I,Q.binary,Q.optimizedBinaryString,Q.base64);var H=new Jx0($,G,Q);this.files[$]=H},qx0=function($){if($.slice(-1)==="/")$=$.substring(0,$.length-1);var I=$.lastIndexOf("/");return I>0?$.substring(0,I):""},Ua=function($){if($.slice(-1)!=="/")$+="/";return $},Ya=function($,I){if(I=typeof I<"u"?I:$a.createFolders,$=Ua($),!this.files[$])Ia.call(this,$,null,{dir:!0,createFolders:I});return this.files[$]};function st($){return Object.prototype.toString.call($)==="[object RegExp]"}var Gx0={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function($){var I,U,Y;for(I in this.files)if(Y=this.files[I],U=I.slice(this.root.length,I.length),U&&I.slice(0,this.root.length)===this.root)$(U,Y)},filter:function($){var I=[];return this.forEach(function(U,Y){if($(U,Y))I.push(Y)}),I},file:function($,I,U){if(arguments.length===1)if(st($)){var Y=$;return this.filter(function(Q,K){return!K.dir&&Y.test(Q)})}else{var J=this.files[this.root+$];if(J&&!J.dir)return J;else return null}else $=this.root+$,Ia.call(this,$,I,U);return this},folder:function($){if(!$)return this;if(st($))return this.filter(function(J,Q){return Q.dir&&$.test(J)});var I=this.root+$,U=Ya.call(this,I),Y=this.clone();return Y.root=U.name,Y},remove:function($){$=this.root+$;var I=this.files[$];if(!I){if($.slice(-1)!=="/")$+="/";I=this.files[$]}if(I&&!I.dir)delete this.files[$];else{var U=this.filter(function(J,Q){return Q.name.slice(0,$.length)===$});for(var Y=0;Y{var Hx0=H4();function Ka($){this.data=$,this.length=$.length,this.index=0,this.zero=0}Ka.prototype={checkOffset:function($){this.checkIndex(this.index+$)},checkIndex:function($){if(this.length=this.index;U--)I=(I<<8)+this.byteAt(U);return this.index+=$,I},readString:function($){return Hx0.transformTo("string",this.readData($))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var $=this.readInt(4);return new Date(Date.UTC(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1))}};qa.exports=Ka});var ZR=O((uM1,Ha)=>{var Ga=VR(),Wx0=H4();function bU($){Ga.call(this,$);for(var I=0;I=0;--Q)if(this.data[Q]===I&&this.data[Q+1]===U&&this.data[Q+2]===Y&&this.data[Q+3]===J)return Q-this.zero;return-1};bU.prototype.readAndCheckSignature=function($){var I=$.charCodeAt(0),U=$.charCodeAt(1),Y=$.charCodeAt(2),J=$.charCodeAt(3),Q=this.readData(4);return I===Q[0]&&U===Q[1]&&Y===Q[2]&&J===Q[3]};bU.prototype.readData=function($){if(this.checkOffset($),$===0)return[];var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};Ha.exports=bU});var Za=O((fM1,Va)=>{var Wa=VR(),Vx0=H4();function iU($){Wa.call(this,$)}Vx0.inherits(iU,Wa);iU.prototype.byteAt=function($){return this.data.charCodeAt(this.zero+$)};iU.prototype.lastIndexOfSignature=function($){return this.data.lastIndexOf($)-this.zero};iU.prototype.readAndCheckSignature=function($){var I=this.readData(4);return $===I};iU.prototype.readData=function($){this.checkOffset($);var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};Va.exports=iU});var XR=O((bM1,Xa)=>{var za=ZR(),Zx0=H4();function zR($){za.call(this,$)}Zx0.inherits(zR,za);zR.prototype.readData=function($){if(this.checkOffset($),$===0)return new Uint8Array(0);var I=this.data.subarray(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};Xa.exports=zR});var Da=O((iM1,La)=>{var wa=XR(),zx0=H4();function wR($){wa.call(this,$)}zx0.inherits(wR,wa);wR.prototype.readData=function($){this.checkOffset($);var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};La.exports=wR});var LR=O((nM1,Na)=>{var _Z=H4(),Oa=H5(),Xx0=ZR(),wx0=Za(),Lx0=Da(),Dx0=XR();Na.exports=function($){var I=_Z.getTypeOf($);if(_Z.checkSupport(I),I==="string"&&!Oa.uint8array)return new wx0($);if(I==="nodebuffer")return new Lx0($);if(Oa.uint8array)return new Dx0(_Z.transformTo("uint8array",$));return new Xx0(_Z.transformTo("array",$))}});var Pa=O((pM1,Aa)=>{var DR=LR(),T9=H4(),Ox0=VZ(),Fa=WZ(),SZ=vU(),gZ=GR(),Nx0=H5(),Fx0=0,Mx0=3,Ax0=function($){for(var I in gZ){if(!Object.prototype.hasOwnProperty.call(gZ,I))continue;if(gZ[I].magic===$)return gZ[I]}return null};function Ma($,I){this.options=$,this.loadOptions=I}Ma.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function($){var I,U;if($.skip(22),this.fileNameLength=$.readInt(2),U=$.readInt(2),this.fileName=$.readData(this.fileNameLength),$.skip(U),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(I=Ax0(this.compressionMethod),I===null)throw Error("Corrupted zip : compression "+T9.pretty(this.compressionMethod)+" unknown (inner file : "+T9.transformTo("string",this.fileName)+")");this.decompressed=new Ox0(this.compressedSize,this.uncompressedSize,this.crc32,I,$.readData(this.compressedSize))},readCentralPart:function($){this.versionMadeBy=$.readInt(2),$.skip(2),this.bitFlag=$.readInt(2),this.compressionMethod=$.readString(2),this.date=$.readDate(),this.crc32=$.readInt(4),this.compressedSize=$.readInt(4),this.uncompressedSize=$.readInt(4);var I=$.readInt(2);if(this.extraFieldsLength=$.readInt(2),this.fileCommentLength=$.readInt(2),this.diskNumberStart=$.readInt(2),this.internalFileAttributes=$.readInt(2),this.externalFileAttributes=$.readInt(4),this.localHeaderOffset=$.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");$.skip(I),this.readExtraFields($),this.parseZIP64ExtraField($),this.fileComment=$.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var $=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,$===Fx0)this.dosPermissions=this.externalFileAttributes&63;if($===Mx0)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var $=DR(this.extraFields[1].value);if(this.uncompressedSize===T9.MAX_VALUE_32BITS)this.uncompressedSize=$.readInt(8);if(this.compressedSize===T9.MAX_VALUE_32BITS)this.compressedSize=$.readInt(8);if(this.localHeaderOffset===T9.MAX_VALUE_32BITS)this.localHeaderOffset=$.readInt(8);if(this.diskNumberStart===T9.MAX_VALUE_32BITS)this.diskNumberStart=$.readInt(4)},readExtraFields:function($){var I=$.index+this.extraFieldsLength,U,Y,J;if(!this.extraFields)this.extraFields={};while($.index+4{var Px0=LR(),z5=H4(),a$=HR(),Tx0=Pa(),Ex0=H5();function Ta($){this.files=[],this.loadOptions=$}Ta.prototype={checkSignature:function($){if(!this.reader.readAndCheckSignature($)){this.reader.index-=4;var I=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+z5.pretty(I)+", expected "+z5.pretty($)+")")}},isSignature:function($,I){var U=this.reader.index;this.reader.setIndex($);var Y=this.reader.readString(4),J=Y===I;return this.reader.setIndex(U),J},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var $=this.reader.readData(this.zipCommentLength),I=Ex0.uint8array?"uint8array":"array",U=z5.transformTo(I,$);this.zipComment=this.loadOptions.decodeFileName(U)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var $=this.zip64EndOfCentralSize-44,I=0,U,Y,J;while(I<$)U=this.reader.readInt(2),Y=this.reader.readInt(4),J=this.reader.readData(Y),this.zip64ExtensibleData[U]={id:U,length:Y,value:J}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var $,I;for($=0;$0)if(this.isSignature(U,a$.CENTRAL_FILE_HEADER));else this.reader.zero=J;else if(J<0)throw Error("Corrupted zip: missing "+Math.abs(J)+" bytes.")},prepareReader:function($){this.reader=Px0($)},load:function($){this.prepareReader($),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};Ea.exports=Ta});var Ca=O((dM1,va)=>{var OR=H4(),yZ=EU(),Bx0=vU(),Rx0=Ba(),vx0=OB(),Ra=R2();function Cx0($){return new yZ.Promise(function(I,U){var Y=$.decompressed.getContentWorker().pipe(new vx0);Y.on("error",function(J){U(J)}).on("end",function(){if(Y.streamInfo.crc32!==$.decompressed.crc32)U(Error("Corrupted zip : CRC32 mismatch"));else I()}).resume()})}va.exports=function($,I){var U=this;if(I=OR.extend(I||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Bx0.utf8decode}),Ra.isNode&&Ra.isStream($))return yZ.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return OR.prepareContent("the loaded zip file",$,!0,I.optimizedBinaryString,I.base64).then(function(Y){var J=new Rx0(I);return J.load(Y),J}).then(function(J){var Q=[yZ.Promise.resolve(J)],K=J.files;if(I.checkCRC32)for(var q=0;q{function T$(){if(!(this instanceof T$))return new T$;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var $=new T$;for(var I in this)if(typeof this[I]!=="function")$[I]=this[I];return $}}T$.prototype=Qa();T$.prototype.loadAsync=Ca();T$.support=H5();T$.defaults=wB();T$.version="3.10.1";T$.loadAsync=function($,I){return new T$().loadAsync($,I)};T$.external=EU();ja.exports=T$});var xa=O((lM1,ha)=>{function _a($,I){var U=Object.keys($);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols($);I&&(Y=Y.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),U.push.apply(U,Y)}return U}function Sa($){for(var I=1;I0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length}},{key:"unshift",value:function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J}},{key:"concat",value:function(U){if(this.length===0)return hZ.alloc(0);var Y=hZ.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)kx0(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y}},{key:"consume",value:function(U,Y){var J;if(UK.length?K.length:U;if(q===K.length)Q+=K;else Q+=K.slice(0,U);if(U-=q,U===0){if(q===K.length)if(++J,Y.next)this.head=Y.next;else this.head=this.tail=null;else this.head=Y,Y.data=K.slice(q);break}++J}return this.length-=J,Q}},{key:"_getBuffer",value:function(U){var Y=hZ.allocUnsafe(U),J=this.head,Q=1;J.data.copy(Y),U-=J.data.length;while(J=J.next){var K=J.data,q=U>K.length?K.length:U;if(K.copy(Y,Y.length-U,0,q),U-=q,U===0){if(q===K.length)if(++Q,J.next)this.head=J.next;else this.head=this.tail=null;else this.head=J,J.data=K.slice(q);break}++Q}return this.length-=Q,Y}},{key:xx0,value:function(U,Y){return FR(this,Sa(Sa({},Y),{},{depth:0,customInspect:!1}))}}]),$}()});var AR=O((oM1,ua)=>{function ux0($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)process.nextTick(MR,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(MR,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q)if(!U._writableState)process.nextTick(ka,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,process.nextTick(ka,U,Q);else process.nextTick(xZ,U);else if(I)process.nextTick(xZ,U),I(Q);else process.nextTick(xZ,U)}),this}function ka($,I){MR($,I),xZ($)}function xZ($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function fx0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function MR($,I){$.emit("error",I)}function bx0($,I){var{_readableState:U,_writableState:Y}=$;if(U&&U.autoDestroy||Y&&Y.autoDestroy)$.destroy(I);else $.emit("error",I)}ua.exports={destroy:ux0,undestroy:fx0,errorOrDestroy:bx0}});var E9=O((cx0,ia)=>{var ba={};function E$($,I,U){if(!U)U=Error;function Y(Q,K,q){if(typeof I==="string")return I;else return I(Q,K,q)}class J extends U{constructor(Q,K,q){super(Y(Q,K,q))}}J.prototype.name=U.name,J.prototype.code=$,ba[$]=J}function fa($,I){if(Array.isArray($)){let U=$.length;if($=$.map((Y)=>String(Y)),U>2)return`one of ${I} ${$.slice(0,U-1).join(", ")}, or `+$[U-1];else if(U===2)return`one of ${I} ${$[0]} or ${$[1]}`;else return`of ${I} ${$[0]}`}else return`of ${I} ${String($)}`}function ix0($,I,U){return $.substr(!U||U<0?0:+U,I.length)===I}function nx0($,I,U){if(U===void 0||U>$.length)U=$.length;return $.substring(U-I.length,U)===I}function px0($,I,U){if(typeof U!=="number")U=0;if(U+I.length>$.length)return!1;else return $.indexOf(I,U)!==-1}E$("ERR_INVALID_OPT_VALUE",function($,I){return'The value "'+I+'" is invalid for option "'+$+'"'},TypeError);E$("ERR_INVALID_ARG_TYPE",function($,I,U){let Y;if(typeof I==="string"&&ix0(I,"not "))Y="must not be",I=I.replace(/^not /,"");else Y="must be";let J;if(nx0($," argument"))J=`The ${$} ${Y} ${fa(I,"type")}`;else{let Q=px0($,".")?"property":"argument";J=`The "${$}" ${Q} ${Y} ${fa(I,"type")}`}return J+=`. Received type ${typeof U}`,J},TypeError);E$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");E$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});E$("ERR_STREAM_PREMATURE_CLOSE","Premature close");E$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});E$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");E$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");E$("ERR_STREAM_WRITE_AFTER_END","write after end");E$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);E$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);E$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");cx0.codes=ba});var PR=O((rM1,na)=>{var mx0=E9().codes.ERR_INVALID_OPT_VALUE;function lx0($,I,U){return $.highWaterMark!=null?$.highWaterMark:I?$[U]:null}function ox0($,I,U,Y){var J=lx0(I,Y,U);if(J!=null){if(!(isFinite(J)&&Math.floor(J)===J)||J<0){var Q=Y?U:"highWaterMark";throw new mx0(Q,J)}return Math.floor(J)}return $.objectMode?16:16384}na.exports={getHighWaterMark:ox0}});var BR=O((tM1,oa)=>{oa.exports=X4;function ca($){var I=this;this.next=null,this.entry=null,this.finish=function(){Mk0(I,$)}}var nU;X4.WritableState=a2;var rx0={deprecate:x7()},da=r("stream"),uZ=r("buffer").Buffer,tx0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ax0($){return uZ.from($)}function sx0($){return uZ.isBuffer($)||$ instanceof tx0}var ER=AR(),ex0=PR(),$k0=ex0.getHighWaterMark,B9=E9().codes,Ik0=B9.ERR_INVALID_ARG_TYPE,Uk0=B9.ERR_METHOD_NOT_IMPLEMENTED,Yk0=B9.ERR_MULTIPLE_CALLBACK,Jk0=B9.ERR_STREAM_CANNOT_PIPE,Qk0=B9.ERR_STREAM_DESTROYED,Kk0=B9.ERR_STREAM_NULL_VALUES,qk0=B9.ERR_STREAM_WRITE_AFTER_END,Gk0=B9.ERR_UNKNOWN_ENCODING,pU=ER.errorOrDestroy;p0()(X4,da);function Hk0(){}function a2($,I,U){if(nU=nU||t7(),$=$||{},typeof U!=="boolean")U=I instanceof nU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=$k0(this,$,"writableHighWaterMark",U),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Y=$.decodeStrings===!1;this.decodeStrings=!Y,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(J){Lk0(I,J)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ca(this)}a2.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(a2.prototype,"buffer",{get:rx0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var kZ;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")kZ=Function.prototype[Symbol.hasInstance],Object.defineProperty(X4,Symbol.hasInstance,{value:function(I){if(kZ.call(this,I))return!0;if(this!==X4)return!1;return I&&I._writableState instanceof a2}});else kZ=function(I){return I instanceof this};function X4($){nU=nU||t7();var I=this instanceof nU;if(!I&&!kZ.call(X4,this))return new X4($);if(this._writableState=new a2($,this,I),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}da.call(this)}X4.prototype.pipe=function(){pU(this,new Jk0)};function Wk0($,I){var U=new qk0;pU($,U),process.nextTick(I,U)}function Vk0($,I,U,Y){var J;if(U===null)J=new Kk0;else if(typeof U!=="string"&&!I.objectMode)J=new Ik0("chunk",["string","Buffer"],U);if(J)return pU($,J),process.nextTick(Y,J),!1;return!0}X4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&sx0($);if(Q&&!uZ.isBuffer($))$=ax0($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=Hk0;if(Y.ending)Wk0(this,U);else if(Q||Vk0(this,Y,$,U))Y.pendingcb++,J=zk0(this,Y,Q,$,I,U);return J};X4.prototype.cork=function(){this._writableState.corked++};X4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)ma(this,$)}};X4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw new Gk0(I);return this._writableState.defaultEncoding=I,this};Object.defineProperty(X4.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Zk0($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=uZ.from(I,U);return I}Object.defineProperty(X4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function zk0($,I,U,Y,J,Q){if(!U){var K=Zk0(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var Ak0=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};ta.exports=E8;var ra=vR(),RR=BR();p0()(E8,ra);{fZ=Ak0(RR.prototype);for(s2=0;s2{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var bZ=r("buffer"),B8=bZ.Buffer;function aa($,I){for(var U in $)I[U]=$[U]}if(B8.from&&B8.alloc&&B8.allocUnsafe&&B8.allocUnsafeSlow)sa.exports=bZ;else aa(bZ,CR),CR.Buffer=a7;function a7($,I,U){return B8($,I,U)}a7.prototype=Object.create(B8.prototype);aa(B8,a7);a7.from=function($,I,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return B8($,I,U)};a7.alloc=function($,I,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var Y=B8($);if(I!==void 0)if(typeof U==="string")Y.fill(I,U);else Y.fill(I);else Y.fill(0);return Y};a7.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return B8($)};a7.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return bZ.SlowBuffer($)}});var SR=O((uk0)=>{var _R=ea().Buffer,$s=_R.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ek0($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function Bk0($){var I=Ek0($);if(typeof I!=="string"&&(_R.isEncoding===$s||!$s($)))throw Error("Unknown encoding: "+$);return I||$}uk0.StringDecoder=$K;function $K($){this.encoding=Bk0($);var I;switch(this.encoding){case"utf16le":this.text=Sk0,this.end=gk0,I=4;break;case"utf8":this.fillLast=Ck0,I=4;break;case"base64":this.text=yk0,this.end=hk0,I=3;break;default:this.write=xk0,this.end=kk0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=_R.allocUnsafe(I)}$K.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};$K.prototype.end=_k0;$K.prototype.text=jk0;$K.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function jR($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function Rk0($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function vk0($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function Ck0($){var I=this.lastTotal-this.lastNeed,U=vk0(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function jk0($,I){var U=Rk0(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function _k0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function Sk0($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function gk0($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function yk0($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function hk0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function xk0($){return $.toString(this.encoding)}function kk0($){return $&&$.length?this.write($):""}});var iZ=O((eM1,Ys)=>{var Is=E9().codes.ERR_STREAM_PREMATURE_CLOSE;function bk0($){var I=!1;return function(){if(I)return;I=!0;for(var U=arguments.length,Y=Array(U),J=0;J{var nZ;function R9($,I,U){if(I=pk0(I),I in $)Object.defineProperty($,I,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[I]=U;return $}function pk0($){var I=ck0($,"string");return typeof I==="symbol"?I:String(I)}function ck0($,I){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var Y=U.call($,I||"default");if(typeof Y!=="object")return Y;throw TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)($)}var dk0=iZ(),v9=Symbol("lastResolve"),s7=Symbol("lastReject"),IK=Symbol("error"),pZ=Symbol("ended"),e7=Symbol("lastPromise"),gR=Symbol("handlePromise"),$3=Symbol("stream");function C9($,I){return{value:$,done:I}}function mk0($){var I=$[v9];if(I!==null){var U=$[$3].read();if(U!==null)$[e7]=null,$[v9]=null,$[s7]=null,I(C9(U,!1))}}function lk0($){process.nextTick(mk0,$)}function ok0($,I){return function(U,Y){$.then(function(){if(I[pZ]){U(C9(void 0,!0));return}I[gR](U,Y)},Y)}}var rk0=Object.getPrototypeOf(function(){}),tk0=Object.setPrototypeOf((nZ={get stream(){return this[$3]},next:function(){var I=this,U=this[IK];if(U!==null)return Promise.reject(U);if(this[pZ])return Promise.resolve(C9(void 0,!0));if(this[$3].destroyed)return new Promise(function(K,q){process.nextTick(function(){if(I[IK])q(I[IK]);else K(C9(void 0,!0))})});var Y=this[e7],J;if(Y)J=new Promise(ok0(Y,this));else{var Q=this[$3].read();if(Q!==null)return Promise.resolve(C9(Q,!1));J=new Promise(this[gR])}return this[e7]=J,J}},R9(nZ,Symbol.asyncIterator,function(){return this}),R9(nZ,"return",function(){var I=this;return new Promise(function(U,Y){I[$3].destroy(null,function(J){if(J){Y(J);return}U(C9(void 0,!0))})})}),nZ),rk0),ak0=function(I){var U,Y=Object.create(tk0,(U={},R9(U,$3,{value:I,writable:!0}),R9(U,v9,{value:null,writable:!0}),R9(U,s7,{value:null,writable:!0}),R9(U,IK,{value:null,writable:!0}),R9(U,pZ,{value:I._readableState.endEmitted,writable:!0}),R9(U,gR,{value:function(Q,K){var q=Y[$3].read();if(q)Y[e7]=null,Y[v9]=null,Y[s7]=null,Q(C9(q,!1));else Y[v9]=Q,Y[s7]=K},writable:!0}),U));return Y[e7]=null,dk0(I,function(J){if(J&&J.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Q=Y[s7];if(Q!==null)Y[e7]=null,Y[v9]=null,Y[s7]=null,Q(J);Y[IK]=J;return}var K=Y[v9];if(K!==null)Y[e7]=null,Y[v9]=null,Y[s7]=null,K(C9(void 0,!0));Y[pZ]=!0}),I.on("readable",lk0.bind(null,Y)),Y};Js.exports=ak0});var Hs=O((IA1,Gs)=>{function Ks($,I,U,Y,J,Q,K){try{var q=$[Q](K),G=q.value}catch(H){U(H);return}if(q.done)I(G);else Promise.resolve(G).then(Y,J)}function sk0($){return function(){var I=this,U=arguments;return new Promise(function(Y,J){var Q=$.apply(I,U);function K(G){Ks(Q,Y,J,K,q,"next",G)}function q(G){Ks(Q,Y,J,K,q,"throw",G)}K(void 0)})}}function qs($,I){var U=Object.keys($);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols($);I&&(Y=Y.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),U.push.apply(U,Y)}return U}function ek0($){for(var I=1;I{Ns.exports=X1;var cU;X1.ReadableState=zs;var UA1=r("events").EventEmitter,Zs=function(I,U){return I.listeners(U).length},YK=r("stream"),cZ=r("buffer").Buffer,Qu0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ku0($){return cZ.from($)}function qu0($){return cZ.isBuffer($)||$ instanceof Qu0}var yR=r("util"),I1;if(yR&&yR.debuglog)I1=yR.debuglog("stream");else I1=function(){};var Gu0=xa(),iR=AR(),Hu0=PR(),Wu0=Hu0.getHighWaterMark,dZ=E9().codes,Vu0=dZ.ERR_INVALID_ARG_TYPE,Zu0=dZ.ERR_STREAM_PUSH_AFTER_EOF,zu0=dZ.ERR_METHOD_NOT_IMPLEMENTED,Xu0=dZ.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,dU,hR,xR;p0()(X1,YK);var UK=iR.errorOrDestroy,kR=["error","close","destroy","pause","resume"];function wu0($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(Array.isArray($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function zs($,I,U){if(cU=cU||t7(),$=$||{},typeof U!=="boolean")U=I instanceof cU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=Wu0(this,$,"readableHighWaterMark",U),this.buffer=new Gu0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!dU)dU=SR().StringDecoder;this.decoder=new dU($.encoding),this.encoding=$.encoding}}function X1($){if(cU=cU||t7(),!(this instanceof X1))return new X1($);var I=this instanceof cU;if(this._readableState=new zs($,this,I),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}YK.call(this)}Object.defineProperty(X1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(I){if(!this._readableState)return;this._readableState.destroyed=I}});X1.prototype.destroy=iR.destroy;X1.prototype._undestroy=iR.undestroy;X1.prototype._destroy=function($,I){I($)};X1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=cZ.from($,I),I="";Y=!0}}else Y=!0;return Xs(this,$,I,!1,Y)};X1.prototype.unshift=function($){return Xs(this,$,null,!0,!1)};function Xs($,I,U,Y,J){I1("readableAddChunk",I);var Q=$._readableState;if(I===null)Q.reading=!1,Ou0($,Q);else{var K;if(!J)K=Lu0(Q,I);if(K)UK($,K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==cZ.prototype)I=Ku0(I);if(Y)if(Q.endEmitted)UK($,new Xu0);else uR($,Q,I,!0);else if(Q.ended)UK($,new Zu0);else if(Q.destroyed)return!1;else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)uR($,Q,I,!1);else bR($,Q);else uR($,Q,I,!1)}else if(!Y)Q.reading=!1,bR($,Q)}return!Q.ended&&(Q.length=Ws)$=Ws;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function Vs($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=Du0($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}X1.prototype.read=function($){I1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&((I.highWaterMark!==0?I.length>=I.highWaterMark:I.length>0)||I.ended)){if(I1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)fR(this);else mZ(this);return null}if($=Vs($,I),$===0&&I.ended){if(I.length===0)fR(this);return null}var Y=I.needReadable;if(I1("need readable",Y),I.length===0||I.length-$0)J=Ds($,I);else J=null;if(J===null)I.needReadable=I.length<=I.highWaterMark,$=0;else I.length-=$,I.awaitDrain=0;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)fR(this)}if(J!==null)this.emit("data",J);return J};function Ou0($,I){if(I1("onEofChunk"),I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}if(I.ended=!0,I.sync)mZ($);else if(I.needReadable=!1,!I.emittedReadable)I.emittedReadable=!0,ws($)}function mZ($){var I=$._readableState;if(I1("emitReadable",I.needReadable,I.emittedReadable),I.needReadable=!1,!I.emittedReadable)I1("emitReadable",I.flowing),I.emittedReadable=!0,process.nextTick(ws,$)}function ws($){var I=$._readableState;if(I1("emitReadable_",I.destroyed,I.length,I.ended),!I.destroyed&&(I.length||I.ended))$.emit("readable"),I.emittedReadable=!1;I.needReadable=!I.flowing&&!I.ended&&I.length<=I.highWaterMark,nR($)}function bR($,I){if(!I.readingMore)I.readingMore=!0,process.nextTick(Nu0,$,I)}function Nu0($,I){while(!I.reading&&!I.ended&&(I.length1&&Os(Y.pipes,$)!==-1)&&!H)I1("false write response, pause",Y.awaitDrain),Y.awaitDrain++;U.pause()}}function z(D){if(I1("onerror",D),L(),$.removeListener("error",z),Zs($,"error")===0)UK($,D)}wu0($,"error",z);function Z(){$.removeListener("finish",w),L()}$.once("close",Z);function w(){I1("onfinish"),$.removeListener("close",Z),L()}$.once("finish",w);function L(){I1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)I1("pipe resume"),U.resume();return $};function Fu0($){return function(){var U=$._readableState;if(I1("pipeOnDrain",U.awaitDrain),U.awaitDrain)U.awaitDrain--;if(U.awaitDrain===0&&Zs($,"data"))U.flowing=!0,nR($)}}X1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q0,Y.flowing!==!1)this.resume()}else if($==="readable"){if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.flowing=!1,Y.emittedReadable=!1,I1("on readable",Y.length,Y.reading),Y.length)mZ(this);else if(!Y.reading)process.nextTick(Mu0,this)}}return U};X1.prototype.addListener=X1.prototype.on;X1.prototype.removeListener=function($,I){var U=YK.prototype.removeListener.call(this,$,I);if($==="readable")process.nextTick(Ls,this);return U};X1.prototype.removeAllListeners=function($){var I=YK.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(Ls,this);return I};function Ls($){var I=$._readableState;if(I.readableListening=$.listenerCount("readable")>0,I.resumeScheduled&&!I.paused)I.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function Mu0($){I1("readable nexttick read 0"),$.read(0)}X1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)I1("resume"),$.flowing=!$.readableListening,Au0(this,$);return $.paused=!1,this};function Au0($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,process.nextTick(Pu0,$,I)}function Pu0($,I){if(I1("resume",I.reading),!I.reading)$.read(0);if(I.resumeScheduled=!1,$.emit("resume"),nR($),I.flowing&&!I.reading)$.read(0)}X1.prototype.pause=function(){if(I1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)I1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function nR($){var I=$._readableState;I1("flow",I.flowing);while(I.flowing&&$.read()!==null);}X1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(I1("wrapped end"),U.decoder&&!U.ended){var K=U.decoder.end();if(K&&K.length)I.push(K)}I.push(null)}),$.on("data",function(K){if(I1("wrapped data"),U.decoder)K=U.decoder.write(K);if(U.objectMode&&(K===null||K===void 0))return;else if(!U.objectMode&&(!K||!K.length))return;var q=I.push(K);if(!q)Y=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(q){return function(){return $[q].apply($,arguments)}}(J);for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.first();else U=I.buffer.concat(I.length);I.buffer.clear()}else U=I.buffer.consume($,I.decoder);return U}function fR($){var I=$._readableState;if(I1("endReadable",I.endEmitted),!I.endEmitted)I.ended=!0,process.nextTick(Tu0,I,$)}function Tu0($,I){if(I1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,I.readable=!1,I.emit("end"),$.autoDestroy){var U=I._writableState;if(!U||U.autoDestroy&&U.finished)I.destroy()}}}if(typeof Symbol==="function")X1.from=function($,I){if(xR===void 0)xR=Hs();return xR(X1,$,I)};function Os($,I){for(var U=0,Y=$.length;U{Ms.exports=X5;var lZ=E9().codes,Eu0=lZ.ERR_METHOD_NOT_IMPLEMENTED,Bu0=lZ.ERR_MULTIPLE_CALLBACK,Ru0=lZ.ERR_TRANSFORM_ALREADY_TRANSFORMING,vu0=lZ.ERR_TRANSFORM_WITH_LENGTH_0,oZ=t7();p0()(X5,oZ);function Cu0($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(Y===null)return this.emit("error",new Bu0);if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{Ps.exports=JK;var As=pR();p0()(JK,As);function JK($){if(!(this instanceof JK))return new JK($);As.call(this,$)}JK.prototype._transform=function($,I,U){U(null,$)}});var Cs=O((KA1,vs)=>{var cR;function _u0($){var I=!1;return function(){if(I)return;I=!0,$.apply(void 0,arguments)}}var Rs=E9().codes,Su0=Rs.ERR_MISSING_ARGS,gu0=Rs.ERR_STREAM_DESTROYED;function Es($){if($)throw $}function yu0($){return $.setHeader&&typeof $.abort==="function"}function hu0($,I,U,Y){Y=_u0(Y);var J=!1;if($.on("close",function(){J=!0}),cR===void 0)cR=iZ();cR($,{readable:I,writable:U},function(K){if(K)return Y(K);J=!0,Y()});var Q=!1;return function(K){if(J)return;if(Q)return;if(Q=!0,yu0($))return $.abort();if(typeof $.destroy==="function")return $.destroy();Y(K||new gu0("pipe"))}}function Bs($){$()}function xu0($,I){return $.pipe(I)}function ku0($){if(!$.length)return Es;if(typeof $[$.length-1]!=="function")return Es;return $.pop()}function uu0(){for(var $=arguments.length,I=Array($),U=0;U<$;U++)I[U]=arguments[U];var Y=ku0(I);if(Array.isArray(I[0]))I=I[0];if(I.length<2)throw new Su0("streams");var J,Q=I.map(function(K,q){var G=q0;return hu0(K,G,H,function(W){if(!J)J=W;if(W)Q.forEach(Bs);if(G)return;Q.forEach(Bs),Y(J)})});return I.reduce(xu0)}vs.exports=uu0});var w6=O((B$,KK)=>{var QK=r("stream");if(process.env.READABLE_STREAM==="disable"&&QK)KK.exports=QK.Readable,Object.assign(KK.exports,QK),KK.exports.Stream=QK;else B$=KK.exports=vR(),B$.Stream=QK||B$,B$.Readable=B$,B$.Writable=BR(),B$.Duplex=t7(),B$.Transform=pR(),B$.PassThrough=Ts(),B$.finished=iZ(),B$.pipeline=Cs()});var L6=O((qA1,Ss)=>{var js=r("fs"),fu0=function($,I,U,Y){if($.super_=I,!Y)Y=U,U=null;if(U)Object.keys(U).forEach((Q)=>{Object.defineProperty($,Q,Object.getOwnPropertyDescriptor(U,Q))});let J={constructor:{value:$,enumerable:!1,writable:!1,configurable:!0}};if(Y)Object.keys(Y).forEach((Q)=>{J[Q]=Object.getOwnPropertyDescriptor(Y,Q)});$.prototype=Object.create(I.prototype,J)},bu0=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,_s={nop(){},promiseImmediate($){return new Promise((I)=>{if(global.setImmediate)setImmediate(()=>{I($)});else setTimeout(()=>{I($)},1)})},inherits:fu0,dateToExcel($,I){return 25569+$.getTime()/86400000-(I?1462:0)},excelToDate($,I){let U=Math.round(($-25569+(I?1462:0))*24*3600*1000);return new Date(U)},parsePath($){let I=$.lastIndexOf("/");return{path:$.substring(0,I),name:$.substring(I+1)}},getRelsPath($){let I=_s.parsePath($);return`${I.path}/_rels/${I.name}.rels`},xmlEncode($){let I=bu0.exec($);if(!I)return $;let U="",Y="",J=0,Q=I.index;for(;Q<$.length;Q++){let K=$.charCodeAt(Q);switch(K){case 34:Y=""";break;case 38:Y="&";break;case 39:Y="'";break;case 60:Y="<";break;case 62:Y=">";break;case 127:Y="";break;default:{if(K<=31&&(K<=8||K>=11&&K!==13)){Y="";break}continue}}if(J!==Q)U+=$.substring(J,Q);if(J=Q+1,Y)U+=Y}if(J!==Q)return U+$.substring(J,Q);return U},xmlDecode($){return $.replace(/&([a-z]*);/g,(I)=>{switch(I){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return I}})},validInt($){let I=parseInt($,10);return!Number.isNaN(I)?I:0},isDateFmt($){if(!$)return!1;return $=$.replace(/\[[^\]]*]/g,""),$=$.replace(/"[^"]*"/g,""),$.match(/[ymdhMsb]+/)!==null},fs:{exists($){return new Promise((I)=>{js.access($,js.constants.F_OK,(U)=>{I(!U)})})}},toIsoDateString($){return $.toIsoString().subsstr(0,10)},parseBoolean($){return $===!0||$==="true"||$===1||$==="1"}};Ss.exports=_s});var dR=O((GA1,ys)=>{class gs{constructor($){this._buf=Buffer.alloc($&&$.size||16384),this._encoding=$&&$.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){if(!this._buffer)this._buffer=Buffer.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length);return this._buffer}reset($){$=$||0,this._buffer=void 0,this._inPos=$}_grow($){let I=this._buf.length*2;while(I<$)I*=2;let U=Buffer.alloc(I);this._buf.copy(U,0),this._buf=U}addText($){this._buffer=void 0;let I=this._inPos+this._buf.write($,this._inPos,this._encoding);while(I>=this._buf.length-4)this._grow(this._inPos+$.length),I=this._inPos+this._buf.write($,this._inPos,this._encoding);this._inPos=I}addStringBuf($){if($.length){if(this._buffer=void 0,this.length+$.length>this.capacity)this._grow(this.length+$.length);$._buf.copy(this._buf,this._inPos,0,$.length),this._inPos+=$.length}}}ys.exports=gs});var qK=O((HA1,is)=>{var iu0=w6(),hs=L6(),nu0=dR();class xs{constructor($,I){this._data=$,this._encoding=I}get length(){return this.toBuffer().length}copy($,I,U,Y){return this.toBuffer().copy($,I,U,Y)}toBuffer(){if(!this._buffer)this._buffer=Buffer.from(this._data,this._encoding);return this._buffer}}class ks{constructor($){this._data=$}get length(){return this._data.length}copy($,I,U,Y){return this._data._buf.copy($,I,U,Y)}toBuffer(){return this._data.toBuffer()}}class us{constructor($){this._data=$}get length(){return this._data.length}copy($,I,U,Y){this._data.copy($,I,U,Y)}toBuffer(){return this._data}}class fs{constructor($){this.size=$,this.buffer=Buffer.alloc($),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;let $=Buffer.alloc(this.iWrite-this.iRead);return this.buffer.copy($,0,this.iRead,this.iWrite),$}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read($){let I;if($===0)return null;if($===void 0||$>=this.length)return I=this.toBuffer(),this.iRead=this.iWrite,I;return I=Buffer.alloc($),this.buffer.copy(I,0,this.iRead,$),this.iRead+=$,I}write($,I,U){let Y=Math.min(U,this.size-this.iWrite);return $.copy(this.buffer,this.iWrite,I,I+Y),this.iWrite+=Y,Y}}var bs=function($){$=$||{},this.bufSize=$.bufSize||1048576,this.buffers=[],this.batch=$.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};hs.inherits(bs,iu0.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return Buffer.concat(this.buffers.map(($)=>$.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){let I=this.buffers[this.buffers.length-1];if(!I.full)return I}let $=new fs(this.bufSize);return this.buffers.push($),$},async _pipe($){let I=function(U){return new Promise((Y)=>{U.write($.toBuffer(),()=>{Y()})})};await Promise.all(this.pipes.map(I))},_writeToBuffers($){let I=0,U=$.length;while(I1)this._pipe(this.buffers.shift())}else if(!this.corked)await this._pipe(Y),U();else this._writeToBuffers(Y),process.nextTick(U);else{if(!this.paused)this.emit("data",Y.toBuffer());this._writeToBuffers(Y),this.emit("readable")}return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)while(this.buffers.length)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end($,I,U){let Y=(J)=>{if(J)U(J);else this._flush(),this.pipes.forEach((Q)=>{Q.end()}),this.emit("finish")};if($)this.write($,I,Y);else Y()},read($){let I;if($){I=[];while($&&this.buffers.length&&!this.buffers[0].eod){let U=this.buffers[0],Y=U.read($);if($-=Y.length,I.push(Y),U.eod&&U.full)this.buffers.shift()}return Buffer.concat(I)}return I=this.buffers.map((U)=>U.toBuffer()).filter(Boolean),this.buffers=[],Buffer.concat(I)},setEncoding($){this.encoding=$},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe($){if(this.pipes.push($),!this.paused&&this.buffers.length)this.end()},unpipe($){this.pipes=this.pipes.filter((I)=>I!==$)},unshift(){throw Error("Not Implemented")},wrap(){throw Error("Not Implemented")}});is.exports=bs});var cs=O((cu0)=>{var ns=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:ps}=r("buffer");function pu0($){if(typeof $!=="string")return $;if(ns)return ps.from(ns.encode($).buffer);return ps.from($)}cu0.stringToBuffer=pu0});var ls=O((ZA1,ms)=>{var mu0=r("events"),lu0=NR(),ou0=qK(),{stringToBuffer:VA1}=cs();class ds extends mu0.EventEmitter{constructor($){super();this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},$),this.zip=new lu0,this.stream=new ou0}append($,I){if(I.hasOwnProperty("base64")&&I.base64)this.zip.file(I.name,$,{base64:!0});else this.zip.file(I.name,$)}async finalize(){let $=await this.zip.generateAsync(this.options);this.stream.end($),this.emit("finish")}read($){return this.stream.read($)}setEncoding($){return this.stream.setEncoding($)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe($,I){return this.stream.pipe($,I)}unpipe($){return this.stream.unpipe($)}unshift($){return this.stream.unshift($)}wrap($){return this.stream.wrap($)}}ms.exports={ZipWriter:ds}});var $6=O((zA1,ts)=>{var ru0=z4(),os=L6();function rs($,I,U){$.push(` ${I}="${os.xmlEncode(U.toString())}"`)}function mR($,I){if(I){let U=[];ru0.each(I,(Y,J)=>{if(Y!==void 0)rs(U,J,Y)}),$.push(U.join(""))}}class lR{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml($){let I=this._xml;I.push(" -`)}openNode($,I){let U=this.tos,Y=this._xml;if(U&&this.open)Y.push(">");this._stack.push($),Y.push("<"),Y.push($),mR(Y,I),this.leaf=!0,this.open=!0}addAttribute($,I){if(!this.open)throw Error("Cannot write attributes to node if it is not open");if(I!==void 0)rs(this._xml,$,I)}addAttributes($){if(!this.open)throw Error("Cannot write attributes to node if it is not open");mR(this._xml,$)}writeText($){let I=this._xml;if(this.open)I.push(">"),this.open=!1;this.leaf=!1,I.push(os.xmlEncode($.toString()))}writeXml($){if(this.open)this._xml.push(">"),this.open=!1;this.leaf=!1,this._xml.push($)}closeNode(){let $=this._stack.pop(),I=this._xml;if(this.leaf)I.push("/>");else I.push("");this.open=!1,this.leaf=!1}leafNode($,I,U){if(this.openNode($,I),U!==void 0)this.writeText(U);this.closeNode()}closeAll(){while(this._stack.length)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let $=this._rollbacks.pop();if(this._xml.length>$.xml)this._xml.splice($.xml,this._xml.length-$.xml);if(this._stack.length>$.stack)this._stack.splice($.stack,this._stack.length-$.stack);this.leaf=$.leaf,this.open=$.open}get xml(){return this.closeAll(),this._xml.join("")}}lR.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"};ts.exports=lR});var oR=O((au0)=>{var as=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function tu0($){if(typeof $==="string")return $;if(as)return as.decode($);return $.toString()}au0.bufferToString=tu0});var Ue=O((es)=>{Object.defineProperty(es,"__esModule",{value:!0});es.CHAR=` -\r -퟿-�\uD800\uDC00-\uDBFF\uDFFF`;es.S=` \r -`;es.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";es.NAME_CHAR="-"+es.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";es.CHAR_RE=new RegExp("^["+es.CHAR+"]$","u");es.S_RE=new RegExp("^["+es.S+"]+$","u");es.NAME_START_CHAR_RE=new RegExp("^["+es.NAME_START_CHAR+"]$","u");es.NAME_CHAR_RE=new RegExp("^["+es.NAME_CHAR+"]$","u");es.NAME_RE=new RegExp("^["+es.NAME_START_CHAR+"]["+es.NAME_CHAR+"]*$","u");es.NMTOKEN_RE=new RegExp("^["+es.NAME_CHAR+"]+$","u");var rR=9,tR=10,aR=13,sR=32;es.S_LIST=[sR,tR,aR,rR];function eu0($){return $>=sR&&$<=55295||$===tR||$===aR||$===rR||$>=57344&&$<=65533||$>=65536&&$<=1114111}es.isChar=eu0;function $f0($){return $===sR||$===tR||$===aR||$===rR}es.isS=$f0;function ss($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}es.isNameStartChar=ss;function If0($){return ss($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}es.isNameChar=If0});var Ze=O((Ge)=>{Object.defineProperty(Ge,"__esModule",{value:!0});Ge.CHAR="\x01-퟿-�\uD800\uDC00-\uDBFF\uDFFF";Ge.RESTRICTED_CHAR="\x01-\b\v\f\x0E-\x1F-„†-Ÿ";Ge.S=` \r -`;Ge.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";Ge.NAME_CHAR="-"+Ge.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";Ge.CHAR_RE=new RegExp("^["+Ge.CHAR+"]$","u");Ge.RESTRICTED_CHAR_RE=new RegExp("^["+Ge.RESTRICTED_CHAR+"]$","u");Ge.S_RE=new RegExp("^["+Ge.S+"]+$","u");Ge.NAME_START_CHAR_RE=new RegExp("^["+Ge.NAME_START_CHAR+"]$","u");Ge.NAME_CHAR_RE=new RegExp("^["+Ge.NAME_CHAR+"]$","u");Ge.NAME_RE=new RegExp("^["+Ge.NAME_START_CHAR+"]["+Ge.NAME_CHAR+"]*$","u");Ge.NMTOKEN_RE=new RegExp("^["+Ge.NAME_CHAR+"]+$","u");var Ye=9,Je=10,Qe=13,Ke=32;Ge.S_LIST=[Ke,Je,Qe,Ye];function zf0($){return $>=1&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}Ge.isChar=zf0;function Xf0($){return $>=1&&$<=8||$===11||$===12||$>=14&&$<=31||$>=127&&$<=132||$>=134&&$<=159}Ge.isRestrictedChar=Xf0;function wf0($){return $===9||$===10||$===13||$>31&&$<127||$===133||$>159&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}Ge.isCharAndNotRestricted=wf0;function Lf0($){return $===Ke||$===Je||$===Qe||$===Ye}Ge.isS=Lf0;function qe($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}Ge.isNameStartChar=qe;function Df0($){return qe($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}Ge.isNameChar=Df0});var we=O((Xe)=>{Object.defineProperty(Xe,"__esModule",{value:!0});Xe.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";Xe.NC_NAME_CHAR="-"+Xe.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";Xe.NC_NAME_START_CHAR_RE=new RegExp("^["+Xe.NC_NAME_START_CHAR+"]$","u");Xe.NC_NAME_CHAR_RE=new RegExp("^["+Xe.NC_NAME_CHAR+"]$","u");Xe.NC_NAME_RE=new RegExp("^["+Xe.NC_NAME_START_CHAR+"]["+Xe.NC_NAME_CHAR+"]*$","u");function ze($){return $>=65&&$<=90||$===95||$>=97&&$<=122||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8204&&$<=8205||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}Xe.isNCNameStartChar=ze;function Sf0($){return ze($)||($===45||$===46||$>=48&&$<=57||$===183||$>=768&&$<=879||$>=8255&&$<=8256)}Xe.isNCNameChar=Sf0});var ke=O((xe)=>{Object.defineProperty(xe,"__esModule",{value:!0});var tU=Ue(),uf0=Ze(),Zv=we(),p6=tU.isS,ff0=tU.isChar,GK=tU.isNameStartChar,Le=tU.isNameChar,je=tU.S_LIST,bf0=tU.NAME_RE,if0=uf0.isChar,nf0=Zv.isNCNameStartChar,pf0=Zv.isNCNameChar,cf0=Zv.NC_NAME_RE,Qz="http://www.w3.org/XML/1998/namespace",rU="http://www.w3.org/2000/xmlns/",df0={__proto__:null,xml:Qz,xmlns:rU},mf0={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},J4=-1,R8=-2,De=0,lf0=1,$v=2,of0=3,mU=4,rf0=5,tf0=6,af0=7,Iv=8,sf0=9,ef0=10,$b0=11,Ib0=12,v6=13,$z=14,Uv=15,Ub0=16,Yv=17,Yb0=18,Jb0=19,Jv=20,Qb0=21,Kb0=22,qb0=23,Oe=24,Qv=25,Iz=26,Ne=27,Gb0=28,Hb0=29,Fe=30,Wb0=31,Vb0=32,I3=33,Zb0=34,Kv=35,HK=36,qv=37,zb0=38,Me=39,Ae=40,Xb0=41,Pe=42,wb0=43,Lb0=44,Gv=9,s$=10,Hv=13,Te=32,Ee=33,_e=34,WK=38,Se=39,Uz=45,Yz=47,Db0=59,j9=60,lU=61,g4=62,I6=63,ge=91,oU=93,Be=133,Re=8232,Jz=($)=>$===_e||$===Se,ye=[_e,Se],Ob0=[...ye,ge,g4],Nb0=[...ye,j9,oU],Fb0=[lU,I6,...je],Mb0=[...je,g4,WK,j9];function Vv($,I,U){switch(I){case"xml":if(U!==Qz)$.fail(`xml prefix must be bound to ${Qz}.`);break;case"xmlns":if(U!==rU)$.fail(`xmlns prefix must be bound to ${rU}.`);break;default:}switch(U){case rU:$.fail(I===""?`the default namespace may not be set to ${U}.`:`may not assign a prefix (even "xmlns") to the URI ${rU}.`);break;case Qz:switch(I){case"xml":break;case"":$.fail(`the default namespace may not be set to ${U}.`);break;default:$.fail("may not assign the xml namespace to another prefix.")}break;default:}}function Ab0($,I){for(let U of Object.keys(I))Vv($,U,I[U])}var Pb0=($)=>cf0.test($),Tb0=($)=>bf0.test($),U3=0,ve=1,Wv=2;xe.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var Ce={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class he{constructor($){this.opt=$!==null&&$!==void 0?$:{},this.fragmentOpt=!!this.opt.fragment;let I=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,I){this.nameStartCheck=nf0,this.nameCheck=pf0,this.isName=Pb0,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},df0);let U=this.opt.additionalNamespaces;if(U!=null)Ab0(this,U),Object.assign(this.ns,U)}else this.nameStartCheck=GK,this.nameCheck=Le,this.isName=Tb0,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var $;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=U3,this.attribList=[];let{fragmentOpt:I}=this;this.state=I?v6:De,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=I,this.xmlDeclPossible=!I,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:U}=this.opt;if(U===void 0){if(this.opt.forceXMLVersion===!0)throw Error("forceXMLVersion set but defaultXMLVersion is not set");U="1.0"}this.setXMLVersion(U),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(mf0),($=this.readyHandler)===null||$===void 0||$.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on($,I){this[Ce[$]]=I}off($){this[Ce[$]]=void 0}makeError($){var I;let U=(I=this.fileName)!==null&&I!==void 0?I:"";if(this.trackPosition){if(U.length>0)U+=":";U+=`${this.line}:${this.column}`}if(U.length>0)U+=": ";return Error(U+$)}fail($){let I=this.makeError($),U=this.errorHandler;if(U===void 0)throw I;else U(I);return this}write($){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let I=!1;if($===null)I=!0,$="";else if(typeof $==="object")$=$.toString();if(this.carriedFromPrevious!==void 0)$=`${this.carriedFromPrevious}${$}`,this.carriedFromPrevious=void 0;let U=$.length,Y=$.charCodeAt(U-1);if(!I&&(Y===Hv||Y>=55296&&Y<=56319))this.carriedFromPrevious=$[U-1],U--,$=$.slice(0,U);let{stateTable:J}=this;this.chunk=$,this.i=0;while(this.i=$.length)return J4;let U=$.charCodeAt(I);if(this.column++,U<55296){if(U>=Te||U===Gv)return U;switch(U){case s$:return this.line++,this.column=0,this.positionAtNewLine=this.position,s$;case Hv:if($.charCodeAt(I+1)===s$)this.i=I+2;return this.line++,this.column=0,this.positionAtNewLine=this.position,R8;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let Y=65536+(U-55296)*1024+($.charCodeAt(I+1)-56320);if(this.i=I+2,Y>1114111)this.fail("disallowed character.");return Y}getCode11(){let{chunk:$,i:I}=this;if(this.prevI=I,this.i=I+1,I>=$.length)return J4;let U=$.charCodeAt(I);if(this.column++,U<55296){if(U>31&&U<127||U>159&&U!==Re||U===Gv)return U;switch(U){case s$:return this.line++,this.column=0,this.positionAtNewLine=this.position,s$;case Hv:{let J=$.charCodeAt(I+1);if(J===s$||J===Be)this.i=I+2}case Be:case Re:return this.line++,this.column=0,this.positionAtNewLine=this.position,R8;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let Y=65536+(U-55296)*1024+($.charCodeAt(I+1)-56320);if(this.i=I+2,Y>1114111)this.fail("disallowed character.");return Y}getCodeNorm(){let $=this.getCode();return $===R8?s$:$}unget(){this.i=this.prevI,this.column--}captureTo($){let{i:I}=this,{chunk:U}=this;while(!0){let Y=this.getCode(),J=Y===R8,Q=J?s$:Y;if(Q===J4||$.includes(Q))return this.text+=U.slice(I,this.prevI),Q;if(J)this.text+=`${U.slice(I,this.prevI)} -`,I=this.i}}captureToChar($){let{i:I}=this,{chunk:U}=this;while(!0){let Y=this.getCode();switch(Y){case R8:this.text+=`${U.slice(I,this.prevI)} -`,I=this.i,Y=s$;break;case J4:return this.text+=U.slice(I),!1;default:}if(Y===$)return this.text+=U.slice(I,this.prevI),!0}}captureNameChars(){let{chunk:$,i:I}=this;while(!0){let U=this.getCode();if(U===J4)return this.name+=$.slice(I),J4;if(!Le(U))return this.name+=$.slice(I,this.prevI),U===R8?s$:U}}skipSpaces(){while(!0){let $=this.getCodeNorm();if($===J4||!p6($))return $}}setXMLVersion($){if(this.currentXMLVersion=$,$==="1.0")this.isChar=ff0,this.getCode=this.getCode10;else this.isChar=if0,this.getCode=this.getCode11}sBegin(){if(this.chunk.charCodeAt(0)===65279)this.i++,this.column++;this.state=lf0}sBeginWhitespace(){let $=this.i,I=this.skipSpaces();if(this.prevI!==$)this.xmlDeclPossible=!1;switch(I){case j9:if(this.state=Uv,this.text.length!==0)throw Error("no-empty text at start");break;case J4:break;default:this.unget(),this.state=v6,this.xmlDeclPossible=!1}}sDoctype(){var $;let I=this.captureTo(Ob0);switch(I){case g4:{($=this.doctypeHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=v6,this.doctype=!0;break}case J4:break;default:if(this.text+=String.fromCodePoint(I),I===ge)this.state=mU;else if(Jz(I))this.state=of0,this.q=I}}sDoctypeQuote(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.q=null,this.state=$v}sDTD(){let $=this.captureTo(Nb0);if($===J4)return;if(this.text+=String.fromCodePoint($),$===oU)this.state=$v;else if($===j9)this.state=tf0;else if(Jz($))this.state=rf0,this.q=$}sDTDQuoted(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.state=mU,this.q=null}sDTDOpenWaka(){let $=this.getCodeNorm();switch(this.text+=String.fromCodePoint($),$){case Ee:this.state=af0,this.openWakaBang="";break;case I6:this.state=$b0;break;default:this.state=mU}}sDTDOpenWakaBang(){let $=String.fromCodePoint(this.getCodeNorm()),I=this.openWakaBang+=$;if(this.text+=$,I!=="-")this.state=I==="--"?Iv:mU,this.openWakaBang=""}sDTDComment(){if(this.captureToChar(Uz))this.text+="-",this.state=sf0}sDTDCommentEnding(){let $=this.getCodeNorm();this.text+=String.fromCodePoint($),this.state=$===Uz?ef0:Iv}sDTDCommentEnded(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===g4)this.state=mU;else this.fail("malformed comment."),this.state=Iv}sDTDPI(){if(this.captureToChar(I6))this.text+="?",this.state=Ib0}sDTDPIEnding(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===g4)this.state=mU}sText(){if(this.tags.length!==0)this.handleTextInRoot();else this.handleTextOutsideRoot()}sEntity(){let{i:$}=this,{chunk:I}=this;$:while(!0)switch(this.getCode()){case R8:this.entity+=`${I.slice($,this.prevI)} -`,$=this.i;break;case Db0:{let{entityReturnState:U}=this,Y=this.entity+I.slice($,this.prevI);this.state=U;let J;if(Y==="")this.fail("empty entity name."),J="&;";else J=this.parseEntity(Y),this.entity="";if(U!==v6||this.textHandler!==void 0)this.text+=J;break $}case J4:this.entity+=I.slice($);break $;default:}}sOpenWaka(){let $=this.getCode();if(GK($))this.state=Zb0,this.unget(),this.xmlDeclPossible=!1;else switch($){case Yz:this.state=wb0,this.xmlDeclPossible=!1;break;case Ee:this.state=Ub0,this.openWakaBang="",this.xmlDeclPossible=!1;break;case I6:this.state=qb0;break;default:this.fail("disallowed character in tag name"),this.state=v6,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0;this.state=Jv,this.openWakaBang="";break;case"--":this.state=Yv,this.openWakaBang="";break;case"DOCTYPE":if(this.state=$v,this.doctype||this.sawRoot)this.fail("inappropriately located doctype declaration.");this.openWakaBang="";break;default:if(this.openWakaBang.length>=7)this.fail("incorrect syntax.")}}sComment(){if(this.captureToChar(Uz))this.state=Yb0}sCommentEnding(){var $;let I=this.getCodeNorm();if(I===Uz)this.state=Jb0,($=this.commentHandler)===null||$===void 0||$.call(this,this.text),this.text="";else this.text+=`-${String.fromCodePoint(I)}`,this.state=Yv}sCommentEnded(){let $=this.getCodeNorm();if($!==g4)this.fail("malformed comment."),this.text+=`--${String.fromCodePoint($)}`,this.state=Yv;else this.state=v6}sCData(){if(this.captureToChar(oU))this.state=Qb0}sCDataEnding(){let $=this.getCodeNorm();if($===oU)this.state=Kb0;else this.text+=`]${String.fromCodePoint($)}`,this.state=Jv}sCDataEnding2(){var $;let I=this.getCodeNorm();switch(I){case g4:{($=this.cdataHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=v6;break}case oU:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(I)}`,this.state=Jv}}sPIFirstChar(){let $=this.getCodeNorm();if(this.nameStartCheck($))this.piTarget+=String.fromCodePoint($),this.state=Oe;else if($===I6||p6($))this.fail("processing instruction without a target."),this.state=$===I6?Iz:Qv;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint($),this.state=Oe}sPIRest(){let{chunk:$,i:I}=this;while(!0){let U=this.getCodeNorm();if(U===J4){this.piTarget+=$.slice(I);return}if(!this.nameCheck(U)){this.piTarget+=$.slice(I,this.prevI);let Y=U===I6;if(Y||p6(U))if(this.piTarget==="xml"){if(!this.xmlDeclPossible)this.fail("an XML declaration must be at the start of the document.");this.state=Y?I3:Ne}else this.state=Y?Iz:Qv;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(U);break}}}sPIBody(){if(this.text.length===0){let $=this.getCodeNorm();if($===I6)this.state=Iz;else if(!p6($))this.text=String.fromCodePoint($)}else if(this.captureToChar(I6))this.state=Iz}sPIEnding(){var $;let I=this.getCodeNorm();if(I===g4){let{piTarget:U}=this;if(U.toLowerCase()==="xml")this.fail("the XML declaration must appear at the start of the document.");($=this.piHandler)===null||$===void 0||$.call(this,{target:U,body:this.text}),this.piTarget=this.text="",this.state=v6}else if(I===I6)this.text+="?";else this.text+=`?${String.fromCodePoint(I)}`,this.state=Qv;this.xmlDeclPossible=!1}sXMLDeclNameStart(){let $=this.skipSpaces();if($===I6){this.state=I3;return}if($!==J4)this.state=Gb0,this.name=String.fromCodePoint($)}sXMLDeclName(){let $=this.captureTo(Fb0);if($===I6){this.state=I3,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(!(p6($)||$===lU))return;if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=$===lU?Fe:Hb0}sXMLDeclEq(){let $=this.getCodeNorm();if($===I6){this.state=I3,this.fail("XML declaration is incomplete.");return}if(p6($))return;if($!==lU)this.fail("value required.");this.state=Fe}sXMLDeclValueStart(){let $=this.getCodeNorm();if($===I6){this.state=I3,this.fail("XML declaration is incomplete.");return}if(p6($))return;if(!Jz($))this.fail("value must be quoted."),this.q=Te;else this.q=$;this.state=Wb0}sXMLDeclValue(){let $=this.captureTo([this.q,I6]);if($===I6){this.state=I3,this.text="",this.fail("XML declaration is incomplete.");return}if($===J4)return;let I=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let U=I;if(this.xmlDecl.version=U,!/^1\.[0-9]+$/.test(U))this.fail("version number must match /^1\\.[0-9]+$/.");else if(!this.opt.forceXMLVersion)this.setXMLVersion(U);break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(I))this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=I;break;case"standalone":if(I!=="yes"&&I!=="no")this.fail('standalone value must match "yes" or "no".');this.xmlDeclExpects=[],this.xmlDecl.standalone=I;break;default:}this.name="",this.state=Vb0}sXMLDeclSeparator(){let $=this.getCodeNorm();if($===I6){this.state=I3;return}if(!p6($))this.fail("whitespace required."),this.unget();this.state=Ne}sXMLDeclEnding(){var $;if(this.getCodeNorm()===g4){if(this.piTarget!=="xml")this.fail("processing instructions are not allowed before root.");else if(this.name!=="version"&&this.xmlDeclExpects.includes("version"))this.fail("XML declaration must contain a version.");($=this.xmldeclHandler)===null||$===void 0||$.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=v6}else this.fail("The character ? is disallowed anywhere in XML declarations.");this.xmlDeclPossible=!1}sOpenTag(){var $;let I=this.captureNameChars();if(I===J4)return;let U=this.tag={name:this.name,attributes:Object.create(null)};if(this.name="",this.xmlnsOpt)this.topNS=U.ns=Object.create(null);if(($=this.openTagStartHandler)===null||$===void 0||$.call(this,U),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot)this.fail("documents may contain only one root.");switch(I){case g4:this.openTag();break;case Yz:this.state=Kv;break;default:if(!p6(I))this.fail("disallowed character in tag name.");this.state=HK}}sOpenTagSlash(){if(this.getCode()===g4)this.openSelfClosingTag();else this.fail("forward-slash in opening tag not followed by >."),this.state=HK}sAttrib(){let $=this.skipSpaces();if($===J4)return;if(GK($))this.unget(),this.state=qv;else if($===g4)this.openTag();else if($===Yz)this.state=Kv;else this.fail("disallowed character in attribute name.")}sAttribName(){let $=this.captureNameChars();if($===lU)this.state=Me;else if(p6($))this.state=zb0;else if($===g4)this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag();else if($!==J4)this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let $=this.skipSpaces();switch($){case J4:return;case lU:this.state=Me;break;default:if(this.fail("attribute without value."),this.text="",this.name="",$===g4)this.openTag();else if(GK($))this.unget(),this.state=qv;else this.fail("disallowed character in attribute name."),this.state=HK}}sAttribValue(){let $=this.getCodeNorm();if(Jz($))this.q=$,this.state=Ae;else if(!p6($))this.fail("unquoted attribute value."),this.state=Pe,this.unget()}sAttribValueQuoted(){let{q:$,chunk:I}=this,{i:U}=this;while(!0)switch(this.getCode()){case $:this.pushAttrib(this.name,this.text+I.slice(U,this.prevI)),this.name=this.text="",this.q=null,this.state=Xb0;return;case WK:this.text+=I.slice(U,this.prevI),this.state=$z,this.entityReturnState=Ae;return;case s$:case R8:case Gv:this.text+=`${I.slice(U,this.prevI)} `,U=this.i;break;case j9:this.text+=I.slice(U,this.prevI),this.fail("disallowed character.");return;case J4:this.text+=I.slice(U);return;default:}}sAttribValueClosed(){let $=this.getCodeNorm();if(p6($))this.state=HK;else if($===g4)this.openTag();else if($===Yz)this.state=Kv;else if(GK($))this.fail("no whitespace between attributes."),this.unget(),this.state=qv;else this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let $=this.captureTo(Mb0);switch($){case WK:this.state=$z,this.entityReturnState=Pe;break;case j9:this.fail("disallowed character.");break;case J4:break;default:if(this.text.includes("]]>"))this.fail('the string "]]>" is disallowed in char data.');if(this.pushAttrib(this.name,this.text),this.name=this.text="",$===g4)this.openTag();else this.state=HK}}sCloseTag(){let $=this.captureNameChars();if($===g4)this.closeTag();else if(p6($))this.state=Lb0;else if($!==J4)this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case g4:this.closeTag();break;case J4:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:$,forbiddenState:I}=this,{chunk:U,textHandler:Y}=this;$:while(!0)switch(this.getCode()){case j9:{if(this.state=Uv,Y!==void 0){let{text:J}=this,Q=U.slice($,this.prevI);if(J.length!==0)Y(J+Q),this.text="";else if(Q.length!==0)Y(Q)}I=U3;break $}case WK:if(this.state=$z,this.entityReturnState=v6,Y!==void 0)this.text+=U.slice($,this.prevI);I=U3;break $;case oU:switch(I){case U3:I=ve;break;case ve:I=Wv;break;case Wv:break;default:throw Error("impossible state")}break;case g4:if(I===Wv)this.fail('the string "]]>" is disallowed in char data.');I=U3;break;case R8:if(Y!==void 0)this.text+=`${U.slice($,this.prevI)} -`;$=this.i,I=U3;break;case J4:if(Y!==void 0)this.text+=U.slice($);break $;default:I=U3}this.forbiddenState=I}handleTextOutsideRoot(){let{i:$}=this,{chunk:I,textHandler:U}=this,Y=!1;$:while(!0){let J=this.getCode();switch(J){case j9:{if(this.state=Uv,U!==void 0){let{text:Q}=this,K=I.slice($,this.prevI);if(Q.length!==0)U(Q+K),this.text="";else if(K.length!==0)U(K)}break $}case WK:if(this.state=$z,this.entityReturnState=v6,U!==void 0)this.text+=I.slice($,this.prevI);Y=!0;break $;case R8:if(U!==void 0)this.text+=`${I.slice($,this.prevI)} -`;$=this.i;break;case J4:if(U!==void 0)this.text+=I.slice($);break $;default:if(!p6(J))Y=!0}}if(!Y)return;if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0}pushAttribNS($,I){var U;let{prefix:Y,local:J}=this.qname($),Q={name:$,prefix:Y,local:J,value:I};if(this.attribList.push(Q),(U=this.attributeHandler)===null||U===void 0||U.call(this,Q),Y==="xmlns"){let K=I.trim();if(this.currentXMLVersion==="1.0"&&K==="")this.fail("invalid attempt to undefine prefix in XML 1.0");this.topNS[J]=K,Vv(this,J,K)}else if($==="xmlns"){let K=I.trim();this.topNS[""]=K,Vv(this,"",K)}}pushAttribPlain($,I){var U;let Y={name:$,value:I};this.attribList.push(Y),(U=this.attributeHandler)===null||U===void 0||U.call(this,Y)}end(){var $,I;if(!this.sawRoot)this.fail("document must contain a root element.");let{tags:U}=this;while(U.length>0){let J=U.pop();this.fail(`unclosed tag: ${J.name}`)}if(this.state!==De&&this.state!==v6)this.fail("unexpected end.");let{text:Y}=this;if(Y.length!==0)($=this.textHandler)===null||$===void 0||$.call(this,Y),this.text="";return this._closed=!0,(I=this.endHandler)===null||I===void 0||I.call(this),this._init(),this}resolve($){var I,U;let Y=this.topNS[$];if(Y!==void 0)return Y;let{tags:J}=this;for(let Q=J.length-1;Q>=0;Q--)if(Y=J[Q].ns[$],Y!==void 0)return Y;if(Y=this.ns[$],Y!==void 0)return Y;return(U=(I=this.opt).resolvePrefix)===null||U===void 0?void 0:U.call(I,$)}qname($){let I=$.indexOf(":");if(I===-1)return{prefix:"",local:$};let U=$.slice(I+1),Y=$.slice(0,I);if(Y===""||U===""||U.includes(":"))this.fail(`malformed name: ${$}.`);return{prefix:Y,local:U}}processAttribsNS(){var $;let{attribList:I}=this,U=this.tag;{let{prefix:Q,local:K}=this.qname(U.name);U.prefix=Q,U.local=K;let q=U.uri=($=this.resolve(Q))!==null&&$!==void 0?$:"";if(Q!==""){if(Q==="xmlns")this.fail('tags may not have "xmlns" as prefix.');if(q==="")this.fail(`unbound namespace prefix: ${JSON.stringify(Q)}.`),U.uri=Q}}if(I.length===0)return;let{attributes:Y}=U,J=new Set;for(let Q of I){let{name:K,prefix:q,local:G}=Q,H,W;if(q==="")H=K==="xmlns"?rU:"",W=K;else{if(H=this.resolve(q),H===void 0)this.fail(`unbound namespace prefix: ${JSON.stringify(q)}.`),H=q;W=`{${H}}${G}`}if(J.has(W))this.fail(`duplicate attribute: ${W}.`);J.add(W),Q.uri=H,Y[K]=Q}this.attribList=[]}processAttribsPlain(){let{attribList:$}=this,I=this.tag.attributes;for(let{name:U,value:Y}of $){if(I[U]!==void 0)this.fail(`duplicate attribute: ${U}.`);I[U]=Y}this.attribList=[]}openTag(){var $;this.processAttribs();let{tags:I}=this,U=this.tag;U.isSelfClosing=!1,($=this.openTagHandler)===null||$===void 0||$.call(this,U),I.push(U),this.state=v6,this.name=""}openSelfClosingTag(){var $,I,U;this.processAttribs();let{tags:Y}=this,J=this.tag;if(J.isSelfClosing=!0,($=this.openTagHandler)===null||$===void 0||$.call(this,J),(I=this.closeTagHandler)===null||I===void 0||I.call(this,J),(this.tag=(U=Y[Y.length-1])!==null&&U!==void 0?U:null)===null)this.closedRoot=!0;this.state=v6,this.name=""}closeTag(){let{tags:$,name:I}=this;if(this.state=v6,this.name="",I===""){this.fail("weird empty close tag."),this.text+="";return}let U=this.closeTagHandler,Y=$.length;while(Y-- >0){let J=this.tag=$.pop();if(this.topNS=J.ns,U===null||U===void 0||U(J),J.name===I)break;this.fail("unexpected close tag.")}if(Y===0)this.closedRoot=!0;else if(Y<0)this.fail(`unmatched closing tag: ${I}.`),this.text+=``}parseEntity($){if($[0]!=="#"){let U=this.ENTITIES[$];if(U!==void 0)return U;return this.fail(this.isName($)?"undefined entity.":"disallowed character in entity name."),`&${$};`}let I=NaN;if($[1]==="x"&&/^#x[0-9a-f]+$/i.test($))I=parseInt($.slice(2),16);else if(/^#[0-9]+$/.test($))I=parseInt($.slice(1),10);if(!this.isChar(I))return this.fail("malformed character entity."),`&${$};`;return String.fromCodePoint(I)}}xe.SaxesParser=he});var VK=O((NA1,ue)=>{var{SaxesParser:Rb0}=ke(),{PassThrough:vb0}=w6(),{bufferToString:Cb0}=oR();ue.exports=async function*($){if($.pipe&&!$[Symbol.asyncIterator])$=$.pipe(new vb0);let I=new Rb0,U;I.on("error",(J)=>{U=J});let Y=[];I.on("opentag",(J)=>Y.push({eventType:"opentag",value:J})),I.on("text",(J)=>Y.push({eventType:"text",value:J})),I.on("closetag",(J)=>Y.push({eventType:"closetag",value:J}));for await(let J of $){if(I.write(Cb0(J)),U)throw U;yield Y,Y=[]}}});var X0=O((FA1,fe)=>{var jb0=VK(),_b0=$6();class aU{prepare(){}render(){}parseOpen($){}parseText($){}parseClose($){}reconcile($,I){}reset(){if(this.model=null,this.map)Object.values(this.map).forEach(($)=>{if($ instanceof aU)$.reset();else if($.xform)$.xform.reset()})}mergeModel($){this.model=Object.assign(this.model||{},$)}async parse($){for await(let I of $)for(let{eventType:U,value:Y}of I)if(U==="opentag")this.parseOpen(Y);else if(U==="text")this.parseText(Y);else if(U==="closetag"){if(!this.parseClose(Y.name))return this.model}return this.model}async parseStream($){return this.parse(jb0($))}get xml(){return this.toXml(this.model)}toXml($){let I=new _b0;return this.render(I,$),I.xml}static toAttribute($,I,U=!1){if($===void 0){if(U)return I}else if(U||$!==I)return $.toString();return}static toStringAttribute($,I,U=!1){return aU.toAttribute($,I,U)}static toStringValue($,I){return $===void 0?I:$}static toBoolAttribute($,I,U=!1){if($===void 0){if(U)return I}else if(U||$!==I)return $?"1":"0";return}static toBoolValue($,I){return $===void 0?I:$==="1"}static toIntAttribute($,I,U=!1){return aU.toAttribute($,I,U)}static toIntValue($,I){return $===void 0?I:parseInt($,10)}static toFloatAttribute($,I,U=!1){return aU.toAttribute($,I,U)}static toFloatValue($,I){return $===void 0?I:parseFloat($)}}fe.exports=aU});var sU=O((MA1,ne)=>{var Sb0=X0(),gb0=$6();function be($,I){if($.openNode(I.tag,I.$),I.c)I.c.forEach((U)=>{be($,U)});if(I.t)$.writeText(I.t);$.closeNode()}class ie extends Sb0{constructor($){super();this._model=$}render($){if(!this._xml){let I=new gb0;be(I,this._model),this._xml=I.xml}$.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose($){switch($){case this._model.tag:return!1;default:return!0}}}ne.exports=ie});var _9=O((AA1,ce)=>{var yb0=X0();class pe extends yb0{constructor($){super();this.tag=$.tag,this.always=!!$.always,this.count=$.count,this.empty=$.empty,this.$count=$.$count||"count",this.$=$.$,this.childXform=$.childXform,this.maxItems=$.maxItems}prepare($,I){let{childXform:U}=this;if($)$.forEach((Y,J)=>{I.index=J,U.prepare(Y,I)})}render($,I){if(this.always||I&&I.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,I&&I.length||0);let{childXform:U}=this;(I||[]).forEach((Y,J)=>{U.render($,Y,J)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model=[],!0;default:if(this.childXform.parseOpen($))return this.parser=this.childXform,!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems)throw Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`)}return!0}return!1}reconcile($,I){if($){let{childXform:U}=this;$.forEach((Y)=>{U.reconcile(Y,I)})}}}ce.exports=pe});var S9=O((PA1,me)=>{var hb0=X0();class de extends hb0{constructor($){super();this.name=$||"color"}get tag(){return this.name}render($,I){if(I){if($.openNode(this.name),I.argb)$.addAttribute("rgb",I.argb);else if(I.theme!==void 0){if($.addAttribute("theme",I.theme),I.tint!==void 0)$.addAttribute("tint",I.tint)}else if(I.indexed!==void 0)$.addAttribute("indexed",I.indexed);else $.addAttribute("auto","1");return $.closeNode(),!0}return!1}parseOpen($){if($.name===this.name){if($.attributes.rgb)this.model={argb:$.attributes.rgb};else if($.attributes.theme){if(this.model={theme:parseInt($.attributes.theme,10)},$.attributes.tint)this.model.tint=parseFloat($.attributes.tint)}else if($.attributes.indexed)this.model={indexed:parseInt($.attributes.indexed,10)};else this.model=void 0;return!0}return!1}parseText(){}parseClose(){return!1}}me.exports=de});var re=O((TA1,oe)=>{var xb0=X0();class le extends xb0{constructor($){super();this.tag=$.tag,this.attr=$.attr}render($,I){if(I)$.openNode(this.tag),$.closeNode()}parseOpen($){if($.name===this.tag)this.model=!0}parseText(){}parseClose(){return!1}}oe.exports=le});var Kz=O((EA1,ae)=>{var kb0=X0();class te extends kb0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this.zero=$.zero}render($,I){if(I||this.zero){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,I);else $.writeText(I);$.closeNode()}}parseOpen($){if($.name===this.tag){if(this.attr)this.model=parseInt($.attributes[this.attr],10);else this.text=[];return!0}return!1}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=parseInt(this.text.join("")||0,10);return!1}}ae.exports=te});var qz=O((BA1,ee)=>{var ub0=X0();class se extends ub0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs}render($,I){if(I!==void 0){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,I);else $.writeText(I);$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=$.attributes[this.attr];else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this.text.join("");return!1}}ee.exports=se});var I00=O((RA1,$00)=>{var fb0=X0();class Gz extends fb0{constructor($){super();this.model=$}get tag(){return"u"}render($,I){if(I=I||this.model,I===!0)$.leafNode("u");else{let U=Gz.Attributes[I];if(U)$.leafNode("u",U)}}parseOpen($){if($.name==="u")this.model=$.attributes.val||!0}parseText(){}parseClose(){return!1}}Gz.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}};$00.exports=Gz});var Wz=O((vA1,U00)=>{var bb0=S9(),Y3=re(),zv=Kz(),Xv=qz(),ib0=I00(),nb0=z4(),pb0=X0();class Hz extends pb0{constructor($){super();this.options=$||Hz.OPTIONS,this.map={b:{prop:"bold",xform:new Y3({tag:"b",attr:"val"})},i:{prop:"italic",xform:new Y3({tag:"i",attr:"val"})},u:{prop:"underline",xform:new ib0},charset:{prop:"charset",xform:new zv({tag:"charset",attr:"val"})},color:{prop:"color",xform:new bb0},condense:{prop:"condense",xform:new Y3({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new Y3({tag:"extend",attr:"val"})},family:{prop:"family",xform:new zv({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new Y3({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new Xv({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new Xv({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new Y3({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new Y3({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new zv({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new Xv({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render($,I){let{map:U}=this;$.openNode(this.options.tagName),nb0.each(this.map,(Y,J)=>{U[J].xform.render($,I[Y.prop])}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if(this.map[$.name])return this.parser=this.map[$.name].xform,this.parser.parseOpen($);switch($.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser&&!this.parser.parseClose($)){let I=this.map[$];if(this.parser.model)this.model[I.prop]=this.parser.model;return this.parser=void 0,!0}switch($){case this.options.tagName:return!1;default:return!0}}}Hz.OPTIONS={tagName:"font",fontNameTag:"name"};U00.exports=Hz});var Nv=O((CA1,Y00)=>{var Vz=X0(),wv=S9();class Lv extends Vz{constructor(){super();this.map={color:new wv}}get tag(){return"stop"}render($,I){$.openNode("stop"),$.addAttribute("position",I.position),this.map.color.render($,I.color),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"stop":return this.model={position:parseFloat($.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.color=this.parser.model,this.parser=void 0;return!0}return!1}}class Dv extends Vz{constructor(){super();this.map={fgColor:new wv("fgColor"),bgColor:new wv("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render($,I){if($.openNode("patternFill"),$.addAttribute("patternType",I.pattern),I.fgColor)this.map.fgColor.render($,I.fgColor);if(I.bgColor)this.map.bgColor.render($,I.bgColor);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"patternFill":return this.model={type:"pattern",pattern:$.attributes.patternType},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.parser.model)this.model[$]=this.parser.model;this.parser=void 0}return!0}return!1}}class Ov extends Vz{constructor(){super();this.map={stop:new Lv}}get name(){return"gradient"}get tag(){return"gradientFill"}render($,I){switch($.openNode("gradientFill"),I.gradient){case"angle":$.addAttribute("degree",I.degree);break;case"path":if($.addAttribute("type","path"),I.center.left){if($.addAttribute("left",I.center.left),I.center.right===void 0)$.addAttribute("right",I.center.left)}if(I.center.right)$.addAttribute("right",I.center.right);if(I.center.top){if($.addAttribute("top",I.center.top),I.center.bottom===void 0)$.addAttribute("bottom",I.center.top)}if(I.center.bottom)$.addAttribute("bottom",I.center.bottom);break;default:break}let U=this.map.stop;I.stops.forEach((Y)=>{U.render($,Y)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"gradientFill":{let I=this.model={stops:[]};if($.attributes.degree)I.gradient="angle",I.degree=parseInt($.attributes.degree,10);else if($.attributes.type==="path"){if(I.gradient="path",I.center={left:$.attributes.left?parseFloat($.attributes.left):0,top:$.attributes.top?parseFloat($.attributes.top):0},$.attributes.right!==$.attributes.left)I.center.right=$.attributes.right?parseFloat($.attributes.right):0;if($.attributes.bottom!==$.attributes.top)I.center.bottom=$.attributes.bottom?parseFloat($.attributes.bottom):0}return!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.stops.push(this.parser.model),this.parser=void 0;return!0}return!1}}class J3 extends Vz{constructor(){super();this.map={patternFill:new Dv,gradientFill:new Ov}}get tag(){return"fill"}render($,I){switch($.addRollback(),$.openNode("fill"),I.type){case"pattern":this.map.patternFill.render($,I);break;case"gradient":this.map.gradientFill.render($,I);break;default:$.rollback();return}$.closeNode(),$.commit()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"fill":return this.model={},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0;return!0}return!1}validStyle($){return J3.validPatternValues[$]}}J3.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(($,I)=>{return $[I]=!0,$},{});J3.StopXform=Lv;J3.PatternFillXform=Dv;J3.GradientFillXform=Ov;Y00.exports=J3});var Fv=O((jA1,q00)=>{var Q00=X0(),J00=L6(),cb0=S9();class g9 extends Q00{constructor($){super();this.name=$,this.map={color:new cb0}}get tag(){return this.name}render($,I,U){let Y=I&&I.color||U||this.defaultColor;if($.openNode(this.name),I&&I.style){if($.addAttribute("style",I.style),Y)this.map.color.render($,Y)}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.name:{let{style:I}=$.attributes;if(I)this.model={style:I};else this.model=void 0;return!0}case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.name){if(this.map.color.model){if(!this.model)this.model={};this.model.color=this.map.color.model}}return!1}validStyle($){return g9.validStyleValues[$]}}g9.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(($,I)=>{return $[I]=!0,$},{});class K00 extends Q00{constructor(){super();this.map={top:new g9("top"),left:new g9("left"),bottom:new g9("bottom"),right:new g9("right"),diagonal:new g9("diagonal")}}render($,I){let{color:U}=I;if($.openNode("border"),I.diagonal&&I.diagonal.style){if(I.diagonal.up)$.addAttribute("diagonalUp","1");if(I.diagonal.down)$.addAttribute("diagonalDown","1")}function Y(J,Q){if(J&&!J.color&&I.color)J={...J,color:I.color};Q.render($,J,U)}Y(I.left,this.map.left),Y(I.right,this.map.right),Y(I.top,this.map.top),Y(I.bottom,this.map.bottom),Y(I.diagonal,this.map.diagonal),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"border":return this.reset(),this.diagonalUp=J00.parseBoolean($.attributes.diagonalUp),this.diagonalDown=J00.parseBoolean($.attributes.diagonalDown),!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($==="border"){let I=this.model={},U=function(Y,J,Q){if(J){if(Q)Object.assign(J,Q);I[Y]=J}};U("left",this.map.left.model),U("right",this.map.right.model),U("top",this.map.top.model),U("bottom",this.map.bottom.model),U("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}q00.exports=K00});var H00=O((_A1,G00)=>{G00.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}});var Av=O((SA1,W00)=>{var db0=z4(),Mv=H00(),mb0=X0();function lb0(){let $={};return db0.each(Mv,(I,U)=>{if(I.f)$[I.f]=parseInt(U,10)}),$}var ob0=lb0();class Zz extends mb0{constructor($,I){super();this.id=$,this.formatCode=I}get tag(){return"numFmt"}render($,I){$.leafNode("numFmt",{numFmtId:I.id,formatCode:I.formatCode})}parseOpen($){switch($.name){case"numFmt":return this.model={id:parseInt($.attributes.numFmtId,10),formatCode:$.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}Zz.getDefaultFmtId=function(I){return ob0[I]};Zz.getDefaultFmtCode=function(I){return Mv[I]&&Mv[I].f};W00.exports=Zz});var Pv=O((gA1,X00)=>{var V00=l$(),ZK=L6(),rb0=X0(),Q3={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(($,I)=>{return $[I]=!0,$},{}),horizontal($){return this.horizontalValues[$]?$:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(($,I)=>{return $[I]=!0,$},{}),vertical($){if($==="middle")return"center";return this.verticalValues[$]?$:void 0},wrapText($){return $?!0:void 0},shrinkToFit($){return $?!0:void 0},textRotation($){switch($){case"vertical":return $;default:return $=ZK.validInt($),$>=-90&&$<=90?$:void 0}},indent($){return $=ZK.validInt($),Math.max(0,$)},readingOrder($){switch($){case"ltr":return V00.ReadingOrder.LeftToRight;case"rtl":return V00.ReadingOrder.RightToLeft;default:return}}},Z00={toXml($){if($=Q3.textRotation($),$){if($==="vertical")return 255;let I=Math.round($);if(I>=0&&I<=90)return I;if(I<0&&I>=-90)return 90-I}return},toModel($){let I=ZK.validInt($);if(I!==void 0){if(I===255)return"vertical";if(I>=0&&I<=90)return I;if(I>90&&I<=180)return 90-I}return}};class z00 extends rb0{get tag(){return"alignment"}render($,I){$.addRollback(),$.openNode("alignment");let U=!1;function Y(J,Q){if(Q)$.addAttribute(J,Q),U=!0}if(Y("horizontal",Q3.horizontal(I.horizontal)),Y("vertical",Q3.vertical(I.vertical)),Y("wrapText",Q3.wrapText(I.wrapText)?"1":!1),Y("shrinkToFit",Q3.shrinkToFit(I.shrinkToFit)?"1":!1),Y("indent",Q3.indent(I.indent)),Y("textRotation",Z00.toXml(I.textRotation)),Y("readingOrder",Q3.readingOrder(I.readingOrder)),$.closeNode(),U)$.commit();else $.rollback()}parseOpen($){let I={},U=!1;function Y(J,Q,K){if(J)I[Q]=K,U=!0}Y($.attributes.horizontal,"horizontal",$.attributes.horizontal),Y($.attributes.vertical,"vertical",$.attributes.vertical==="center"?"middle":$.attributes.vertical),Y($.attributes.wrapText,"wrapText",ZK.parseBoolean($.attributes.wrapText)),Y($.attributes.shrinkToFit,"shrinkToFit",ZK.parseBoolean($.attributes.shrinkToFit)),Y($.attributes.indent,"indent",parseInt($.attributes.indent,10)),Y($.attributes.textRotation,"textRotation",Z00.toModel($.attributes.textRotation)),Y($.attributes.readingOrder,"readingOrder",$.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=U?I:null}parseText(){}parseClose(){return!1}}X00.exports=z00});var Tv=O((yA1,D00)=>{var tb0=X0(),w00={boolean($,I){if($===void 0)return I;return $}};class L00 extends tb0{get tag(){return"protection"}render($,I){$.addRollback(),$.openNode("protection");let U=!1;function Y(J,Q){if(Q!==void 0)$.addAttribute(J,Q),U=!0}if(Y("locked",w00.boolean(I.locked,!0)?void 0:"0"),Y("hidden",w00.boolean(I.hidden,!1)?"1":void 0),$.closeNode(),U)$.commit();else $.rollback()}parseOpen($){let I={locked:$.attributes.locked!=="0",hidden:$.attributes.hidden==="1"},U=!I.locked||I.hidden;this.model=U?I:null}parseText(){}parseClose(){return!1}}D00.exports=L00});var F00=O((hA1,N00)=>{var ab0=X0(),sb0=Pv(),eb0=Tv();class O00 extends ab0{constructor($){super();this.xfId=!!($&&$.xfId),this.map={alignment:new sb0,protection:new eb0}}get tag(){return"xf"}render($,I){if($.openNode("xf",{numFmtId:I.numFmtId||0,fontId:I.fontId||0,fillId:I.fillId||0,borderId:I.borderId||0}),this.xfId)$.addAttribute("xfId",I.xfId||0);if(I.numFmtId)$.addAttribute("applyNumberFormat","1");if(I.fontId)$.addAttribute("applyFont","1");if(I.fillId)$.addAttribute("applyFill","1");if(I.borderId)$.addAttribute("applyBorder","1");if(I.alignment)$.addAttribute("applyAlignment","1");if(I.protection)$.addAttribute("applyProtection","1");if(I.alignment)this.map.alignment.render($,I.alignment);if(I.protection)this.map.protection.render($,I.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"xf":if(this.model={numFmtId:parseInt($.attributes.numFmtId,10),fontId:parseInt($.attributes.fontId,10),fillId:parseInt($.attributes.fillId,10),borderId:parseInt($.attributes.borderId,10)},this.xfId)this.model.xfId=parseInt($.attributes.xfId,10);return!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen($),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.map.protection===this.parser)this.model.protection=this.parser.model;else this.model.alignment=this.parser.model;this.parser=void 0}return!0}return $!=="xf"}}N00.exports=O00});var P00=O((xA1,A00)=>{var $i0=X0(),Ii0=Pv(),Ui0=Fv(),Yi0=Nv(),Ji0=Wz(),Qi0=Av(),Ki0=Tv();class M00 extends $i0{constructor(){super();this.map={alignment:new Ii0,border:new Ui0,fill:new Yi0,font:new Ji0,numFmt:new Qi0,protection:new Ki0}}get tag(){return"dxf"}render($,I){if($.openNode(this.tag),I.font)this.map.font.render($,I.font);if(I.numFmt&&I.numFmtId){let U={id:I.numFmtId,formatCode:I.numFmt};this.map.numFmt.render($,U)}if(I.fill)this.map.fill.render($,I.fill);if(I.alignment)this.map.alignment.render($,I.alignment);if(I.border)this.map.border.render($,I.border);if(I.protection)this.map.protection.render($,I.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.reset(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.tag)return this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1;return!0}}A00.exports=M00});var wz=O((kA1,v00)=>{var Xz=l$(),qi0=$6(),Gi0=X0(),zz=sU(),K3=_9(),T00=Wz(),E00=Nv(),B00=Fv(),zK=Av(),Ev=F00(),Hi0=P00();class J$ extends Gi0{constructor($){super();if(this.map={numFmts:new K3({tag:"numFmts",count:!0,childXform:new zK}),fonts:new K3({tag:"fonts",count:!0,childXform:new T00,$:{"x14ac:knownFonts":1}}),fills:new K3({tag:"fills",count:!0,childXform:new E00}),borders:new K3({tag:"borders",count:!0,childXform:new B00}),cellStyleXfs:new K3({tag:"cellStyleXfs",count:!0,childXform:new Ev}),cellXfs:new K3({tag:"cellXfs",count:!0,childXform:new Ev({xfId:!0})}),dxfs:new K3({tag:"dxfs",always:!0,count:!0,childXform:new Hi0}),numFmt:new zK,font:new T00,fill:new E00,border:new B00,style:new Ev({xfId:!0}),cellStyles:J$.STATIC_XFORMS.cellStyles,tableStyles:J$.STATIC_XFORMS.tableStyles,extLst:J$.STATIC_XFORMS.extLst},$)this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render($,I){if(I=I||this.model,$.openXml(qi0.StdDocAttributes),$.openNode("styleSheet",J$.STYLESHEET_ATTRIBUTES),this.index){if(I.numFmts&&I.numFmts.length)$.openNode("numFmts",{count:I.numFmts.length}),I.numFmts.forEach((U)=>{$.writeXml(U)}),$.closeNode();if(!I.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});$.openNode("fonts",{count:I.fonts.length,"x14ac:knownFonts":1}),I.fonts.forEach((U)=>{$.writeXml(U)}),$.closeNode(),$.openNode("fills",{count:I.fills.length}),I.fills.forEach((U)=>{$.writeXml(U)}),$.closeNode(),$.openNode("borders",{count:I.borders.length}),I.borders.forEach((U)=>{$.writeXml(U)}),$.closeNode(),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),$.openNode("cellXfs",{count:I.styles.length}),I.styles.forEach((U)=>{$.writeXml(U)}),$.closeNode()}else this.map.numFmts.render($,I.numFmts),this.map.fonts.render($,I.fonts),this.map.fills.render($,I.fills),this.map.borders.render($,I.borders),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render($,I.styles);J$.STATIC_XFORMS.cellStyles.render($),this.map.dxfs.render($,I.dxfs),J$.STATIC_XFORMS.tableStyles.render($),J$.STATIC_XFORMS.extLst.render($),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"styleSheet":return this.initIndex(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"styleSheet":{this.model={};let I=(U,Y)=>{if(Y.model&&Y.model.length)this.model[U]=Y.model};if(I("numFmts",this.map.numFmts),I("fonts",this.map.fonts),I("fills",this.map.fills),I("borders",this.map.borders),I("styles",this.map.cellXfs),I("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){let U=this.index.numFmt;this.model.numFmts.forEach((Y)=>{U[Y.id]=Y.formatCode})}return!1}default:return!0}}addStyleModel($,I){if(!$)return 0;if(!this.model.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});if(this.weakMap&&this.weakMap.has($))return this.weakMap.get($);let U={};if(I=I||Xz.ValueType.Number,$.numFmt)U.numFmtId=this._addNumFmtStr($.numFmt);else switch(I){case Xz.ValueType.Number:U.numFmtId=this._addNumFmtStr("General");break;case Xz.ValueType.Date:U.numFmtId=this._addNumFmtStr("mm-dd-yy");break;default:break}if($.font)U.fontId=this._addFont($.font);if($.border)U.borderId=this._addBorder($.border);if($.fill)U.fillId=this._addFill($.fill);if($.alignment)U.alignment=$.alignment;if($.protection)U.protection=$.protection;let Y=this._addStyle(U);if(this.weakMap)this.weakMap.set($,Y);return Y}getStyleModel($){let I=this.model.styles[$];if(!I)return null;let U=this.index.model[$];if(U)return U;if(U=this.index.model[$]={},I.numFmtId){let J=this.index.numFmt[I.numFmtId]||zK.getDefaultFmtCode(I.numFmtId);if(J)U.numFmt=J}function Y(J,Q,K){if(K||K===0){let q=Q[K];if(q)U[J]=q}}if(Y("font",this.model.fonts,I.fontId),Y("border",this.model.borders,I.borderId),Y("fill",this.model.fills,I.fillId),I.alignment)U.alignment=I.alignment;if(I.protection)U.protection=I.protection;return U}addDxfStyle($){if($.numFmt)$.numFmtId=this._addNumFmtStr($.numFmt);return this.model.dxfs.push($),this.model.dxfs.length-1}getDxfStyle($){return this.model.dxfs[$]}_addStyle($){let I=this.map.style.toXml($),U=this.index.style[I];if(U===void 0)U=this.index.style[I]=this.model.styles.length,this.model.styles.push(I);return U}_addNumFmtStr($){let I=zK.getDefaultFmtId($);if(I!==void 0)return I;if(I=this.index.numFmt[$],I!==void 0)return I;I=this.index.numFmt[$]=164+this.model.numFmts.length;let U=this.map.numFmt.toXml({id:I,formatCode:$});return this.model.numFmts.push(U),I}_addFont($){let I=this.map.font.toXml($),U=this.index.font[I];if(U===void 0)U=this.index.font[I]=this.model.fonts.length,this.model.fonts.push(I);return U}_addBorder($){let I=this.map.border.toXml($),U=this.index.border[I];if(U===void 0)U=this.index.border[I]=this.model.borders.length,this.model.borders.push(I);return U}_addFill($){let I=this.map.fill.toXml($),U=this.index.fill[I];if(U===void 0)U=this.index.fill[I]=this.model.fills.length,this.model.fills.push(I);return U}}J$.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"};J$.STATIC_XFORMS={cellStyles:new zz({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new zz({tag:"dxfs",$:{count:0}}),tableStyles:new zz({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new zz({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};class R00 extends J${constructor(){super();this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream($){return $.autodrain(),Promise.resolve()}addStyleModel($,I){switch(I){case Xz.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){let $={numFmtId:zK.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push($)}return this._dateStyleId}getStyleModel(){return{}}}J$.Mock=R00;v00.exports=J$});var _00=O((uA1,j00)=>{var Wi0=X0();class C00 extends Wi0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this._format=$.format||function(I){try{if(Number.isNaN(I.getTime()))return"";return I.toISOString()}catch(U){return""}},this._parse=$.parse||function(I){return new Date(I)}}render($,I){if(I){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,this._format(I));else $.writeText(this._format(I));$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=this._parse($.attributes[this.attr]);else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this._parse(this.text.join(""));return!1}}j00.exports=C00});var Rv=O((fA1,S00)=>{var Vi0=$6(),Zi0=X0(),Bv=_00(),R$=qz(),zi0=Kz();class e$ extends Zi0{constructor(){super();this.map={"dc:creator":new R$({tag:"dc:creator"}),"dc:title":new R$({tag:"dc:title"}),"dc:subject":new R$({tag:"dc:subject"}),"dc:description":new R$({tag:"dc:description"}),"dc:identifier":new R$({tag:"dc:identifier"}),"dc:language":new R$({tag:"dc:language"}),"cp:keywords":new R$({tag:"cp:keywords"}),"cp:category":new R$({tag:"cp:category"}),"cp:lastModifiedBy":new R$({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new Bv({tag:"cp:lastPrinted",format:e$.DateFormat}),"cp:revision":new zi0({tag:"cp:revision"}),"cp:version":new R$({tag:"cp:version"}),"cp:contentStatus":new R$({tag:"cp:contentStatus"}),"cp:contentType":new R$({tag:"cp:contentType"}),"dcterms:created":new Bv({tag:"dcterms:created",attrs:e$.DateAttrs,format:e$.DateFormat}),"dcterms:modified":new Bv({tag:"dcterms:modified",attrs:e$.DateAttrs,format:e$.DateFormat})}}render($,I){$.openXml(Vi0.StdDocAttributes),$.openNode("cp:coreProperties",e$.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render($,I.creator),this.map["dc:title"].render($,I.title),this.map["dc:subject"].render($,I.subject),this.map["dc:description"].render($,I.description),this.map["dc:identifier"].render($,I.identifier),this.map["dc:language"].render($,I.language),this.map["cp:keywords"].render($,I.keywords),this.map["cp:category"].render($,I.category),this.map["cp:lastModifiedBy"].render($,I.lastModifiedBy),this.map["cp:lastPrinted"].render($,I.lastPrinted),this.map["cp:revision"].render($,I.revision),this.map["cp:version"].render($,I.version),this.map["cp:contentStatus"].render($,I.contentStatus),this.map["cp:contentType"].render($,I.contentType),this.map["dcterms:created"].render($,I.created),this.map["dcterms:modified"].render($,I.modified),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}e$.DateFormat=function($){return $.toISOString().replace(/[.]\d{3}/,"")};e$.DateAttrs={"xsi:type":"dcterms:W3CDTF"};e$.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"};S00.exports=e$});var Lz=O((bA1,y00)=>{var Xi0=X0();class g00 extends Xi0{get tag(){return"t"}render($,I){if($.openNode("t"),/^\s|\n|\s$/.test(I))$.addAttribute("xml:space","preserve");$.writeText(I),$.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,($,I)=>String.fromCharCode(parseInt(I,16)))}parseOpen($){switch($.name){case"t":return this._text=[],!0;default:return!1}}parseText($){this._text.push($)}parseClose(){return!1}}y00.exports=g00});var XK=O((iA1,h00)=>{var wi0=Lz(),Li0=Wz(),Di0=X0();class Dz extends Di0{constructor($){super();this.model=$}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new wi0)}get fontXform(){return this._fontXform||(this._fontXform=new Li0(Dz.FONT_OPTIONS))}render($,I){if(I=I||this.model,$.openNode("r"),I.font)this.fontXform.render($,I.font);this.textXform.render($,I.text),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen($),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){switch($){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}}Dz.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"};h00.exports=Dz});var u00=O((nA1,k00)=>{var Oi0=Lz(),Ni0=XK(),Fi0=X0();class x00 extends Fi0{constructor(){super();this.map={r:new Ni0,t:new Oi0}}get tag(){return"rPh"}render($,I){if($.openNode(this.tag,{sb:I.sb||0,eb:I.eb||0}),I&&I.hasOwnProperty("richText")&&I.richText){let{r:U}=this.map;I.richText.forEach((Y)=>{U.render($,Y)})}else if(I)this.map.t.render($,I.text);$.closeNode()}parseOpen($){let{name:I}=$;if(this.parser)return this.parser.parseOpen($),!0;if(I===this.tag)return this.model={sb:parseInt($.attributes.sb,10),eb:parseInt($.attributes.eb,10)},!0;if(this.parser=this.map[I],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let I=this.model.richText;if(!I)I=this.model.richText=[];I.push(this.parser.model);break}case"t":this.model.text=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}k00.exports=x00});var i00=O((pA1,b00)=>{var Mi0=Lz(),Ai0=XK(),Pi0=u00(),Ti0=X0();class f00 extends Ti0{constructor($){super();this.model=$,this.map={r:new Ai0,t:new Mi0,rPh:new Pi0}}get tag(){return"si"}render($,I){if($.openNode(this.tag),I&&I.hasOwnProperty("richText")&&I.richText)if(I.richText.length)I.richText.forEach((U)=>{this.map.r.render($,U)});else this.map.t.render($,"");else if(I!==void 0&&I!==null)this.map.t.render($,I);$.closeNode()}parseOpen($){let{name:I}=$;if(this.parser)return this.parser.parseOpen($),!0;if(I===this.tag)return this.model={},!0;if(this.parser=this.map[I],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let I=this.model.richText;if(!I)I=this.model.richText=[];I.push(this.parser.model);break}case"t":this.model=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}b00.exports=f00});var vv=O((cA1,p00)=>{var Ei0=$6(),Bi0=X0(),Ri0=i00();class n00 extends Bi0{constructor($){super();this.model=$||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new Ri0)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString($){return this.model.values[$]}add($){return $.richText?this.addRichText($):this.addText($)}addText($){let I=this.hash[$];if(I===void 0)I=this.hash[$]=this.model.values.length,this.model.values.push($);return this.model.count++,I}addRichText($){let I=this.sharedStringXform.toXml($),U=this.rich[I];if(U===void 0)U=this.rich[I]=this.model.values.length,this.model.values.push($);return this.model.count++,U}render($,I){I=I||this._values,$.openXml(Ei0.StdDocAttributes),$.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:I.count,uniqueCount:I.values.length});let U=this.sharedStringXform;I.values.forEach((Y)=>{U.render($,Y)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen($),!0;default:throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0;return!0}switch($){case"sst":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}p00.exports=n00});var m00=O((dA1,d00)=>{var vi0=X0();class c00 extends vi0{render($,I){$.leafNode("Relationship",I)}parseOpen($){switch($.name){case"Relationship":return this.model=$.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}d00.exports=c00});var Nz=O((mA1,l00)=>{var Ci0=$6(),ji0=X0(),_i0=m00();class Oz extends ji0{constructor(){super();this.map={Relationship:new _i0}}render($,I){I=I||this._values,$.openXml(Ci0.StdDocAttributes),$.openNode("Relationships",Oz.RELATIONSHIPS_ATTRIBUTES),I.forEach((U)=>{this.map.Relationship.render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.push(this.parser.model),this.parser=void 0;return!0}switch($){case"Relationships":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}Oz.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"};l00.exports=Oz});var Cv=O((lA1,o00)=>{var Si0=$6(),gi0=X0();class Fz extends gi0{render($,I){$.openXml(Si0.StdDocAttributes),$.openNode("Types",Fz.PROPERTY_ATTRIBUTES);let U={};if((I.media||[]).forEach((J)=>{if(J.type==="image"){let Q=J.extension;if(!U[Q])U[Q]=!0,$.leafNode("Default",{Extension:Q,ContentType:`image/${Q}`})}}),$.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),$.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),$.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),I.worksheets.forEach((J)=>{let Q=`/xl/worksheets/sheet${J.id}.xml`;$.leafNode("Override",{PartName:Q,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),$.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),$.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),I.sharedStrings&&I.sharedStrings.count)$.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"});if(I.tables)I.tables.forEach((J)=>{$.leafNode("Override",{PartName:`/xl/tables/${J.target}`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})});if(I.drawings)I.drawings.forEach((J)=>{$.leafNode("Override",{PartName:`/xl/drawings/${J.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})});if(I.commentRefs)$.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),I.commentRefs.forEach(({commentName:J})=>{$.leafNode("Override",{PartName:`/xl/${J}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})});$.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),$.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),$.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}Fz.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"};o00.exports=Fz});var a00=O((oA1,t00)=>{var yi0=X0();class r00 extends yi0{render($,I){$.openNode("HeadingPairs"),$.openNode("vt:vector",{size:2,baseType:"variant"}),$.openNode("vt:variant"),$.leafNode("vt:lpstr",void 0,"Worksheets"),$.closeNode(),$.openNode("vt:variant"),$.leafNode("vt:i4",void 0,I.length),$.closeNode(),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="HeadingPairs"}parseText(){}parseClose($){return $!=="HeadingPairs"}}t00.exports=r00});var $10=O((rA1,e00)=>{var hi0=X0();class s00 extends hi0{render($,I){$.openNode("TitlesOfParts"),$.openNode("vt:vector",{size:I.length,baseType:"lpstr"}),I.forEach((U)=>{$.leafNode("vt:lpstr",void 0,U.name)}),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="TitlesOfParts"}parseText(){}parseClose($){return $!=="TitlesOfParts"}}e00.exports=s00});var jv=O((tA1,U10)=>{var xi0=$6(),ki0=X0(),I10=qz(),ui0=a00(),fi0=$10();class eU extends ki0{constructor(){super();this.map={Company:new I10({tag:"Company"}),Manager:new I10({tag:"Manager"}),HeadingPairs:new ui0,TitleOfParts:new fi0}}render($,I){$.openXml(xi0.StdDocAttributes),$.openNode("Properties",eU.PROPERTY_ATTRIBUTES),$.leafNode("Application",void 0,"Microsoft Excel"),$.leafNode("DocSecurity",void 0,"0"),$.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render($,I.worksheets),this.map.TitleOfParts.render($,I.worksheets),this.map.Company.render($,I.company||""),this.map.Manager.render($,I.manager),$.leafNode("LinksUpToDate",void 0,"false"),$.leafNode("SharedDoc",void 0,"false"),$.leafNode("HyperlinksChanged",void 0,"false"),$.leafNode("AppVersion",void 0,"16.0300"),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Properties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}eU.DateFormat=function($){return $.toISOString().replace(/[.]\d{3,6}/,"")};eU.DateAttrs={"xsi:type":"dcterms:W3CDTF"};eU.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"};U10.exports=eU});var Q10=O((aA1,J10)=>{var bi0=X0(),ii0=G4();class Y10 extends bi0{render($,I){$.openNode("definedName",{name:I.name,localSheetId:I.localSheetId}),$.writeText(I.ranges.join(",")),$.closeNode()}parseOpen($){switch($.name){case"definedName":return this._parsedName=$.attributes.name,this._parsedLocalSheetId=$.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText($){this._parsedText.push($)}parseClose(){if(this.model={name:this._parsedName,ranges:ni0(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0)this.model.localSheetId=parseInt(this._parsedLocalSheetId,10);return!1}}function _v($){try{return ii0.decodeEx($),!0}catch(I){return!1}}function ni0($){let I=[],U=!1,Y="";return $.split(",").forEach((J)=>{if(!J)return;let Q=(J.match(/'/g)||[]).length;if(!Q){if(U)Y+=`${J},`;else if(_v(J))I.push(J);return}let K=Q%2===0;if(!U&&K&&_v(J))I.push(J);else if(U&&!K){if(U=!1,_v(Y+J))I.push(Y+J);Y=""}else U=!0,Y+=`${J},`}),I}J10.exports=Y10});var G10=O((sA1,q10)=>{var pi0=L6(),ci0=X0();class K10 extends ci0{render($,I){$.leafNode("sheet",{sheetId:I.id,name:I.name,state:I.state,"r:id":I.rId})}parseOpen($){if($.name==="sheet")return this.model={name:pi0.xmlDecode($.attributes.name),id:parseInt($.attributes.sheetId,10),state:$.attributes.state,rId:$.attributes["r:id"]},!0;return!1}parseText(){}parseClose(){return!1}}q10.exports=K10});var V10=O((eA1,W10)=>{var di0=X0();class H10 extends di0{render($,I){let U={xWindow:I.x||0,yWindow:I.y||0,windowWidth:I.width||12000,windowHeight:I.height||24000,firstSheet:I.firstSheet,activeTab:I.activeTab};if(I.visibility&&I.visibility!=="visible")U.visibility=I.visibility;$.leafNode("workbookView",U)}parseOpen($){if($.name==="workbookView"){let I=this.model={},U=function(J,Q,K){let q=Q!==void 0?I[J]=Q:K;if(q!==void 0)I[J]=q},Y=function(J,Q,K){let q=Q!==void 0?I[J]=parseInt(Q,10):K;if(q!==void 0)I[J]=q};return Y("x",$.attributes.xWindow,0),Y("y",$.attributes.yWindow,0),Y("width",$.attributes.windowWidth,25000),Y("height",$.attributes.windowHeight,1e4),U("visibility",$.attributes.visibility,"visible"),Y("activeTab",$.attributes.activeTab,void 0),Y("firstSheet",$.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}W10.exports=H10});var X10=O(($P1,z10)=>{var mi0=X0();class Z10 extends mi0{render($,I){$.leafNode("workbookPr",{date1904:I.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen($){if($.name==="workbookPr")return this.model={date1904:$.attributes.date1904==="1"},!0;return!1}parseText(){}parseClose(){return!1}}z10.exports=Z10});var D10=O((IP1,L10)=>{var li0=X0();class w10 extends li0{render($,I){$.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:I.fullCalcOnLoad?1:void 0})}parseOpen($){if($.name==="calcPr")return this.model={},!0;return!1}parseText(){}parseClose(){return!1}}L10.exports=w10});var Mz=O((UP1,O10)=>{var oi0=z4(),ri0=G4(),ti0=$6(),ai0=X0(),si0=sU(),Sv=_9(),ei0=Q10(),$n0=G10(),In0=V10(),Un0=X10(),Yn0=D10();class $Y extends ai0{constructor(){super();this.map={fileVersion:$Y.STATIC_XFORMS.fileVersion,workbookPr:new Un0,bookViews:new Sv({tag:"bookViews",count:!1,childXform:new In0}),sheets:new Sv({tag:"sheets",count:!1,childXform:new $n0}),definedNames:new Sv({tag:"definedNames",count:!1,childXform:new ei0}),calcPr:new Yn0}}prepare($){$.sheets=$.worksheets;let I=[],U=0;if($.sheets.forEach((Y)=>{if(Y.pageSetup&&Y.pageSetup.printArea)Y.pageSetup.printArea.split("&&").forEach((J)=>{let Q=J.split(":"),K={name:"_xlnm.Print_Area",ranges:[`'${Y.name}'!$${Q[0]}:$${Q[1]}`],localSheetId:U};I.push(K)});if(Y.pageSetup&&(Y.pageSetup.printTitlesRow||Y.pageSetup.printTitlesColumn)){let J=[];if(Y.pageSetup.printTitlesColumn){let K=Y.pageSetup.printTitlesColumn.split(":");J.push(`'${Y.name}'!$${K[0]}:$${K[1]}`)}if(Y.pageSetup.printTitlesRow){let K=Y.pageSetup.printTitlesRow.split(":");J.push(`'${Y.name}'!$${K[0]}:$${K[1]}`)}let Q={name:"_xlnm.Print_Titles",ranges:J,localSheetId:U};I.push(Q)}U++}),I.length)$.definedNames=$.definedNames.concat(I);($.media||[]).forEach((Y,J)=>{Y.name=Y.type+(J+1)})}render($,I){$.openXml(ti0.StdDocAttributes),$.openNode("workbook",$Y.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render($),this.map.workbookPr.render($,I.properties),this.map.bookViews.render($,I.views),this.map.sheets.render($,I.sheets),this.map.definedNames.render($,I.definedNames),this.map.calcPr.render($,I.calcProperties),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"workbook":return!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"workbook":if(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model)this.model.definedNames=this.map.definedNames.model;return!1;default:return!0}}reconcile($){let I=($.workbookRels||[]).reduce((K,q)=>{return K[q.Id]=q,K},{}),U=[],Y,J=0;($.sheets||[]).forEach((K)=>{let q=I[K.rId];if(!q)return;if(Y=$.worksheetHash[`xl/${q.Target.replace(/^(\s|\/xl\/)+/,"")}`],Y)Y.name=K.name,Y.id=K.id,Y.state=K.state,U[J++]=Y});let Q=[];oi0.each($.definedNames,(K)=>{if(K.name==="_xlnm.Print_Area"){if(Y=U[K.localSheetId],Y){if(!Y.pageSetup)Y.pageSetup={};let q=ri0.decodeEx(K.ranges[0]);Y.pageSetup.printArea=Y.pageSetup.printArea?`${Y.pageSetup.printArea}&&${q.dimensions}`:q.dimensions}}else if(K.name==="_xlnm.Print_Titles"){if(Y=U[K.localSheetId],Y){if(!Y.pageSetup)Y.pageSetup={};let q=K.ranges.join(","),G=/\$/g,H=/\$\d+:\$\d+/,W=q.match(H);if(W&&W.length){let Z=W[0];Y.pageSetup.printTitlesRow=Z.replace(G,"")}let V=/\$[A-Z]+:\$[A-Z]+/,z=q.match(V);if(z&&z.length){let Z=z[0];Y.pageSetup.printTitlesColumn=Z.replace(G,"")}}}else Q.push(K)}),$.definedNames=Q,$.media.forEach((K,q)=>{K.index=q})}}$Y.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"};$Y.STATIC_XFORMS={fileVersion:new si0({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})};O10.exports=$Y});var y9=O((YP1,N10)=>{N10.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}});var E10=O((JP1,T10)=>{var F10=z4(),Jn0=Q5(),M10=G4(),A10=l$();class P10{constructor(){this.merges={}}add($){if(this.merges[$.master])this.merges[$.master].expandToAddress($.address);else{let I=`${$.master}:${$.address}`;this.merges[$.master]=new Jn0(I)}}get mergeCells(){return F10.map(this.merges,($)=>$.range)}reconcile($,I){F10.each($,(U)=>{let Y=M10.decode(U);for(let J=Y.top;J<=Y.bottom;J++){let Q=I[J-1];for(let K=Y.left;K<=Y.right;K++){let q=Q.cells[K-1];if(!q)Q.cells[K]={type:A10.ValueType.Null,address:M10.encodeAddress(J,K)};else if(q.type===A10.ValueType.Merge)q.master=Y.tl}}})}getMasterAddress($){let I=this.hash[$];return I&&I.tl}}T10.exports=P10});var C10=O((QP1,v10)=>{var h9=L6(),Qn0=X0(),Kn0=Q5(),u0=l$(),qn0=XK();function B10($){if($===null||$===void 0)return u0.ValueType.Null;if($ instanceof String||typeof $==="string")return u0.ValueType.String;if(typeof $==="number")return u0.ValueType.Number;if(typeof $==="boolean")return u0.ValueType.Boolean;if($ instanceof Date)return u0.ValueType.Date;if($.text&&$.hyperlink)return u0.ValueType.Hyperlink;if($.formula)return u0.ValueType.Formula;if($.error)return u0.ValueType.Error;throw Error("I could not understand type of value")}function Gn0($){switch($.type){case u0.ValueType.Formula:return B10($.result);default:return $.type}}class R10 extends Qn0{constructor(){super();this.richTextXForm=new qn0}get tag(){return"c"}prepare($,I){let U=I.styles.addStyleModel($.style||{},Gn0($));if(U)$.styleId=U;if($.comment)I.comments.push({...$.comment,ref:$.address});switch($.type){case u0.ValueType.String:case u0.ValueType.RichText:if(I.sharedStrings)$.ssId=I.sharedStrings.add($.value);break;case u0.ValueType.Date:if(I.date1904)$.date1904=!0;break;case u0.ValueType.Hyperlink:if(I.sharedStrings&&$.text!==void 0&&$.text!==null)$.ssId=I.sharedStrings.add($.text);I.hyperlinks.push({address:$.address,target:$.hyperlink,tooltip:$.tooltip});break;case u0.ValueType.Merge:I.merges.add($);break;case u0.ValueType.Formula:if(I.date1904)$.date1904=!0;if($.shareType==="shared")$.si=I.siFormulae++;if($.formula)I.formulae[$.address]=$;else if($.sharedFormula){let Y=I.formulae[$.sharedFormula];if(!Y)throw Error(`Shared Formula master must exist above and or left of clone for cell ${$.address}`);if(Y.si===void 0)Y.shareType="shared",Y.si=I.siFormulae++,Y.range=new Kn0(Y.address,$.address);else if(Y.range)Y.range.expandToAddress($.address);$.si=Y.si}break;default:break}}renderFormula($,I){let U=null;switch(I.shareType){case"shared":U={t:"shared",ref:I.ref||I.range.range,si:I.si};break;case"array":U={t:"array",ref:I.ref};break;default:if(I.si!==void 0)U={t:"shared",si:I.si};break}switch(B10(I.result)){case u0.ValueType.Null:$.leafNode("f",U,I.formula);break;case u0.ValueType.String:$.addAttribute("t","str"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result);break;case u0.ValueType.Number:$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result);break;case u0.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result?1:0);break;case u0.ValueType.Error:$.addAttribute("t","e"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result.error);break;case u0.ValueType.Date:$.leafNode("f",U,I.formula),$.leafNode("v",null,h9.dateToExcel(I.result,I.date1904));break;default:throw Error("I could not understand type of value")}}render($,I){if(I.type===u0.ValueType.Null&&!I.styleId)return;if($.openNode("c"),$.addAttribute("r",I.address),I.styleId)$.addAttribute("s",I.styleId);switch(I.type){case u0.ValueType.Null:break;case u0.ValueType.Number:$.leafNode("v",null,I.value);break;case u0.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("v",null,I.value?"1":"0");break;case u0.ValueType.Error:$.addAttribute("t","e"),$.leafNode("v",null,I.value.error);break;case u0.ValueType.String:case u0.ValueType.RichText:if(I.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,I.ssId);else if(I.value&&I.value.richText)$.addAttribute("t","inlineStr"),$.openNode("is"),I.value.richText.forEach((U)=>{this.richTextXForm.render($,U)}),$.closeNode("is");else $.addAttribute("t","str"),$.leafNode("v",null,I.value);break;case u0.ValueType.Date:$.leafNode("v",null,h9.dateToExcel(I.value,I.date1904));break;case u0.ValueType.Hyperlink:if(I.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,I.ssId);else $.addAttribute("t","str"),$.leafNode("v",null,I.text);break;case u0.ValueType.Formula:this.renderFormula($,I);break;case u0.ValueType.Merge:break;default:break}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"c":if(this.model={address:$.attributes.r},this.t=$.attributes.t,$.attributes.s)this.model.styleId=parseInt($.attributes.s,10);return!0;case"f":return this.currentNode="f",this.model.si=$.attributes.si,this.model.shareType=$.attributes.t,this.model.ref=$.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser){this.parser.parseText($);return}switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+$:$;break;case"v":case"t":if(this.model.value&&this.model.value.richText)this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+$:$;else this.model.value=this.model.value?this.model.value+$:$;break;default:break}}parseClose($){switch($){case"c":{let{model:I}=this;if(I.formula||I.shareType){if(I.type=u0.ValueType.Formula,I.value){if(this.t==="str")I.result=h9.xmlDecode(I.value);else if(this.t==="b")I.result=parseInt(I.value,10)!==0;else if(this.t==="e")I.result={error:I.value};else I.result=parseFloat(I.value);I.value=void 0}}else if(I.value!==void 0)switch(this.t){case"s":I.type=u0.ValueType.String,I.value=parseInt(I.value,10);break;case"str":I.type=u0.ValueType.String,I.value=h9.xmlDecode(I.value);break;case"inlineStr":I.type=u0.ValueType.String;break;case"b":I.type=u0.ValueType.Boolean,I.value=parseInt(I.value,10)!==0;break;case"e":I.type=u0.ValueType.Error,I.value={error:I.value};break;default:I.type=u0.ValueType.Number,I.value=parseFloat(I.value);break}else if(I.styleId)I.type=u0.ValueType.Null;else I.type=u0.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":if(this.parser)return this.parser.parseClose($),!0;return this.currentNode=void 0,!0;case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:if(this.parser)return this.parser.parseClose($),!0;return!1}}reconcile($,I){let U=$.styleId&&I.styles&&I.styles.getStyleModel($.styleId);if(U)$.style=U;if($.styleId!==void 0)$.styleId=void 0;switch($.type){case u0.ValueType.String:if(typeof $.value==="number"){if(I.sharedStrings)$.value=I.sharedStrings.getString($.value)}if($.value.richText)$.type=u0.ValueType.RichText;break;case u0.ValueType.Number:if(U&&h9.isDateFmt(U.numFmt))$.type=u0.ValueType.Date,$.value=h9.excelToDate($.value,I.date1904);break;case u0.ValueType.Formula:if($.result!==void 0&&U&&h9.isDateFmt(U.numFmt))$.result=h9.excelToDate($.result,I.date1904);if($.shareType==="shared"){if($.ref)I.formulae[$.si]=$.address;else $.sharedFormula=I.formulae[$.si],delete $.shareType;delete $.si}break;default:break}let Y=I.hyperlinkMap[$.address];if(Y){if($.type===u0.ValueType.Formula)$.text=$.result,$.result=void 0;else $.text=$.value,$.value=void 0;$.type=u0.ValueType.Hyperlink,$.hyperlink=Y}let J=I.commentsMap&&I.commentsMap[$.address];if(J)$.comment=J}}v10.exports=R10});var yv=O((KP1,_10)=>{var Hn0=X0(),gv=L6(),Wn0=C10();class j10 extends Hn0{constructor($){super();this.maxItems=$&&$.maxItems,this.map={c:new Wn0}}get tag(){return"row"}prepare($,I){let U=I.styles.addStyleModel($.style);if(U)$.styleId=U;let Y=this.map.c;$.cells.forEach((J)=>{Y.prepare(J,I)})}render($,I,U){if($.openNode("row"),$.addAttribute("r",I.number),I.height)$.addAttribute("ht",I.height),$.addAttribute("customHeight","1");if(I.hidden)$.addAttribute("hidden","1");if(I.min>0&&I.max>0&&I.min<=I.max)$.addAttribute("spans",`${I.min}:${I.max}`);if(I.styleId)$.addAttribute("s",I.styleId),$.addAttribute("customFormat","1");if($.addAttribute("x14ac:dyDescent","0.25"),I.outlineLevel)$.addAttribute("outlineLevel",I.outlineLevel);if(I.collapsed)$.addAttribute("collapsed","1");let Y=this.map.c;I.cells.forEach((J)=>{Y.render($,J,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="row"){this.numRowsSeen+=1;let I=$.attributes.spans?$.attributes.spans.split(":").map((Y)=>parseInt(Y,10)):[void 0,void 0],U=this.model={number:parseInt($.attributes.r,10),min:I[0],max:I[1],cells:[]};if($.attributes.s)U.styleId=parseInt($.attributes.s,10);if(gv.parseBoolean($.attributes.hidden))U.hidden=!0;if(gv.parseBoolean($.attributes.bestFit))U.bestFit=!0;if($.attributes.ht)U.height=parseFloat($.attributes.ht);if($.attributes.outlineLevel)U.outlineLevel=parseInt($.attributes.outlineLevel,10);if(gv.parseBoolean($.attributes.collapsed))U.collapsed=!0;return!0}if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile($,I){if($.style=$.styleId?I.styles.getStyleModel($.styleId):{},$.styleId!==void 0)$.styleId=void 0;let U=this.map.c;$.cells.forEach((Y)=>{U.reconcile(Y,I)})}}_10.exports=j10});var xv=O((qP1,g10)=>{var hv=L6(),Vn0=X0();class S10 extends Vn0{get tag(){return"col"}prepare($,I){let U=I.styles.addStyleModel($.style||{});if(U)$.styleId=U}render($,I){if($.openNode("col"),$.addAttribute("min",I.min),$.addAttribute("max",I.max),I.width)$.addAttribute("width",I.width);if(I.styleId)$.addAttribute("style",I.styleId);if(I.hidden)$.addAttribute("hidden","1");if(I.bestFit)$.addAttribute("bestFit","1");if(I.outlineLevel)$.addAttribute("outlineLevel",I.outlineLevel);if(I.collapsed)$.addAttribute("collapsed","1");$.addAttribute("customWidth","1"),$.closeNode()}parseOpen($){if($.name==="col"){let I=this.model={min:parseInt($.attributes.min||"0",10),max:parseInt($.attributes.max||"0",10),width:$.attributes.width===void 0?void 0:parseFloat($.attributes.width||"0")};if($.attributes.style)I.styleId=parseInt($.attributes.style,10);if(hv.parseBoolean($.attributes.hidden))I.hidden=!0;if(hv.parseBoolean($.attributes.bestFit))I.bestFit=!0;if($.attributes.outlineLevel)I.outlineLevel=parseInt($.attributes.outlineLevel,10);if(hv.parseBoolean($.attributes.collapsed))I.collapsed=!0;return!0}return!1}parseText(){}parseClose(){return!1}reconcile($,I){if($.styleId)$.style=I.styles.getStyleModel($.styleId)}}g10.exports=S10});var x10=O((GP1,h10)=>{var Zn0=X0();class y10 extends Zn0{get tag(){return"dimension"}render($,I){if(I)$.leafNode("dimension",{ref:I})}parseOpen($){if($.name==="dimension")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}h10.exports=y10});var kv=O((HP1,u10)=>{var zn0=X0();class k10 extends zn0{get tag(){return"hyperlink"}render($,I){if(this.isInternalLink(I))$.leafNode("hyperlink",{ref:I.address,"r:id":I.rId,tooltip:I.tooltip,location:I.target});else $.leafNode("hyperlink",{ref:I.address,"r:id":I.rId,tooltip:I.tooltip})}parseOpen($){if($.name==="hyperlink"){if(this.model={address:$.attributes.ref,rId:$.attributes["r:id"],tooltip:$.attributes.tooltip},$.attributes.location)this.model.target=$.attributes.location;return!0}return!1}parseText(){}parseClose(){return!1}isInternalLink($){return $.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test($.target)}}u10.exports=k10});var i10=O((WP1,b10)=>{var Xn0=X0();class f10 extends Xn0{get tag(){return"mergeCell"}render($,I){$.leafNode("mergeCell",{ref:I})}parseOpen($){if($.name==="mergeCell")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}b10.exports=f10});var bv=O((VP1,p10)=>{var wK=z4(),fv=L6(),IY=G4(),wn0=X0(),Ln0=Q5();function UY($,I,U,Y){let J=I[U];if(J!==void 0)$[U]=J;else if(Y!==void 0)$[U]=Y}function uv($,I,U,Y){let J=I[U];if(J!==void 0)$[U]=fv.parseBoolean(J);else if(Y!==void 0)$[U]=Y}function Dn0($){let I=wK.map($,(J,Q)=>({address:Q,dataValidation:J,marked:!1})).sort((J,Q)=>wK.strcmp(J.address,Q.address)),U=wK.keyBy(I,"address"),Y=(J,Q,K)=>{for(let q=0;q{if(!J.marked){let Q=IY.decodeEx(J.address);if(Q.dimensions)return U[Q.dimensions].marked=!0,{...J.dataValidation,sqref:J.address};let K=1,q=IY.encodeAddress(Q.row+K,Q.col);while($[q]&&wK.isEqual(J.dataValidation,$[q]))K++,q=IY.encodeAddress(Q.row+K,Q.col);let G=1;while(Y(Q,K,Q.col+G))G++;for(let H=0;H1||G>1){let H=Q.row+(K-1),W=Q.col+(G-1);return{...J.dataValidation,sqref:`${J.address}:${IY.encodeAddress(H,W)}`}}return{...J.dataValidation,sqref:J.address}}return null}).filter(Boolean)}class n10 extends wn0{get tag(){return"dataValidations"}render($,I){let U=Dn0(I);if(U.length)$.openNode("dataValidations",{count:U.length}),U.forEach((Y)=>{if($.openNode("dataValidation"),Y.type!=="any"){if($.addAttribute("type",Y.type),Y.operator&&Y.type!=="list"&&Y.operator!=="between")$.addAttribute("operator",Y.operator);if(Y.allowBlank)$.addAttribute("allowBlank","1")}if(Y.showInputMessage)$.addAttribute("showInputMessage","1");if(Y.promptTitle)$.addAttribute("promptTitle",Y.promptTitle);if(Y.prompt)$.addAttribute("prompt",Y.prompt);if(Y.showErrorMessage)$.addAttribute("showErrorMessage","1");if(Y.errorStyle)$.addAttribute("errorStyle",Y.errorStyle);if(Y.errorTitle)$.addAttribute("errorTitle",Y.errorTitle);if(Y.error)$.addAttribute("error",Y.error);$.addAttribute("sqref",Y.sqref),(Y.formulae||[]).forEach((J,Q)=>{if($.openNode(`formula${Q+1}`),Y.type==="date")$.writeText(fv.dateToExcel(new Date(J)));else $.writeText(J);$.closeNode()}),$.closeNode()}),$.closeNode()}parseOpen($){switch($.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=$.attributes.sqref;let I={type:$.attributes.type||"any",formulae:[]};if($.attributes.type)uv(I,$.attributes,"allowBlank");switch(uv(I,$.attributes,"showInputMessage"),uv(I,$.attributes,"showErrorMessage"),I.type){case"any":case"list":case"custom":break;default:UY(I,$.attributes,"operator","between");break}return UY(I,$.attributes,"promptTitle"),UY(I,$.attributes,"prompt"),UY(I,$.attributes,"errorStyle"),UY(I,$.attributes,"errorTitle"),UY(I,$.attributes,"error"),this._dataValidation=I,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText($){if(this._formula)this._formula.push($)}parseClose($){switch($){case"dataValidations":return!1;case"dataValidation":{if(!this._dataValidation.formulae||!this._dataValidation.formulae.length)delete this._dataValidation.formulae,delete this._dataValidation.operator;return(this._address.split(/\s+/g)||[]).forEach((U)=>{if(U.includes(":"))new Ln0(U).forEachAddress((J)=>{this.model[J]=this._dataValidation});else this.model[U]=this._dataValidation}),!0}case"formula1":case"formula2":{let I=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":I=parseInt(I,10);break;case"decimal":I=parseFloat(I);break;case"date":I=fv.excelToDate(parseFloat(I));break;default:break}return this._dataValidation.formulae.push(I),this._formula=void 0,!0}default:return!0}}}p10.exports=n10});var m10=O((ZP1,d10)=>{var On0=X0();class c10 extends On0{get tag(){return"pageSetUpPr"}render($,I){if(I&&I.fitToPage)return $.leafNode(this.tag,{fitToPage:I.fitToPage?"1":void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={fitToPage:$.attributes.fitToPage==="1"},!0;return!1}parseText(){}parseClose(){return!1}}d10.exports=c10});var r10=O((zP1,o10)=>{var Nn0=X0(),YY=($)=>typeof $<"u";class l10 extends Nn0{get tag(){return"outlinePr"}render($,I){if(I&&(YY(I.summaryBelow)||YY(I.summaryRight)))return $.leafNode(this.tag,{summaryBelow:YY(I.summaryBelow)?Number(I.summaryBelow):void 0,summaryRight:YY(I.summaryRight)?Number(I.summaryRight):void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={summaryBelow:YY($.attributes.summaryBelow)?Boolean(Number($.attributes.summaryBelow)):void 0,summaryRight:YY($.attributes.summaryRight)?Boolean(Number($.attributes.summaryRight)):void 0},!0;return!1}parseText(){}parseClose(){return!1}}o10.exports=l10});var iv=O((XP1,a10)=>{var Fn0=X0(),Mn0=S9(),An0=m10(),Pn0=r10();class t10 extends Fn0{constructor(){super();this.map={tabColor:new Mn0("tabColor"),pageSetUpPr:new An0,outlinePr:new Pn0}}get tag(){return"sheetPr"}render($,I){if(I){$.addRollback(),$.openNode("sheetPr");let U=!1;if(U=this.map.tabColor.render($,I.tabColor)||U,U=this.map.pageSetUpPr.render($,I.pageSetup)||U,U=this.map.outlinePr.render($,I.outlineProperties)||U,U)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.reset(),!0;if(this.map[$.name])return this.parser=this.map[$.name],this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)return this.parser.parseText($),!0;return!1}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model){if(this.model={},this.map.tabColor.model)this.model.tabColor=this.map.tabColor.model;if(this.map.pageSetUpPr.model)this.model.pageSetup=this.map.pageSetUpPr.model;if(this.map.outlinePr.model)this.model.outlineProperties=this.map.outlinePr.model}else this.model=null;return!1}}a10.exports=t10});var nv=O((wP1,e10)=>{var Tn0=z4(),En0=X0();class s10 extends En0{get tag(){return"sheetFormatPr"}render($,I){if(I){let U={defaultRowHeight:I.defaultRowHeight,outlineLevelRow:I.outlineLevelRow,outlineLevelCol:I.outlineLevelCol,"x14ac:dyDescent":I.dyDescent};if(I.defaultColWidth)U.defaultColWidth=I.defaultColWidth;if(!I.defaultRowHeight||I.defaultRowHeight!==15)U.customHeight="1";if(Tn0.some(U,(Y)=>Y!==void 0))$.leafNode("sheetFormatPr",U)}}parseOpen($){if($.name==="sheetFormatPr"){if(this.model={defaultRowHeight:parseFloat($.attributes.defaultRowHeight||"0"),dyDescent:parseFloat($.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt($.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt($.attributes.outlineLevelCol||"0",10)},$.attributes.defaultColWidth)this.model.defaultColWidth=parseFloat($.attributes.defaultColWidth);return!0}return!1}parseText(){}parseClose(){return!1}}e10.exports=s10});var pv=O((LP1,I40)=>{var Bn0=G4(),Rn0=X0(),vn0={frozen:"frozen",frozenSplit:"frozen",split:"split"};class $40 extends Rn0{get tag(){return"sheetView"}prepare($){switch($.state){case"frozen":case"split":break;default:$.state="normal";break}}render($,I){$.openNode("sheetView",{workbookViewId:I.workbookViewId||0});let U=function(q,G,H){if(H)$.addAttribute(q,G)};U("rightToLeft","1",I.rightToLeft===!0),U("tabSelected","1",I.tabSelected),U("showRuler","0",I.showRuler===!1),U("showRowColHeaders","0",I.showRowColHeaders===!1),U("showGridLines","0",I.showGridLines===!1),U("zoomScale",I.zoomScale,I.zoomScale),U("zoomScaleNormal",I.zoomScaleNormal,I.zoomScaleNormal),U("view",I.style,I.style);let Y,J,Q,K;switch(I.state){case"frozen":J=I.xSplit||0,Q=I.ySplit||0,Y=I.topLeftCell||Bn0.getAddress(Q+1,J+1).address,K=I.xSplit&&I.ySplit&&"bottomRight"||I.xSplit&&"topRight"||"bottomLeft",$.leafNode("pane",{xSplit:I.xSplit||void 0,ySplit:I.ySplit||void 0,topLeftCell:Y,activePane:K,state:"frozen"}),$.leafNode("selection",{pane:K,activeCell:I.activeCell,sqref:I.activeCell});break;case"split":if(I.activePane==="topLeft")I.activePane=void 0;$.leafNode("pane",{xSplit:I.xSplit||void 0,ySplit:I.ySplit||void 0,topLeftCell:I.topLeftCell,activePane:I.activePane}),$.leafNode("selection",{pane:I.activePane,activeCell:I.activeCell,sqref:I.activeCell});break;case"normal":if(I.activeCell)$.leafNode("selection",{activeCell:I.activeCell,sqref:I.activeCell});break;default:break}$.closeNode()}parseOpen($){switch($.name){case"sheetView":return this.sheetView={workbookViewId:parseInt($.attributes.workbookViewId,10),rightToLeft:$.attributes.rightToLeft==="1",tabSelected:$.attributes.tabSelected==="1",showRuler:$.attributes.showRuler!=="0",showRowColHeaders:$.attributes.showRowColHeaders!=="0",showGridLines:$.attributes.showGridLines!=="0",zoomScale:parseInt($.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt($.attributes.zoomScaleNormal||"100",10),style:$.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt($.attributes.xSplit||"0",10),ySplit:parseInt($.attributes.ySplit||"0",10),topLeftCell:$.attributes.topLeftCell,activePane:$.attributes.activePane||"topLeft",state:$.attributes.state},!0;case"selection":{let I=$.attributes.pane||"topLeft";return this.selections[I]={pane:I,activeCell:$.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose($){let I,U;switch($){case"sheetView":if(this.sheetView&&this.pane){if(I=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:vn0[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split")I.activePane=this.pane.activePane;if(U=this.selections[this.pane.activePane],U&&U.activeCell)I.activeCell=U.activeCell;if(this.sheetView.style)I.style=this.sheetView.style}else{if(I=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},U=this.selections.topLeft,U&&U.activeCell)I.activeCell=U.activeCell;if(this.sheetView.style)I.style=this.sheetView.style}return!1;default:return!0}}reconcile(){}}I40.exports=$40});var cv=O((DP1,Y40)=>{var Cn0=z4(),jn0=X0();function c6($,I){return $?I:void 0}function v$($,I){return $===I?!0:void 0}class U40 extends jn0{get tag(){return"sheetProtection"}render($,I){if(I){let U={sheet:c6(I.sheet,"1"),selectLockedCells:I.selectLockedCells===!1?"1":void 0,selectUnlockedCells:I.selectUnlockedCells===!1?"1":void 0,formatCells:c6(I.formatCells,"0"),formatColumns:c6(I.formatColumns,"0"),formatRows:c6(I.formatRows,"0"),insertColumns:c6(I.insertColumns,"0"),insertRows:c6(I.insertRows,"0"),insertHyperlinks:c6(I.insertHyperlinks,"0"),deleteColumns:c6(I.deleteColumns,"0"),deleteRows:c6(I.deleteRows,"0"),sort:c6(I.sort,"0"),autoFilter:c6(I.autoFilter,"0"),pivotTables:c6(I.pivotTables,"0")};if(I.sheet)U.algorithmName=I.algorithmName,U.hashValue=I.hashValue,U.saltValue=I.saltValue,U.spinCount=I.spinCount,U.objects=c6(I.objects===!1,"1"),U.scenarios=c6(I.scenarios===!1,"1");if(Cn0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:if(this.model={sheet:v$($.attributes.sheet,"1"),objects:$.attributes.objects==="1"?!1:void 0,scenarios:$.attributes.scenarios==="1"?!1:void 0,selectLockedCells:$.attributes.selectLockedCells==="1"?!1:void 0,selectUnlockedCells:$.attributes.selectUnlockedCells==="1"?!1:void 0,formatCells:v$($.attributes.formatCells,"0"),formatColumns:v$($.attributes.formatColumns,"0"),formatRows:v$($.attributes.formatRows,"0"),insertColumns:v$($.attributes.insertColumns,"0"),insertRows:v$($.attributes.insertRows,"0"),insertHyperlinks:v$($.attributes.insertHyperlinks,"0"),deleteColumns:v$($.attributes.deleteColumns,"0"),deleteRows:v$($.attributes.deleteRows,"0"),sort:v$($.attributes.sort,"0"),autoFilter:v$($.attributes.autoFilter,"0"),pivotTables:v$($.attributes.pivotTables,"0")},$.attributes.algorithmName)this.model.algorithmName=$.attributes.algorithmName,this.model.hashValue=$.attributes.hashValue,this.model.saltValue=$.attributes.saltValue,this.model.spinCount=parseInt($.attributes.spinCount,10);return!0;default:return!1}}parseText(){}parseClose(){return!1}}Y40.exports=U40});var dv=O((OP1,Q40)=>{var _n0=z4(),Sn0=X0();class J40 extends Sn0{get tag(){return"pageMargins"}render($,I){if(I){let U={left:I.left,right:I.right,top:I.top,bottom:I.bottom,header:I.header,footer:I.footer};if(_n0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={left:parseFloat($.attributes.left||0.7),right:parseFloat($.attributes.right||0.7),top:parseFloat($.attributes.top||0.75),bottom:parseFloat($.attributes.bottom||0.75),header:parseFloat($.attributes.header||0.3),footer:parseFloat($.attributes.footer||0.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}Q40.exports=J40});var mv=O((NP1,q40)=>{var gn0=z4(),yn0=X0();function Az($){return $?"1":void 0}function hn0($){switch($){case"overThenDown":return $;default:return}}function xn0($){switch($){case"atEnd":case"asDisplyed":return $;default:return}}function kn0($){switch($){case"dash":case"blank":case"NA":return $;default:return}}function un0($){return $!==void 0?parseInt($,10):void 0}class K40 extends yn0{get tag(){return"pageSetup"}render($,I){if(I){let U={paperSize:I.paperSize,orientation:I.orientation,horizontalDpi:I.horizontalDpi,verticalDpi:I.verticalDpi,pageOrder:hn0(I.pageOrder),blackAndWhite:Az(I.blackAndWhite),draft:Az(I.draft),cellComments:xn0(I.cellComments),errors:kn0(I.errors),scale:I.scale,fitToWidth:I.fitToWidth,fitToHeight:I.fitToHeight,firstPageNumber:I.firstPageNumber,useFirstPageNumber:Az(I.firstPageNumber),usePrinterDefaults:Az(I.usePrinterDefaults),copies:I.copies};if(gn0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={paperSize:un0($.attributes.paperSize),orientation:$.attributes.orientation||"portrait",horizontalDpi:parseInt($.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt($.attributes.verticalDpi||"4294967295",10),pageOrder:$.attributes.pageOrder||"downThenOver",blackAndWhite:$.attributes.blackAndWhite==="1",draft:$.attributes.draft==="1",cellComments:$.attributes.cellComments||"None",errors:$.attributes.errors||"displayed",scale:parseInt($.attributes.scale||"100",10),fitToWidth:parseInt($.attributes.fitToWidth||"1",10),fitToHeight:parseInt($.attributes.fitToHeight||"1",10),firstPageNumber:parseInt($.attributes.firstPageNumber||"1",10),useFirstPageNumber:$.attributes.useFirstPageNumber==="1",usePrinterDefaults:$.attributes.usePrinterDefaults==="1",copies:parseInt($.attributes.copies||"1",10)},!0;default:return!1}}parseText(){}parseClose(){return!1}}q40.exports=K40});var W40=O((FP1,H40)=>{var fn0=z4(),bn0=X0();function Pz($){return $?"1":void 0}class G40 extends bn0{get tag(){return"printOptions"}render($,I){if(I){let U={headings:Pz(I.showRowColHeaders),gridLines:Pz(I.showGridLines),horizontalCentered:Pz(I.horizontalCentered),verticalCentered:Pz(I.verticalCentered)};if(fn0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={showRowColHeaders:$.attributes.headings==="1",showGridLines:$.attributes.gridLines==="1",horizontalCentered:$.attributes.horizontalCentered==="1",verticalCentered:$.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}H40.exports=G40});var lv=O((MP1,Z40)=>{var in0=G4(),nn0=X0();class V40 extends nn0{get tag(){return"autoFilter"}render($,I){if(I)if(typeof I==="string")$.leafNode("autoFilter",{ref:I});else{let U=function(Q){if(typeof Q==="string")return Q;return in0.getAddress(Q.row,Q.column).address},Y=U(I.from),J=U(I.to);if(Y&&J)$.leafNode("autoFilter",{ref:`${Y}:${J}`})}}parseOpen($){if($.name==="autoFilter")this.model=$.attributes.ref}}Z40.exports=V40});var ov=O((AP1,X40)=>{var pn0=X0();class z40 extends pn0{get tag(){return"picture"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}X40.exports=z40});var D40=O((PP1,L40)=>{var cn0=X0();class w40 extends cn0{get tag(){return"drawing"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}L40.exports=w40});var F40=O((TP1,N40)=>{var dn0=X0();class O40 extends dn0{get tag(){return"tablePart"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}N40.exports=O40});var P40=O((EP1,A40)=>{var mn0=X0();class M40 extends mn0{get tag(){return"brk"}render($,I){$.leafNode("brk",I)}parseOpen($){if($.name==="brk")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}A40.exports=M40});var rv=O((BP1,E40)=>{var ln0=P40(),on0=_9();class T40 extends on0{constructor(){let $={tag:"rowBreaks",count:!0,childXform:new ln0};super($)}render($,I){if(I&&I.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,I.length),$.addAttribute("manualBreakCount",I.length);let{childXform:U}=this;I.forEach((Y)=>{U.render($,Y)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}}E40.exports=T40});var tv=O((RP1,R40)=>{var rn0=X0();class B40 extends rn0{get tag(){return"headerFooter"}render($,I){if(I){$.addRollback();let U=!1;if($.openNode("headerFooter"),I.differentFirst)$.addAttribute("differentFirst","1"),U=!0;if(I.differentOddEven)$.addAttribute("differentOddEven","1"),U=!0;if(I.oddHeader&&typeof I.oddHeader==="string")$.leafNode("oddHeader",null,I.oddHeader),U=!0;if(I.oddFooter&&typeof I.oddFooter==="string")$.leafNode("oddFooter",null,I.oddFooter),U=!0;if(I.evenHeader&&typeof I.evenHeader==="string")$.leafNode("evenHeader",null,I.evenHeader),U=!0;if(I.evenFooter&&typeof I.evenFooter==="string")$.leafNode("evenFooter",null,I.evenFooter),U=!0;if(I.firstHeader&&typeof I.firstHeader==="string")$.leafNode("firstHeader",null,I.firstHeader),U=!0;if(I.firstFooter&&typeof I.firstFooter==="string")$.leafNode("firstFooter",null,I.firstFooter),U=!0;if(U)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){switch($.name){case"headerFooter":if(this.model={},$.attributes.differentFirst)this.model.differentFirst=parseInt($.attributes.differentFirst,0)===1;if($.attributes.differentOddEven)this.model.differentOddEven=parseInt($.attributes.differentOddEven,0)===1;return!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText($){switch(this.currentNode){case"oddHeader":this.model.oddHeader=$;break;case"oddFooter":this.model.oddFooter=$;break;case"evenHeader":this.model.evenHeader=$;break;case"evenFooter":this.model.evenFooter=$;break;case"firstHeader":this.model.firstHeader=$;break;case"firstFooter":this.model.firstFooter=$;break;default:break}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}R40.exports=B40});var d6=O((vP1,C40)=>{var tn0=X0();class v40 extends tn0{createNewModel($){return{}}parseOpen($){if(this.parser=this.parser||this.map[$.name],this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.model=this.createNewModel($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}onParserClose($,I){this.model[$]=I.model}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.onParserClose($,this.parser),this.parser=void 0;return!0}return $!==this.tag}}C40.exports=v40});var Tz=O((CP1,S40)=>{var j40=X0();class _40 extends j40{get tag(){return"cfvo"}render($,I){$.leafNode(this.tag,{type:I.type,val:I.value})}parseOpen($){this.model={type:$.attributes.type,value:j40.toFloatValue($.attributes.val)}}parseClose($){return $!==this.tag}}S40.exports=_40});var h40=O((jP1,y40)=>{var an0=d6(),sn0=S9(),en0=Tz();class g40 extends an0{constructor(){super();this.map={cfvo:this.cfvoXform=new en0,color:this.colorXform=new sn0}}get tag(){return"dataBar"}render($,I){$.openNode(this.tag),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),this.colorXform.render($,I.color),$.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose($,I){switch($){case"cfvo":this.model.cfvo.push(I.model);break;case"color":this.model.color=I.model;break}}}y40.exports=g40});var i40=O((_P1,b40)=>{var $p0=X0(),x40=d6();class k40 extends $p0{get tag(){return"x14:id"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}class u40 extends x40{constructor(){super();this.map={"x14:id":this.idXform=new k40}}get tag(){return"ext"}render($,I){$.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render($,I.x14Id),$.closeNode()}createNewModel(){return{}}onParserClose($,I){this.model.x14Id=I.model}}class f40 extends x40{constructor(){super();this.map={ext:new u40}}get tag(){return"extLst"}render($,I){$.openNode(this.tag),this.map.ext.render($,I),$.closeNode()}createNewModel(){return{}}onParserClose($,I){Object.assign(this.model,I.model)}}b40.exports=f40});var c40=O((SP1,p40)=>{var Ip0=X0();class n40 extends Ip0{get tag(){return"formula"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}p40.exports=n40});var l40=O((gP1,m40)=>{var Up0=d6(),Yp0=S9(),Jp0=Tz();class d40 extends Up0{constructor(){super();this.map={cfvo:this.cfvoXform=new Jp0,color:this.colorXform=new Yp0}}get tag(){return"colorScale"}render($,I){$.openNode(this.tag),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),I.color.forEach((U)=>{this.colorXform.render($,U)}),$.closeNode()}createNewModel($){return{cfvo:[],color:[]}}onParserClose($,I){this.model[$].push(I.model)}}m40.exports=d40});var t40=O((yP1,r40)=>{var JY=X0(),Qp0=d6(),Kp0=Tz();class o40 extends Qp0{constructor(){super();this.map={cfvo:this.cfvoXform=new Kp0}}get tag(){return"iconSet"}render($,I){$.openNode(this.tag,{iconSet:JY.toStringAttribute(I.iconSet,"3TrafficLights"),reverse:JY.toBoolAttribute(I.reverse,!1),showValue:JY.toBoolAttribute(I.showValue,!0)}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),$.closeNode()}createNewModel({attributes:$}){return{iconSet:JY.toStringValue($.iconSet,"3TrafficLights"),reverse:JY.toBoolValue($.reverse),showValue:JY.toBoolValue($.showValue),cfvo:[]}}onParserClose($,I){this.model[$].push(I.model)}}r40.exports=o40});var e40=O((hP1,s40)=>{var $8=X0(),qp0=d6(),a40=Q5(),Gp0=h40(),Hp0=i40(),Wp0=c40(),Vp0=l40(),Zp0=t40(),zp0={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},Xp0=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let I=new a40($.ref),{tl:U}=I;switch($.operator){case"containsText":return`NOT(ISERROR(SEARCH("${$.text}",${U})))`;case"containsBlanks":return`LEN(TRIM(${U}))=0`;case"notContainsBlanks":return`LEN(TRIM(${U}))>0`;case"containsErrors":return`ISERROR(${U})`;case"notContainsErrors":return`NOT(ISERROR(${U}))`;default:return}},wp0=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let I=new a40($.ref),{tl:U}=I;switch($.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${U},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${U},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${U},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${U},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${U},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${U},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${U},1)=TODAY()-1`;case"today":return`FLOOR(${U},1)=TODAY()`;case"tomorrow":return`FLOOR(${U},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${U},1)<=6,FLOOR(${U},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${U})=MONTH(EDATE(TODAY(),0-1)),YEAR(${U})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${U})=MONTH(TODAY()),YEAR(${U})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${U})=MONTH(EDATE(TODAY(),0+1)),YEAR(${U})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},Lp0=($)=>{let{type:I,operator:U}=$;switch(I){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:I};default:return{type:I,operator:U}}};class av extends qp0{constructor(){super();this.map={dataBar:this.databarXform=new Gp0,extLst:this.extLstRefXform=new Hp0,formula:this.formulaXform=new Wp0,colorScale:this.colorScaleXform=new Vp0,iconSet:this.iconSetXform=new Zp0}}get tag(){return"cfRule"}static isPrimitive($){if($.type==="iconSet"){if($.custom||zp0[$.iconSet])return!1}return!0}render($,I){switch(I.type){case"expression":this.renderExpression($,I);break;case"cellIs":this.renderCellIs($,I);break;case"top10":this.renderTop10($,I);break;case"aboveAverage":this.renderAboveAverage($,I);break;case"dataBar":this.renderDataBar($,I);break;case"colorScale":this.renderColorScale($,I);break;case"iconSet":this.renderIconSet($,I);break;case"containsText":this.renderText($,I);break;case"timePeriod":this.renderTimePeriod($,I);break}}renderExpression($,I){$.openNode(this.tag,{type:"expression",dxfId:I.dxfId,priority:I.priority}),this.formulaXform.render($,I.formulae[0]),$.closeNode()}renderCellIs($,I){$.openNode(this.tag,{type:"cellIs",dxfId:I.dxfId,priority:I.priority,operator:I.operator}),I.formulae.forEach((U)=>{this.formulaXform.render($,U)}),$.closeNode()}renderTop10($,I){$.leafNode(this.tag,{type:"top10",dxfId:I.dxfId,priority:I.priority,percent:$8.toBoolAttribute(I.percent,!1),bottom:$8.toBoolAttribute(I.bottom,!1),rank:$8.toIntValue(I.rank,10,!0)})}renderAboveAverage($,I){$.leafNode(this.tag,{type:"aboveAverage",dxfId:I.dxfId,priority:I.priority,aboveAverage:$8.toBoolAttribute(I.aboveAverage,!0)})}renderDataBar($,I){$.openNode(this.tag,{type:"dataBar",priority:I.priority}),this.databarXform.render($,I),this.extLstRefXform.render($,I),$.closeNode()}renderColorScale($,I){$.openNode(this.tag,{type:"colorScale",priority:I.priority}),this.colorScaleXform.render($,I),$.closeNode()}renderIconSet($,I){if(!av.isPrimitive(I))return;$.openNode(this.tag,{type:"iconSet",priority:I.priority}),this.iconSetXform.render($,I),$.closeNode()}renderText($,I){$.openNode(this.tag,{type:I.operator,dxfId:I.dxfId,priority:I.priority,operator:$8.toStringAttribute(I.operator,"containsText")});let U=Xp0(I);if(U)this.formulaXform.render($,U);$.closeNode()}renderTimePeriod($,I){$.openNode(this.tag,{type:"timePeriod",dxfId:I.dxfId,priority:I.priority,timePeriod:I.timePeriod});let U=wp0(I);if(U)this.formulaXform.render($,U);$.closeNode()}createNewModel({attributes:$}){return{...Lp0($),dxfId:$8.toIntValue($.dxfId),priority:$8.toIntValue($.priority),timePeriod:$.timePeriod,percent:$8.toBoolValue($.percent),bottom:$8.toBoolValue($.bottom),rank:$8.toIntValue($.rank),aboveAverage:$8.toBoolValue($.aboveAverage)}}onParserClose($,I){switch($){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,I.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(I.model);break}}}s40.exports=av});var U60=O((xP1,I60)=>{var Dp0=d6(),sv=e40();class $60 extends Dp0{constructor(){super();this.map={cfRule:new sv}}get tag(){return"conditionalFormatting"}render($,I){if(!I.rules.some(sv.isPrimitive))return;$.openNode(this.tag,{sqref:I.ref}),I.rules.forEach((U)=>{if(sv.isPrimitive(U))U.ref=I.ref,this.map.cfRule.render($,U)}),$.closeNode()}createNewModel({attributes:$}){return{ref:$.sqref,rules:[]}}onParserClose($,I){this.model.rules.push(I.model)}}I60.exports=$60});var ev=O((kP1,J60)=>{var Op0=X0(),Np0=U60();class Y60 extends Op0{constructor(){super();this.cfXform=new Np0}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare($,I){let U=$.reduce((Y,J)=>Math.max(Y,...J.rules.map((Q)=>Q.priority||0)),1);$.forEach((Y)=>{Y.rules.forEach((J)=>{if(!J.priority)J.priority=U++;if(J.style)J.dxfId=I.styles.addDxfStyle(J.style)})})}render($,I){I.forEach((U)=>{this.cfXform.render($,U)})}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))return this.model.push(this.parser.model),this.parser=void 0,!1;return!0}return!1}reconcile($,I){$.forEach((U)=>{U.rules.forEach((Y)=>{if(Y.dxfId!==void 0)Y.style=I.styles.getDxfStyle(Y.dxfId),delete Y.dxfId})})}}J60.exports=Y60});var $C=O((Q60)=>{Object.defineProperty(Q60,"__esModule",{value:!0});Q60.default=Ap0;var Fp0=Mp0(r("crypto"));function Mp0($){return $&&$.__esModule?$:{default:$}}var Bz=new Uint8Array(256),Ez=Bz.length;function Ap0(){if(Ez>Bz.length-16)Fp0.default.randomFillSync(Bz),Ez=0;return Bz.slice(Ez,Ez+=16)}});var G60=O((K60)=>{Object.defineProperty(K60,"__esModule",{value:!0});K60.default=void 0;var Tp0=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;K60.default=Tp0});var LK=O((H60)=>{Object.defineProperty(H60,"__esModule",{value:!0});H60.default=void 0;var Ep0=Bp0(G60());function Bp0($){return $&&$.__esModule?$:{default:$}}function Rp0($){return typeof $==="string"&&Ep0.default.test($)}var vp0=Rp0;H60.default=vp0});var DK=O((V60)=>{Object.defineProperty(V60,"__esModule",{value:!0});V60.default=void 0;var Cp0=jp0(LK());function jp0($){return $&&$.__esModule?$:{default:$}}var U6=[];for(let $=0;$<256;++$)U6.push(($+256).toString(16).substr(1));function _p0($,I=0){let U=(U6[$[I+0]]+U6[$[I+1]]+U6[$[I+2]]+U6[$[I+3]]+"-"+U6[$[I+4]]+U6[$[I+5]]+"-"+U6[$[I+6]]+U6[$[I+7]]+"-"+U6[$[I+8]]+U6[$[I+9]]+"-"+U6[$[I+10]]+U6[$[I+11]]+U6[$[I+12]]+U6[$[I+13]]+U6[$[I+14]]+U6[$[I+15]]).toLowerCase();if(!(0,Cp0.default)(U))throw TypeError("Stringified UUID is invalid");return U}var Sp0=_p0;V60.default=Sp0});var D60=O((w60)=>{Object.defineProperty(w60,"__esModule",{value:!0});w60.default=void 0;var gp0=X60($C()),yp0=X60(DK());function X60($){return $&&$.__esModule?$:{default:$}}var z60,IC,UC=0,YC=0;function hp0($,I,U){let Y=I&&U||0,J=I||Array(16);$=$||{};let Q=$.node||z60,K=$.clockseq!==void 0?$.clockseq:IC;if(Q==null||K==null){let z=$.random||($.rng||gp0.default)();if(Q==null)Q=z60=[z[0]|1,z[1],z[2],z[3],z[4],z[5]];if(K==null)K=IC=(z[6]<<8|z[7])&16383}let q=$.msecs!==void 0?$.msecs:Date.now(),G=$.nsecs!==void 0?$.nsecs:YC+1,H=q-UC+(G-YC)/1e4;if(H<0&&$.clockseq===void 0)K=K+1&16383;if((H<0||q>UC)&&$.nsecs===void 0)G=0;if(G>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");UC=q,YC=G,IC=K,q+=12219292800000;let W=((q&268435455)*1e4+G)%4294967296;J[Y++]=W>>>24&255,J[Y++]=W>>>16&255,J[Y++]=W>>>8&255,J[Y++]=W&255;let V=q/4294967296*1e4&268435455;J[Y++]=V>>>8&255,J[Y++]=V&255,J[Y++]=V>>>24&15|16,J[Y++]=V>>>16&255,J[Y++]=K>>>8|128,J[Y++]=K&255;for(let z=0;z<6;++z)J[Y+z]=Q[z];return I||(0,yp0.default)(J)}var xp0=hp0;w60.default=xp0});var JC=O((O60)=>{Object.defineProperty(O60,"__esModule",{value:!0});O60.default=void 0;var kp0=up0(LK());function up0($){return $&&$.__esModule?$:{default:$}}function fp0($){if(!(0,kp0.default)($))throw TypeError("Invalid UUID");let I,U=new Uint8Array(16);return U[0]=(I=parseInt($.slice(0,8),16))>>>24,U[1]=I>>>16&255,U[2]=I>>>8&255,U[3]=I&255,U[4]=(I=parseInt($.slice(9,13),16))>>>8,U[5]=I&255,U[6]=(I=parseInt($.slice(14,18),16))>>>8,U[7]=I&255,U[8]=(I=parseInt($.slice(19,23),16))>>>8,U[9]=I&255,U[10]=(I=parseInt($.slice(24,36),16))/1099511627776&255,U[11]=I/4294967296&255,U[12]=I>>>24&255,U[13]=I>>>16&255,U[14]=I>>>8&255,U[15]=I&255,U}var bp0=fp0;O60.default=bp0});var QC=O((P60)=>{Object.defineProperty(P60,"__esModule",{value:!0});P60.default=cp0;P60.URL=P60.DNS=void 0;var ip0=F60(DK()),np0=F60(JC());function F60($){return $&&$.__esModule?$:{default:$}}function pp0($){$=unescape(encodeURIComponent($));let I=[];for(let U=0;U<$.length;++U)I.push($.charCodeAt(U));return I}var M60="6ba7b810-9dad-11d1-80b4-00c04fd430c8";P60.DNS=M60;var A60="6ba7b811-9dad-11d1-80b4-00c04fd430c8";P60.URL=A60;function cp0($,I,U){function Y(J,Q,K,q){if(typeof J==="string")J=pp0(J);if(typeof Q==="string")Q=(0,np0.default)(Q);if(Q.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let G=new Uint8Array(16+J.length);if(G.set(Q),G.set(J,Q.length),G=U(G),G[6]=G[6]&15|I,G[8]=G[8]&63|128,K){q=q||0;for(let H=0;H<16;++H)K[q+H]=G[H];return K}return(0,ip0.default)(G)}try{Y.name=$}catch(J){}return Y.DNS=M60,Y.URL=A60,Y}});var R60=O((E60)=>{Object.defineProperty(E60,"__esModule",{value:!0});E60.default=void 0;var lp0=op0(r("crypto"));function op0($){return $&&$.__esModule?$:{default:$}}function rp0($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return lp0.default.createHash("md5").update($).digest()}var tp0=rp0;E60.default=tp0});var _60=O((C60)=>{Object.defineProperty(C60,"__esModule",{value:!0});C60.default=void 0;var ap0=v60(QC()),sp0=v60(R60());function v60($){return $&&$.__esModule?$:{default:$}}var ep0=(0,ap0.default)("v3",48,sp0.default),$c0=ep0;C60.default=$c0});var h60=O((g60)=>{Object.defineProperty(g60,"__esModule",{value:!0});g60.default=void 0;var Ic0=S60($C()),Uc0=S60(DK());function S60($){return $&&$.__esModule?$:{default:$}}function Yc0($,I,U){$=$||{};let Y=$.random||($.rng||Ic0.default)();if(Y[6]=Y[6]&15|64,Y[8]=Y[8]&63|128,I){U=U||0;for(let J=0;J<16;++J)I[U+J]=Y[J];return I}return(0,Uc0.default)(Y)}var Jc0=Yc0;g60.default=Jc0});var u60=O((x60)=>{Object.defineProperty(x60,"__esModule",{value:!0});x60.default=void 0;var Qc0=Kc0(r("crypto"));function Kc0($){return $&&$.__esModule?$:{default:$}}function qc0($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return Qc0.default.createHash("sha1").update($).digest()}var Gc0=qc0;x60.default=Gc0});var n60=O((b60)=>{Object.defineProperty(b60,"__esModule",{value:!0});b60.default=void 0;var Hc0=f60(QC()),Wc0=f60(u60());function f60($){return $&&$.__esModule?$:{default:$}}var Vc0=(0,Hc0.default)("v5",80,Wc0.default),Zc0=Vc0;b60.default=Zc0});var d60=O((p60)=>{Object.defineProperty(p60,"__esModule",{value:!0});p60.default=void 0;var zc0="00000000-0000-0000-0000-000000000000";p60.default=zc0});var o60=O((m60)=>{Object.defineProperty(m60,"__esModule",{value:!0});m60.default=void 0;var Xc0=wc0(LK());function wc0($){return $&&$.__esModule?$:{default:$}}function Lc0($){if(!(0,Xc0.default)($))throw TypeError("Invalid UUID");return parseInt($.substr(14,1),16)}var Dc0=Lc0;m60.default=Dc0});var r60=O((I8)=>{Object.defineProperty(I8,"__esModule",{value:!0});Object.defineProperty(I8,"v1",{enumerable:!0,get:function(){return Oc0.default}});Object.defineProperty(I8,"v3",{enumerable:!0,get:function(){return Nc0.default}});Object.defineProperty(I8,"v4",{enumerable:!0,get:function(){return Fc0.default}});Object.defineProperty(I8,"v5",{enumerable:!0,get:function(){return Mc0.default}});Object.defineProperty(I8,"NIL",{enumerable:!0,get:function(){return Ac0.default}});Object.defineProperty(I8,"version",{enumerable:!0,get:function(){return Pc0.default}});Object.defineProperty(I8,"validate",{enumerable:!0,get:function(){return Tc0.default}});Object.defineProperty(I8,"stringify",{enumerable:!0,get:function(){return Ec0.default}});Object.defineProperty(I8,"parse",{enumerable:!0,get:function(){return Bc0.default}});var Oc0=w5(D60()),Nc0=w5(_60()),Fc0=w5(h60()),Mc0=w5(n60()),Ac0=w5(d60()),Pc0=w5(o60()),Tc0=w5(LK()),Ec0=w5(DK()),Bc0=w5(JC());function w5($){return $&&$.__esModule?$:{default:$}}});var s60=O((eP1,a60)=>{var Rc0=X0();class t60 extends Rc0{get tag(){return"xm:f"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}a60.exports=t60});var KC=O(($T1,$$0)=>{var vc0=d6(),Cc0=s60();class e60 extends vc0{constructor(){super();this.map={"xm:f":this.fExtXform=new Cc0}}get tag(){return"x14:cfvo"}render($,I){if($.openNode(this.tag,{type:I.type}),I.value!==void 0)this.fExtXform.render($,I.value);$.closeNode()}createNewModel($){return{type:$.attributes.type}}onParserClose($,I){switch($){case"xm:f":this.model.value=I.model?parseFloat(I.model):0;break}}}$$0.exports=e60});var Y$0=O((IT1,U$0)=>{var D6=X0(),jc0=d6(),Rz=S9(),_c0=KC();class I$0 extends jc0{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new _c0,"x14:borderColor":this.borderColorXform=new Rz("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new Rz("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new Rz("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new Rz("x14:axisColor")}}static isExt($){return!$.gradient}get tag(){return"x14:dataBar"}render($,I){$.openNode(this.tag,{minLength:D6.toIntAttribute(I.minLength,0,!0),maxLength:D6.toIntAttribute(I.maxLength,100,!0),border:D6.toBoolAttribute(I.border,!1),gradient:D6.toBoolAttribute(I.gradient,!0),negativeBarColorSameAsPositive:D6.toBoolAttribute(I.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:D6.toBoolAttribute(I.negativeBarBorderColorSameAsPositive,!0),axisPosition:D6.toAttribute(I.axisPosition,"auto"),direction:D6.toAttribute(I.direction,"leftToRight")}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),this.borderColorXform.render($,I.borderColor),this.negativeBorderColorXform.render($,I.negativeBorderColor),this.negativeFillColorXform.render($,I.negativeFillColor),this.axisColorXform.render($,I.axisColor),$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],minLength:D6.toIntValue($.minLength,0),maxLength:D6.toIntValue($.maxLength,100),border:D6.toBoolValue($.border,!1),gradient:D6.toBoolValue($.gradient,!0),negativeBarColorSameAsPositive:D6.toBoolValue($.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:D6.toBoolValue($.negativeBarBorderColorSameAsPositive,!0),axisPosition:D6.toStringValue($.axisPosition,"auto"),direction:D6.toStringValue($.direction,"leftToRight")}}onParserClose($,I){let[,U]=$.split(":");switch(U){case"cfvo":this.model.cfvo.push(I.model);break;default:this.model[U]=I.model;break}}}U$0.exports=I$0});var q$0=O((UT1,K$0)=>{var J$0=X0();class Q$0 extends J$0{get tag(){return"x14:cfIcon"}render($,I){$.leafNode(this.tag,{iconSet:I.iconSet,iconId:I.iconId})}parseOpen({attributes:$}){this.model={iconSet:$.iconSet,iconId:J$0.toIntValue($.iconId)}}parseClose($){return $!==this.tag}}K$0.exports=Q$0});var W$0=O((YT1,H$0)=>{var q3=X0(),Sc0=d6(),gc0=KC(),yc0=q$0();class G$0 extends Sc0{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new gc0,"x14:cfIcon":this.cfIconXform=new yc0}}get tag(){return"x14:iconSet"}render($,I){if($.openNode(this.tag,{iconSet:q3.toStringAttribute(I.iconSet),reverse:q3.toBoolAttribute(I.reverse,!1),showValue:q3.toBoolAttribute(I.showValue,!0),custom:q3.toBoolAttribute(I.icons,!1)}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),I.icons)I.icons.forEach((U,Y)=>{U.iconId=Y,this.cfIconXform.render($,U)});$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],iconSet:q3.toStringValue($.iconSet,"3TrafficLights"),reverse:q3.toBoolValue($.reverse,!1),showValue:q3.toBoolValue($.showValue,!0)}}onParserClose($,I){let[,U]=$.split(":");switch(U){case"cfvo":this.model.cfvo.push(I.model);break;case"cfIcon":if(!this.model.icons)this.model.icons=[];this.model.icons.push(I.model);break;default:this.model[U]=I.model;break}}}H$0.exports=G$0});var qC=O((JT1,z$0)=>{var{v4:V$0}=r60(),hc0=X0(),xc0=d6(),Z$0=Y$0(),kc0=W$0(),uc0={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class vz extends xc0{constructor(){super();this.map={"x14:dataBar":this.databarXform=new Z$0,"x14:iconSet":this.iconSetXform=new kc0}}get tag(){return"x14:cfRule"}static isExt($){if($.type==="dataBar")return Z$0.isExt($);if($.type==="iconSet"){if($.custom||uc0[$.iconSet])return!0}return!1}prepare($){if(vz.isExt($))$.x14Id=`{${V$0()}}`.toUpperCase()}render($,I){if(!vz.isExt(I))return;switch(I.type){case"dataBar":this.renderDataBar($,I);break;case"iconSet":this.renderIconSet($,I);break}}renderDataBar($,I){$.openNode(this.tag,{type:"dataBar",id:I.x14Id}),this.databarXform.render($,I),$.closeNode()}renderIconSet($,I){$.openNode(this.tag,{type:"iconSet",priority:I.priority,id:I.x14Id||`{${V$0()}}`}),this.iconSetXform.render($,I),$.closeNode()}createNewModel({attributes:$}){return{type:$.type,x14Id:$.id,priority:hc0.toIntValue($.priority)}}onParserClose($,I){Object.assign(this.model,I.model)}}z$0.exports=vz});var L$0=O((QT1,w$0)=>{var fc0=X0();class X$0 extends fc0{get tag(){return"xm:sqref"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}w$0.exports=X$0});var N$0=O((KT1,O$0)=>{var bc0=d6(),ic0=L$0(),GC=qC();class D$0 extends bc0{constructor(){super();this.map={"xm:sqref":this.sqRef=new ic0,"x14:cfRule":this.cfRule=new GC}}get tag(){return"x14:conditionalFormatting"}prepare($,I){$.rules.forEach((U)=>{this.cfRule.prepare(U,I)})}render($,I){if(!I.rules.some(GC.isExt))return;$.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),I.rules.filter(GC.isExt).forEach((U)=>this.cfRule.render($,U)),this.sqRef.render($,I.ref),$.closeNode()}createNewModel(){return{rules:[]}}onParserClose($,I){switch($){case"xm:sqref":this.model.ref=I.model;break;case"x14:cfRule":this.model.rules.push(I.model);break}}}O$0.exports=D$0});var A$0=O((qT1,M$0)=>{var nc0=d6(),pc0=qC(),cc0=N$0();class F$0 extends nc0{constructor(){super();this.map={"x14:conditionalFormatting":this.cfXform=new cc0}}get tag(){return"x14:conditionalFormattings"}hasContent($){if($.hasExtContent===void 0)$.hasExtContent=$.some((I)=>I.rules.some(pc0.isExt));return $.hasExtContent}prepare($,I){$.forEach((U)=>{this.cfXform.prepare(U,I)})}render($,I){if(this.hasContent(I))$.openNode(this.tag),I.forEach((U)=>this.cfXform.render($,U)),$.closeNode()}createNewModel(){return[]}onParserClose($,I){this.model.push(I.model)}}M$0.exports=F$0});var R$0=O((GT1,B$0)=>{var P$0=d6(),dc0=A$0();class T$0 extends P$0{constructor(){super();this.map={"x14:conditionalFormattings":this.conditionalFormattings=new dc0}}get tag(){return"ext"}hasContent($){return this.conditionalFormattings.hasContent($.conditionalFormattings)}prepare($,I){this.conditionalFormattings.prepare($.conditionalFormattings,I)}render($,I){$.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render($,I.conditionalFormattings),$.closeNode()}createNewModel(){return{}}onParserClose($,I){this.model[$]=I.model}}class E$0 extends P$0{constructor(){super();this.map={ext:this.ext=new T$0}}get tag(){return"extLst"}prepare($,I){this.ext.prepare($,I)}hasContent($){return this.ext.hasContent($)}render($,I){if(!this.hasContent(I))return;$.openNode("extLst"),this.ext.render($,I),$.closeNode()}createNewModel(){return{}}onParserClose($,I){Object.assign(this.model,I.model)}}B$0.exports=E$0});var C$0=O((HT1,v$0)=>{var mc0=z4(),lc0=G4(),oc0=$6(),L5=y9(),rc0=E10(),tc0=X0(),QY=_9(),ac0=yv(),sc0=xv(),ec0=x10(),$d0=kv(),Id0=i10(),Ud0=bv(),Yd0=iv(),Jd0=nv(),Qd0=pv(),Kd0=cv(),qd0=dv(),Gd0=mv(),Hd0=W40(),Wd0=lv(),Vd0=ov(),Zd0=D40(),zd0=F40(),Xd0=rv(),wd0=tv(),Ld0=ev(),Dd0=R$0(),Od0=($,I)=>{Object.keys(I).forEach((U)=>{let Y=$[U],J=I[U];if(Y===void 0&&J!==void 0)$[U]=J})},Nd0=($,I)=>{if(!I||!I.length)return $;if(!$||!$.length)return I;let U={},Y={};return $.forEach((J)=>{U[J.ref]=J,J.rules.forEach((Q)=>{let{x14Id:K}=Q;if(K)Y[K]=Q})}),I.forEach((J)=>{J.rules.forEach((Q)=>{let K=Y[Q.x14Id];if(K)Od0(K,Q);else if(U[J.ref])U[J.ref].rules.push(Q);else $.push({ref:J.ref,rules:[Q]})})}),$};class Cz extends tc0{constructor($){super();let{maxRows:I,maxCols:U,ignoreNodes:Y}=$||{};this.ignoreNodes=Y||[],this.map={sheetPr:new Yd0,dimension:new ec0,sheetViews:new QY({tag:"sheetViews",count:!1,childXform:new Qd0}),sheetFormatPr:new Jd0,cols:new QY({tag:"cols",count:!1,childXform:new sc0}),sheetData:new QY({tag:"sheetData",count:!1,empty:!0,childXform:new ac0({maxItems:U}),maxItems:I}),autoFilter:new Wd0,mergeCells:new QY({tag:"mergeCells",count:!0,childXform:new Id0}),rowBreaks:new Xd0,hyperlinks:new QY({tag:"hyperlinks",count:!1,childXform:new $d0}),pageMargins:new qd0,dataValidations:new Ud0,pageSetup:new Gd0,headerFooter:new wd0,printOptions:new Hd0,picture:new Vd0,drawing:new Zd0,sheetProtection:new Kd0,tableParts:new QY({tag:"tableParts",count:!0,childXform:new zd0}),conditionalFormatting:new Ld0,extLst:new Dd0}}prepare($,I){I.merges=new rc0,$.hyperlinks=I.hyperlinks=[],$.comments=I.comments=[],I.formulae={},I.siFormulae=0,this.map.cols.prepare($.cols,I),this.map.sheetData.prepare($.rows,I),this.map.conditionalFormatting.prepare($.conditionalFormattings,I),$.mergeCells=I.merges.mergeCells;let U=$.rels=[];function Y(K){return`rId${K.length+1}`}if($.hyperlinks.forEach((K)=>{let q=Y(U);K.rId=q,U.push({Id:q,Type:L5.Hyperlink,Target:K.target,TargetMode:"External"})}),$.comments.length>0){let K={Id:Y(U),Type:L5.Comments,Target:`../comments${$.id}.xml`};U.push(K);let q={Id:Y(U),Type:L5.VmlDrawing,Target:`../drawings/vmlDrawing${$.id}.vml`};U.push(q),$.comments.forEach((G)=>{G.refAddress=lc0.decodeAddress(G.ref)}),I.commentRefs.push({commentName:`comments${$.id}`,vmlDrawing:`vmlDrawing${$.id}`})}let J=[],Q;$.media.forEach((K)=>{if(K.type==="background"){let q=Y(U);Q=I.media[K.imageId],U.push({Id:q,Type:L5.Image,Target:`../media/${Q.name}.${Q.extension}`}),$.background={rId:q},$.image=I.media[K.imageId]}else if(K.type==="image"){let{drawing:q}=$;if(Q=I.media[K.imageId],!q)q=$.drawing={rId:Y(U),name:`drawing${++I.drawingsCount}`,anchors:[],rels:[]},I.drawings.push(q),U.push({Id:q.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${q.name}.xml`});let G=this.preImageId===K.imageId?J[K.imageId]:J[q.rels.length];if(!G)G=Y(q.rels),J[q.rels.length]=G,q.rels.push({Id:G,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${Q.name}.${Q.extension}`});let H={picture:{rId:G},range:K.range};if(K.hyperlinks&&K.hyperlinks.hyperlink){let W=Y(q.rels);J[q.rels.length]=W,H.picture.hyperlinks={tooltip:K.hyperlinks.tooltip,rId:W},q.rels.push({Id:W,Type:L5.Hyperlink,Target:K.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=K.imageId,q.anchors.push(H)}}),$.tables.forEach((K)=>{let q=Y(U);K.rId=q,U.push({Id:q,Type:L5.Table,Target:`../tables/${K.target}`}),K.columns.forEach((G)=>{let{style:H}=G;if(H)G.dxfId=I.styles.addDxfStyle(H)})}),this.map.extLst.prepare($,I)}render($,I){$.openXml(oc0.StdDocAttributes),$.openNode("worksheet",Cz.WORKSHEET_ATTRIBUTES);let U=I.properties?{defaultRowHeight:I.properties.defaultRowHeight,dyDescent:I.properties.dyDescent,outlineLevelCol:I.properties.outlineLevelCol,outlineLevelRow:I.properties.outlineLevelRow}:void 0;if(I.properties&&I.properties.defaultColWidth)U.defaultColWidth=I.properties.defaultColWidth;let Y={outlineProperties:I.properties&&I.properties.outlineProperties,tabColor:I.properties&&I.properties.tabColor,pageSetup:I.pageSetup&&I.pageSetup.fitToPage?{fitToPage:I.pageSetup.fitToPage}:void 0},J=I.pageSetup&&I.pageSetup.margins,Q={showRowColHeaders:I.pageSetup&&I.pageSetup.showRowColHeaders,showGridLines:I.pageSetup&&I.pageSetup.showGridLines,horizontalCentered:I.pageSetup&&I.pageSetup.horizontalCentered,verticalCentered:I.pageSetup&&I.pageSetup.verticalCentered},K=I.sheetProtection;if(this.map.sheetPr.render($,Y),this.map.dimension.render($,I.dimensions),this.map.sheetViews.render($,I.views),this.map.sheetFormatPr.render($,U),this.map.cols.render($,I.cols),this.map.sheetData.render($,I.rows),this.map.sheetProtection.render($,K),this.map.autoFilter.render($,I.autoFilter),this.map.mergeCells.render($,I.mergeCells),this.map.conditionalFormatting.render($,I.conditionalFormattings),this.map.dataValidations.render($,I.dataValidations),this.map.hyperlinks.render($,I.hyperlinks),this.map.printOptions.render($,Q),this.map.pageMargins.render($,J),this.map.pageSetup.render($,I.pageSetup),this.map.headerFooter.render($,I.headerFooter),this.map.rowBreaks.render($,I.rowBreaks),this.map.drawing.render($,I.drawing),this.map.picture.render($,I.background),this.map.tableParts.render($,I.tables),this.map.extLst.render($,I),I.rels)I.rels.forEach((q)=>{if(q.Type===L5.VmlDrawing)$.leafNode("legacyDrawing",{"r:id":q.Id})});$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="worksheet")return mc0.each(this.map,(I)=>{I.reset()}),!0;if(this.map[$.name]&&!this.ignoreNodes.includes($.name))this.parser=this.map[$.name],this.parser.parseOpen($);return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"worksheet":{let I=this.map.sheetFormatPr.model||{};if(this.map.sheetPr.model&&this.map.sheetPr.model.tabColor)I.tabColor=this.map.sheetPr.model.tabColor;if(this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties)I.outlineProperties=this.map.sheetPr.model.outlineProperties;let U={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},Y=Object.assign(U,this.map.pageSetup.model,this.map.printOptions.model),J=Nd0(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);if(this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:I,views:this.map.sheetViews.model,pageSetup:Y,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:J},this.map.autoFilter.model)this.model.autoFilter=this.map.autoFilter.model;if(this.map.sheetProtection.model)this.model.sheetProtection=this.map.sheetProtection.model;return!1}default:return!0}}reconcile($,I){let U=($.relationships||[]).reduce((J,Q)=>{if(J[Q.Id]=Q,Q.Type===L5.Comments)$.comments=I.comments[Q.Target].comments;if(Q.Type===L5.VmlDrawing&&$.comments&&$.comments.length){let K=I.vmlDrawings[Q.Target].comments;$.comments.forEach((q,G)=>{q.note=Object.assign({},q.note,K[G])})}return J},{});if(I.commentsMap=($.comments||[]).reduce((J,Q)=>{if(Q.ref)J[Q.ref]=Q;return J},{}),I.hyperlinkMap=($.hyperlinks||[]).reduce((J,Q)=>{if(Q.rId)J[Q.address]=U[Q.rId].Target;return J},{}),I.formulae={},$.rows=$.rows&&$.rows.filter(Boolean)||[],$.rows.forEach((J)=>{J.cells=J.cells&&J.cells.filter(Boolean)||[]}),this.map.cols.reconcile($.cols,I),this.map.sheetData.reconcile($.rows,I),this.map.conditionalFormatting.reconcile($.conditionalFormattings,I),$.media=[],$.drawing){let Q=U[$.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(Q){let K=Q[1];I.drawings[K].anchors.forEach((G)=>{if(G.medium){let H={type:"image",imageId:G.medium.index,range:G.range,hyperlinks:G.picture.hyperlinks};$.media.push(H)}})}}let Y=$.background&&U[$.background.rId];if(Y){let J=Y.Target.split("/media/")[1],Q=I.mediaIndex&&I.mediaIndex[J];if(Q!==void 0)$.media.push({type:"background",imageId:Q})}$.tables=($.tables||[]).map((J)=>{let Q=U[J.rId];return I.tables[Q.Target]}),delete $.relationships,delete $.hyperlinks,delete $.comments}}Cz.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"};v$0.exports=Cz});var HC=O((WT1,_$0)=>{var Fd0=X0();class j$0 extends Fd0{parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={range:{editAs:$.attributes.editAs||"oneCell"}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}reconcilePicture($,I){if($&&$.rId){let Y=I.rels[$.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(Y){let J=Y[1],Q=I.mediaIndex[J];return I.media[Q]}}return}}_$0.exports=j$0});var WC=O((VT1,g$0)=>{var Md0=X0(),jz=Kz();class S$0 extends Md0{constructor($){super();this.tag=$.tag,this.map={"xdr:col":new jz({tag:"xdr:col",zero:!0}),"xdr:colOff":new jz({tag:"xdr:colOff",zero:!0}),"xdr:row":new jz({tag:"xdr:row",zero:!0}),"xdr:rowOff":new jz({tag:"xdr:rowOff",zero:!0})}}render($,I){$.openNode(this.tag),this.map["xdr:col"].render($,I.nativeCol),this.map["xdr:colOff"].render($,I.nativeColOff),this.map["xdr:row"].render($,I.nativeRow),this.map["xdr:rowOff"].render($,I.nativeRowOff),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}g$0.exports=S$0});var x$0=O((ZT1,h$0)=>{var Ad0=X0();class y$0 extends Ad0{get tag(){return"a:blip"}render($,I){$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":I.rId,cstate:"print"})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}h$0.exports=y$0});var f$0=O((zT1,u$0)=>{var Pd0=X0(),Td0=x$0();class k$0 extends Pd0{constructor(){super();this.map={"a:blip":new Td0}}get tag(){return"xdr:blipFill"}render($,I){$.openNode(this.tag),this.map["a:blip"].render($,I),$.openNode("a:stretch"),$.leafNode("a:fillRect"),$.closeNode(),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}u$0.exports=k$0});var n$0=O((XT1,i$0)=>{var Ed0=X0();class b$0 extends Ed0{get tag(){return"a:hlinkClick"}render($,I){if(!(I.hyperlinks&&I.hyperlinks.rId))return;$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":I.hyperlinks.rId,tooltip:I.hyperlinks.tooltip})}parseOpen($){switch($.name){case this.tag:return this.model={hyperlinks:{rId:$.attributes["r:id"],tooltip:$.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}i$0.exports=b$0});var d$0=O((wT1,c$0)=>{var Bd0=X0();class p$0 extends Bd0{get tag(){return"a:extLst"}render($){$.openNode(this.tag),$.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),$.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),$.closeNode(),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}c$0.exports=p$0});var o$0=O((LT1,l$0)=>{var Rd0=X0(),vd0=n$0(),Cd0=d$0();class m$0 extends Rd0{constructor(){super();this.map={"a:hlinkClick":new vd0,"a:extLst":new Cd0}}get tag(){return"xdr:cNvPr"}render($,I){$.openNode(this.tag,{id:I.index,name:`Picture ${I.index}`}),this.map["a:hlinkClick"].render($,I),this.map["a:extLst"].render($,I),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}l$0.exports=m$0});var a$0=O((DT1,t$0)=>{var jd0=X0();class r$0 extends jd0{get tag(){return"xdr:cNvPicPr"}render($){$.openNode(this.tag),$.leafNode("a:picLocks",{noChangeAspect:"1"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}t$0.exports=r$0});var $80=O((OT1,e$0)=>{var _d0=X0(),Sd0=o$0(),gd0=a$0();class s$0 extends _d0{constructor(){super();this.map={"xdr:cNvPr":new Sd0,"xdr:cNvPicPr":new gd0}}get tag(){return"xdr:nvPicPr"}render($,I){$.openNode(this.tag),this.map["xdr:cNvPr"].render($,I),this.map["xdr:cNvPicPr"].render($,I),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}e$0.exports=s$0});var U80=O((NT1,I80)=>{I80.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}});var VC=O((FT1,J80)=>{var yd0=X0(),hd0=sU(),xd0=f$0(),kd0=$80(),ud0=U80();class Y80 extends yd0{constructor(){super();this.map={"xdr:nvPicPr":new kd0,"xdr:blipFill":new xd0,"xdr:spPr":new hd0(ud0)}}get tag(){return"xdr:pic"}prepare($,I){$.index=I.index+1}render($,I){$.openNode(this.tag),this.map["xdr:nvPicPr"].render($,I),this.map["xdr:blipFill"].render($,I),this.map["xdr:spPr"].render($,I),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.mergeModel(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}}J80.exports=Y80});var G80=O((MT1,q80)=>{var fd0=HC(),bd0=sU(),Q80=WC(),id0=VC();class K80 extends fd0{constructor(){super();this.map={"xdr:from":new Q80({tag:"xdr:from"}),"xdr:to":new Q80({tag:"xdr:to"}),"xdr:pic":new id0,"xdr:clientData":new bd0({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare($,I){this.map["xdr:pic"].prepare($.picture,I)}render($,I){$.openNode(this.tag,{editAs:I.range.editAs||"oneCell"}),this.map["xdr:from"].render($,I.range.tl),this.map["xdr:to"].render($,I.range.br),this.map["xdr:pic"].render($,I.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,I){$.medium=this.reconcilePicture($.picture,I)}}q80.exports=K80});var V80=O((AT1,W80)=>{var nd0=X0();class H80 extends nd0{constructor($){super();this.tag=$.tag,this.map={}}render($,I){$.openNode(this.tag);let U=Math.floor(I.width*9525),Y=Math.floor(I.height*9525);$.addAttribute("cx",U),$.addAttribute("cy",Y),$.closeNode()}parseOpen($){if($.name===this.tag)return this.model={width:parseInt($.attributes.cx||"0",10)/9525,height:parseInt($.attributes.cy||"0",10)/9525},!0;return!1}parseText(){}parseClose(){return!1}}W80.exports=H80});var X80=O((PT1,z80)=>{var pd0=HC(),cd0=sU(),dd0=WC(),md0=V80(),ld0=VC();class Z80 extends pd0{constructor(){super();this.map={"xdr:from":new dd0({tag:"xdr:from"}),"xdr:ext":new md0({tag:"xdr:ext"}),"xdr:pic":new ld0,"xdr:clientData":new cd0({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare($,I){this.map["xdr:pic"].prepare($.picture,I)}render($,I){$.openNode(this.tag,{editAs:I.range.editAs||"oneCell"}),this.map["xdr:from"].render($,I.range.tl),this.map["xdr:ext"].render($,I.range.ext),this.map["xdr:pic"].render($,I.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,I){$.medium=this.reconcilePicture($.picture,I)}}z80.exports=Z80});var L80=O((TT1,w80)=>{var od0=G4(),rd0=$6(),td0=X0(),ad0=G80(),sd0=X80();function ed0($){return(typeof $.range==="string"?od0.decode($.range):$.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}class _z extends td0{constructor(){super();this.map={"xdr:twoCellAnchor":new ad0,"xdr:oneCellAnchor":new sd0}}prepare($){$.anchors.forEach((I,U)=>{I.anchorType=ed0(I),this.map[I.anchorType].prepare(I,{index:U})})}get tag(){return"xdr:wsDr"}render($,I){$.openXml(rd0.StdDocAttributes),$.openNode(this.tag,_z.DRAWING_ATTRIBUTES),I.anchors.forEach((U)=>{this.map[U.anchorType].render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.anchors.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,I){$.anchors.forEach((U)=>{if(U.br)this.map["xdr:twoCellAnchor"].reconcile(U,I);else this.map["xdr:oneCellAnchor"].reconcile(U,I)})}}_z.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"};w80.exports=_z});var N80=O((ET1,O80)=>{var $m0=X0();class D80 extends $m0{get tag(){return"customFilter"}render($,I){$.leafNode(this.tag,{val:I.val,operator:I.operator})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val,operator:$.attributes.operator},!0;return!1}parseText(){}parseClose(){return!1}}O80.exports=D80});var A80=O((BT1,M80)=>{var Im0=X0();class F80 extends Im0{get tag(){return"filter"}render($,I){$.leafNode(this.tag,{val:I.val})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val},!0;return!1}parseText(){}parseClose(){return!1}}M80.exports=F80});var B80=O((RT1,E80)=>{var Um0=X0(),P80=_9(),Ym0=N80(),Jm0=A80();class T80 extends Um0{constructor(){super();this.map={customFilters:new P80({tag:"customFilters",count:!1,empty:!0,childXform:new Ym0}),filters:new P80({tag:"filters",count:!1,empty:!0,childXform:new Jm0})}}get tag(){return"filterColumn"}prepare($,I){$.colId=I.index.toString()}render($,I){if(I.customFilters)return $.openNode(this.tag,{colId:I.colId,hiddenButton:I.filterButton?"0":"1"}),this.map.customFilters.render($,I.customFilters),$.closeNode(),!0;return $.leafNode(this.tag,{colId:I.colId,hiddenButton:I.filterButton?"0":"1"}),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{attributes:I}=$;switch($.name){case this.tag:return this.model={filterButton:I.hiddenButton==="0"},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}E80.exports=T80});var C80=O((vT1,v80)=>{var Qm0=X0(),Km0=B80();class R80 extends Qm0{constructor(){super();this.map={filterColumn:new Km0}}get tag(){return"autoFilter"}prepare($){$.columns.forEach((I,U)=>{this.map.filterColumn.prepare(I,{index:U})})}render($,I){return $.openNode(this.tag,{ref:I.autoFilterRef}),I.columns.forEach((U)=>{this.map.filterColumn.render($,U)}),$.closeNode(),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model={autoFilterRef:$.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.columns.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}v80.exports=R80});var S80=O((CT1,_80)=>{var qm0=X0();class j80 extends qm0{get tag(){return"tableColumn"}prepare($,I){$.id=I.index+1}render($,I){return $.leafNode(this.tag,{id:I.id.toString(),name:I.name,totalsRowLabel:I.totalsRowLabel,totalsRowFunction:I.totalsRowFunction,dxfId:I.dxfId}),!0}parseOpen($){if($.name===this.tag){let{attributes:I}=$;return this.model={name:I.name,totalsRowLabel:I.totalsRowLabel,totalsRowFunction:I.totalsRowFunction,dxfId:I.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}_80.exports=j80});var h80=O((jT1,y80)=>{var Gm0=X0();class g80 extends Gm0{get tag(){return"tableStyleInfo"}render($,I){return $.leafNode(this.tag,{name:I.theme?I.theme:void 0,showFirstColumn:I.showFirstColumn?"1":"0",showLastColumn:I.showLastColumn?"1":"0",showRowStripes:I.showRowStripes?"1":"0",showColumnStripes:I.showColumnStripes?"1":"0"}),!0}parseOpen($){if($.name===this.tag){let{attributes:I}=$;return this.model={theme:I.name?I.name:null,showFirstColumn:I.showFirstColumn==="1",showLastColumn:I.showLastColumn==="1",showRowStripes:I.showRowStripes==="1",showColumnStripes:I.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}y80.exports=g80});var k80=O((_T1,x80)=>{var Hm0=$6(),Wm0=X0(),Vm0=_9(),Zm0=C80(),zm0=S80(),Xm0=h80();class Sz extends Wm0{constructor(){super();this.map={autoFilter:new Zm0,tableColumns:new Vm0({tag:"tableColumns",count:!0,empty:!0,childXform:new zm0}),tableStyleInfo:new Xm0}}prepare($,I){this.map.autoFilter.prepare($),this.map.tableColumns.prepare($.columns,I)}get tag(){return"table"}render($,I){$.openXml(Hm0.StdDocAttributes),$.openNode(this.tag,{...Sz.TABLE_ATTRIBUTES,id:I.id,name:I.name,displayName:I.displayName||I.name,ref:I.tableRef,totalsRowCount:I.totalsRow?"1":void 0,totalsRowShown:I.totalsRow?void 0:"1",headerRowCount:I.headerRow?"1":"0"}),this.map.autoFilter.render($,I),this.map.tableColumns.render($,I.columns),this.map.tableStyleInfo.render($,I.style),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{name:I,attributes:U}=$;switch(I){case this.tag:this.reset(),this.model={name:U.name,displayName:U.displayName||U.name,tableRef:U.ref,totalsRow:U.totalsRowCount==="1",headerRow:U.headerRowCount==="1"};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:if(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model)this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((I,U)=>{this.model.columns[U].filterButton=I.filterButton});return this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile($,I){$.columns.forEach((U)=>{if(U.dxfId!==void 0)U.style=I.styles.getDxfStyle(U.dxfId)})}}Sz.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"};x80.exports=Sz});var ZC=O((ST1,u80)=>{var wm0=XK(),Lm0=L6(),Dm0=X0(),Om0=u80.exports=function($){this.model=$};Lm0.inherits(Om0,Dm0,{get tag(){return"r"},get richTextXform(){if(!this._richTextXform)this._richTextXform=new wm0;return this._richTextXform},render($,I){if(I=I||this.model,$.openNode("comment",{ref:I.ref,authorId:0}),$.openNode("text"),I&&I.note&&I.note.texts)I.note.texts.forEach((U)=>{this.richTextXform.render($,U)});$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"comment":return this.model={type:"note",note:{texts:[]},...$.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var i80=O((gT1,b80)=>{var Nm0=$6(),Fm0=L6(),Mm0=X0(),Am0=ZC(),f80=b80.exports=function(){this.map={comment:new Am0}};Fm0.inherits(f80,Mm0,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render($,I){I=I||this.model,$.openXml(Nm0.StdDocAttributes),$.openNode("comments",f80.COMMENTS_ATTRIBUTES),$.openNode("authors"),$.leafNode("author",null,"Author"),$.closeNode(),$.openNode("commentList"),I.comments.forEach((U)=>{this.map.comment.render($,U)}),$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var c80=O((yT1,p80)=>{var Pm0=X0();class n80 extends Pm0{get tag(){return"v:textbox"}conversionUnit($,I,U){return`${parseFloat($)*I.toFixed(2)}${U}`}reverseConversionUnit($){return($||"").split(",").map((I)=>{return Number(parseFloat(this.conversionUnit(parseFloat(I),0.1,"")).toFixed(2))})}render($,I){let U={style:"mso-direction-alt:auto"};if(I&&I.note){let{inset:Y}=I.note&&I.note.margins;if(Array.isArray(Y))Y=Y.map((J)=>{return this.conversionUnit(J,10,"mm")}).join(",");if(Y)U.inset=Y}$.openNode("v:textbox",U),$.leafNode("div",{style:"text-align:left"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return this.model={inset:this.reverseConversionUnit($.attributes.inset)},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}p80.exports=n80});var l80=O((hT1,m80)=>{var Tm0=X0();class d80 extends Tm0{get tag(){return"x:Anchor"}getAnchorRect($){let I=Math.floor($.left),U=Math.floor(($.left-I)*68),Y=Math.floor($.top),J=Math.floor(($.top-Y)*18),Q=Math.floor($.right),K=Math.floor(($.right-Q)*68),q=Math.floor($.bottom),G=Math.floor(($.bottom-q)*18);return[I,U,Y,J,Q,K,q,G]}getDefaultRect($){let I=$.col,U=6,Y=Math.max($.row-2,0),J=14,Q=I+2,K=2,q=Y+4,G=16;return[I,6,Y,14,Q,2,q,16]}render($,I){let U=I.anchor?this.getAnchorRect(I.anchor):this.getDefaultRect(I.refAddress);$.leafNode("x:Anchor",null,U.join(", "))}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}m80.exports=d80});var t80=O((xT1,r80)=>{var Em0=X0();class o80 extends Em0{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,I){$.leafNode(this.tag,null,I)}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}r80.exports=o80});var e80=O((kT1,s80)=>{var Bm0=X0();class a80 extends Bm0{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,I,U){if(I===U[2])$.leafNode(this.tag);else if(this.tag==="x:SizeWithCells"&&I===U[1])$.leafNode(this.tag)}parseOpen($){switch($.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}s80.exports=a80});var J50=O((uT1,Y50)=>{var Rm0=X0(),vm0=l80(),$50=t80(),I50=e80(),zC=["twoCells","oneCells","absolute"];class U50 extends Rm0{constructor(){super();this.map={"x:Anchor":new vm0,"x:Locked":new $50({tag:"x:Locked"}),"x:LockText":new $50({tag:"x:LockText"}),"x:SizeWithCells":new I50({tag:"x:SizeWithCells"}),"x:MoveWithCells":new I50({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render($,I){let{protection:U,editAs:Y}=I.note;$.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render($,Y,zC),this.map["x:SizeWithCells"].render($,Y,zC),this.map["x:Anchor"].render($,I),this.map["x:Locked"].render($,U.locked),$.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render($,U.lockText),$.leafNode("x:Row",null,I.refAddress.row-1),$.leafNode("x:Column",null,I.refAddress.col-1),$.closeNode()}parseOpen($){switch($.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){let $=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),I=Object.keys($).length;this.model.editAs=zC[I],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}Y50.exports=U50});var XC=O((fT1,Q50)=>{var Cm0=X0(),jm0=c80(),_m0=J50();class gz extends Cm0{constructor(){super();this.map={"v:textbox":new jm0,"x:ClientData":new _m0}}get tag(){return"v:shape"}render($,I,U){$.openNode("v:shape",gz.V_SHAPE_ATTRIBUTES(I,U)),$.leafNode("v:fill",{color2:"infoBackground [80]"}),$.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),$.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render($,I),this.map["x:ClientData"].render($,I),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={margins:{insetmode:$.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}gz.V_SHAPE_ATTRIBUTES=($,I)=>({id:`_x0000_s${1025+I}`,type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":$.note.margins&&$.note.margins.insetmode});Q50.exports=gz});var q50=O((bT1,K50)=>{var Sm0=$6(),gm0=X0(),ym0=XC();class yz extends gm0{constructor(){super();this.map={"v:shape":new ym0}}get tag(){return"xml"}render($,I){$.openXml(Sm0.StdDocAttributes),$.openNode(this.tag,yz.DRAWING_ATTRIBUTES),$.openNode("o:shapelayout",{"v:ext":"edit"}),$.leafNode("o:idmap",{"v:ext":"edit",data:1}),$.closeNode(),$.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),$.leafNode("v:stroke",{joinstyle:"miter"}),$.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),$.closeNode(),I.comments.forEach((U,Y)=>{this.map["v:shape"].render($,U,Y)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={comments:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.comments.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,I){$.anchors.forEach((U)=>{if(U.br)this.map["xdr:twoCellAnchor"].reconcile(U,I);else this.map["xdr:oneCellAnchor"].reconcile(U,I)})}}yz.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"};K50.exports=yz});var wC=O((iT1,G50)=>{G50.exports=` - `});var PC=O((pT1,z50)=>{var AC=r("fs"),hm0=NR(),{PassThrough:LC}=w6(),xm0=ls(),DC=qK(),km0=L6(),hz=$6(),{bufferToString:nT1}=oR(),OC=wz(),H50=Rv(),NC=vv(),G3=Nz(),um0=Cv(),W50=jv(),xz=Mz(),kz=C$0(),FC=L80(),MC=k80(),V50=i80(),Z50=q50(),fm0=wC();function bm0($,I){return new Promise((U,Y)=>{AC.readFile($,I,(J,Q)=>{if(J)Y(J);else U(Q)})})}class v8{constructor($){this.workbook=$}async readFile($,I){if(!await km0.fs.exists($))throw Error(`File not found: ${$}`);let U=AC.createReadStream($);try{let Y=await this.read(U,I);return U.close(),Y}catch(Y){throw U.close(),Y}}parseRels($){return new G3().parseStream($)}parseWorkbook($){return new xz().parseStream($)}parseSharedStrings($){return new NC().parseStream($)}reconcile($,I){let U=new xz,Y=new kz(I),J=new FC,Q=new MC;U.reconcile($);let K={media:$.media,mediaIndex:$.mediaIndex};Object.keys($.drawings).forEach((H)=>{let W=$.drawings[H],V=$.drawingRels[H];if(V)K.rels=V.reduce((z,Z)=>{return z[Z.Id]=Z,z},{}),(W.anchors||[]).forEach((z)=>{let Z=z.picture&&z.picture.hyperlinks;if(Z&&K.rels[Z.rId])Z.hyperlink=K.rels[Z.rId].Target,delete Z.rId}),J.reconcile(W,K)});let q={styles:$.styles};Object.values($.tables).forEach((H)=>{Q.reconcile(H,q)});let G={styles:$.styles,sharedStrings:$.sharedStrings,media:$.media,mediaIndex:$.mediaIndex,date1904:$.properties&&$.properties.date1904,drawings:$.drawings,comments:$.comments,tables:$.tables,vmlDrawings:$.vmlDrawings};$.worksheets.forEach((H)=>{H.relationships=$.worksheetRels[H.sheetNo],Y.reconcile(H,G)}),delete $.worksheetHash,delete $.worksheetRels,delete $.globalRels,delete $.sharedStrings,delete $.workbookRels,delete $.sheetDefs,delete $.styles,delete $.mediaIndex,delete $.drawings,delete $.drawingRels,delete $.vmlDrawings}async _processWorksheetEntry($,I,U,Y,J){let K=await new kz(Y).parseStream($);K.sheetNo=U,I.worksheetHash[J]=K,I.worksheets.push(K)}async _processCommentEntry($,I,U){let J=await new V50().parseStream($);I.comments[`../${U}.xml`]=J}async _processTableEntry($,I,U){let J=await new MC().parseStream($);I.tables[`../tables/${U}.xml`]=J}async _processWorksheetRelsEntry($,I,U){let J=await new G3().parseStream($);I.worksheetRels[U]=J}async _processMediaEntry($,I,U){let Y=U.lastIndexOf(".");if(Y>=1){let J=U.substr(Y+1),Q=U.substr(0,Y);await new Promise((K,q)=>{let G=new DC;G.on("finish",()=>{I.mediaIndex[U]=I.media.length,I.mediaIndex[Q]=I.media.length;let H={type:"image",name:Q,extension:J,buffer:G.toBuffer()};I.media.push(H),K()}),$.on("error",(H)=>{q(H)}),$.pipe(G)})}}async _processDrawingEntry($,I,U){let J=await new FC().parseStream($);I.drawings[U]=J}async _processDrawingRelsEntry($,I,U){let J=await new G3().parseStream($);I.drawingRels[U]=J}async _processVmlDrawingEntry($,I,U){let J=await new Z50().parseStream($);I.vmlDrawings[`../drawings/${U}.vml`]=J}async _processThemeEntry($,I,U){await new Promise((Y,J)=>{let Q=new DC;$.on("error",J),Q.on("error",J),Q.on("finish",()=>{I.themes[U]=Q.read().toString(),Y()}),$.pipe(Q)})}createInputStream(){throw Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read($,I){if(!$[Symbol.asyncIterator]&&$.pipe)$=$.pipe(new LC);let U=[];for await(let Y of $)U.push(Y);return this.load(Buffer.concat(U),I)}async load($,I){let U;if(I&&I.base64)U=Buffer.from($.toString(),"base64");else U=$;let Y={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},J=await hm0.loadAsync(U);for(let Q of Object.values(J.files))if(!Q.dir){let K=Q.name;if(K[0]==="/")K=K.substr(1);let q;if(K.match(/xl\/media\//)||K.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))q=new LC,q.write(await Q.async("nodebuffer"));else{q=new LC({writableObjectMode:!0,readableObjectMode:!0});let G;G=await Q.async("string");let H=16384;for(let W=0;W{if(U.type==="image"){let Y=`xl/media/${U.name}.${U.extension}`;if(U.filename){let J=await bm0(U.filename);return $.append(J,{name:Y})}if(U.buffer)return $.append(U.buffer,{name:Y});if(U.base64){let J=U.base64,Q=J.substring(J.indexOf(",")+1);return $.append(Q,{name:Y,base64:!0})}}throw Error("Unsupported media")}))}addDrawings($,I){let U=new FC,Y=new G3;I.worksheets.forEach((J)=>{let{drawing:Q}=J;if(Q){U.prepare(Q,{});let K=U.toXml(Q);$.append(K,{name:`xl/drawings/${Q.name}.xml`}),K=Y.toXml(Q.rels),$.append(K,{name:`xl/drawings/_rels/${Q.name}.xml.rels`})}})}addTables($,I){let U=new MC;I.worksheets.forEach((Y)=>{let{tables:J}=Y;J.forEach((Q)=>{U.prepare(Q,{});let K=U.toXml(Q);$.append(K,{name:`xl/tables/${Q.target}`})})})}async addContentTypes($,I){let Y=new um0().toXml(I);$.append(Y,{name:"[Content_Types].xml"})}async addApp($,I){let Y=new W50().toXml(I);$.append(Y,{name:"docProps/app.xml"})}async addCore($,I){let U=new H50;$.append(U.toXml(I),{name:"docProps/core.xml"})}async addThemes($,I){let U=I.themes||{theme1:fm0};Object.keys(U).forEach((Y)=>{let J=U[Y],Q=`xl/theme/${Y}.xml`;$.append(J,{name:Q})})}async addOfficeRels($){let U=new G3().toXml([{Id:"rId1",Type:v8.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:v8.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:v8.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);$.append(U,{name:"_rels/.rels"})}async addWorkbookRels($,I){let U=1,Y=[{Id:`rId${U++}`,Type:v8.RelType.Styles,Target:"styles.xml"},{Id:`rId${U++}`,Type:v8.RelType.Theme,Target:"theme/theme1.xml"}];if(I.sharedStrings.count)Y.push({Id:`rId${U++}`,Type:v8.RelType.SharedStrings,Target:"sharedStrings.xml"});I.worksheets.forEach((K)=>{K.rId=`rId${U++}`,Y.push({Id:K.rId,Type:v8.RelType.Worksheet,Target:`worksheets/sheet${K.id}.xml`})});let Q=new G3().toXml(Y);$.append(Q,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings($,I){if(I.sharedStrings&&I.sharedStrings.count)$.append(I.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles($,I){let{xml:U}=I.styles;if(U)$.append(U,{name:"xl/styles.xml"})}async addWorkbook($,I){let U=new xz;$.append(U.toXml(I),{name:"xl/workbook.xml"})}async addWorksheets($,I){let U=new kz,Y=new G3,J=new V50,Q=new Z50;I.worksheets.forEach((K)=>{let q=new hz;if(U.render(q,K),$.append(q.xml,{name:`xl/worksheets/sheet${K.id}.xml`}),K.rels&&K.rels.length)q=new hz,Y.render(q,K.rels),$.append(q.xml,{name:`xl/worksheets/_rels/sheet${K.id}.xml.rels`});if(K.comments.length>0)q=new hz,J.render(q,K),$.append(q.xml,{name:`xl/comments${K.id}.xml`}),q=new hz,Q.render(q,K),$.append(q.xml,{name:`xl/drawings/vmlDrawing${K.id}.vml`})})}_finalize($){return new Promise((I,U)=>{$.on("finish",()=>{I(this)}),$.on("error",U),$.finalize()})}prepareModel($,I){$.creator=$.creator||"ExcelJS",$.lastModifiedBy=$.lastModifiedBy||"ExcelJS",$.created=$.created||new Date,$.modified=$.modified||new Date,$.useSharedStrings=I.useSharedStrings!==void 0?I.useSharedStrings:!0,$.useStyles=I.useStyles!==void 0?I.useStyles:!0,$.sharedStrings=new NC,$.styles=$.useStyles?new OC(!0):new OC.Mock;let U=new xz,Y=new kz;U.prepare($);let J={sharedStrings:$.sharedStrings,styles:$.styles,date1904:$.properties.date1904,drawingsCount:0,media:$.media};J.drawings=$.drawings=[],J.commentRefs=$.commentRefs=[];let Q=0;$.tables=[],$.worksheets.forEach((K)=>{K.tables.forEach((q)=>{Q++,q.target=`table${Q}.xml`,q.id=Q,$.tables.push(q)}),Y.prepare(K,J)})}async write($,I){I=I||{};let{model:U}=this.workbook,Y=new xm0.ZipWriter(I.zip);return Y.pipe($),this.prepareModel(U,I),await this.addContentTypes(Y,U),await this.addOfficeRels(Y,U),await this.addWorkbookRels(Y,U),await this.addWorksheets(Y,U),await this.addSharedStrings(Y,U),await this.addDrawings(Y,U),await this.addTables(Y,U),await Promise.all([this.addThemes(Y,U),this.addStyles(Y,U)]),await this.addMedia(Y,U),await Promise.all([this.addApp(Y,U),this.addCore(Y,U)]),await this.addWorkbook(Y,U),this._finalize(Y)}writeFile($,I){let U=AC.createWriteStream($);return new Promise((Y,J)=>{U.on("finish",()=>{Y()}),U.on("error",(Q)=>{J(Q)}),this.write(U,I).then(()=>{U.end()}).catch((Q)=>{J(Q)})})}async writeBuffer($){let I=new DC;return await this.write(I,$),I.read()}}v8.RelType=y9();z50.exports=v8});var TC=O((w50)=>{Object.defineProperty(w50,"__esModule",{value:!0});w50.FormatterOptions=void 0;class X50{constructor($={}){var I;if(this.objectMode=!0,this.delimiter=",",this.rowDelimiter=` -`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,$||{}),typeof($===null||$===void 0?void 0:$.quoteHeaders)>"u")this.quoteHeaders=this.quoteColumns;if(($===null||$===void 0?void 0:$.quote)===!0)this.quote='"';else if(($===null||$===void 0?void 0:$.quote)===!1)this.quote="";if(typeof($===null||$===void 0?void 0:$.escape)!=="string")this.escape=this.quote;this.shouldWriteHeaders=!!this.headers&&((I=$.writeHeaders)!==null&&I!==void 0?I:!0),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}w50.FormatterOptions=X50});var uz=O((dT1,F50)=>{var im0="[object AsyncFunction]",nm0="[object Function]",pm0="[object GeneratorFunction]",cm0="[object Null]",dm0="[object Proxy]",mm0="[object Undefined]",lm0=typeof global=="object"&&global&&global.Object===Object&&global,om0=typeof self=="object"&&self&&self.Object===Object&&self,rm0=lm0||om0||Function("return this")(),O50=Object.prototype,tm0=O50.hasOwnProperty,N50=O50.toString,D50=rm0.Symbol,H3=D50?D50.toStringTag:void 0;function am0($){if($==null)return $===void 0?mm0:cm0;return H3&&H3 in Object($)?sm0($):em0($)}function sm0($){var I=tm0.call($,H3),U=$[H3];try{$[H3]=void 0;var Y=!0}catch(Q){}var J=N50.call($);if(Y)if(I)$[H3]=U;else delete $[H3];return J}function em0($){return N50.call($)}function $l0($){if(!Il0($))return!1;var I=am0($);return I==nm0||I==pm0||I==im0||I==dm0}function Il0($){var I=typeof $;return $!=null&&(I=="object"||I=="function")}F50.exports=$l0});var I90=O((fz,qY)=>{var Ul0=200,hC="__lodash_hash_undefined__",lz=1,S50=2,g50=9007199254740991,bz="[object Arguments]",vC="[object Array]",Yl0="[object AsyncFunction]",y50="[object Boolean]",h50="[object Date]",x50="[object Error]",k50="[object Function]",Jl0="[object GeneratorFunction]",iz="[object Map]",u50="[object Number]",Ql0="[object Null]",KY="[object Object]",M50="[object Promise]",Kl0="[object Proxy]",f50="[object RegExp]",nz="[object Set]",b50="[object String]",ql0="[object Symbol]",Gl0="[object Undefined]",CC="[object WeakMap]",i50="[object ArrayBuffer]",pz="[object DataView]",Hl0="[object Float32Array]",Wl0="[object Float64Array]",Vl0="[object Int8Array]",Zl0="[object Int16Array]",zl0="[object Int32Array]",Xl0="[object Uint8Array]",wl0="[object Uint8ClampedArray]",Ll0="[object Uint16Array]",Dl0="[object Uint32Array]",Ol0=/[\\^$.*+?()[\]{}|]/g,Nl0=/^\[object .+?Constructor\]$/,Fl0=/^(?:0|[1-9]\d*)$/,o1={};o1[Hl0]=o1[Wl0]=o1[Vl0]=o1[Zl0]=o1[zl0]=o1[Xl0]=o1[wl0]=o1[Ll0]=o1[Dl0]=!0;o1[bz]=o1[vC]=o1[i50]=o1[y50]=o1[pz]=o1[h50]=o1[x50]=o1[k50]=o1[iz]=o1[u50]=o1[KY]=o1[f50]=o1[nz]=o1[b50]=o1[CC]=!1;var n50=typeof global=="object"&&global&&global.Object===Object&&global,Ml0=typeof self=="object"&&self&&self.Object===Object&&self,D5=n50||Ml0||Function("return this")(),p50=typeof fz=="object"&&fz&&!fz.nodeType&&fz,A50=p50&&typeof qY=="object"&&qY&&!qY.nodeType&&qY,c50=A50&&A50.exports===p50,EC=c50&&n50.process,P50=function(){try{return EC&&EC.binding&&EC.binding("util")}catch($){}}(),T50=P50&&P50.isTypedArray;function Al0($,I){var U=-1,Y=$==null?0:$.length,J=0,Q=[];while(++U-1}function sl0($,I){var U=this.__data__,Y=rz(U,$);if(Y<0)++this.size,U.push([$,I]);else U[Y][1]=I;return this}O5.prototype.clear=ol0;O5.prototype.delete=rl0;O5.prototype.get=tl0;O5.prototype.has=al0;O5.prototype.set=sl0;function Z3($){var I=-1,U=$==null?0:$.length;this.clear();while(++Iq))return!1;var H=Q.get($);if(H&&Q.get(I))return H==I;var W=-1,V=!0,z=U&S50?new dz:void 0;Q.set($,I),Q.set(I,$);while(++W-1&&$%1==0&&$-1&&$%1==0&&$<=g50}function e50($){var I=typeof $;return $!=null&&(I=="object"||I=="function")}function FK($){return $!=null&&typeof $=="object"}var $90=T50?Bl0(T50):wo0;function Co0($){return Ro0($)?Vo0($):Lo0($)}function jo0(){return[]}function _o0(){return!1}qY.exports=vo0});var Y90=O((lT1,U90)=>{var So0="[object Boolean]",go0=Object.prototype,yo0=go0.toString;function ho0($){return $===!0||$===!1||xo0($)&&yo0.call($)==So0}function xo0($){return!!$&&typeof $=="object"}U90.exports=ho0});var xC=O((oT1,J90)=>{function ko0($){return $==null}J90.exports=ko0});var kC=O((rT1,H90)=>{var uo0=1/0,fo0="[object Symbol]",G90=/[\\^$.*+?()[\]{}|]/g,bo0=RegExp(G90.source),io0=typeof global=="object"&&global&&global.Object===Object&&global,no0=typeof self=="object"&&self&&self.Object===Object&&self,po0=io0||no0||Function("return this")(),co0=Object.prototype,do0=co0.toString,Q90=po0.Symbol,K90=Q90?Q90.prototype:void 0,q90=K90?K90.toString:void 0;function mo0($){if(typeof $=="string")return $;if(oo0($))return q90?q90.call($):"";var I=$+"";return I=="0"&&1/$==-uo0?"-0":I}function lo0($){return!!$&&typeof $=="object"}function oo0($){return typeof $=="symbol"||lo0($)&&do0.call($)==fo0}function ro0($){return $==null?"":mo0($)}function to0($){return $=ro0($),$&&bo0.test($)?$.replace(G90,"\\$&"):$}H90.exports=to0});var fC=O((HY)=>{var uC=HY&&HY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(HY,"__esModule",{value:!0});HY.FieldFormatter=void 0;var ao0=uC(Y90()),so0=uC(xC()),eo0=uC(kC());class W90{constructor($){if(this._headers=null,this.formatterOptions=$,$.headers!==null)this.headers=$.headers;this.REPLACE_REGEXP=new RegExp($.quote,"g");let I=`[${$.delimiter}${eo0.default($.rowDelimiter)}|\r| -]`;this.ESCAPE_REGEXP=new RegExp(I)}set headers($){this._headers=$}shouldQuote($,I){let U=I?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;if(ao0.default(U))return U;if(Array.isArray(U))return U[$];if(this._headers!==null)return U[this._headers[$]];return!1}format($,I,U){let Y=`${so0.default($)?"":$}`.replace(/\0/g,""),{formatterOptions:J}=this;if(J.quote!==""){if(Y.indexOf(J.quote)!==-1)return this.quoteField(Y.replace(this.REPLACE_REGEXP,J.escapedQuote))}if(Y.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(I,U))return this.quoteField(Y);return Y}quoteField($){let{quote:I}=this.formatterOptions;return`${I}${$}${I}`}}HY.FieldFormatter=W90});var bC=O((V90)=>{Object.defineProperty(V90,"__esModule",{value:!0});V90.isSyncTransform=void 0;V90.isSyncTransform=($)=>$.length===1});var X90=O((WY)=>{var z90=WY&&WY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(WY,"__esModule",{value:!0});WY.RowFormatter=void 0;var $r0=z90(uz()),Ir0=z90(I90()),Ur0=fC(),Yr0=bC();class X3{constructor($){if(this.rowCount=0,this.formatterOptions=$,this.fieldFormatter=new Ur0.FieldFormatter($),this.headers=$.headers,this.shouldWriteHeaders=$.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null)this.fieldFormatter.headers=this.headers;if($.transform)this.rowTransform=$.transform}static isRowHashArray($){if(Array.isArray($))return Array.isArray($[0])&&$[0].length===2;return!1}static isRowArray($){return Array.isArray($)&&!this.isRowHashArray($)}static gatherHeaders($){if(X3.isRowHashArray($))return $.map((I)=>I[0]);if(Array.isArray($))return $;return Object.keys($)}static createTransform($){if(Yr0.isSyncTransform($))return(I,U)=>{let Y=null;try{Y=$(I)}catch(J){return U(J)}return U(null,Y)};return(I,U)=>{$(I,U)}}set rowTransform($){if(!$r0.default($))throw TypeError("The transform should be a function");this._rowTransform=X3.createTransform($)}format($,I){this.callTransformer($,(U,Y)=>{if(U)return I(U);if(!$)return I(null);let J=[];if(Y){let{shouldFormatColumns:Q,headers:K}=this.checkHeaders(Y);if(this.shouldWriteHeaders&&K&&!this.hasWrittenHeaders)J.push(this.formatColumns(K,!0)),this.hasWrittenHeaders=!0;if(Q){let q=this.gatherColumns(Y);J.push(this.formatColumns(q,!1))}}return I(null,J)})}finish($){let I=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return $(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));I.push(this.formatColumns(this.headers,!0))}if(this.formatterOptions.includeEndRowDelimiter)I.push(this.formatterOptions.rowDelimiter);return $(null,I)}checkHeaders($){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let I=X3.gatherHeaders($);if(this.headers=I,this.fieldFormatter.headers=I,!this.shouldWriteHeaders)return{shouldFormatColumns:!0,headers:null};return{shouldFormatColumns:!Ir0.default(I,$),headers:I}}gatherColumns($){if(this.headers===null)throw Error("Headers is currently null");if(!Array.isArray($))return this.headers.map((I)=>$[I]);if(X3.isRowHashArray($))return this.headers.map((I,U)=>{let Y=$[U];if(Y)return Y[1];return""});if(X3.isRowArray($)&&!this.shouldWriteHeaders)return $;return this.headers.map((I,U)=>$[U])}callTransformer($,I){if(!this._rowTransform)return I(null,$);return this._rowTransform($,I)}formatColumns($,I){let U=$.map((J,Q)=>this.fieldFormatter.format(J,Q,I)).join(this.formatterOptions.delimiter),{rowCount:Y}=this;if(this.rowCount+=1,Y)return[this.formatterOptions.rowDelimiter,U].join("");return U}}WY.RowFormatter=X3});var w90=O((az)=>{Object.defineProperty(az,"__esModule",{value:!0});az.FieldFormatter=az.RowFormatter=void 0;var Jr0=X90();Object.defineProperty(az,"RowFormatter",{enumerable:!0,get:function(){return Jr0.RowFormatter}});var Qr0=fC();Object.defineProperty(az,"FieldFormatter",{enumerable:!0,get:function(){return Qr0.FieldFormatter}})});var iC=O((D90)=>{Object.defineProperty(D90,"__esModule",{value:!0});D90.CsvFormatterStream=void 0;var qr0=r("stream"),Gr0=w90();class L90 extends qr0.Transform{constructor($){super({writableObjectMode:$.objectMode});this.hasWrittenBOM=!1,this.formatterOptions=$,this.rowFormatter=new Gr0.RowFormatter($),this.hasWrittenBOM=!$.writeBOM}transform($){return this.rowFormatter.rowTransform=$,this}_transform($,I,U){let Y=!1;try{if(!this.hasWrittenBOM)this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0;this.rowFormatter.format($,(J,Q)=>{if(J)return Y=!0,U(J);if(Q)Q.forEach((K)=>{this.push(Buffer.from(K,"utf8"))});return Y=!0,U()})}catch(J){if(Y)throw J;U(J)}}_flush($){this.rowFormatter.finish((I,U)=>{if(I)return $(I);if(U)U.forEach((Y)=>{this.push(Buffer.from(Y,"utf8"))});return $()})}}D90.CsvFormatterStream=L90});var F90=O((F1)=>{var N90=F1&&F1.__createBinding||(Object.create?function($,I,U,Y){if(Y===void 0)Y=U;Object.defineProperty($,Y,{enumerable:!0,get:function(){return I[U]}})}:function($,I,U,Y){if(Y===void 0)Y=U;$[Y]=I[U]}),Hr0=F1&&F1.__setModuleDefault||(Object.create?function($,I){Object.defineProperty($,"default",{enumerable:!0,value:I})}:function($,I){$.default=I}),Wr0=F1&&F1.__importStar||function($){if($&&$.__esModule)return $;var I={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))N90(I,$,U)}return Hr0(I,$),I},Vr0=F1&&F1.__exportStar||function($,I){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(I,U))N90(I,$,U)};Object.defineProperty(F1,"__esModule",{value:!0});F1.writeToPath=F1.writeToString=F1.writeToBuffer=F1.writeToStream=F1.write=F1.format=F1.FormatterOptions=F1.CsvFormatterStream=void 0;var Zr0=r("util"),zr0=r("stream"),Xr0=Wr0(r("fs")),wr0=TC(),Lr0=iC();Vr0(bC(),F1);var Dr0=iC();Object.defineProperty(F1,"CsvFormatterStream",{enumerable:!0,get:function(){return Dr0.CsvFormatterStream}});var Or0=TC();Object.defineProperty(F1,"FormatterOptions",{enumerable:!0,get:function(){return Or0.FormatterOptions}});F1.format=($)=>new Lr0.CsvFormatterStream(new wr0.FormatterOptions($));F1.write=($,I)=>{let U=F1.format(I),Y=Zr0.promisify((J,Q)=>{U.write(J,void 0,Q)});return $.reduce((J,Q)=>J.then(()=>Y(Q)),Promise.resolve()).then(()=>U.end()).catch((J)=>{U.emit("error",J)}),U};F1.writeToStream=($,I,U)=>F1.write(I,U).pipe($);F1.writeToBuffer=($,I={})=>{let U=[],Y=new zr0.Writable({write(J,Q,K){U.push(J),K()}});return new Promise((J,Q)=>{Y.on("error",Q).on("finish",()=>J(Buffer.concat(U))),F1.write($,I).pipe(Y)})};F1.writeToString=($,I)=>F1.writeToBuffer($,I).then((U)=>U.toString());F1.writeToPath=($,I,U)=>{let Y=Xr0.createWriteStream($,{encoding:"utf8"});return F1.write(I,U).pipe(Y)}});var nC=O((VY)=>{var M90=VY&&VY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(VY,"__esModule",{value:!0});VY.ParserOptions=void 0;var Nr0=M90(kC()),Fr0=M90(xC());class A90{constructor($){var I;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,$||{}),this.delimiter.length>1)throw Error("delimiter option must be one character long");if(this.escapedDelimiter=Nr0.default(this.delimiter),this.escapeChar=(I=this.escape)!==null&&I!==void 0?I:this.quote,this.supportsComments=!Fr0.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0)this.limitRows=!0}}VY.ParserOptions=A90});var pC=O((P90)=>{Object.defineProperty(P90,"__esModule",{value:!0});P90.isSyncValidate=P90.isSyncTransform=void 0;P90.isSyncTransform=($)=>$.length===1;P90.isSyncValidate=($)=>$.length===1});var R90=O((ZY)=>{var Ar0=ZY&&ZY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(ZY,"__esModule",{value:!0});ZY.RowTransformerValidator=void 0;var E90=Ar0(uz()),B90=pC();class sz{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform($){if(B90.isSyncTransform($))return(I,U)=>{let Y=null;try{Y=$(I)}catch(J){return U(J)}return U(null,Y)};return $}static createValidator($){if(B90.isSyncValidate($))return(I,U)=>{U(null,{row:I,isValid:$(I)})};return(I,U)=>{$(I,(Y,J,Q)=>{if(Y)return U(Y);if(J)return U(null,{row:I,isValid:J,reason:Q});return U(null,{row:I,isValid:!1,reason:Q})})}}set rowTransform($){if(!E90.default($))throw TypeError("The transform should be a function");this._rowTransform=sz.createTransform($)}set rowValidator($){if(!E90.default($))throw TypeError("The validate should be a function");this._rowValidator=sz.createValidator($)}transformAndValidate($,I){return this.callTransformer($,(U,Y)=>{if(U)return I(U);if(!Y)return I(null,{row:null,isValid:!0});return this.callValidator(Y,(J,Q)=>{if(J)return I(J);if(Q&&!Q.isValid)return I(null,{row:Y,isValid:!1,reason:Q.reason});return I(null,{row:Y,isValid:!0})})})}callTransformer($,I){if(!this._rowTransform)return I(null,$);return this._rowTransform($,I)}callValidator($,I){if(!this._rowValidator)return I(null,{row:$,isValid:!0});return this._rowValidator($,I)}}ZY.RowTransformerValidator=sz});var C90=O((KE1,v90)=>{function Pr0($){return $===void 0}v90.exports=Pr0});var x90=O((qE1,h90)=>{var Tr0=200,mC="__lodash_hash_undefined__",Er0=1/0,Br0="[object Function]",Rr0="[object GeneratorFunction]",vr0=/[\\^$.*+?()[\]{}|]/g,Cr0=/^\[object .+?Constructor\]$/,jr0=typeof global=="object"&&global&&global.Object===Object&&global,_r0=typeof self=="object"&&self&&self.Object===Object&&self,lC=jr0||_r0||Function("return this")();function Sr0($,I){var U=$?$.length:0;return!!U&&hr0($,I,0)>-1}function gr0($,I,U){var Y=-1,J=$?$.length:0;while(++Y-1}function It0($,I){var U=this.__data__,Y=$X(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}zY.prototype.clear=ar0;zY.prototype.delete=sr0;zY.prototype.get=er0;zY.prototype.has=$t0;zY.prototype.set=It0;function XY($){var I=-1,U=$?$.length:0;this.clear();while(++I=Tr0){var H=I?null:Vt0($);if(H)return _90(H);K=!1,J=kr0,G=new ez}else G=I?[]:q;$:while(++Y{var Nt0=200,Ft0="Expected a function",Qj="__lodash_hash_undefined__",WX=1,DY=2,m90=1/0,l90=9007199254740991,YX="[object Arguments]",sC="[object Array]",o90="[object Boolean]",r90="[object Date]",t90="[object Error]",a90="[object Function]",Mt0="[object GeneratorFunction]",JX="[object Map]",s90="[object Number]",wY="[object Object]",k90="[object Promise]",e90="[object RegExp]",QX="[object Set]",$70="[object String]",I70="[object Symbol]",eC="[object WeakMap]",U70="[object ArrayBuffer]",KX="[object DataView]",At0="[object Float32Array]",Pt0="[object Float64Array]",Tt0="[object Int8Array]",Et0="[object Int16Array]",Bt0="[object Int32Array]",Rt0="[object Uint8Array]",vt0="[object Uint8ClampedArray]",Ct0="[object Uint16Array]",jt0="[object Uint32Array]",_t0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,St0=/^\w*$/,gt0=/^\./,yt0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ht0=/[\\^$.*+?()[\]{}|]/g,xt0=/\\(\\)?/g,kt0=/^\[object .+?Constructor\]$/,ut0=/^(?:0|[1-9]\d*)$/,r1={};r1[At0]=r1[Pt0]=r1[Tt0]=r1[Et0]=r1[Bt0]=r1[Rt0]=r1[vt0]=r1[Ct0]=r1[jt0]=!0;r1[YX]=r1[sC]=r1[U70]=r1[o90]=r1[KX]=r1[r90]=r1[t90]=r1[a90]=r1[JX]=r1[s90]=r1[wY]=r1[e90]=r1[QX]=r1[$70]=r1[eC]=!1;var Y70=typeof global=="object"&&global&&global.Object===Object&&global,ft0=typeof self=="object"&&self&&self.Object===Object&&self,b9=Y70||ft0||Function("return this")(),J70=typeof UX=="object"&&UX&&!UX.nodeType&&UX,u90=J70&&typeof LY=="object"&&LY&&!LY.nodeType&&LY,bt0=u90&&u90.exports===J70,f90=bt0&&Y70.process,b90=function(){try{return f90&&f90.binding("util")}catch($){}}(),i90=b90&&b90.isTypedArray;function it0($,I,U,Y){var J=-1,Q=$?$.length:0;while(++J-1}function La0($,I){var U=this.__data__,Y=ZX(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}F5.prototype.clear=Za0;F5.prototype.delete=za0;F5.prototype.get=Xa0;F5.prototype.has=wa0;F5.prototype.set=La0;function M5($){var I=-1,U=$?$.length:0;this.clear();while(++Iq))return!1;var H=Q.get($);if(H&&Q.get(I))return H==I;var W=-1,V=!0,z=J&WX?new GX:void 0;Q.set($,I),Q.set(I,$);while(++W-1&&$%1==0&&$-1&&$%1==0&&$<=l90}function LX($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function DX($){return!!$&&typeof $=="object"}function Wj($){return typeof $=="symbol"||DX($)&&OY.call($)==I70}var Qs0=i90?dt0(i90):fa0;function Ks0($){return $==null?"":da0($)}function qs0($,I,U){var Y=$==null?void 0:K70($,I);return Y===void 0?U:Y}function Gs0($,I){return $!=null&&sa0($,I,ha0)}function HX($){return Gj($)?Ca0($):ia0($)}function Hs0($){return $}function Ws0($){return XX($)?pt0(wX($)):ca0($)}LY.exports=Ys0});var O70=O((FY)=>{var OX=FY&&FY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(FY,"__esModule",{value:!0});FY.HeaderTransformer=void 0;var L70=OX(C90()),Vs0=OX(uz()),Zs0=OX(x90()),zs0=OX(w70());class D70{constructor($){if(this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=$,$.headers===!0)this.shouldUseFirstRow=!0;else if(Array.isArray($.headers))this.setHeaders($.headers);else if(Vs0.default($.headers))this.headersTransform=$.headers}transform($,I){if(!this.shouldMapRow($))return I(null,{row:null,isValid:!0});return I(null,this.processRow($))}shouldMapRow($){let{parserOptions:I}=this;if(!this.headersTransform&&I.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray($)){if(this.headersTransform)this.setHeaders(this.headersTransform($));else if(this.shouldUseFirstRow)this.setHeaders($);else return!0;return!1}return!0}processRow($){if(!this.headers)return{row:$,isValid:!0};let{parserOptions:I}=this;if(!I.discardUnmappedColumns&&$.length>this.headersLength){if(!I.strictColumnHandling)throw Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${$.length}`);return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`}}if(I.strictColumnHandling&&$.length!!Y);if(Zs0.default(U).length!==U.length){let Y=zs0.default(U),J=Object.keys(Y).filter((Q)=>Y[Q].length>1);throw Error(`Duplicate headers found ${JSON.stringify(J)}`)}this.headers=$,this.receivedHeaders=!0,this.headersLength=((I=this.headers)===null||I===void 0?void 0:I.length)||0}}FY.HeaderTransformer=D70});var N70=O((NX)=>{Object.defineProperty(NX,"__esModule",{value:!0});NX.HeaderTransformer=NX.RowTransformerValidator=void 0;var Xs0=R90();Object.defineProperty(NX,"RowTransformerValidator",{enumerable:!0,get:function(){return Xs0.RowTransformerValidator}});var ws0=O70();Object.defineProperty(NX,"HeaderTransformer",{enumerable:!0,get:function(){return ws0.HeaderTransformer}})});var i9=O((M70)=>{Object.defineProperty(M70,"__esModule",{value:!0});M70.Token=void 0;class F70{constructor($){this.token=$.token,this.startCursor=$.startCursor,this.endCursor=$.endCursor}static isTokenRowDelimiter($){let I=$.token;return I==="\r"||I===` + deps: ${U}}`};var aB0={keyword:"dependencies",type:"object",schemaType:"object",error:zp.error,code($){let[I,U]=sB0($);Zp($,I),Xp($,U)}};function sB0({schema:$}){let I={},U={};for(let Y in $){if(Y==="__proto__")continue;let J=Array.isArray($[Y])?I:U;J[Y]=$[Y]}return[I,U]}function Zp($,I=$.schema){let{gen:U,data:Y,it:J}=$;if(Object.keys(I).length===0)return;let Q=U.let("missing");for(let K in I){let q=I[K];if(q.length===0)continue;let G=(0,sQ.propertyInData)(U,Y,K,J.opts.ownProperties);if($.setParams({property:K,depsCount:q.length,deps:q.join(", ")}),J.allErrors)U.if(G,()=>{for(let H of q)(0,sQ.checkReportMissingProp)($,H)});else U.if(fT._`${G} && (${(0,sQ.checkMissingProp)($,q,Q)})`),(0,sQ.reportMissingProp)($,Q),U.else()}}zp.validatePropertyDeps=Zp;function Xp($,I=$.schema){let{gen:U,data:Y,keyword:J,it:Q}=$,K=U.name("valid");for(let q in I){if((0,tB0.alwaysValidSchema)(Q,I[q]))continue;U.if((0,sQ.propertyInData)(U,Y,q,Q.opts.ownProperties),()=>{let G=$.subschema({keyword:J,schemaProp:q},K);$.mergeValidEvaluated(G,K)},()=>U.var(K,!0)),$.ok(K)}}zp.validateSchemaDeps=Xp;zp.default=aB0});var Mp=O((Np)=>{Object.defineProperty(Np,"__esModule",{value:!0});var Fp=s0(),Iv0=w1(),Uv0={message:"property name must be valid",params:({params:$})=>Fp._`{propertyName: ${$.propertyName}}`},Yv0={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Uv0,code($){let{gen:I,schema:U,data:Y,it:J}=$;if((0,Iv0.alwaysValidSchema)(J,U))return;let Q=I.name("valid");I.forIn("key",Y,(K)=>{$.setParams({propertyName:K}),$.subschema({keyword:"propertyNames",data:K,dataTypes:["string"],propertyName:K,compositeRule:!0},Q),I.if((0,Fp.not)(Q),()=>{if($.error(!0),!J.allErrors)I.break()})}),$.ok(Q)}};Np.default=Yv0});var bT=O((Ap)=>{Object.defineProperty(Ap,"__esModule",{value:!0});var KV=O$(),c$=s0(),Qv0=$5(),qV=w1(),Kv0={message:"must NOT have additional properties",params:({params:$})=>c$._`{additionalProperty: ${$.additionalProperty}}`},qv0={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Kv0,code($){let{gen:I,schema:U,parentSchema:Y,data:J,errsCount:Q,it:K}=$;if(!Q)throw Error("ajv implementation error");let{allErrors:q,opts:G}=K;if(K.props=!0,G.removeAdditional!=="all"&&(0,qV.alwaysValidSchema)(K,U))return;let H=(0,KV.allSchemaProperties)(Y.properties),W=(0,KV.allSchemaProperties)(Y.patternProperties);V(),$.ok(c$._`${Q} === ${Qv0.default.errors}`);function V(){I.forIn("key",J,(D)=>{if(!H.length&&!W.length)z(D);else I.if(w(D),()=>z(D))})}function w(D){let F;if(H.length>8){let E=(0,qV.schemaRefOrVal)(K,Y.properties,"properties");F=(0,KV.isOwnProperty)(I,E,D)}else if(H.length)F=(0,c$.or)(...H.map((E)=>c$._`${D} === ${E}`));else F=c$.nil;if(W.length)F=(0,c$.or)(F,...W.map((E)=>c$._`${(0,KV.usePattern)($,E)}.test(${D})`));return(0,c$.not)(F)}function Z(D){I.code(c$._`delete ${J}[${D}]`)}function z(D){if(G.removeAdditional==="all"||G.removeAdditional&&U===!1){Z(D);return}if(U===!1){if($.setParams({additionalProperty:D}),$.error(),!q)I.break();return}if(typeof U=="object"&&!(0,qV.alwaysValidSchema)(K,U)){let F=I.name("valid");if(G.removeAdditional==="failing")L(D,F,!1),I.if((0,c$.not)(F),()=>{$.reset(),Z(D)});else if(L(D,F),!q)I.if((0,c$.not)(F),()=>I.break())}}function L(D,F,E){let T={keyword:"additionalProperties",dataProp:D,dataPropType:qV.Type.Str};if(E===!1)Object.assign(T,{compositeRule:!0,createErrors:!1,allErrors:!1});$.subschema(T,F)}}};Ap.default=qv0});var Bp=O((Ep)=>{Object.defineProperty(Ep,"__esModule",{value:!0});var Hv0=bQ(),Pp=O$(),iT=w1(),Tp=bT(),Wv0={keyword:"properties",type:"object",schemaType:"object",code($){let{gen:I,schema:U,parentSchema:Y,data:J,it:Q}=$;if(Q.opts.removeAdditional==="all"&&Y.additionalProperties===void 0)Tp.default.code(new Hv0.KeywordCxt(Q,Tp.default,"additionalProperties"));let K=(0,Pp.allSchemaProperties)(U);for(let V of K)Q.definedProperties.add(V);if(Q.opts.unevaluated&&K.length&&Q.props!==!0)Q.props=iT.mergeEvaluated.props(I,(0,iT.toHash)(K),Q.props);let q=K.filter((V)=>!(0,iT.alwaysValidSchema)(Q,U[V]));if(q.length===0)return;let G=I.name("valid");for(let V of q){if(H(V))W(V);else{if(I.if((0,Pp.propertyInData)(I,J,V,Q.opts.ownProperties)),W(V),!Q.allErrors)I.else().var(G,!0);I.endIf()}$.it.definedProperties.add(V),$.ok(G)}function H(V){return Q.opts.useDefaults&&!Q.compositeRule&&U[V].default!==void 0}function W(V){$.subschema({keyword:"properties",schemaProp:V,dataProp:V},G)}}};Ep.default=Wv0});var _p=O((jp)=>{Object.defineProperty(jp,"__esModule",{value:!0});var vp=O$(),GV=s0(),Rp=w1(),Cp=w1(),wv0={keyword:"patternProperties",type:"object",schemaType:"object",code($){let{gen:I,schema:U,data:Y,parentSchema:J,it:Q}=$,{opts:K}=Q,q=(0,vp.allSchemaProperties)(U),G=q.filter((L)=>(0,Rp.alwaysValidSchema)(Q,U[L]));if(q.length===0||G.length===q.length&&(!Q.opts.unevaluated||Q.props===!0))return;let H=K.strictSchema&&!K.allowMatchingProperties&&J.properties,W=I.name("valid");if(Q.props!==!0&&!(Q.props instanceof GV.Name))Q.props=(0,Cp.evaluatedPropsToName)(I,Q.props);let{props:V}=Q;w();function w(){for(let L of q){if(H)Z(L);if(Q.allErrors)z(L);else I.var(W,!0),z(L),I.if(W)}}function Z(L){for(let D in H)if(new RegExp(L).test(D))(0,Rp.checkStrictMode)(Q,`property ${D} matches pattern ${L} (use allowMatchingProperties)`)}function z(L){I.forIn("key",Y,(D)=>{I.if(GV._`${(0,vp.usePattern)($,L)}.test(${D})`,()=>{let F=G.includes(L);if(!F)$.subschema({keyword:"patternProperties",schemaProp:L,dataProp:D,dataPropType:Cp.Type.Str},W);if(Q.opts.unevaluated&&V!==!0)I.assign(GV._`${V}[${D}]`,!0);else if(!F&&!Q.allErrors)I.if((0,GV.not)(W),()=>I.break())})})}}};jp.default=wv0});var gp=O((Sp)=>{Object.defineProperty(Sp,"__esModule",{value:!0});var Xv0=w1(),zv0={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code($){let{gen:I,schema:U,it:Y}=$;if((0,Xv0.alwaysValidSchema)(Y,U)){$.fail();return}let J=I.name("valid");$.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},J),$.failResult(J,()=>$.reset(),()=>$.error())},error:{message:"must NOT be valid"}};Sp.default=zv0});var hp=O((yp)=>{Object.defineProperty(yp,"__esModule",{value:!0});var Dv0=O$(),Ov0={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Dv0.validateUnion,error:{message:"must match a schema in anyOf"}};yp.default=Ov0});var kp=O((xp)=>{Object.defineProperty(xp,"__esModule",{value:!0});var HV=s0(),Nv0=w1(),Mv0={message:"must match exactly one schema in oneOf",params:({params:$})=>HV._`{passingSchemas: ${$.passing}}`},Av0={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Mv0,code($){let{gen:I,schema:U,parentSchema:Y,it:J}=$;if(!Array.isArray(U))throw Error("ajv implementation error");if(J.opts.discriminator&&Y.discriminator)return;let Q=U,K=I.let("valid",!1),q=I.let("passing",null),G=I.name("_valid");$.setParams({passing:q}),I.block(H),$.result(K,()=>$.reset(),()=>$.error(!0));function H(){Q.forEach((W,V)=>{let w;if((0,Nv0.alwaysValidSchema)(J,W))I.var(G,!0);else w=$.subschema({keyword:"oneOf",schemaProp:V,compositeRule:!0},G);if(V>0)I.if(HV._`${G} && ${K}`).assign(K,!1).assign(q,HV._`[${q}, ${V}]`).else();I.if(G,()=>{if(I.assign(K,!0),I.assign(q,V),w)$.mergeEvaluated(w,HV.Name)})})}}};xp.default=Av0});var fp=O((up)=>{Object.defineProperty(up,"__esModule",{value:!0});var Tv0=w1(),Ev0={keyword:"allOf",schemaType:"array",code($){let{gen:I,schema:U,it:Y}=$;if(!Array.isArray(U))throw Error("ajv implementation error");let J=I.name("valid");U.forEach((Q,K)=>{if((0,Tv0.alwaysValidSchema)(Y,Q))return;let q=$.subschema({keyword:"allOf",schemaProp:K},J);$.ok(J),$.mergeEvaluated(q)})}};up.default=Ev0});var pp=O((np)=>{Object.defineProperty(np,"__esModule",{value:!0});var WV=s0(),ip=w1(),vv0={message:({params:$})=>WV.str`must match "${$.ifClause}" schema`,params:({params:$})=>WV._`{failingKeyword: ${$.ifClause}}`},Rv0={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:vv0,code($){let{gen:I,parentSchema:U,it:Y}=$;if(U.then===void 0&&U.else===void 0)(0,ip.checkStrictMode)(Y,'"if" without "then" and "else" is ignored');let J=bp(Y,"then"),Q=bp(Y,"else");if(!J&&!Q)return;let K=I.let("valid",!0),q=I.name("_valid");if(G(),$.reset(),J&&Q){let W=I.let("ifClause");$.setParams({ifClause:W}),I.if(q,H("then",W),H("else",W))}else if(J)I.if(q,H("then"));else I.if((0,WV.not)(q),H("else"));$.pass(K,()=>$.error(!0));function G(){let W=$.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},q);$.mergeEvaluated(W)}function H(W,V){return()=>{let w=$.subschema({keyword:W},q);if(I.assign(K,q),$.mergeValidEvaluated(w,K),V)I.assign(V,WV._`${W}`);else $.setParams({ifClause:W})}}}};function bp($,I){let U=$.schema[I];return U!==void 0&&!(0,ip.alwaysValidSchema)($,U)}np.default=Rv0});var dp=O((cp)=>{Object.defineProperty(cp,"__esModule",{value:!0});var jv0=w1(),_v0={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:$,parentSchema:I,it:U}){if(I.if===void 0)(0,jv0.checkStrictMode)(U,`"${$}" without "if" is ignored`)}};cp.default=_v0});var lp=O((mp)=>{Object.defineProperty(mp,"__esModule",{value:!0});var gv0=kT(),yv0=qp(),hv0=uT(),xv0=Wp(),kv0=wp(),uv0=Op(),fv0=Mp(),bv0=bT(),iv0=Bp(),nv0=_p(),pv0=gp(),cv0=hp(),dv0=kp(),mv0=fp(),lv0=pp(),ov0=dp();function rv0($=!1){let I=[pv0.default,cv0.default,dv0.default,mv0.default,lv0.default,ov0.default,fv0.default,bv0.default,uv0.default,iv0.default,nv0.default];if($)I.push(yv0.default,xv0.default);else I.push(gv0.default,hv0.default);return I.push(kv0.default),I}mp.default=rv0});var rp=O((op)=>{Object.defineProperty(op,"__esModule",{value:!0});var F4=s0(),av0={message:({schemaCode:$})=>F4.str`must match format "${$}"`,params:({schemaCode:$})=>F4._`{format: ${$}}`},sv0={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:av0,code($,I){let{gen:U,data:Y,$data:J,schema:Q,schemaCode:K,it:q}=$,{opts:G,errSchemaPath:H,schemaEnv:W,self:V}=q;if(!G.validateFormats)return;if(J)w();else Z();function w(){let z=U.scopeValue("formats",{ref:V.formats,code:G.code.formats}),L=U.const("fDef",F4._`${z}[${K}]`),D=U.let("fType"),F=U.let("format");U.if(F4._`typeof ${L} == "object" && !(${L} instanceof RegExp)`,()=>U.assign(D,F4._`${L}.type || "string"`).assign(F,F4._`${L}.validate`),()=>U.assign(D,F4._`"string"`).assign(F,L)),$.fail$data((0,F4.or)(E(),T()));function E(){if(G.strictSchema===!1)return F4.nil;return F4._`${K} && !${F}`}function T(){let A=W.$async?F4._`(${L}.async ? await ${F}(${Y}) : ${F}(${Y}))`:F4._`${F}(${Y})`,R=F4._`(typeof ${F} == "function" ? ${A} : ${F}.test(${Y}))`;return F4._`${F} && ${F} !== true && ${D} === ${I} && !${R}`}}function Z(){let z=V.formats[Q];if(!z){E();return}if(z===!0)return;let[L,D,F]=T(z);if(L===I)$.pass(A());function E(){if(G.strictSchema===!1){V.logger.warn(R());return}throw Error(R());function R(){return`unknown format "${Q}" ignored in schema at path "${H}"`}}function T(R){let u=R instanceof RegExp?(0,F4.regexpCode)(R):G.code.formats?F4._`${G.code.formats}${(0,F4.getProperty)(Q)}`:void 0,g=U.scopeValue("formats",{key:Q,ref:R,code:u});if(typeof R=="object"&&!(R instanceof RegExp))return[R.type||"string",R.validate,F4._`${g}.validate`];return["string",R,g]}function A(){if(typeof z=="object"&&!(z instanceof RegExp)&&z.async){if(!W.$async)throw Error("async format in sync schema");return F4._`await ${F}(${Y})`}return typeof D=="function"?F4._`${F}(${Y})`:F4._`${F}.test(${Y})`}}}};op.default=sv0});var ap=O((tp)=>{Object.defineProperty(tp,"__esModule",{value:!0});var $R0=rp(),IR0=[$R0.default];tp.default=IR0});var $c=O((sp)=>{Object.defineProperty(sp,"__esModule",{value:!0});sp.contentVocabulary=sp.metadataVocabulary=void 0;sp.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];sp.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Yc=O((Uc)=>{Object.defineProperty(Uc,"__esModule",{value:!0});var JR0=Tn(),QR0=sn(),KR0=lp(),qR0=ap(),Ic=$c(),GR0=[JR0.default,QR0.default,(0,KR0.default)(),qR0.default,Ic.metadataVocabulary,Ic.contentVocabulary];Uc.default=GR0});var qc=O((Qc)=>{Object.defineProperty(Qc,"__esModule",{value:!0});Qc.DiscrError=void 0;var Jc;(function($){$.Tag="tag",$.Mapping="mapping"})(Jc||(Qc.DiscrError=Jc={}))});var Wc=O((Hc)=>{Object.defineProperty(Hc,"__esModule",{value:!0});var qU=s0(),nT=qc(),Gc=lW(),WR0=iQ(),VR0=w1(),wR0={message:({params:{discrError:$,tagName:I}})=>$===nT.DiscrError.Tag?`tag "${I}" must be string`:`value of tag "${I}" must be in oneOf`,params:({params:{discrError:$,tag:I,tagName:U}})=>qU._`{error: ${$}, tag: ${U}, tagValue: ${I}}`},ZR0={keyword:"discriminator",type:"object",schemaType:"object",error:wR0,code($){let{gen:I,data:U,schema:Y,parentSchema:J,it:Q}=$,{oneOf:K}=J;if(!Q.opts.discriminator)throw Error("discriminator: requires discriminator option");let q=Y.propertyName;if(typeof q!="string")throw Error("discriminator: requires propertyName");if(Y.mapping)throw Error("discriminator: mapping is not supported");if(!K)throw Error("discriminator: requires oneOf keyword");let G=I.let("valid",!1),H=I.const("tag",qU._`${U}${(0,qU.getProperty)(q)}`);I.if(qU._`typeof ${H} == "string"`,()=>W(),()=>$.error(!1,{discrError:nT.DiscrError.Tag,tag:H,tagName:q})),$.ok(G);function W(){let Z=w();I.if(!1);for(let z in Z)I.elseIf(qU._`${H} === ${z}`),I.assign(G,V(Z[z]));I.else(),$.error(!1,{discrError:nT.DiscrError.Mapping,tag:H,tagName:q}),I.endIf()}function V(Z){let z=I.name("valid"),L=$.subschema({keyword:"oneOf",schemaProp:Z},z);return $.mergeEvaluated(L,qU.Name),z}function w(){var Z;let z={},L=F(J),D=!0;for(let A=0;A{zR0.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var cT=O((i6,pT)=>{Object.defineProperty(i6,"__esModule",{value:!0});i6.MissingRefError=i6.ValidationError=i6.CodeGen=i6.Name=i6.nil=i6.stringify=i6.str=i6._=i6.KeywordCxt=i6.Ajv=void 0;var LR0=Xn(),DR0=Yc(),OR0=Wc(),wc=Vc(),FR0=["/properties"],VV="http://json-schema.org/draft-07/schema";class eQ extends LR0.default{_addVocabularies(){if(super._addVocabularies(),DR0.default.forEach(($)=>this.addVocabulary($)),this.opts.discriminator)this.addKeyword(OR0.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let $=this.opts.$data?this.$dataMetaSchema(wc,FR0):wc;this.addMetaSchema($,VV,!1),this.refs["http://json-schema.org/schema"]=VV}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(VV)?VV:void 0)}}i6.Ajv=eQ;pT.exports=i6=eQ;pT.exports.Ajv=eQ;Object.defineProperty(i6,"__esModule",{value:!0});i6.default=eQ;var NR0=bQ();Object.defineProperty(i6,"KeywordCxt",{enumerable:!0,get:function(){return NR0.KeywordCxt}});var GU=s0();Object.defineProperty(i6,"_",{enumerable:!0,get:function(){return GU._}});Object.defineProperty(i6,"str",{enumerable:!0,get:function(){return GU.str}});Object.defineProperty(i6,"stringify",{enumerable:!0,get:function(){return GU.stringify}});Object.defineProperty(i6,"nil",{enumerable:!0,get:function(){return GU.nil}});Object.defineProperty(i6,"Name",{enumerable:!0,get:function(){return GU.Name}});Object.defineProperty(i6,"CodeGen",{enumerable:!0,get:function(){return GU.CodeGen}});var MR0=dW();Object.defineProperty(i6,"ValidationError",{enumerable:!0,get:function(){return MR0.default}});var AR0=iQ();Object.defineProperty(i6,"MissingRefError",{enumerable:!0,get:function(){return AR0.default}})});var Ac=O((Nc)=>{Object.defineProperty(Nc,"__esModule",{value:!0});Nc.formatNames=Nc.fastFormats=Nc.fullFormats=void 0;function w8($,I){return{validate:$,compare:I}}Nc.fullFormats={date:w8(Lc,oT),time:w8(mT(!0),rT),"date-time":w8(Zc(!0),Oc),"iso-time":w8(mT(),Dc),"iso-date-time":w8(Zc(),Fc),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:jR0,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:kR0,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:_R0,int32:{type:"number",validate:yR0},int64:{type:"number",validate:hR0},float:{type:"number",validate:zc},double:{type:"number",validate:zc},password:!0,binary:!0};Nc.fastFormats={...Nc.fullFormats,date:w8(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,oT),time:w8(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,rT),"date-time":w8(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Oc),"iso-time":w8(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Dc),"iso-date-time":w8(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Fc),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};Nc.formatNames=Object.keys(Nc.fullFormats);function ER0($){return $%4===0&&($%100!==0||$%400===0)}var BR0=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,vR0=[0,31,28,31,30,31,30,31,31,30,31,30,31];function Lc($){let I=BR0.exec($);if(!I)return!1;let U=+I[1],Y=+I[2],J=+I[3];return Y>=1&&Y<=12&&J>=1&&J<=(Y===2&&ER0(U)?29:vR0[Y])}function oT($,I){if(!($&&I))return;if($>I)return 1;if($23||W>59||$&&!q)return!1;if(J<=23&&Q<=59&&K<60)return!0;let V=Q-W*G,w=J-H*G-(V<0?1:0);return(w===23||w===-1)&&(V===59||V===-1)&&K<61}}function rT($,I){if(!($&&I))return;let U=new Date("2020-01-01T"+$).valueOf(),Y=new Date("2020-01-01T"+I).valueOf();if(!(U&&Y))return;return U-Y}function Dc($,I){if(!($&&I))return;let U=dT.exec($),Y=dT.exec(I);if(!(U&&Y))return;if($=U[1]+U[2]+U[3],I=Y[1]+Y[2]+Y[3],$>I)return 1;if($=SR0}function hR0($){return Number.isInteger($)}function zc(){return!0}var xR0=/[^\\]\\Z/;function kR0($){if(xR0.test($))return!1;try{return new RegExp($),!0}catch(I){return!1}}});var Tc=O((Pc)=>{Object.defineProperty(Pc,"__esModule",{value:!0});Pc.formatLimitDefinition=void 0;var fR0=cT(),d$=s0(),w9=d$.operators,wV={formatMaximum:{okStr:"<=",ok:w9.LTE,fail:w9.GT},formatMinimum:{okStr:">=",ok:w9.GTE,fail:w9.LT},formatExclusiveMaximum:{okStr:"<",ok:w9.LT,fail:w9.GTE},formatExclusiveMinimum:{okStr:">",ok:w9.GT,fail:w9.LTE}},bR0={message:({keyword:$,schemaCode:I})=>d$.str`should be ${wV[$].okStr} ${I}`,params:({keyword:$,schemaCode:I})=>d$._`{comparison: ${wV[$].okStr}, limit: ${I}}`};Pc.formatLimitDefinition={keyword:Object.keys(wV),type:"string",schemaType:"string",$data:!0,error:bR0,code($){let{gen:I,data:U,schemaCode:Y,keyword:J,it:Q}=$,{opts:K,self:q}=Q;if(!K.validateFormats)return;let G=new fR0.KeywordCxt(Q,q.RULES.all.format.definition,"format");if(G.$data)H();else W();function H(){let w=I.scopeValue("formats",{ref:q.formats,code:K.code.formats}),Z=I.const("fmt",d$._`${w}[${G.schemaCode}]`);$.fail$data((0,d$.or)(d$._`typeof ${Z} != "object"`,d$._`${Z} instanceof RegExp`,d$._`typeof ${Z}.compare != "function"`,V(Z)))}function W(){let w=G.schema,Z=q.formats[w];if(!Z||Z===!0)return;if(typeof Z!="object"||Z instanceof RegExp||typeof Z.compare!="function")throw Error(`"${J}": format "${w}" does not define "compare" function`);let z=I.scopeValue("formats",{key:w,ref:Z,code:K.code.formats?d$._`${K.code.formats}${(0,d$.getProperty)(w)}`:void 0});$.fail$data(V(z))}function V(w){return d$._`${w}.compare(${U}, ${Y}) ${wV[J].fail} 0`}},dependencies:["format"]};var iR0=($)=>{return $.addKeyword(Pc.formatLimitDefinition),$};Pc.default=iR0});var Rc=O(($2,vc)=>{Object.defineProperty($2,"__esModule",{value:!0});var HU=Ac(),pR0=Tc(),sT=s0(),Ec=new sT.Name("fullFormats"),cR0=new sT.Name("fastFormats"),eT=($,I={keywords:!0})=>{if(Array.isArray(I))return Bc($,I,HU.fullFormats,Ec),$;let[U,Y]=I.mode==="fast"?[HU.fastFormats,cR0]:[HU.fullFormats,Ec],J=I.formats||HU.formatNames;if(Bc($,J,U,Y),I.keywords)(0,pR0.default)($);return $};eT.get=($,I="full")=>{let Y=(I==="fast"?HU.fastFormats:HU.fullFormats)[$];if(!Y)throw Error(`Unknown format "${$}"`);return Y};function Bc($,I,U,Y){var J,Q;(J=(Q=$.opts.code).formats)!==null&&J!==void 0||(Q.formats=sT._`require("ajv-formats/dist/formats").${Y}`);for(let K of I)$.addFormat(K,U[K])}vc.exports=$2=eT;Object.defineProperty($2,"__esModule",{value:!0});$2.default=eT});var Z4=O((FM1,Yl)=>{var{toString:Ul}=Object.prototype,Kj0=/["&<>]/,K5={each:function(I,U){if(I)if(Array.isArray(I))I.forEach(U);else Object.keys(I).forEach((Y)=>{U(I[Y],Y)})},some:function(I,U){if(I){if(Array.isArray(I))return I.some(U);return Object.keys(I).some((Y)=>U(I[Y],Y))}return!1},every:function(I,U){if(I){if(Array.isArray(I))return I.every(U);return Object.keys(I).every((Y)=>U(I[Y],Y))}return!0},map:function(I,U){if(I){if(Array.isArray(I))return I.map(U);return Object.keys(I).map((Y)=>U(I[Y],Y))}return[]},keyBy($,I){return $.reduce((U,Y)=>{return U[Y[I]]=Y,U},{})},isEqual:function(I,U){let Y=typeof I,J=typeof U,Q=Array.isArray(I),K=Array.isArray(U),q;if(Y!==J)return!1;switch(typeof I){case"object":if(Q||K){if(Q&&K)return I.length===U.length&&I.every((G,H)=>{let W=U[H];return K5.isEqual(G,W)});return!1}if(I===null||U===null)return I===U;if(q=Object.keys(I),Object.keys(U).length!==q.length)return!1;for(let G of q)if(!U.hasOwnProperty(G))return!1;return K5.every(I,(G,H)=>{let W=U[H];return K5.isEqual(G,W)});default:return I===U}},escapeHtml($){let I=Kj0.exec($);if(!I)return $;let U="",Y="",J=0,Q=I.index;for(;Q<$.length;Q++){switch($.charAt(Q)){case'"':Y=""";break;case"&":Y="&";break;case"'":Y="'";break;case"<":Y="<";break;case">":Y=">";break;default:continue}if(J!==Q)U+=$.substring(J,Q);J=Q+1,U+=Y}if(J!==Q)return U+$.substring(J,Q);return U},strcmp($,I){if($I)return 1;return 0},isUndefined($){return Ul.call($)==="[object Undefined]"},isObject($){return Ul.call($)==="[object Object]"},deepMerge(){let $=arguments[0]||{},{length:I}=arguments,U,Y,J;function Q(K,q){if(U=$[q],J=Array.isArray(K),K5.isObject(K)||J){if(J)J=!1,Y=U&&Array.isArray(U)?U:[];else Y=U&&K5.isObject(U)?U:{};$[q]=K5.deepMerge(Y,K)}else if(!K5.isUndefined(K))$[q]=K}for(let K=0;K{var qj0=/^[A-Z]+\d+$/,L2={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level($){if($<=26)return 1;if($<=676)return 2;return 3},_fill($){let I,U,Y,J,Q,K=1;if($>=4)throw Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&$>=1){while(K<=26)I=this._dictionary[K-1],this._n2l[K]=I,this._l2n[I]=K,K++;this._l2nFill=1}if(this._l2nFill<2&&$>=2){K=27;while(K<=702)U=K-27,Y=U%26,J=Math.floor(U/26),I=this._dictionary[J]+this._dictionary[Y],this._n2l[K]=I,this._l2n[I]=K,K++;this._l2nFill=2}if(this._l2nFill<3&&$>=3){K=703;while(K<=16384)U=K-703,Y=U%26,J=Math.floor(U/26)%26,Q=Math.floor(U/676),I=this._dictionary[Q]+this._dictionary[J]+this._dictionary[Y],this._n2l[K]=I,this._l2n[I]=K,K++;this._l2nFill=3}},l2n($){if(!this._l2n[$])this._fill($.length);if(!this._l2n[$])throw Error(`Out of bounds. Invalid column letter: ${$}`);return this._l2n[$]},n2l($){if($<1||$>16384)throw Error(`${$} is out of bounds. Excel supports columns from 1 to 16384`);if(!this._n2l[$])this._fill(this._level($));return this._n2l[$]},_hash:{},validateAddress($){if(!qj0.test($))throw Error(`Invalid Address: ${$}`);return!0},decodeAddress($){let I=$.length<5&&this._hash[$];if(I)return I;let U=!1,Y="",J=0,Q=!1,K="",q=0;for(let H=0,W;H<$.length;H++)if(W=$.charCodeAt(H),!Q&&W>=65&&W<=90)U=!0,Y+=$[H],J=J*26+W-64;else if(W>=48&&W<=57)Q=!0,K+=$[H],q=q*10+W-48;else if(Q&&U&&W!==36)break;if(!U)J=void 0;else if(J>16384)throw Error(`Out of bounds. Invalid column letter: ${Y}`);if(!Q)q=void 0;$=Y+K;let G={address:$,col:J,row:q,$col$row:`$${Y}$${K}`};if(J<=100&&q<=100)this._hash[$]=G,this._hash[G.$col$row]=G;return G},getAddress($,I){if(I){let U=this.n2l(I)+$;return this.decodeAddress(U)}return this.decodeAddress($)},decode($){let I=$.split(":");if(I.length===2){let U=this.decodeAddress(I[0]),Y=this.decodeAddress(I[1]),J={top:Math.min(U.row,Y.row),left:Math.min(U.col,Y.col),bottom:Math.max(U.row,Y.row),right:Math.max(U.col,Y.col)};return J.tl=this.n2l(J.left)+J.top,J.br=this.n2l(J.right)+J.bottom,J.dimensions=`${J.tl}:${J.br}`,J}return this.decodeAddress($)},decodeEx($){let I=$.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),U=I[1]||I[2],Y=I[3],J=Y.split(":");if(J.length>1){let K=this.decodeAddress(J[0]),q=this.decodeAddress(J[1]),G=Math.min(K.row,q.row),H=Math.min(K.col,q.col),W=Math.max(K.row,q.row),V=Math.max(K.col,q.col);return K=this.n2l(H)+G,q=this.n2l(V)+W,{top:G,left:H,bottom:W,right:V,sheetName:U,tl:{address:K,col:H,row:G,$col$row:`$${this.n2l(H)}$${G}`,sheetName:U},br:{address:q,col:V,row:W,$col$row:`$${this.n2l(V)}$${W}`,sheetName:U},dimensions:`${K}:${q}`}}if(Y.startsWith("#"))return U?{sheetName:U,error:Y}:{error:Y};let Q=this.decodeAddress(Y);return U?{sheetName:U,...Q}:Q},encodeAddress($,I){return L2.n2l(I)+$},encode(){switch(arguments.length){case 2:return L2.encodeAddress(arguments[0],arguments[1]);case 4:return`${L2.encodeAddress(arguments[0],arguments[1])}:${L2.encodeAddress(arguments[2],arguments[3])}`;default:throw Error("Can only encode with 2 or 4 arguments")}},inRange($,I){let[U,Y,,J,Q]=$,[K,q]=I;return K>=U&&K<=J&&q>=Y&&q<=Q}};Jl.exports=L2});var q5=O((MM1,Ql)=>{var z8=G4();class iE{constructor(){this.decode(arguments)}setTLBR($,I,U,Y,J){if(arguments.length<4){let Q=z8.decodeAddress($),K=z8.decodeAddress(I);this.model={top:Math.min(Q.row,K.row),left:Math.min(Q.col,K.col),bottom:Math.max(Q.row,K.row),right:Math.max(Q.col,K.col),sheetName:U},this.setTLBR(Q.row,Q.col,K.row,K.col,J)}else this.model={top:Math.min($,U),left:Math.min(I,Y),bottom:Math.max($,U),right:Math.max(I,Y),sheetName:J}}decode($){switch($.length){case 5:this.setTLBR($[0],$[1],$[2],$[3],$[4]);break;case 4:this.setTLBR($[0],$[1],$[2],$[3]);break;case 3:this.setTLBR($[0],$[1],$[2]);break;case 2:this.setTLBR($[0],$[1]);break;case 1:{let I=$[0];if(I instanceof iE)this.model={top:I.model.top,left:I.model.left,bottom:I.model.bottom,right:I.model.right,sheetName:I.sheetName};else if(I instanceof Array)this.decode(I);else if(I.top&&I.left&&I.bottom&&I.right)this.model={top:I.top,left:I.left,bottom:I.bottom,right:I.right,sheetName:I.sheetName};else{let U=z8.decodeEx(I);if(U.top)this.model={top:U.top,left:U.left,bottom:U.bottom,right:U.right,sheetName:U.sheetName};else this.model={top:U.row,left:U.col,bottom:U.row,right:U.col,sheetName:U.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw Error(`Invalid number of arguments to _getDimensions() - ${$.length}`)}}get top(){return this.model.top||1}set top($){this.model.top=$}get left(){return this.model.left||1}set left($){this.model.left=$}get bottom(){return this.model.bottom||1}set bottom($){this.model.bottom=$}get right(){return this.model.right||1}set right($){this.model.right=$}get sheetName(){return this.model.sheetName}set sheetName($){this.model.sheetName=$}get _serialisedSheetName(){let{sheetName:$}=this.model;if($){if(/^[a-zA-Z0-9]*$/.test($))return`${$}!`;return`'${$}'!`}return""}expand($,I,U,Y){if(!this.model.top||$this.bottom)this.bottom=U;if(!this.model.right||Y>this.right)this.right=Y}expandRow($){if($){let{dimensions:I,number:U}=$;if(I)this.expand(U,I.min,U,I.max)}}expandToAddress($){let I=z8.decodeEx($);this.expand(I.row,I.col,I.row,I.col)}get tl(){return z8.n2l(this.left)+this.top}get $t$l(){return`$${z8.n2l(this.left)}$${this.top}`}get br(){return z8.n2l(this.right)+this.bottom}get $b$r(){return`$${z8.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;if($.bottomthis.bottom)return!1;if($.rightthis.right)return!1;return!0}contains($){let I=z8.decodeEx($);return this.containsEx(I)}containsEx($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;return $.row>=this.top&&$.row<=this.bottom&&$.col>=this.left&&$.col<=this.right}forEachAddress($){for(let I=this.left;I<=this.right;I++)for(let U=this.top;U<=this.bottom;U++)$(z8.encodeAddress(U,I),U,I)}}Ql.exports=iE});var o$=O((AM1,Kl)=>{Kl.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}});var Gl=O((PM1,ql)=>{var nV=G4(),Gj0=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,Hj0=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function Wj0($,I,U){let Y=nV.decode(I),J=nV.decode(U);return $.replace(Gj0,(Q,K,q,G,H)=>{if(H)return Q;let W=Hj0.exec(G);if(W){let V=W[1],w=W[2].toUpperCase(),Z=W[3],z=W[4];if(w.length>3||w.length===3&&w>"XFD")return Q;let L=nV.l2n(w),D=parseInt(z,10);if(!V)L+=J.col-Y.col;if(!Z)D+=J.row-Y.row;return(K||"")+(V||"")+nV.n2l(L)+(Z||"")+D}return Q})}ql.exports={slideFormula:Wj0}});var Wl=O((TM1,Hl)=>{var Vj0=Z4();class D2{constructor($){this.note=$}get model(){let $=null;switch(typeof this.note){case"string":$={type:"note",note:{texts:[{text:this.note}]}};break;default:$={type:"note",note:this.note};break}return Vj0.deepMerge({},D2.DEFAULT_CONFIGS,$)}set model($){let{note:I}=$,{texts:U}=I;if(U.length===1&&Object.keys(U[0]).length===1)this.note=U[0].text;else this.note=I}static fromModel($){let I=new D2;return I.model=$,I}}D2.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[0.13,0.13,0.25,0.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}};Hl.exports=D2});var El=O((EM1,Tl)=>{var wj0=G4(),Zj0=Z4(),r$=o$(),{slideFormula:Xj0}=Gl(),Vl=Wl();class M0{constructor($,I,U){if(!$||!I)throw Error("A Cell needs a Row");this._row=$,this._column=I,wj0.validateAddress(U),this._address=U,this._value=L9.create(M0.Types.Null,this),this.style=this._mergeStyle($.style,I.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt($){this.style.numFmt=$}get font(){return this.style.font}set font($){this.style.font=$}get alignment(){return this.style.alignment}set alignment($){this.style.alignment=$}get border(){return this.style.border}set border($){this.style.border=$}get fill(){return this.style.fill}set fill($){this.style.fill=$}get protection(){return this.style.protection}set protection($){this.style.protection=$}_mergeStyle($,I,U){let Y=$&&$.numFmt||I&&I.numFmt;if(Y)U.numFmt=Y;let J=$&&$.font||I&&I.font;if(J)U.font=J;let Q=$&&$.alignment||I&&I.alignment;if(Q)U.alignment=Q;let K=$&&$.border||I&&I.border;if(K)U.border=K;let q=$&&$.fill||I&&I.fill;if(q)U.fill=q;let G=$&&$.protection||I&&I.protection;if(G)U.protection=G;return U}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===M0.Types.Merge}merge($,I){if(this._value.release(),this._value=L9.create(M0.Types.Merge,this,$),!I)this.style=$.style}unmerge(){if(this.type===M0.Types.Merge)this._value.release(),this._value=L9.create(M0.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{})}isMergedTo($){if(this._value.type!==M0.Types.Merge)return!1;return this._value.isMergedTo($)}get master(){if(this.type===M0.Types.Merge)return this._value.master;return this}get isHyperlink(){return this._value.type===M0.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value($){if(this.type===M0.Types.Merge){this._value.master.value=$;return}this._value.release(),this._value=L9.create(L9.getType($),this,$)}get note(){return this._comment&&this._comment.note}set note($){this._comment=new Vl($)}get text(){return this._value.toString()}get html(){return Zj0.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink($){if(this.type===M0.Types.String)this._value=L9.create(M0.Types.Hyperlink,this,{text:this._value.value,hyperlink:$})}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){let{worksheet:$}=this._row;return{sheetName:$.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name($){this.names=[$]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names($){let{definedNames:I}=this.workbook;I.removeAllNames(this.fullAddress),$.forEach((U)=>{I.addEx(this.fullAddress,U)})}addName($){this.workbook.definedNames.addEx(this.fullAddress,$)}removeName($){this.workbook.definedNames.removeEx(this.fullAddress,$)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation($){this._dataValidations.add(this.address,$)}get model(){let{model:$}=this._value;if($.style=this.style,this._comment)$.comment=this._comment.model;return $}set model($){if(this._value.release(),this._value=L9.create($.type,this),this._value.model=$,$.comment)switch($.comment.type){case"note":this._comment=Vl.fromModel($.comment);break}if($.style)this.style=$.style;else this.style={}}}M0.Types=r$.ValueType;class wl{constructor($){this.model={address:$.address,type:M0.Types.Null}}get value(){return null}set value($){}get type(){return M0.Types.Null}get effectiveType(){return M0.Types.Null}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){}toString(){return""}}class Zl{constructor($,I){this.model={address:$.address,type:M0.Types.Number,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return M0.Types.Number}get effectiveType(){return M0.Types.Number}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class Xl{constructor($,I){this.model={address:$.address,type:M0.Types.String,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return M0.Types.String}get effectiveType(){return M0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}class zl{constructor($,I){this.model={address:$.address,type:M0.Types.String,value:I}}get value(){return this.model.value}set value($){this.model.value=$}toString(){return this.model.value.richText.map(($)=>$.text).join("")}get type(){return M0.Types.RichText}get effectiveType(){return M0.Types.RichText}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}class Ll{constructor($,I){this.model={address:$.address,type:M0.Types.Date,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return M0.Types.Date}get effectiveType(){return M0.Types.Date}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}class Dl{constructor($,I){if(this.model={address:$.address,type:M0.Types.Hyperlink,text:I?I.text:void 0,hyperlink:I?I.hyperlink:void 0},I&&I.tooltip)this.model.tooltip=I.tooltip}get value(){let $={text:this.model.text,hyperlink:this.model.hyperlink};if(this.model.tooltip)$.tooltip=this.model.tooltip;return $}set value($){if(this.model={text:$.text,hyperlink:$.hyperlink},$.tooltip)this.model.tooltip=$.tooltip}get text(){return this.model.text}set text($){this.model.text=$}get hyperlink(){return this.model.hyperlink}set hyperlink($){this.model.hyperlink=$}get type(){return M0.Types.Hyperlink}get effectiveType(){return M0.Types.Hyperlink}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}class Ol{constructor($,I){if(this.model={address:$.address,type:M0.Types.Merge,master:I?I.address:void 0},this._master=I,I)I.addMergeRef()}get value(){return this._master.value}set value($){if($ instanceof M0){if(this._master)this._master.releaseMergeRef();$.addMergeRef(),this._master=$}else this._master.value=$}isMergedTo($){return $===this._master}get master(){return this._master}get type(){return M0.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}class Fl{constructor($,I){this.cell=$,this.model={address:$.address,type:M0.Types.Formula,shareType:I?I.shareType:void 0,ref:I?I.ref:void 0,formula:I?I.formula:void 0,sharedFormula:I?I.sharedFormula:void 0,result:I?I.result:void 0}}_copyModel($){let I={},U=(Y)=>{let J=$[Y];if(J)I[Y]=J};return U("formula"),U("result"),U("ref"),U("shareType"),U("sharedFormula"),I}get value(){return this._copyModel(this.model)}set value($){this.model=this._copyModel($)}validate($){switch(L9.getType($)){case M0.Types.Null:case M0.Types.String:case M0.Types.Number:case M0.Types.Date:break;case M0.Types.Hyperlink:case M0.Types.Formula:default:throw Error("Cannot process that type of result value")}}get dependencies(){let $=this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),I=this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g);return{ranges:$,cells:I}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula($){this.model.formula=$}get formulaType(){if(this.model.formula)return r$.FormulaType.Master;if(this.model.sharedFormula)return r$.FormulaType.Shared;return r$.FormulaType.None}get result(){return this.model.result}set result($){this.model.result=$}get type(){return M0.Types.Formula}get effectiveType(){let $=this.model.result;if($===null||$===void 0)return r$.ValueType.Null;if($ instanceof String||typeof $==="string")return r$.ValueType.String;if(typeof $==="number")return r$.ValueType.Number;if($ instanceof Date)return r$.ValueType.Date;if($.text&&$.hyperlink)return r$.ValueType.Hyperlink;if($.formula)return r$.ValueType.Formula;return r$.ValueType.Null}get address(){return this.model.address}set address($){this.model.address=$}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:$}=this.cell,I=$.findCell(this.model.sharedFormula);this._translatedFormula=I&&Xj0(I.formula,I.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}class Nl{constructor($,I){this.model={address:$.address,type:M0.Types.SharedString,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return M0.Types.SharedString}get effectiveType(){return M0.Types.SharedString}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class Ml{constructor($,I){this.model={address:$.address,type:M0.Types.Boolean,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return M0.Types.Boolean}get effectiveType(){return M0.Types.Boolean}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}class Al{constructor($,I){this.model={address:$.address,type:M0.Types.Error,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return M0.Types.Error}get effectiveType(){return M0.Types.Error}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}class Pl{constructor($,I){this.model={address:$.address,type:M0.Types.String,value:JSON.stringify(I),rawValue:I}}get value(){return this.model.rawValue}set value($){this.model.rawValue=$,this.model.value=JSON.stringify($)}get type(){return M0.Types.String}get effectiveType(){return M0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}var L9={getType($){if($===null||$===void 0)return M0.Types.Null;if($ instanceof String||typeof $==="string")return M0.Types.String;if(typeof $==="number")return M0.Types.Number;if(typeof $==="boolean")return M0.Types.Boolean;if($ instanceof Date)return M0.Types.Date;if($.text&&$.hyperlink)return M0.Types.Hyperlink;if($.formula||$.sharedFormula)return M0.Types.Formula;if($.richText)return M0.Types.RichText;if($.sharedString)return M0.Types.SharedString;if($.error)return M0.Types.Error;return M0.Types.JSON},types:[{t:M0.Types.Null,f:wl},{t:M0.Types.Number,f:Zl},{t:M0.Types.String,f:Xl},{t:M0.Types.Date,f:Ll},{t:M0.Types.Hyperlink,f:Dl},{t:M0.Types.Formula,f:Fl},{t:M0.Types.Merge,f:Ol},{t:M0.Types.JSON,f:Pl},{t:M0.Types.SharedString,f:Nl},{t:M0.Types.RichText,f:zl},{t:M0.Types.Boolean,f:Ml},{t:M0.Types.Error,f:Al}].reduce(($,I)=>{return $[I.t]=I.f,$},[]),create($,I,U){let Y=this.types[$];if(!Y)throw Error(`Could not create Value of type ${$}`);return new Y(I,U)}};Tl.exports=M0});var cV=O((BM1,Rl)=>{var zj0=Z4(),pV=o$(),k7=G4(),Bl=El();class vl{constructor($,I){this._worksheet=$,this._number=I,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell($){return this._cells[$-1]}getCellEx($){let I=this._cells[$.col-1];if(!I){let U=this._worksheet.getColumn($.col);I=new Bl(this,U,$.address),this._cells[$.col-1]=I}return I}getCell($){if(typeof $==="string"){let I=this._worksheet.getColumnKey($);if(I)$=I.number;else $=k7.l2n($)}return this._cells[$-1]||this.getCellEx({address:k7.encodeAddress(this._number,$),row:this._number,col:$})}splice($,I,...U){let Y=$+I,J=U.length-I,Q=this._cells.length,K,q,G;if(J<0){for(K=$+U.length;K<=Q;K++)if(G=this._cells[K-1],q=this._cells[K-J-1],q)G=this.getCell(K),G.value=q.value,G.style=q.style,G._comment=q._comment;else if(G)G.value=null,G.style={},G._comment=void 0}else if(J>0)for(K=Q;K>=Y;K--)if(q=this._cells[K-1],q)G=this.getCell(K+J),G.value=q.value,G.style=q.style,G._comment=q._comment;else this._cells[K+J-1]=void 0;for(K=0;K{if(U&&U.type!==pV.ValueType.Null)I(U,Y+1)})}addPageBreak($,I){let U=this._worksheet,Y=Math.max(0,$-1)||0,J=Math.max(0,I-1)||16838,Q={id:this._number,max:J,man:1};if(Y)Q.min=Y;U.rowBreaks.push(Q)}get values(){let $=[];return this._cells.forEach((I)=>{if(I&&I.type!==pV.ValueType.Null)$[I.col]=I.value}),$}set values($){if(this._cells=[],!$);else if($ instanceof Array){let I=0;if($.hasOwnProperty("0"))I=1;$.forEach((U,Y)=>{if(U!==void 0)this.getCellEx({address:k7.encodeAddress(this._number,Y+I),row:this._number,col:Y+I}).value=U})}else this._worksheet.eachColumnKey((I,U)=>{if($[U]!==void 0)this.getCellEx({address:k7.encodeAddress(this._number,I.number),row:this._number,col:I.number}).value=$[U]})}get hasValues(){return zj0.some(this._cells,($)=>$&&$.type!==pV.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let $=0;return this.eachCell(()=>{$++}),$}get dimensions(){let $=0,I=0;return this._cells.forEach((U)=>{if(U&&U.type!==pV.ValueType.Null){if(!$||$>U.col)$=U.col;if(I0?{min:$,max:I}:null}_applyStyle($,I){return this.style[$]=I,this._cells.forEach((U)=>{if(U)U[$]=I}),I}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){let $=[],I=0,U=0;return this._cells.forEach((Y)=>{if(Y){let J=Y.model;if(J){if(!I||I>Y.col)I=Y.col;if(U{switch(U.type){case Bl.Types.Merge:break;default:{let Y;if(U.address)Y=k7.decodeAddress(U.address);else if(I){let{row:Q}=I,K=I.col+1;Y={row:Q,col:K,address:k7.encodeAddress(Q,K),$col$row:`$${k7.n2l(K)}$${Q}`}}I=Y;let J=this.getCellEx(Y);J.model=U;break}}}),$.height)this.height=$.height;else delete this.height;this.hidden=$.hidden,this.outlineLevel=$.outlineLevel||0,this.style=$.style&&JSON.parse(JSON.stringify($.style))||{}}}Rl.exports=vl});var mV=O((vM1,Cl)=>{var Lj0=Z4(),Dj0=o$(),Oj0=G4();class dV{constructor($,I,U){if(this._worksheet=$,this._number=I,U!==!1)this.defn=U}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return Oj0.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn($){if($){if(this.key=$.key,this.width=$.width!==void 0?$.width:9,this.outlineLevel=$.outlineLevel,$.style)this.style=$.style;else this.style={};this.header=$.header,this._hidden=!!$.hidden}else delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header($){if($!==void 0)this._header=$,this.headers.forEach((I,U)=>{this._worksheet.getCell(U+1,this.number).value=I});else this._header=void 0}get key(){return this._key}set key($){if((this._key&&this._worksheet.getColumnKey(this._key))===this)this._worksheet.deleteColumnKey(this._key);if(this._key=$,$)this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo($){return this.width===$.width&&this.hidden===$.hidden&&this.outlineLevel===$.outlineLevel&&Lj0.isEqual(this.style,$.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;let $=this.style;if($&&($.font||$.numFmt||$.alignment||$.border||$.fill||$.protection))return!1;return!0}get headerCount(){return this.headers.length}eachCell($,I){let U=this.number;if(!I)I=$,$=null;this._worksheet.eachRow($,(Y,J)=>{I(Y.getCell(U),J)})}get values(){let $=[];return this.eachCell((I,U)=>{if(I&&I.type!==Dj0.ValueType.Null)$[U]=I.value}),$}set values($){if(!$)return;let I=this.number,U=0;if($.hasOwnProperty("0"))U=1;$.forEach((Y,J)=>{this._worksheet.getCell(J+U,I).value=Y})}_applyStyle($,I){return this.style[$]=I,this.eachCell((U)=>{U[$]=I}),I}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}static toModel($){let I=[],U=null;if($)$.forEach((Y,J)=>{if(Y.isDefault){if(U)U=null}else if(!U||!Y.equivalentTo(U))U={min:J+1,max:J+1,width:Y.width!==void 0?Y.width:9,style:Y.style,isCustomWidth:Y.isCustomWidth,hidden:Y.hidden,outlineLevel:Y.outlineLevel,collapsed:Y.collapsed},I.push(U);else U.max=J+1});return I.length?I:void 0}static fromModel($,I){I=I||[];let U=[],Y=1,J=0;I=I.sort(function(Q,K){return Q.min-K.min});while(J{var Fj0=G4();class lV{constructor($,I,U=0){if(this.worksheet=$,!I)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof I==="string"){let Y=Fj0.decodeAddress(I);this.nativeCol=Y.col+U,this.nativeColOff=0,this.nativeRow=Y.row+U,this.nativeRowOff=0}else if(I.nativeCol!==void 0)this.nativeCol=I.nativeCol||0,this.nativeColOff=I.nativeColOff||0,this.nativeRow=I.nativeRow||0,this.nativeRowOff=I.nativeRowOff||0;else if(I.col!==void 0)this.col=I.col+U,this.row=I.row+U;else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance($){return $ instanceof lV||$==null?$:new lV($)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col($){this.nativeCol=Math.floor($),this.nativeColOff=Math.floor(($-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row($){this.nativeRow=Math.floor($),this.nativeRowOff=Math.floor(($-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(this.worksheet.getColumn(this.nativeCol+1).width*1e4):640000}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(this.worksheet.getRow(this.nativeRow+1).height*1e4):180000}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model($){this.nativeCol=$.nativeCol,this.nativeColOff=$.nativeColOff,this.nativeRow=$.nativeRow,this.nativeRowOff=$.nativeRowOff}}jl.exports=lV});var yl=O((CM1,gl)=>{var Nj0=G4(),oV=_l();class Sl{constructor($,I){this.worksheet=$,this.model=I}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw Error("Invalid Image Type")}}set model({type:$,imageId:I,range:U,hyperlinks:Y}){if(this.type=$,this.imageId=I,$==="image")if(typeof U==="string"){let J=Nj0.decode(U);this.range={tl:new oV(this.worksheet,{col:J.left,row:J.top},-1),br:new oV(this.worksheet,{col:J.right,row:J.bottom},0),editAs:"oneCell"}}else this.range={tl:new oV(this.worksheet,U.tl,0),br:U.br&&new oV(this.worksheet,U.br,0),ext:U.ext,editAs:U.editAs,hyperlinks:Y||U.hyperlinks}}}gl.exports=Sl});var ul=O((jM1,kl)=>{var rV=G4();class hl{constructor($,I,U){this.table=$,this.column=I,this.index=U}_set($,I){this.table.cacheState(),this.column[$]=I}get name(){return this.column.name}set name($){this._set("name",$)}get filterButton(){return this.column.filterButton}set filterButton($){this.column.filterButton=$}get style(){return this.column.style}set style($){this.column.style=$}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel($){this._set("totalsRowLabel",$)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction($){this._set("totalsRowFunction",$)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult($){this._set("totalsRowResult",$)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula($){this._set("totalsRowFormula",$)}}class xl{constructor($,I){if(this.worksheet=$,I)this.table=I,this.validate(),this.store()}getFormula($){switch($.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${$.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${$.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${$.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${$.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${$.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${$.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${$.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${$.name}])`;case"custom":return $.totalsRowFormula;default:throw Error(`Invalid Totals Row Function: ${$.totalsRowFunction}`)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){let{table:$}=this,I=(G,H,W)=>{if(G[H]===void 0)G[H]=W};I($,"headerRow",!0),I($,"totalsRow",!1),I($,"style",{}),I($.style,"theme","TableStyleMedium2"),I($.style,"showFirstColumn",!1),I($.style,"showLastColumn",!1),I($.style,"showRowStripes",!1),I($.style,"showColumnStripes",!1);let U=(G,H)=>{if(!G)throw Error(H)};U($.ref,"Table must have ref"),U($.columns,"Table must have column definitions"),U($.rows,"Table must have row definitions"),$.tl=rV.decodeAddress($.ref);let{row:Y,col:J}=$.tl;U(Y>0,"Table must be on valid row"),U(J>0,"Table must be on valid col");let{width:Q,filterHeight:K,tableHeight:q}=this;$.autoFilterRef=rV.encode(Y,J,Y+K-1,J+Q-1),$.tableRef=rV.encode(Y,J,Y+q-1,J+Q-1),$.columns.forEach((G,H)=>{if(U(G.name,`Column ${H} must have a name`),H===0)I(G,"totalsRowLabel","Total");else I(G,"totalsRowFunction","none"),G.totalsRowFormula=this.getFormula(G)})}store(){let $=(K,q)=>{if(q)Object.keys(q).forEach((G)=>{K[G]=q[G]})},{worksheet:I,table:U}=this,{row:Y,col:J}=U.tl,Q=0;if(U.headerRow){let K=I.getRow(Y+Q++);U.columns.forEach((q,G)=>{let{style:H,name:W}=q,V=K.getCell(J+G);V.value=W,$(V,H)})}if(U.rows.forEach((K)=>{let q=I.getRow(Y+Q++);K.forEach((G,H)=>{let W=q.getCell(J+H);W.value=G,$(W,U.columns[H].style)})}),U.totalsRow){let K=I.getRow(Y+Q++);U.columns.forEach((q,G)=>{let H=K.getCell(J+G);if(G===0)H.value=q.totalsRowLabel;else if(this.getFormula(q))H.value={formula:q.totalsRowFormula,result:q.totalsRowResult};else H.value=null;$(H,q.style)})}}load($){let{table:I}=this,{row:U,col:Y}=I.tl,J=0;if(I.headerRow){let Q=$.getRow(U+J++);I.columns.forEach((K,q)=>{let G=Q.getCell(Y+q);G.value=K.name})}if(I.rows.forEach((Q)=>{let K=$.getRow(U+J++);Q.forEach((q,G)=>{let H=K.getCell(Y+G);H.value=q})}),I.totalsRow){let Q=$.getRow(U+J++);I.columns.forEach((K,q)=>{let G=Q.getCell(Y+q);if(q===0)G.value=K.totalsRowLabel;else if(this.getFormula(K))G.value={formula:K.totalsRowFormula,result:K.totalsRowResult}})}}get model(){return this.table}set model($){this.table=$}cacheState(){if(!this._cache)this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let $=rV.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let I=0;I{Y.push(I[J])});else this.table.columns.splice(U,0,$),this.table.rows.forEach((Y,J)=>{Y.splice(U,0,I[J])})}removeColumns($,I=1){this.cacheState(),this.table.columns.splice($,I),this.table.rows.forEach((U)=>{U.splice($,I)})}_assign($,I,U){this.cacheState(),$[I]=U}get ref(){return this.table.ref}set ref($){this._assign(this.table,"ref",$)}get name(){return this.table.name}set name($){this.table.name=$}get displayName(){return this.table.displyName||this.table.name}set displayNamename($){this.table.displayName=$}get headerRow(){return this.table.headerRow}set headerRow($){this._assign(this.table,"headerRow",$)}get totalsRow(){return this.table.totalsRow}set totalsRow($){this._assign(this.table,"totalsRow",$)}get theme(){return this.table.style.name}set theme($){this.table.style.name=$}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn($){this.table.style.showFirstColumn=$}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn($){this.table.style.showLastColumn=$}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes($){this.table.style.showRowStripes=$}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes($){this.table.style.showColumnStripes=$}}kl.exports=xl});var nE=O((_M1,bl)=>{class fl{constructor($){this.model=$||{}}add($,I){return this.model[$]=I}find($){return this.model[$]}remove($){this.model[$]=void 0}}bl.exports=fl});var cE=O((SM1,il)=>{var pE=r("crypto"),Mj0={hash($,...I){let U=pE.createHash($);return U.update(Buffer.concat(I)),U.digest()},convertPasswordToHash($,I,U,Y){if(I=I.toLowerCase(),pE.getHashes().indexOf(I)<0)throw Error(`Hash algorithm '${I}' not supported!`);let Q=Buffer.from($,"utf16le"),K=this.hash(I,Buffer.from(U,"base64"),Q);for(let q=0;q{var nl=($,I)=>({...$,...I.reduce((U,Y)=>{if($[Y])U[Y]={...$[Y]};return U},{})}),L8=($,I,U,Y=[])=>{if($[U])I[U]=nl($[U],Y)},Aj0=($)=>Object.keys($).length===0,Pj0=($)=>{if(!$)return $;if(Aj0($))return{};let I={...$};if(L8($,I,"font",["color"]),L8($,I,"alignment"),L8($,I,"protection"),$.border)L8($,I,"border"),L8($.border,I.border,"top",["color"]),L8($.border,I.border,"left",["color"]),L8($.border,I.border,"bottom",["color"]),L8($.border,I.border,"right",["color"]),L8($.border,I.border,"diagonal",["color"]);if($.fill){if(L8($,I,"fill",["fgColor","bgColor","center"]),$.fill.stops)I.fill.stops=$.fill.stops.map((U)=>nl(U,["color"]))}return I};Tj0.copyStyle=Pj0});var al=O((yM1,tl)=>{var O2=Z4(),F2=G4(),N2=q5(),cl=cV(),tV=mV(),Bj0=o$(),dE=yl(),dl=ul(),ml=nE(),ll=cE(),{copyStyle:ol}=pl();class rl{constructor($){$=$||{},this._workbook=$.workbook,this.id=$.id,this.orderNo=$.orderNo,this.name=$.name,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.dataValidations=new ml,this.views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name($){if($===void 0)$=`sheet${this.id}`;if(this._name===$)return;if(typeof $!=="string")throw Error("The name has to be a string.");if($==="")throw Error("The name can't be empty.");if($==="History")throw Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test($))throw Error(`Worksheet name ${$} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test($))throw Error(`The first or last character of worksheet name cannot be a single quotation mark: ${$}`);if($&&$.length>31)console.warn(`Worksheet name ${$} exceeds 31 chars. This will be truncated`),$=$.substring(0,31);if(this._workbook._worksheets.find((I)=>I&&I.name.toLowerCase()===$.toLowerCase()))throw Error(`Worksheet name already exists: ${$}`);this._name=$}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let $=new N2;return this._rows.forEach((I)=>{if(I){let U=I.dimensions;if(U)$.expand(I.number,U.min,I.number,U.max)}}),$}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((Y,J)=>{let Q=J.header&&1||J.headers&&J.headers.length||0;return Math.max(Y,Q)},0);let I=1,U=this._columns=[];$.forEach((Y)=>{let J=new tV(this,I++,!1);U.push(J),J.defn=Y})}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){O2.each(this._keys,$)}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=F2.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new tV(this,I++))}return this._columns[$-1]}spliceColumns($,I,...U){let J=this._rows.length;if(U.length>0)for(let G=0;G{H.push(V[G]||null)});let W=this.getRow(G+1);W.splice.apply(W,H)}else this._rows.forEach((G)=>{if(G)G.splice($,I)});let Q=U.length-I,K=$+I,q=this._columns.length;if(Q<0)for(let G=$+U.length;G<=q;G++)this.getColumn(G).defn=this.getColumn(G-Q).defn;else if(Q>0)for(let G=q;G>=K;G--)this.getColumn(G+Q).defn=this.getColumn(G).defn;for(let G=$;G<$+U.length;G++)this.getColumn(G).defn=null;this.workbook.definedNames.spliceColumns(this.name,$,I,U.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let $=0;return this.eachRow((I)=>{$=Math.max($,I.cellCount)}),$}get actualColumnCount(){let $=[],I=0;return this.eachRow((U)=>{U.eachCell(({col:Y})=>{if(!$[Y])$[Y]=!0,I++})}),I}_commitRow(){}get _lastRowNumber(){let $=this._rows,I=$.length;while(I>0&&$[I-1]===void 0)I--;return I}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){return this._rows[$-1]}findRows($,I){return this._rows.slice($-1,$-1+I)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let $=0;return this.eachRow(()=>{$++}),$}getRow($){let I=this._rows[$-1];if(!I)I=this._rows[$-1]=new cl(this,$);return I}getRows($,I){if(I<1)return;let U=[];for(let Y=$;Y<$+I;Y++)U.push(this.getRow(Y));return U}addRow($,I="n"){let U=this._nextRow,Y=this.getRow(U);return Y.values=$,this._setStyleOption(U,I[0]==="i"?I:"n"),Y}addRows($,I="n"){let U=[];return $.forEach((Y)=>{U.push(this.addRow(Y,I))}),U}insertRow($,I,U="n"){return this.spliceRows($,0,I),this._setStyleOption($,U),this.getRow($)}insertRows($,I,U="n"){if(this.spliceRows($,0,...I),U!=="n"){for(let Y=0;Y{J.getCell(K).style=ol(Q.style)}),J.height=Y.height}duplicateRow($,I,U=!1){let Y=this._rows[$-1],J=Array(I).fill(Y.values);this.spliceRows($+1,U?0:I,...J);for(let Q=0;Q{K.getCell(G).style=q.style})}}spliceRows($,I,...U){let Y=$+I,J=U.length,Q=J-I,K=this._rows.length,q,G;if(Q<0){if($===K)this._rows[K-1]=void 0;for(q=Y;q<=K;q++)if(G=this._rows[q-1],G){let H=this.getRow(q+Q);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,V)=>{H.getCell(V).style=W.style}),this._rows[q-1]=void 0}else this._rows[q+Q-1]=void 0}else if(Q>0)for(q=K;q>=Y;q--)if(G=this._rows[q-1],G){let H=this.getRow(q+Q);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,V)=>{if(H.getCell(V).style=W.style,W._value.constructor.name==="MergeValue"){let w=this.getRow(W._row._number+J).getCell(V),Z=W._value._master,z=this.getRow(Z._row._number+J).getCell(Z._column._number);w.merge(z)}})}else this._rows[q+Q-1]=void 0;for(q=0;q{if(U&&U.hasValues)I(U,U.number)})}getSheetValues(){let $=[];return this._rows.forEach((I)=>{if(I)$[I.number]=I.values}),$}findCell($,I){let U=F2.getAddress($,I),Y=this._rows[U.row-1];return Y?Y.findCell(U.col):void 0}getCell($,I){let U=F2.getAddress($,I);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let I=new N2($);this._mergeCellsInternal(I)}mergeCellsWithoutStyle(...$){let I=new N2($);this._mergeCellsInternal(I,!0)}_mergeCellsInternal($,I){O2.each(this._merges,(Y)=>{if(Y.intersects($))throw Error("Cannot merge already merged cells")});let U=this.getCell($.top,$.left);for(let Y=$.top;Y<=$.bottom;Y++)for(let J=$.left;J<=$.right;J++)if(Y>$.top||J>$.left)this.getCell(Y,J).merge(U,I);this._merges[U.address]=$}_unMergeMaster($){let I=this._merges[$.address];if(I){for(let U=I.top;U<=I.bottom;U++)for(let Y=I.left;Y<=I.right;Y++)this.getCell(U,Y).unmerge();delete this._merges[$.address]}}get hasMerges(){return O2.some(this._merges,Boolean)}unMergeCells(...$){let I=new N2($);for(let U=I.top;U<=I.bottom;U++)for(let Y=I.left;Y<=I.right;Y++){let J=this.findCell(U,Y);if(J){if(J.type===Bj0.ValueType.Merge)this._unMergeMaster(J.master);else if(this._merges[J.address])this._unMergeMaster(J)}}}fillFormula($,I,U,Y="shared"){let J=F2.decode($),{top:Q,left:K,bottom:q,right:G}=J,H=G-K+1,W=F2.encodeAddress(Q,K),V=Y==="shared",w;if(typeof U==="function")w=U;else if(Array.isArray(U))if(Array.isArray(U[0]))w=(z,L)=>U[z-Q][L-K];else w=(z,L)=>U[(z-Q)*H+(L-K)];else w=()=>{return};let Z=!0;for(let z=Q;z<=q;z++)for(let L=K;L<=G;L++)if(Z)this.getCell(z,L).value={shareType:Y,formula:I,ref:$,result:w(z,L)},Z=!1;else this.getCell(z,L).value=V?{sharedFormula:W,result:w(z,L)}:w(z,L)}addImage($,I){let U={type:"image",imageId:$,range:I};this._media.push(new dE(this,U))}getImages(){return this._media.filter(($)=>$.type==="image")}addBackgroundImage($){let I={type:"background",imageId:$};this._media.push(new dE(this,I))}getBackgroundImageId(){let $=this._media.find((I)=>I.type==="background");return $&&$.imageId}protect($,I){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},I&&"spinCount"in I)I.spinCount=Number.isFinite(I.spinCount)?Math.round(Math.max(0,I.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=ll.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=I&&"spinCount"in I?I.spinCount:1e5,this.sheetProtection.hashValue=ll.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(I){if(this.sheetProtection=Object.assign(this.sheetProtection,I),!$&&"spinCount"in I)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}addTable($){let I=new dl(this,$);return this.tables[$.name]=I,I}getTable($){return this.tables[$]}removeTable($){delete this.tables[$]}getTables(){return Object.values(this.tables)}addConditionalFormatting($){this.conditionalFormattings.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormattings.splice($,1);else if($ instanceof Function)this.conditionalFormattings=this.conditionalFormattings.filter($);else this.conditionalFormattings=[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor($){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=$}get model(){let $={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((Y)=>Y.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((Y)=>Y.model),conditionalFormattings:this.conditionalFormattings};$.cols=tV.toModel(this.columns);let I=$.rows=[],U=$.dimensions=new N2;return this._rows.forEach((Y)=>{let J=Y&&Y.model;if(J)U.expand(J.number,J.min,J.number,J.max),I.push(J)}),$.merges=[],O2.each(this._merges,(Y)=>{$.merges.push(Y.range)}),$}_parseRows($){this._rows=[],$.rows.forEach((I)=>{let U=new cl(this,I.number);this._rows[U.number-1]=U,U.model=I})}_parseMergeCells($){O2.each($.mergeCells,(I)=>{this.mergeCellsWithoutStyle(I)})}set model($){this.name=$.name,this._columns=tV.fromModel(this,$.cols),this._parseRows($),this._parseMergeCells($),this.dataValidations=new ml($.dataValidations),this.properties=$.properties,this.pageSetup=$.pageSetup,this.headerFooter=$.headerFooter,this.views=$.views,this.autoFilter=$.autoFilter,this._media=$.media.map((I)=>new dE(this,I)),this.sheetProtection=$.sheetProtection,this.tables=$.tables.reduce((I,U)=>{let Y=new dl;return Y.model=U,I[U.name]=Y,I},{}),this.conditionalFormattings=$.conditionalFormattings}}tl.exports=rl});var Io=O((hM1,$o)=>{var sl=Z4(),aV=G4();class el{constructor($){this.template=$,this.sheets={}}addCell($){this.addCellEx(aV.decodeEx($))}getCell($){return this.findCellEx(aV.decodeEx($),!0)}findCell($){return this.findCellEx(aV.decodeEx($),!1)}findCellAt($,I,U){let Y=this.sheets[$],J=Y&&Y[I];return J&&J[U]}addCellEx($){if($.top)for(let I=$.top;I<=$.bottom;I++)for(let U=$.left;U<=$.right;U++)this.getCellAt($.sheetName,I,U);else this.findCellEx($,!0)}getCellEx($){return this.findCellEx($,!0)}findCellEx($,I){let U=this.findSheet($,I),Y=this.findSheetRow(U,$,I);return this.findRowCell(Y,$,I)}getCellAt($,I,U){let Y=this.sheets[$]||(this.sheets[$]=[]),J=Y[I]||(Y[I]=[]);return J[U]||(J[U]={sheetName:$,address:aV.n2l(U)+I,row:I,col:U})}removeCellEx($){let I=this.findSheet($);if(!I)return;let U=this.findSheetRow(I,$);if(!U)return;delete U[$.col]}forEachInSheet($,I){let U=this.sheets[$];if(U)U.forEach((Y,J)=>{if(Y)Y.forEach((Q,K)=>{if(Q)I(Q,J,K)})})}forEach($){sl.each(this.sheets,(I,U)=>{this.forEachInSheet(U,$)})}map($){let I=[];return this.forEach((U)=>{I.push($(U))}),I}findSheet($,I){let U=$.sheetName;if(this.sheets[U])return this.sheets[U];if(I)return this.sheets[U]=[];return}findSheetRow($,I,U){let{row:Y}=I;if($&&$[Y])return $[Y];if(U)return $[Y]=[];return}findRowCell($,I,U){let{col:Y}=I;if($&&$[Y])return $[Y];if(U)return $[Y]=this.template?Object.assign(I,JSON.parse(JSON.stringify(this.template))):I;return}spliceRows($,I,U,Y){let J=this.sheets[$];if(J){let Q=[];for(let K=0;K{K.splice(I,U,...Q)})}}}$o.exports=el});var mE=O((xM1,Jo)=>{var FU=Z4(),M2=G4(),Uo=Io(),vj0=q5(),Rj0=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;class Yo{constructor(){this.matrixMap={}}getMatrix($){return this.matrixMap[$]||(this.matrixMap[$]=new Uo)}add($,I){let U=M2.decodeEx($);this.addEx(U,I)}addEx($,I){let U=this.getMatrix(I);if($.top)for(let Y=$.left;Y<=$.right;Y++)for(let J=$.top;J<=$.bottom;J++){let Q={sheetName:$.sheetName,address:M2.n2l(Y)+J,row:J,col:Y};U.addCellEx(Q)}else U.addCellEx($)}remove($,I){let U=M2.decodeEx($);this.removeEx(U,I)}removeEx($,I){this.getMatrix(I).removeCellEx($)}removeAllNames($){FU.each(this.matrixMap,(I)=>{I.removeCellEx($)})}forEach($){FU.each(this.matrixMap,(I,U)=>{I.forEach((Y)=>{$(U,Y)})})}getNames($){return this.getNamesEx(M2.decodeEx($))}getNamesEx($){return FU.map(this.matrixMap,(I,U)=>I.findCellEx($)&&U).filter(Boolean)}_explore($,I){I.mark=!1;let{sheetName:U}=I,Y=new vj0(I.row,I.col,I.row,I.col,U),J,Q;function K(G,H){let W=$.findCellAt(U,G,I.col);if(!W||!W.mark)return!1;return Y[H]=G,W.mark=!1,!0}for(Q=I.row-1;K(Q,"top");Q--);for(Q=I.row+1;K(Q,"bottom");Q++);function q(G,H){let W=[];for(Q=Y.top;Q<=Y.bottom;Q++){let V=$.findCellAt(U,Q,G);if(V&&V.mark)W.push(V);else return!1}Y[H]=G;for(let V=0;V{Y.mark=!0});let U=I.map((Y)=>Y.mark&&this._explore(I,Y)).filter(Boolean).map((Y)=>Y.$shortRange);return{name:$,ranges:U}}normaliseMatrix($,I){$.forEachInSheet(I,(U,Y,J)=>{if(U){if(U.row!==Y||U.col!==J)U.row=Y,U.col=J,U.address=M2.n2l(J)+Y}})}spliceRows($,I,U,Y){FU.each(this.matrixMap,(J)=>{J.spliceRows($,I,U,Y),this.normaliseMatrix(J,$)})}spliceColumns($,I,U,Y){FU.each(this.matrixMap,(J)=>{J.spliceColumns($,I,U,Y),this.normaliseMatrix(J,$)})}get model(){return FU.map(this.matrixMap,($,I)=>this.getRanges(I,$)).filter(($)=>$.ranges.length)}set model($){let I=this.matrixMap={};$.forEach((U)=>{let Y=I[U.name]=new Uo;U.ranges.forEach((J)=>{if(Rj0.test(J.split("!").pop()||""))Y.addCell(J)})})}}Jo.exports=Yo});var N4=O((kM1,lE)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)lE.exports={nextTick:Cj0};else lE.exports=process;function Cj0($,I,U,Y){if(typeof $!=="function")throw TypeError('"callback" argument must be a function');var J=arguments.length,Q,K;switch(J){case 0:case 1:return process.nextTick($);case 2:return process.nextTick(function(){$.call(null,I)});case 3:return process.nextTick(function(){$.call(null,I,U)});case 4:return process.nextTick(function(){$.call(null,I,U,Y)});default:Q=Array(J-1),K=0;while(K{var jj0={}.toString;Qo.exports=Array.isArray||function($){return jj0.call($)=="[object Array]"}});var M4=O((oE,qo)=>{var sV=r("buffer"),G5=sV.Buffer;function Ko($,I){for(var U in $)I[U]=$[U]}if(G5.from&&G5.alloc&&G5.allocUnsafe&&G5.allocUnsafeSlow)qo.exports=sV;else Ko(sV,oE),oE.Buffer=MU;function MU($,I,U){return G5($,I,U)}Ko(G5,MU);MU.from=function($,I,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return G5($,I,U)};MU.alloc=function($,I,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var Y=G5($);if(I!==void 0)if(typeof U==="string")Y.fill(I,U);else Y.fill(I);else Y.fill(0);return Y};MU.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return G5($)};MU.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return sV.SlowBuffer($)}});var p1=O((dj0)=>{function _j0($){if(Array.isArray)return Array.isArray($);return eV($)==="[object Array]"}dj0.isArray=_j0;function Sj0($){return typeof $==="boolean"}dj0.isBoolean=Sj0;function gj0($){return $===null}dj0.isNull=gj0;function yj0($){return $==null}dj0.isNullOrUndefined=yj0;function hj0($){return typeof $==="number"}dj0.isNumber=hj0;function xj0($){return typeof $==="string"}dj0.isString=xj0;function kj0($){return typeof $==="symbol"}dj0.isSymbol=kj0;function uj0($){return $===void 0}dj0.isUndefined=uj0;function fj0($){return eV($)==="[object RegExp]"}dj0.isRegExp=fj0;function bj0($){return typeof $==="object"&&$!==null}dj0.isObject=bj0;function ij0($){return eV($)==="[object Date]"}dj0.isDate=ij0;function nj0($){return eV($)==="[object Error]"||$ instanceof Error}dj0.isError=nj0;function pj0($){return typeof $==="function"}dj0.isFunction=pj0;function cj0($){return $===null||typeof $==="boolean"||typeof $==="number"||typeof $==="string"||typeof $==="symbol"||typeof $>"u"}dj0.isPrimitive=cj0;dj0.isBuffer=r("buffer").Buffer.isBuffer;function eV($){return Object.prototype.toString.call($)}});var Go=O((bM1,rE)=>{if(typeof Object.create==="function")rE.exports=function(I,U){if(U)I.super_=U,I.prototype=Object.create(U.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}})};else rE.exports=function(I,U){if(U){I.super_=U;var Y=function(){};Y.prototype=U.prototype,I.prototype=new Y,I.prototype.constructor=I}}});var p0=O((iM1,tE)=>{try{if($w=r("util"),typeof $w.inherits!=="function")throw"";tE.exports=$w.inherits}catch($){tE.exports=Go()}var $w});var Wo=O((nM1,aE)=>{function q_0($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var Ho=M4().Buffer,A2=r("util");function G_0($,I,U){$.copy(I,U)}aE.exports=function(){function $(){q_0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return Ho.alloc(0);var Y=Ho.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)G_0(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(A2&&A2.inspect&&A2.inspect.custom)aE.exports.prototype[A2.inspect.custom]=function(){var $=A2.inspect({length:this.length});return this.constructor.name+" "+$}});var sE=O((pM1,Vo)=>{var Iw=N4();function H_0($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)Iw.nextTick(Uw,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,Iw.nextTick(Uw,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)Iw.nextTick(Uw,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,Iw.nextTick(Uw,U,Q)}else if(I)I(Q)}),this}function W_0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Uw($,I){$.emit("error",I)}Vo.exports={destroy:H_0,undestroy:W_0}});var u7=O((cM1,wo)=>{wo.exports=r("util").deprecate});var $B=O((dM1,No)=>{var f7=N4();No.exports=P4;function Xo($){var I=this;this.next=null,this.entry=null,this.finish=function(){R_0(I,$)}}var V_0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:f7.nextTick,AU;P4.WritableState=T2;var zo=Object.create(p1());zo.inherits=p0();var w_0={deprecate:u7()},Lo=r("stream"),Jw=M4().Buffer,Z_0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function X_0($){return Jw.from($)}function z_0($){return Jw.isBuffer($)||$ instanceof Z_0}var Do=sE();zo.inherits(P4,Lo);function L_0(){}function T2($,I){AU=AU||b7(),$=$||{};var U=I instanceof AU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){P_0(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Xo(this)}T2.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(T2.prototype,"buffer",{get:w_0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var Yw;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")Yw=Function.prototype[Symbol.hasInstance],Object.defineProperty(P4,Symbol.hasInstance,{value:function($){if(Yw.call(this,$))return!0;if(this!==P4)return!1;return $&&$._writableState instanceof T2}});else Yw=function($){return $ instanceof this};function P4($){if(AU=AU||b7(),!Yw.call(P4,this)&&!(this instanceof AU))return new P4($);if(this._writableState=new T2($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}Lo.call(this)}P4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function D_0($,I){var U=Error("write after end");$.emit("error",U),f7.nextTick(I,U)}function O_0($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),f7.nextTick(Y,Q),J=!1;return J}P4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&z_0($);if(Q&&!Jw.isBuffer($))$=X_0($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=L_0;if(Y.ended)D_0(this,U);else if(Q||O_0(this,Y,$,U))Y.pendingcb++,J=N_0(this,Y,Q,$,I,U);return J};P4.prototype.cork=function(){var $=this._writableState;$.corked++};P4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)Oo(this,$)}};P4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function F_0($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=Jw.from(I,U);return I}Object.defineProperty(P4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function N_0($,I,U,Y,J,Q){if(!U){var K=F_0(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var Mo=N4(),C_0=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};To.exports=H5;var Ao=Object.create(p1());Ao.inherits=p0();var Po=UB(),IB=$B();Ao.inherits(H5,Po);{Qw=C_0(IB.prototype);for(E2=0;E2{var JB=M4().Buffer,Eo=JB.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function S_0($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function g_0($){var I=S_0($);if(typeof I!=="string"&&(JB.isEncoding===Eo||!Eo($)))throw Error("Unknown encoding: "+$);return I||$}d_0.StringDecoder=v2;function v2($){this.encoding=g_0($);var I;switch(this.encoding){case"utf16le":this.text=f_0,this.end=b_0,I=4;break;case"utf8":this.fillLast=x_0,I=4;break;case"base64":this.text=i_0,this.end=n_0,I=3;break;default:this.write=p_0,this.end=c_0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=JB.allocUnsafe(I)}v2.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};v2.prototype.end=u_0;v2.prototype.text=k_0;v2.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function YB($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function y_0($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function h_0($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function x_0($){var I=this.lastTotal-this.lastNeed,U=h_0(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function k_0($,I){var U=y_0(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function u_0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function f_0($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function b_0($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function i_0($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function n_0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function p_0($){return $.toString(this.encoding)}function c_0($){return $&&$.length?this.write($):""}});var UB=O((rM1,ko)=>{var TU=N4();ko.exports=o1;var l_0=NU(),R2;o1.ReadableState=So;var oM1=r("events").EventEmitter,Co=function($,I){return $.listeners(I).length},WB=r("stream"),C2=M4().Buffer,o_0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function r_0($){return C2.from($)}function t_0($){return C2.isBuffer($)||$ instanceof o_0}var jo=Object.create(p1());jo.inherits=p0();var KB=r("util"),A1=void 0;if(KB&&KB.debuglog)A1=KB.debuglog("stream");else A1=function(){};var a_0=Wo(),_o=sE(),PU;jo.inherits(o1,WB);var qB=["error","close","destroy","pause","resume"];function s_0($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(l_0($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function So($,I){R2=R2||b7(),$=$||{};var U=I instanceof R2;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new a_0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!PU)PU=QB().StringDecoder;this.decoder=new PU($.encoding),this.encoding=$.encoding}}function o1($){if(R2=R2||b7(),!(this instanceof o1))return new o1($);if(this._readableState=new So($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}WB.call(this)}Object.defineProperty(o1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});o1.prototype.destroy=_o.destroy;o1.prototype._undestroy=_o.undestroy;o1.prototype._destroy=function($,I){this.push(null),I($)};o1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=C2.from($,I),I="";Y=!0}}else Y=!0;return go(this,$,I,!1,Y)};o1.prototype.unshift=function($){return go(this,$,null,!0,!1)};function go($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,US0($,Q);else{var K;if(!J)K=e_0(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==C2.prototype)I=r_0(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else GB($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)GB($,Q,I,!1);else yo($,Q);else GB($,Q,I,!1)}else if(!Y)Q.reading=!1}return $S0(Q)}function GB($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)Kw($)}yo($,I)}function e_0($,I){var U;if(!t_0(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function $S0($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}o1.prototype.isPaused=function(){return this._readableState.flowing===!1};o1.prototype.setEncoding=function($){if(!PU)PU=QB().StringDecoder;return this._readableState.decoder=new PU($),this._readableState.encoding=$,this};var Bo=8388608;function IS0($){if($>=Bo)$=Bo;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function vo($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=IS0($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}o1.prototype.read=function($){A1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(A1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)HB(this);else Kw(this);return null}if($=vo($,I),$===0&&I.ended){if(I.length===0)HB(this);return null}var Y=I.needReadable;if(A1("need readable",Y),I.length===0||I.length-$0)J=ho($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)HB(this)}if(J!==null)this.emit("data",J);return J};function US0($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,Kw($)}function Kw($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(A1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)TU.nextTick(Ro,$);else Ro($)}function Ro($){A1("emit readable"),$.emit("readable"),VB($)}function yo($,I){if(!I.readingMore)I.readingMore=!0,TU.nextTick(YS0,$,I)}function YS0($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&xo(Y.pipes,$)!==-1)&&!H)A1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(F){if(A1("onerror",F),D(),$.removeListener("error",Z),Co($,"error")===0)$.emit("error",F)}s_0($,"error",Z);function z(){$.removeListener("finish",L),D()}$.once("close",z);function L(){A1("onfinish"),$.removeListener("close",z),D()}$.once("finish",L);function D(){A1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)A1("pipe resume"),U.resume();return $};function JS0($){return function(){var I=$._readableState;if(A1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&Co($,"data"))I.flowing=!0,VB($)}}o1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=GS0($,I.buffer,I.decoder);return U}function GS0($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function WS0($,I){var U=C2.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function HB($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,TU.nextTick(VS0,I,$)}function VS0($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function xo($,I){for(var U=0,Y=$.length;U{bo.exports=W5;var qw=b7(),fo=Object.create(p1());fo.inherits=p0();fo.inherits(W5,qw);function wS0($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{po.exports=j2;var io=wB(),no=Object.create(p1());no.inherits=p0();no.inherits(j2,io);function j2($){if(!(this instanceof j2))return new j2($);io.call(this,$)}j2.prototype._transform=function($,I,U){U(null,$)}});var ZB=O((s4,Gw)=>{var D8=r("stream");if(process.env.READABLE_STREAM==="disable"&&D8)Gw.exports=D8,s4=Gw.exports=D8.Readable,s4.Readable=D8.Readable,s4.Writable=D8.Writable,s4.Duplex=D8.Duplex,s4.Transform=D8.Transform,s4.PassThrough=D8.PassThrough,s4.Stream=D8;else s4=Gw.exports=UB(),s4.Stream=D8||s4,s4.Readable=s4,s4.Writable=$B(),s4.Duplex=b7(),s4.Transform=wB(),s4.PassThrough=co()});var V5=O((zS0)=>{zS0.base64=!0;zS0.array=!0;zS0.string=!0;zS0.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";zS0.nodebuffer=typeof Buffer<"u";zS0.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")zS0.blob=!1;else{Hw=new ArrayBuffer(0);try{zS0.blob=new Blob([Hw],{type:"application/zip"}).size===0}catch($){try{zB=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Ww=new zB,Ww.append(Hw),zS0.blob=Ww.getBlob("application/zip").size===0}catch(I){zS0.blob=!1}}}var Hw,zB,Ww;try{zS0.nodestream=!!ZB().Readable}catch($){zS0.nodestream=!1}});var LB=O((TS0)=>{var AS0=H4(),PS0=V5(),O8="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";TS0.encode=function($){var I=[],U,Y,J,Q,K,q,G,H=0,W=$.length,V=W,w=AS0.getTypeOf($)!=="string";while(H<$.length){if(V=W-H,!w)U=$.charCodeAt(H++),Y=H>2,K=(U&3)<<4|Y>>4,q=V>1?(Y&15)<<2|J>>6:64,G=V>2?J&63:64,I.push(O8.charAt(Q)+O8.charAt(K)+O8.charAt(q)+O8.charAt(G))}return I.join("")};TS0.decode=function($){var I,U,Y,J,Q,K,q,G=0,H=0,W="data:";if($.substr(0,W.length)===W)throw Error("Invalid base64 input, it looks like a data url.");$=$.replace(/[^A-Za-z0-9+/=]/g,"");var V=$.length*3/4;if($.charAt($.length-1)===O8.charAt(64))V--;if($.charAt($.length-2)===O8.charAt(64))V--;if(V%1!==0)throw Error("Invalid base64 input, bad content length.");var w;if(PS0.uint8array)w=new Uint8Array(V|0);else w=Array(V|0);while(G<$.length){if(J=O8.indexOf($.charAt(G++)),Q=O8.indexOf($.charAt(G++)),K=O8.indexOf($.charAt(G++)),q=O8.indexOf($.charAt(G++)),I=J<<2|Q>>4,U=(Q&15)<<4|K>>2,Y=(K&3)<<6|q,w[H++]=I,K!==64)w[H++]=U;if(q!==64)w[H++]=Y}return w}});var _2=O(($A1,mo)=>{mo.exports={isNode:typeof Buffer<"u",newBufferFrom:function($,I){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from($,I);else{if(typeof $==="number")throw Error('The "data" argument must not be a number');return new Buffer($,I)}},allocBuffer:function($){if(Buffer.alloc)return Buffer.alloc($);else{var I=new Buffer($);return I.fill(0),I}},isBuffer:function($){return Buffer.isBuffer($)},isStream:function($){return $&&typeof $.on==="function"&&typeof $.pause==="function"&&typeof $.resume==="function"}}});var ro=O((UA1,oo)=>{var IA1=global.MutationObserver||global.WebKitMutationObserver,lo;lo=function(){process.nextTick(_S0)};var vS0,RS0,CS0,jS0,DB,S2=[];function _S0(){DB=!0;var $,I,U=S2.length;while(U){I=S2,S2=[],$=-1;while(++${var to=ro();function BU(){}var X6={},ao=["REJECTED"],OB=["FULFILLED"],so=["PENDING"];EU=["UNHANDLED"];var EU;Ir.exports=D9;function D9($){if(typeof $!=="function")throw TypeError("resolver must be a function");if(this.state=so,this.queue=[],this.outcome=void 0,this.handled=EU,$!==BU)eo(this,$)}D9.prototype.finally=function($){if(typeof $!=="function")return this;var I=this.constructor;return this.then(U,Y);function U(J){function Q(){return J}return I.resolve($()).then(Q)}function Y(J){function Q(){throw J}return I.resolve($()).then(Q)}};D9.prototype.catch=function($){return this.then(null,$)};D9.prototype.then=function($,I){if(typeof $!=="function"&&this.state===OB||typeof I!=="function"&&this.state===ao)return this;var U=new this.constructor(BU);if(this.handled===EU)this.handled=null;if(this.state!==so){var Y=this.state===OB?$:I;FB(U,Y,this.outcome)}else this.queue.push(new g2(U,$,I));return U};function g2($,I,U){if(this.promise=$,typeof I==="function")this.onFulfilled=I,this.callFulfilled=this.otherCallFulfilled;if(typeof U==="function")this.onRejected=U,this.callRejected=this.otherCallRejected}g2.prototype.callFulfilled=function($){X6.resolve(this.promise,$)};g2.prototype.otherCallFulfilled=function($){FB(this.promise,this.onFulfilled,$)};g2.prototype.callRejected=function($){X6.reject(this.promise,$)};g2.prototype.otherCallRejected=function($){FB(this.promise,this.onRejected,$)};function FB($,I,U){to(function(){var Y;try{Y=I(U)}catch(J){return X6.reject($,J)}if(Y===$)X6.reject($,TypeError("Cannot resolve promise with itself"));else X6.resolve($,Y)})}X6.resolve=function($,I){var U=$r(gS0,I);if(U.status==="error")return X6.reject($,U.value);var Y=U.value;if(Y)eo($,Y);else{$.state=OB,$.outcome=I;var J=-1,Q=$.queue.length;while(++J{var NB=null;if(typeof Promise<"u")NB=Promise;else NB=Ur();Yr.exports={Promise:NB}});var MB=O((Jr)=>{(function($,I){if($.setImmediate)return;var U=1,Y={},J=!1,Q=$.document,K;function q(E){if(typeof E!=="function")E=Function(""+E);var T=Array(arguments.length-1);for(var A=0;A"u"?typeof global>"u"?Jr:global:self)});var H4=O((bS0)=>{var O9=V5(),uS0=LB(),RU=_2(),AB=vU();MB();function fS0($){var I=null;if(O9.uint8array)I=new Uint8Array($.length);else I=Array($.length);return ww($,I)}bS0.newBlob=function($,I){bS0.checkSupport("blob");try{return new Blob([$],{type:I})}catch(J){try{var U=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Y=new U;return Y.append($),Y.getBlob(I)}catch(Q){throw Error("Bug : can't construct the Blob.")}}};function y2($){return $}function ww($,I){for(var U=0;U<$.length;++U)I[U]=$.charCodeAt(U)&255;return I}var Vw={stringifyByChunk:function($,I,U){var Y=[],J=0,Q=$.length;if(Q<=U)return String.fromCharCode.apply(null,$);while(J1)try{return Vw.stringifyByChunk($,U,I)}catch(J){I=Math.floor(I/2)}return Vw.stringifyByChar($)}bS0.applyFromCharCode=h2;function Zw($,I){for(var U=0;U<$.length;U++)I[U]=$[U];return I}var F9={};F9.string={string:y2,array:function($){return ww($,Array($.length))},arraybuffer:function($){return F9.string.uint8array($).buffer},uint8array:function($){return ww($,new Uint8Array($.length))},nodebuffer:function($){return ww($,RU.allocBuffer($.length))}};F9.array={string:h2,array:y2,arraybuffer:function($){return new Uint8Array($).buffer},uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return RU.newBufferFrom($)}};F9.arraybuffer={string:function($){return h2(new Uint8Array($))},array:function($){return Zw(new Uint8Array($),Array($.byteLength))},arraybuffer:y2,uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return RU.newBufferFrom(new Uint8Array($))}};F9.uint8array={string:h2,array:function($){return Zw($,Array($.length))},arraybuffer:function($){return $.buffer},uint8array:y2,nodebuffer:function($){return RU.newBufferFrom($)}};F9.nodebuffer={string:h2,array:function($){return Zw($,Array($.length))},arraybuffer:function($){return F9.nodebuffer.uint8array($).buffer},uint8array:function($){return Zw($,new Uint8Array($.length))},nodebuffer:y2};bS0.transformTo=function($,I){if(!I)I="";if(!$)return I;bS0.checkSupport($);var U=bS0.getTypeOf(I),Y=F9[U][$](I);return Y};bS0.resolve=function($){var I=$.split("/"),U=[];for(var Y=0;Y"u")$[U]=arguments[I][U];return $};bS0.prepareContent=function($,I,U,Y,J){var Q=AB.Promise.resolve(I).then(function(K){var q=O9.blob&&(K instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(K))!==-1);if(q&&typeof FileReader<"u")return new AB.Promise(function(G,H){var W=new FileReader;W.onload=function(V){G(V.target.result)},W.onerror=function(V){H(V.target.error)},W.readAsArrayBuffer(K)});else return K});return Q.then(function(K){var q=bS0.getTypeOf(K);if(!q)return AB.Promise.reject(Error("Can't read the data of '"+$+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(q==="arraybuffer")K=bS0.transformTo("uint8array",K);else if(q==="string"){if(J)K=uS0.decode(K);else if(U){if(Y!==!0)K=fS0(K)}}return K})}});var Y$=O((qA1,Gr)=>{function qr($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}qr.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=$;else{if(this.isFinished=!0,this.emit("error",$),this.previous)this.previous.error($);this.cleanUp()}return!0},on:function($,I){return this._listeners[$].push(I),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,I){if(this._listeners[$])for(var U=0;U "+$;else return $}};Gr.exports=qr});var jU=O((Ig0)=>{var CU=H4(),i7=V5(),aS0=_2(),Xw=Y$(),x2=Array(256);for(F8=0;F8<256;F8++)x2[F8]=F8>=252?6:F8>=248?5:F8>=240?4:F8>=224?3:F8>=192?2:1;var F8;x2[254]=x2[254]=1;var sS0=function($){var I,U,Y,J,Q,K=$.length,q=0;for(J=0;J>>6,I[Q++]=128|U&63;else if(U<65536)I[Q++]=224|U>>>12,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63;else I[Q++]=240|U>>>18,I[Q++]=128|U>>>12&63,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63}return I},eS0=function($,I){var U;if(I=I||$.length,I>$.length)I=$.length;U=I-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return I;if(U===0)return I;return U+x2[$[U]]>I?U:I},$g0=function($){var I,U,Y,J,Q=$.length,K=Array(Q*2);for(U=0,I=0;I4){K[U++]=65533,I+=J-1;continue}Y&=J===2?31:J===3?15:7;while(J>1&&I1){K[U++]=65533;continue}if(Y<65536)K[U++]=Y;else Y-=65536,K[U++]=55296|Y>>10&1023,K[U++]=56320|Y&1023}if(K.length!==U)if(K.subarray)K=K.subarray(0,U);else K.length=U;return CU.applyFromCharCode(K)};Ig0.utf8encode=function(I){if(i7.nodebuffer)return aS0.newBufferFrom(I,"utf-8");return sS0(I)};Ig0.utf8decode=function(I){if(i7.nodebuffer)return CU.transformTo("nodebuffer",I).toString("utf-8");return I=CU.transformTo(i7.uint8array?"uint8array":"array",I),$g0(I)};function zw(){Xw.call(this,"utf-8 decode"),this.leftOver=null}CU.inherits(zw,Xw);zw.prototype.processChunk=function($){var I=CU.transformTo(i7.uint8array?"uint8array":"array",$.data);if(this.leftOver&&this.leftOver.length){if(i7.uint8array){var U=I;I=new Uint8Array(U.length+this.leftOver.length),I.set(this.leftOver,0),I.set(U,this.leftOver.length)}else I=this.leftOver.concat(I);this.leftOver=null}var Y=eS0(I),J=I;if(Y!==I.length)if(i7.uint8array)J=I.subarray(0,Y),this.leftOver=I.subarray(Y,I.length);else J=I.slice(0,Y),this.leftOver=I.slice(Y,I.length);this.push({data:Ig0.utf8decode(J),meta:$.meta})};zw.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:Ig0.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};Ig0.Utf8DecodeWorker=zw;function TB(){Xw.call(this,"utf-8 encode")}CU.inherits(TB,Xw);TB.prototype.processChunk=function($){this.push({data:Ig0.utf8encode($.data),meta:$.meta})};Ig0.Utf8EncodeWorker=TB});var Zr=O((HA1,wr)=>{var Wr=Y$(),Vr=H4();function BB($){Wr.call(this,"ConvertWorker to "+$),this.destType=$}Vr.inherits(BB,Wr);BB.prototype.processChunk=function($){this.push({data:Vr.transformTo(this.destType,$.data),meta:$.meta})};wr.exports=BB});var Lr=O((WA1,zr)=>{var Xr=ZB().Readable,Jg0=H4();Jg0.inherits(vB,Xr);function vB($,I,U){Xr.call(this,I),this._helper=$;var Y=this;$.on("data",function(J,Q){if(!Y.push(J))Y._helper.pause();if(U)U(Q)}).on("error",function(J){Y.emit("error",J)}).on("end",function(){Y.push(null)})}vB.prototype._read=function(){this._helper.resume()};zr.exports=vB});var RB=O((VA1,Fr)=>{var n7=H4(),Qg0=Zr(),Kg0=Y$(),qg0=LB(),Gg0=V5(),Hg0=vU(),Dr=null;if(Gg0.nodestream)try{Dr=Lr()}catch($){}function Wg0($,I,U){switch($){case"blob":return n7.newBlob(n7.transformTo("arraybuffer",I),U);case"base64":return qg0.encode(I);default:return n7.transformTo($,I)}}function Vg0($,I){var U,Y=0,J=null,Q=0;for(U=0;U{Zg0.base64=!1;Zg0.binary=!1;Zg0.dir=!1;Zg0.createFolders=!0;Zg0.date=null;Zg0.compression=null;Zg0.compressionOptions=null;Zg0.comment=null;Zg0.unixPermissions=null;Zg0.dosPermissions=null});var jB=O((ZA1,Nr)=>{var Lw=H4(),Dw=Y$(),Tg0=16384;function _U($){Dw.call(this,"DataWorker");var I=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,$.then(function(U){if(I.dataIsReady=!0,I.data=U,I.max=U&&U.length||0,I.type=Lw.getTypeOf(U),!I.isPaused)I._tickAndRepeat()},function(U){I.error(U)})}Lw.inherits(_U,Dw);_U.prototype.cleanUp=function(){Dw.prototype.cleanUp.call(this),this.data=null};_U.prototype.resume=function(){if(!Dw.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,Lw.delay(this._tickAndRepeat,[],this);return!0};_U.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)Lw.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};_U.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var $=Tg0,I=null,U=Math.min(this.max,this.index+$);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":I=this.data.substring(this.index,U);break;case"uint8array":I=this.data.subarray(this.index,U);break;case"array":case"nodebuffer":I=this.data.slice(this.index,U);break}return this.index=U,this.push({data:I,meta:{percent:this.max?this.index/this.max*100:0}})}};Nr.exports=_U});var Ow=O((XA1,Ar)=>{var Eg0=H4();function Bg0(){var $,I=[];for(var U=0;U<256;U++){$=U;for(var Y=0;Y<8;Y++)$=$&1?3988292384^$>>>1:$>>>1;I[U]=$}return I}var Mr=Bg0();function vg0($,I,U,Y){var J=Mr,Q=Y+U;$=$^-1;for(var K=Y;K>>8^J[($^I[K])&255];return $^-1}function Rg0($,I,U,Y){var J=Mr,Q=Y+U;$=$^-1;for(var K=Y;K>>8^J[($^I.charCodeAt(K))&255];return $^-1}Ar.exports=function(I,U){if(typeof I>"u"||!I.length)return 0;var Y=Eg0.getTypeOf(I)!=="string";if(Y)return vg0(U|0,I,I.length,0);else return Rg0(U|0,I,I.length,0)}});var SB=O((zA1,Tr)=>{var Pr=Y$(),Cg0=Ow(),jg0=H4();function _B(){Pr.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}jg0.inherits(_B,Pr);_B.prototype.processChunk=function($){this.streamInfo.crc32=Cg0($.data,this.streamInfo.crc32||0),this.push($)};Tr.exports=_B});var Br=O((LA1,Er)=>{var _g0=H4(),gB=Y$();function yB($){gB.call(this,"DataLengthProbe for "+$),this.propName=$,this.withStreamInfo($,0)}_g0.inherits(yB,gB);yB.prototype.processChunk=function($){if($){var I=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=I+$.data.length}gB.prototype.processChunk.call(this,$)};Er.exports=yB});var Fw=O((DA1,Cr)=>{var vr=vU(),Rr=jB(),Sg0=SB(),hB=Br();function xB($,I,U,Y,J){this.compressedSize=$,this.uncompressedSize=I,this.crc32=U,this.compression=Y,this.compressedContent=J}xB.prototype={getContentWorker:function(){var $=new Rr(vr.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new hB("data_length")),I=this;return $.on("end",function(){if(this.streamInfo.data_length!==I.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),$},getCompressedWorker:function(){return new Rr(vr.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};xB.createWorkerFrom=function($,I,U){return $.pipe(new Sg0).pipe(new hB("uncompressedSize")).pipe(I.compressWorker(U)).pipe(new hB("compressedSize")).withStreamInfo("compression",I)};Cr.exports=xB});var gr=O((OA1,Sr)=>{var gg0=RB(),yg0=jB(),kB=jU(),uB=Fw(),jr=Y$(),fB=function($,I,U){this.name=$,this.dir=U.dir,this.date=U.date,this.comment=U.comment,this.unixPermissions=U.unixPermissions,this.dosPermissions=U.dosPermissions,this._data=I,this._dataBinary=U.binary,this.options={compression:U.compression,compressionOptions:U.compressionOptions}};fB.prototype={internalStream:function($){var I=null,U="string";try{if(!$)throw Error("No output type specified.");U=$.toLowerCase();var Y=U==="string"||U==="text";if(U==="binarystring"||U==="text")U="string";I=this._decompressWorker();var J=!this._dataBinary;if(J&&!Y)I=I.pipe(new kB.Utf8EncodeWorker);if(!J&&Y)I=I.pipe(new kB.Utf8DecodeWorker)}catch(Q){I=new jr("error"),I.error(Q)}return new gg0(I,U,"")},async:function($,I){return this.internalStream($).accumulate(I)},nodeStream:function($,I){return this.internalStream($||"nodebuffer").toNodejsStream(I)},_compressWorker:function($,I){if(this._data instanceof uB&&this._data.compression.magic===$.magic)return this._data.getCompressedWorker();else{var U=this._decompressWorker();if(!this._dataBinary)U=U.pipe(new kB.Utf8EncodeWorker);return uB.createWorkerFrom(U,$,I)}},_decompressWorker:function(){if(this._data instanceof uB)return this._data.getContentWorker();else if(this._data instanceof jr)return this._data;else return new yg0(this._data)}};var _r=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],hg0=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(k2=0;k2<_r.length;k2++)fB.prototype[_r[k2]]=hg0;var k2;Sr.exports=fB});var w5=O((bB)=>{var fg0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function bg0($,I){return Object.prototype.hasOwnProperty.call($,I)}bB.assign=function($){var I=Array.prototype.slice.call(arguments,1);while(I.length){var U=I.shift();if(!U)continue;if(typeof U!=="object")throw TypeError(U+"must be non-object");for(var Y in U)if(bg0(U,Y))$[Y]=U[Y]}return $};bB.shrinkBuf=function($,I){if($.length===I)return $;if($.subarray)return $.subarray(0,I);return $.length=I,$};var ig0={arraySet:function($,I,U,Y,J){if(I.subarray&&$.subarray){$.set(I.subarray(U,U+Y),J);return}for(var Q=0;Q{var cg0=w5(),dg0=4,hr=0,xr=1,mg0=2;function gU($){var I=$.length;while(--I>=0)$[I]=0}var lg0=0,nr=1,og0=2,rg0=3,tg0=258,oB=29,p2=256,f2=p2+1+oB,SU=30,rB=19,pr=2*f2+1,p7=15,nB=16,ag0=7,tB=256,cr=16,dr=17,mr=18,mB=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Nw=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],sg0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],lr=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],eg0=512,Z5=Array((f2+2)*2);gU(Z5);var u2=Array(SU*2);gU(u2);var b2=Array(eg0);gU(b2);var i2=Array(tg0-rg0+1);gU(i2);var aB=Array(oB);gU(aB);var Mw=Array(SU);gU(Mw);function pB($,I,U,Y,J){this.static_tree=$,this.extra_bits=I,this.extra_base=U,this.elems=Y,this.max_length=J,this.has_stree=$&&$.length}var or,rr,tr;function cB($,I){this.dyn_tree=$,this.max_code=0,this.stat_desc=I}function ar($){return $<256?b2[$]:b2[256+($>>>7)]}function n2($,I){$.pending_buf[$.pending++]=I&255,$.pending_buf[$.pending++]=I>>>8&255}function n6($,I,U){if($.bi_valid>nB-U)$.bi_buf|=I<<$.bi_valid&65535,n2($,$.bi_buf),$.bi_buf=I>>nB-$.bi_valid,$.bi_valid+=U-nB;else $.bi_buf|=I<<$.bi_valid&65535,$.bi_valid+=U}function N8($,I,U){n6($,U[I*2],U[I*2+1])}function sr($,I){var U=0;do U|=$&1,$>>>=1,U<<=1;while(--I>0);return U>>>1}function $y0($){if($.bi_valid===16)n2($,$.bi_buf),$.bi_buf=0,$.bi_valid=0;else if($.bi_valid>=8)$.pending_buf[$.pending++]=$.bi_buf&255,$.bi_buf>>=8,$.bi_valid-=8}function Iy0($,I){var{dyn_tree:U,max_code:Y}=I,J=I.stat_desc.static_tree,Q=I.stat_desc.has_stree,K=I.stat_desc.extra_bits,q=I.stat_desc.extra_base,G=I.stat_desc.max_length,H,W,V,w,Z,z,L=0;for(w=0;w<=p7;w++)$.bl_count[w]=0;U[$.heap[$.heap_max]*2+1]=0;for(H=$.heap_max+1;HG)w=G,L++;if(U[W*2+1]=w,W>Y)continue;if($.bl_count[w]++,Z=0,W>=q)Z=K[W-q];if(z=U[W*2],$.opt_len+=z*(w+Z),Q)$.static_len+=z*(J[W*2+1]+Z)}if(L===0)return;do{w=G-1;while($.bl_count[w]===0)w--;$.bl_count[w]--,$.bl_count[w+1]+=2,$.bl_count[G]--,L-=2}while(L>0);for(w=G;w!==0;w--){W=$.bl_count[w];while(W!==0){if(V=$.heap[--H],V>Y)continue;if(U[V*2+1]!==w)$.opt_len+=(w-U[V*2+1])*U[V*2],U[V*2+1]=w;W--}}}function er($,I,U){var Y=Array(p7+1),J=0,Q,K;for(Q=1;Q<=p7;Q++)Y[Q]=J=J+U[Q-1]<<1;for(K=0;K<=I;K++){var q=$[K*2+1];if(q===0)continue;$[K*2]=sr(Y[q]++,q)}}function Uy0(){var $,I,U,Y,J,Q=Array(p7+1);U=0;for(Y=0;Y>=7;for(;Y8)n2($,$.bi_buf);else if($.bi_valid>0)$.pending_buf[$.pending++]=$.bi_buf;$.bi_buf=0,$.bi_valid=0}function Yy0($,I,U,Y){if(It($),Y)n2($,U),n2($,~U);cg0.arraySet($.pending_buf,$.window,I,U,$.pending),$.pending+=U}function kr($,I,U,Y){var J=I*2,Q=U*2;return $[J]<$[Q]||$[J]===$[Q]&&Y[I]<=Y[U]}function dB($,I,U){var Y=$.heap[U],J=U<<1;while(J<=$.heap_len){if(J<$.heap_len&&kr(I,$.heap[J+1],$.heap[J],$.depth))J++;if(kr(I,Y,$.heap[J],$.depth))break;$.heap[U]=$.heap[J],U=J,J<<=1}$.heap[U]=Y}function ur($,I,U){var Y,J,Q=0,K,q;if($.last_lit!==0)do if(Y=$.pending_buf[$.d_buf+Q*2]<<8|$.pending_buf[$.d_buf+Q*2+1],J=$.pending_buf[$.l_buf+Q],Q++,Y===0)N8($,J,I);else{if(K=i2[J],N8($,K+p2+1,I),q=mB[K],q!==0)J-=aB[K],n6($,J,q);if(Y--,K=ar(Y),N8($,K,U),q=Nw[K],q!==0)Y-=Mw[K],n6($,Y,q)}while(Q<$.last_lit);N8($,tB,I)}function lB($,I){var U=I.dyn_tree,Y=I.stat_desc.static_tree,J=I.stat_desc.has_stree,Q=I.stat_desc.elems,K,q,G=-1,H;$.heap_len=0,$.heap_max=pr;for(K=0;K>1;K>=1;K--)dB($,U,K);H=Q;do K=$.heap[1],$.heap[1]=$.heap[$.heap_len--],dB($,U,1),q=$.heap[1],$.heap[--$.heap_max]=K,$.heap[--$.heap_max]=q,U[H*2]=U[K*2]+U[q*2],$.depth[H]=($.depth[K]>=$.depth[q]?$.depth[K]:$.depth[q])+1,U[K*2+1]=U[q*2+1]=H,$.heap[1]=H++,dB($,U,1);while($.heap_len>=2);$.heap[--$.heap_max]=$.heap[1],Iy0($,I),er(U,G,$.bl_count)}function fr($,I,U){var Y,J=-1,Q,K=I[1],q=0,G=7,H=4;if(K===0)G=138,H=3;I[(U+1)*2+1]=65535;for(Y=0;Y<=U;Y++){if(Q=K,K=I[(Y+1)*2+1],++q=3;I--)if($.bl_tree[lr[I]*2+1]!==0)break;return $.opt_len+=3*(I+1)+5+5+4,I}function Qy0($,I,U,Y){var J;n6($,I-257,5),n6($,U-1,5),n6($,Y-4,4);for(J=0;J>>=1)if(I&1&&$.dyn_ltree[U*2]!==0)return hr;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return xr;for(U=32;U0){if($.strm.data_type===mg0)$.strm.data_type=Ky0($);if(lB($,$.l_desc),lB($,$.d_desc),K=Jy0($),J=$.opt_len+3+7>>>3,Q=$.static_len+3+7>>>3,Q<=J)J=Q}else J=Q=U+5;if(U+4<=J&&I!==-1)Ut($,I,U,Y);else if($.strategy===dg0||Q===J)n6($,(nr<<1)+(Y?1:0),3),ur($,Z5,u2);else n6($,(og0<<1)+(Y?1:0),3),Qy0($,$.l_desc.max_code+1,$.d_desc.max_code+1,K+1),ur($,$.dyn_ltree,$.dyn_dtree);if($t($),Y)It($)}function Wy0($,I,U){if($.pending_buf[$.d_buf+$.last_lit*2]=I>>>8&255,$.pending_buf[$.d_buf+$.last_lit*2+1]=I&255,$.pending_buf[$.l_buf+$.last_lit]=U&255,$.last_lit++,I===0)$.dyn_ltree[U*2]++;else $.matches++,I--,$.dyn_ltree[(i2[U]+p2+1)*2]++,$.dyn_dtree[ar(I)*2]++;return $.last_lit===$.lit_bufsize-1}Vy0._tr_init=qy0;Vy0._tr_stored_block=Ut;Vy0._tr_flush_block=Hy0;Vy0._tr_tally=Wy0;Vy0._tr_align=Gy0});var sB=O((MA1,Jt)=>{function Dy0($,I,U,Y){var J=$&65535|0,Q=$>>>16&65535|0,K=0;while(U!==0){K=U>2000?2000:U,U-=K;do J=J+I[Y++]|0,Q=Q+J|0;while(--K);J%=65521,Q%=65521}return J|Q<<16|0}Jt.exports=Dy0});var eB=O((AA1,Qt)=>{function Oy0(){var $,I=[];for(var U=0;U<256;U++){$=U;for(var Y=0;Y<8;Y++)$=$&1?3988292384^$>>>1:$>>>1;I[U]=$}return I}var Fy0=Oy0();function Ny0($,I,U,Y){var J=Fy0,Q=Y+U;$^=-1;for(var K=Y;K>>8^J[($^I[K])&255];return $^-1}Qt.exports=Ny0});var Aw=O((PA1,Kt)=>{Kt.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var zt=O((ey0)=>{var R6=w5(),A$=Yt(),Wt=sB(),N9=eB(),My0=Aw(),l7=0,Ay0=1,Py0=3,E9=4,qt=5,A8=0,Gt=1,P$=-2,Ty0=-3,$v=-5,Ey0=-1,By0=1,Pw=2,vy0=3,Ry0=4,Cy0=0,jy0=2,vw=8,_y0=9,Sy0=15,gy0=8,yy0=29,hy0=256,Uv=hy0+1+yy0,xy0=30,ky0=19,uy0=2*Uv+1,fy0=15,G1=3,P9=258,t$=P9+G1+1,by0=32,Rw=42,Yv=69,Tw=73,Ew=91,Bw=103,c7=113,d2=666,S4=1,m2=2,d7=3,xU=4,iy0=3;function T9($,I){return $.msg=My0[I],I}function Ht($){return($<<1)-($>4?9:0)}function A9($){var I=$.length;while(--I>=0)$[I]=0}function M9($){var I=$.state,U=I.pending;if(U>$.avail_out)U=$.avail_out;if(U===0)return;if(R6.arraySet($.output,I.pending_buf,I.pending_out,U,$.next_out),$.next_out+=U,I.pending_out+=U,$.total_out+=U,$.avail_out-=U,I.pending-=U,I.pending===0)I.pending_out=0}function e4($,I){A$._tr_flush_block($,$.block_start>=0?$.block_start:-1,$.strstart-$.block_start,I),$.block_start=$.strstart,M9($.strm)}function F1($,I){$.pending_buf[$.pending++]=I}function c2($,I){$.pending_buf[$.pending++]=I>>>8&255,$.pending_buf[$.pending++]=I&255}function ny0($,I,U,Y){var J=$.avail_in;if(J>Y)J=Y;if(J===0)return 0;if($.avail_in-=J,R6.arraySet(I,$.input,$.next_in,J,U),$.state.wrap===1)$.adler=Wt($.adler,I,J,U);else if($.state.wrap===2)$.adler=N9($.adler,I,J,U);return $.next_in+=J,$.total_in+=J,J}function Vt($,I){var{max_chain_length:U,strstart:Y}=$,J,Q,K=$.prev_length,q=$.nice_match,G=$.strstart>$.w_size-t$?$.strstart-($.w_size-t$):0,H=$.window,W=$.w_mask,V=$.prev,w=$.strstart+P9,Z=H[Y+K-1],z=H[Y+K];if($.prev_length>=$.good_match)U>>=2;if(q>$.lookahead)q=$.lookahead;do{if(J=I,H[J+K]!==z||H[J+K-1]!==Z||H[J]!==H[Y]||H[++J]!==H[Y+1])continue;Y+=2,J++;do;while(H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&YK){if($.match_start=I,K=Q,Q>=q)break;Z=H[Y+K-1],z=H[Y+K]}}while((I=V[I&W])>G&&--U!==0);if(K<=$.lookahead)return K;return $.lookahead}function m7($){var I=$.w_size,U,Y,J,Q,K;do{if(Q=$.window_size-$.lookahead-$.strstart,$.strstart>=I+(I-t$)){R6.arraySet($.window,$.window,I,I,0),$.match_start-=I,$.strstart-=I,$.block_start-=I,Y=$.hash_size,U=Y;do J=$.head[--U],$.head[U]=J>=I?J-I:0;while(--Y);Y=I,U=Y;do J=$.prev[--U],$.prev[U]=J>=I?J-I:0;while(--Y);Q+=I}if($.strm.avail_in===0)break;if(Y=ny0($.strm,$.window,$.strstart+$.lookahead,Q),$.lookahead+=Y,$.lookahead+$.insert>=G1){K=$.strstart-$.insert,$.ins_h=$.window[K],$.ins_h=($.ins_h<<$.hash_shift^$.window[K+1])&$.hash_mask;while($.insert)if($.ins_h=($.ins_h<<$.hash_shift^$.window[K+G1-1])&$.hash_mask,$.prev[K&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=K,K++,$.insert--,$.lookahead+$.insert$.pending_buf_size-5)U=$.pending_buf_size-5;for(;;){if($.lookahead<=1){if(m7($),$.lookahead===0&&I===l7)return S4;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var Y=$.block_start+U;if($.strstart===0||$.strstart>=Y){if($.lookahead=$.strstart-Y,$.strstart=Y,e4($,!1),$.strm.avail_out===0)return S4}if($.strstart-$.block_start>=$.w_size-t$){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===E9){if(e4($,!0),$.strm.avail_out===0)return d7;return xU}if($.strstart>$.block_start){if(e4($,!1),$.strm.avail_out===0)return S4}return S4}function Iv($,I){var U,Y;for(;;){if($.lookahead=G1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+G1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if(U!==0&&$.strstart-U<=$.w_size-t$)$.match_length=Vt($,U);if($.match_length>=G1)if(Y=A$._tr_tally($,$.strstart-$.match_start,$.match_length-G1),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=G1){$.match_length--;do $.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+G1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.match_length!==0);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+1])&$.hash_mask;else Y=A$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(Y){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=$.strstart=G1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+G1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if($.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=G1-1,U!==0&&$.prev_length<$.max_lazy_match&&$.strstart-U<=$.w_size-t$){if($.match_length=Vt($,U),$.match_length<=5&&($.strategy===By0||$.match_length===G1&&$.strstart-$.match_start>4096))$.match_length=G1-1}if($.prev_length>=G1&&$.match_length<=$.prev_length){J=$.strstart+$.lookahead-G1,Y=A$._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-G1),$.lookahead-=$.prev_length-1,$.prev_length-=2;do if(++$.strstart<=J)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+G1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.prev_length!==0);if($.match_available=0,$.match_length=G1-1,$.strstart++,Y){if(e4($,!1),$.strm.avail_out===0)return S4}}else if($.match_available){if(Y=A$._tr_tally($,0,$.window[$.strstart-1]),Y)e4($,!1);if($.strstart++,$.lookahead--,$.strm.avail_out===0)return S4}else $.match_available=1,$.strstart++,$.lookahead--}if($.match_available)Y=A$._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0;if($.insert=$.strstart=G1&&$.strstart>0){if(J=$.strstart-1,Y=K[J],Y===K[++J]&&Y===K[++J]&&Y===K[++J]){Q=$.strstart+P9;do;while(Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&J$.lookahead)$.match_length=$.lookahead}}if($.match_length>=G1)U=A$._tr_tally($,1,$.match_length-G1),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0;else U=A$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(U){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===E9){if(e4($,!0),$.strm.avail_out===0)return d7;return xU}if($.last_lit){if(e4($,!1),$.strm.avail_out===0)return S4}return m2}function dy0($,I){var U;for(;;){if($.lookahead===0){if(m7($),$.lookahead===0){if(I===l7)return S4;break}}if($.match_length=0,U=A$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,U){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===E9){if(e4($,!0),$.strm.avail_out===0)return d7;return xU}if($.last_lit){if(e4($,!1),$.strm.avail_out===0)return S4}return m2}function M8($,I,U,Y,J){this.good_length=$,this.max_lazy=I,this.nice_length=U,this.max_chain=Y,this.func=J}var hU;hU=[new M8(0,0,0,0,py0),new M8(4,4,8,4,Iv),new M8(4,5,16,8,Iv),new M8(4,6,32,32,Iv),new M8(4,4,16,16,yU),new M8(8,16,32,32,yU),new M8(8,16,128,128,yU),new M8(8,32,128,256,yU),new M8(32,128,258,1024,yU),new M8(32,258,258,4096,yU)];function my0($){$.window_size=2*$.w_size,A9($.head),$.max_lazy_match=hU[$.level].max_lazy,$.good_match=hU[$.level].good_length,$.nice_match=hU[$.level].nice_length,$.max_chain_length=hU[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=G1-1,$.match_available=0,$.ins_h=0}function ly0(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=vw,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new R6.Buf16(uy0*2),this.dyn_dtree=new R6.Buf16((2*xy0+1)*2),this.bl_tree=new R6.Buf16((2*ky0+1)*2),A9(this.dyn_ltree),A9(this.dyn_dtree),A9(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new R6.Buf16(fy0+1),this.heap=new R6.Buf16(2*Uv+1),A9(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new R6.Buf16(2*Uv+1),A9(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function wt($){var I;if(!$||!$.state)return T9($,P$);if($.total_in=$.total_out=0,$.data_type=jy0,I=$.state,I.pending=0,I.pending_out=0,I.wrap<0)I.wrap=-I.wrap;return I.status=I.wrap?Rw:c7,$.adler=I.wrap===2?0:1,I.last_flush=l7,A$._tr_init(I),A8}function Zt($){var I=wt($);if(I===A8)my0($.state);return I}function oy0($,I){if(!$||!$.state)return P$;if($.state.wrap!==2)return P$;return $.state.gzhead=I,A8}function Xt($,I,U,Y,J,Q){if(!$)return P$;var K=1;if(I===Ey0)I=6;if(Y<0)K=0,Y=-Y;else if(Y>15)K=2,Y-=16;if(J<1||J>_y0||U!==vw||Y<8||Y>15||I<0||I>9||Q<0||Q>Ry0)return T9($,P$);if(Y===8)Y=9;var q=new ly0;return $.state=q,q.strm=$,q.wrap=K,q.gzhead=null,q.w_bits=Y,q.w_size=1<qt||I<0)return $?T9($,P$):P$;if(Y=$.state,!$.output||!$.input&&$.avail_in!==0||Y.status===d2&&I!==E9)return T9($,$.avail_out===0?$v:P$);if(Y.strm=$,U=Y.last_flush,Y.last_flush=I,Y.status===Rw)if(Y.wrap===2)if($.adler=0,F1(Y,31),F1(Y,139),F1(Y,8),!Y.gzhead)F1(Y,0),F1(Y,0),F1(Y,0),F1(Y,0),F1(Y,0),F1(Y,Y.level===9?2:Y.strategy>=Pw||Y.level<2?4:0),F1(Y,iy0),Y.status=c7;else{if(F1(Y,(Y.gzhead.text?1:0)+(Y.gzhead.hcrc?2:0)+(!Y.gzhead.extra?0:4)+(!Y.gzhead.name?0:8)+(!Y.gzhead.comment?0:16)),F1(Y,Y.gzhead.time&255),F1(Y,Y.gzhead.time>>8&255),F1(Y,Y.gzhead.time>>16&255),F1(Y,Y.gzhead.time>>24&255),F1(Y,Y.level===9?2:Y.strategy>=Pw||Y.level<2?4:0),F1(Y,Y.gzhead.os&255),Y.gzhead.extra&&Y.gzhead.extra.length)F1(Y,Y.gzhead.extra.length&255),F1(Y,Y.gzhead.extra.length>>8&255);if(Y.gzhead.hcrc)$.adler=N9($.adler,Y.pending_buf,Y.pending,0);Y.gzindex=0,Y.status=Yv}else{var K=vw+(Y.w_bits-8<<4)<<8,q=-1;if(Y.strategy>=Pw||Y.level<2)q=0;else if(Y.level<6)q=1;else if(Y.level===6)q=2;else q=3;if(K|=q<<6,Y.strstart!==0)K|=by0;if(K+=31-K%31,Y.status=c7,c2(Y,K),Y.strstart!==0)c2(Y,$.adler>>>16),c2(Y,$.adler&65535);$.adler=1}if(Y.status===Yv)if(Y.gzhead.extra){J=Y.pending;while(Y.gzindex<(Y.gzhead.extra.length&65535)){if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=N9($.adler,Y.pending_buf,Y.pending-J,J);if(M9($),J=Y.pending,Y.pending===Y.pending_buf_size)break}F1(Y,Y.gzhead.extra[Y.gzindex]&255),Y.gzindex++}if(Y.gzhead.hcrc&&Y.pending>J)$.adler=N9($.adler,Y.pending_buf,Y.pending-J,J);if(Y.gzindex===Y.gzhead.extra.length)Y.gzindex=0,Y.status=Tw}else Y.status=Tw;if(Y.status===Tw)if(Y.gzhead.name){J=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=N9($.adler,Y.pending_buf,Y.pending-J,J);if(M9($),J=Y.pending,Y.pending===Y.pending_buf_size){Q=1;break}}if(Y.gzindexJ)$.adler=N9($.adler,Y.pending_buf,Y.pending-J,J);if(Q===0)Y.gzindex=0,Y.status=Ew}else Y.status=Ew;if(Y.status===Ew)if(Y.gzhead.comment){J=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=N9($.adler,Y.pending_buf,Y.pending-J,J);if(M9($),J=Y.pending,Y.pending===Y.pending_buf_size){Q=1;break}}if(Y.gzindexJ)$.adler=N9($.adler,Y.pending_buf,Y.pending-J,J);if(Q===0)Y.status=Bw}else Y.status=Bw;if(Y.status===Bw)if(Y.gzhead.hcrc){if(Y.pending+2>Y.pending_buf_size)M9($);if(Y.pending+2<=Y.pending_buf_size)F1(Y,$.adler&255),F1(Y,$.adler>>8&255),$.adler=0,Y.status=c7}else Y.status=c7;if(Y.pending!==0){if(M9($),$.avail_out===0)return Y.last_flush=-1,A8}else if($.avail_in===0&&Ht(I)<=Ht(U)&&I!==E9)return T9($,$v);if(Y.status===d2&&$.avail_in!==0)return T9($,$v);if($.avail_in!==0||Y.lookahead!==0||I!==l7&&Y.status!==d2){var G=Y.strategy===Pw?dy0(Y,I):Y.strategy===vy0?cy0(Y,I):hU[Y.level].func(Y,I);if(G===d7||G===xU)Y.status=d2;if(G===S4||G===d7){if($.avail_out===0)Y.last_flush=-1;return A8}if(G===m2){if(I===Ay0)A$._tr_align(Y);else if(I!==qt){if(A$._tr_stored_block(Y,0,0,!1),I===Py0){if(A9(Y.head),Y.lookahead===0)Y.strstart=0,Y.block_start=0,Y.insert=0}}if(M9($),$.avail_out===0)return Y.last_flush=-1,A8}}if(I!==E9)return A8;if(Y.wrap<=0)return Gt;if(Y.wrap===2)F1(Y,$.adler&255),F1(Y,$.adler>>8&255),F1(Y,$.adler>>16&255),F1(Y,$.adler>>24&255),F1(Y,$.total_in&255),F1(Y,$.total_in>>8&255),F1(Y,$.total_in>>16&255),F1(Y,$.total_in>>24&255);else c2(Y,$.adler>>>16),c2(Y,$.adler&65535);if(M9($),Y.wrap>0)Y.wrap=-Y.wrap;return Y.pending!==0?A8:Gt}function ay0($){var I;if(!$||!$.state)return P$;if(I=$.state.status,I!==Rw&&I!==Yv&&I!==Tw&&I!==Ew&&I!==Bw&&I!==c7&&I!==d2)return T9($,P$);return $.state=null,I===c7?T9($,Ty0):A8}function sy0($,I){var U=I.length,Y,J,Q,K,q,G,H,W;if(!$||!$.state)return P$;if(Y=$.state,K=Y.wrap,K===2||K===1&&Y.status!==Rw||Y.lookahead)return P$;if(K===1)$.adler=Wt($.adler,I,U,0);if(Y.wrap=0,U>=Y.w_size){if(K===0)A9(Y.head),Y.strstart=0,Y.block_start=0,Y.insert=0;W=new R6.Buf8(Y.w_size),R6.arraySet(W,I,U-Y.w_size,Y.w_size,0),I=W,U=Y.w_size}q=$.avail_in,G=$.next_in,H=$.input,$.avail_in=U,$.next_in=0,$.input=I,m7(Y);while(Y.lookahead>=G1){J=Y.strstart,Q=Y.lookahead-(G1-1);do Y.ins_h=(Y.ins_h<{var Cw=w5(),Lt=!0,Dt=!0;try{String.fromCharCode.apply(null,[0])}catch($){Lt=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch($){Dt=!1}var l2=new Cw.Buf8(256);for(P8=0;P8<256;P8++)l2[P8]=P8>=252?6:P8>=248?5:P8>=240?4:P8>=224?3:P8>=192?2:1;var P8;l2[254]=l2[254]=1;Hh0.string2buf=function($){var I,U,Y,J,Q,K=$.length,q=0;for(J=0;J>>6,I[Q++]=128|U&63;else if(U<65536)I[Q++]=224|U>>>12,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63;else I[Q++]=240|U>>>18,I[Q++]=128|U>>>12&63,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63}return I};function Ot($,I){if(I<65534){if($.subarray&&Dt||!$.subarray&&Lt)return String.fromCharCode.apply(null,Cw.shrinkBuf($,I))}var U="";for(var Y=0;Y4){q[Y++]=65533,U+=Q-1;continue}J&=Q===2?31:Q===3?15:7;while(Q>1&&U1){q[Y++]=65533;continue}if(J<65536)q[Y++]=J;else J-=65536,q[Y++]=55296|J>>10&1023,q[Y++]=56320|J&1023}return Ot(q,Y)};Hh0.utf8border=function($,I){var U;if(I=I||$.length,I>$.length)I=$.length;U=I-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return I;if(U===0)return I;return U+l2[$[U]]>I?U:I}});var Qv=O((BA1,Ft)=>{function zh0(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}Ft.exports=zh0});var Pt=O((Ph0)=>{var o2=zt(),r2=w5(),qv=Jv(),Gv=Aw(),Lh0=Qv(),At=Object.prototype.toString,Dh0=0,Kv=4,kU=0,Nt=1,Mt=2,Oh0=-1,Fh0=0,Nh0=8;function o7($){if(!(this instanceof o7))return new o7($);this.options=r2.assign({level:Oh0,method:Nh0,chunkSize:16384,windowBits:15,memLevel:8,strategy:Fh0,to:""},$||{});var I=this.options;if(I.raw&&I.windowBits>0)I.windowBits=-I.windowBits;else if(I.gzip&&I.windowBits>0&&I.windowBits<16)I.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Lh0,this.strm.avail_out=0;var U=o2.deflateInit2(this.strm,I.level,I.method,I.windowBits,I.memLevel,I.strategy);if(U!==kU)throw Error(Gv[U]);if(I.header)o2.deflateSetHeader(this.strm,I.header);if(I.dictionary){var Y;if(typeof I.dictionary==="string")Y=qv.string2buf(I.dictionary);else if(At.call(I.dictionary)==="[object ArrayBuffer]")Y=new Uint8Array(I.dictionary);else Y=I.dictionary;if(U=o2.deflateSetDictionary(this.strm,Y),U!==kU)throw Error(Gv[U]);this._dict_set=!0}}o7.prototype.push=function($,I){var U=this.strm,Y=this.options.chunkSize,J,Q;if(this.ended)return!1;if(Q=I===~~I?I:I===!0?Kv:Dh0,typeof $==="string")U.input=qv.string2buf($);else if(At.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new r2.Buf8(Y),U.next_out=0,U.avail_out=Y;if(J=o2.deflate(U,Q),J!==Nt&&J!==kU)return this.onEnd(J),this.ended=!0,!1;if(U.avail_out===0||U.avail_in===0&&(Q===Kv||Q===Mt))if(this.options.to==="string")this.onData(qv.buf2binstring(r2.shrinkBuf(U.output,U.next_out)));else this.onData(r2.shrinkBuf(U.output,U.next_out))}while((U.avail_in>0||U.avail_out===0)&&J!==Nt);if(Q===Kv)return J=o2.deflateEnd(this.strm),this.onEnd(J),this.ended=!0,J===kU;if(Q===Mt)return this.onEnd(kU),U.avail_out=0,!0;return!0};o7.prototype.onData=function($){this.chunks.push($)};o7.prototype.onEnd=function($){if($===kU)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=r2.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function Hv($,I){var U=new o7(I);if(U.push($,!0),U.err)throw U.msg||Gv[U.err];return U.result}function Mh0($,I){return I=I||{},I.raw=!0,Hv($,I)}function Ah0($,I){return I=I||{},I.gzip=!0,Hv($,I)}Ph0.Deflate=o7;Ph0.deflate=Hv;Ph0.deflateRaw=Mh0;Ph0.gzip=Ah0});var Et=O((RA1,Tt)=>{var jw=30,Rh0=12;Tt.exports=function(I,U){var Y,J,Q,K,q,G,H,W,V,w,Z,z,L,D,F,E,T,A,R,u,g,b,C,p,n;Y=I.state,J=I.next_in,p=I.input,Q=J+(I.avail_in-5),K=I.next_out,n=I.output,q=K-(U-I.avail_out),G=K+(I.avail_out-257),H=Y.dmax,W=Y.wsize,V=Y.whave,w=Y.wnext,Z=Y.window,z=Y.hold,L=Y.bits,D=Y.lencode,F=Y.distcode,E=(1<>>24,z>>>=R,L-=R,R=A>>>16&255,R===0)n[K++]=A&65535;else if(R&16){if(u=A&65535,R&=15,R){if(L>>=R,L-=R}if(L<15)z+=p[J++]<>>24,z>>>=R,L-=R,R=A>>>16&255,R&16){if(g=A&65535,R&=15,LH){I.msg="invalid distance too far back",Y.mode=jw;break $}if(z>>>=R,L-=R,R=K-q,g>R){if(R=g-R,R>V){if(Y.sane){I.msg="invalid distance too far back",Y.mode=jw;break $}}if(b=0,C=Z,w===0){if(b+=W-R,R2)n[K++]=C[b++],n[K++]=C[b++],n[K++]=C[b++],u-=3;if(u){if(n[K++]=C[b++],u>1)n[K++]=C[b++]}}else{b=K-g;do n[K++]=n[b++],n[K++]=n[b++],n[K++]=n[b++],u-=3;while(u>2);if(u){if(n[K++]=n[b++],u>1)n[K++]=n[b++]}}}else if((R&64)===0){A=F[(A&65535)+(z&(1<>3,J-=u,L-=u<<3,z&=(1<{var Bt=w5(),uU=15,vt=852,Rt=592,Ct=0,Wv=1,jt=2,Ch0=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],jh0=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],_h0=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Sh0=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];_t.exports=function(I,U,Y,J,Q,K,q,G){var H=G.bits,W=0,V=0,w=0,Z=0,z=0,L=0,D=0,F=0,E=0,T=0,A,R,u,g,b,C=null,p=0,n,S=new Bt.Buf16(uU+1),f=new Bt.Buf16(uU+1),i=null,Y0=0,B,k,d;for(W=0;W<=uU;W++)S[W]=0;for(V=0;V=1;Z--)if(S[Z]!==0)break;if(z>Z)z=Z;if(Z===0)return Q[K++]=20971520,Q[K++]=20971520,G.bits=1,0;for(w=1;w0&&(I===Ct||Z!==1))return-1;f[1]=0;for(W=1;Wvt||I===jt&&E>Rt)return 1;for(;;){if(B=W-D,q[V]n)k=i[Y0+q[V]],d=C[p+q[V]];else k=96,d=0;A=1<>D)+R]=B<<24|k<<16|d|0;while(R!==0);A=1<>=1;if(A!==0)T&=A-1,T+=A;else T=0;if(V++,--S[W]===0){if(W===Z)break;W=U[Y+q[V]]}if(W>z&&(T&g)!==u){if(D===0)D=z;b+=w,L=W-D,F=1<vt||I===jt&&E>Rt)return 1;u=T&g,Q[u]=z<<24|L<<16|b-K|0}}if(T!==0)Q[b+T]=W-D<<24|4194304|0;return G.bits=z,0}});var Za=O((ah0)=>{var J$=w5(),Lv=sB(),T8=eB(),gh0=Et(),t2=St(),yh0=0,Ja=1,Qa=2,gt=4,hh0=5,_w=6,r7=0,xh0=1,kh0=2,T$=-2,Ka=-3,Dv=-4,uh0=-5,yt=8,qa=1,ht=2,xt=3,kt=4,ut=5,ft=6,bt=7,it=8,nt=9,pt=10,yw=11,X5=12,Vv=13,ct=14,wv=15,dt=16,mt=17,lt=18,ot=19,Sw=20,gw=21,rt=22,tt=23,at=24,st=25,et=26,Zv=27,$a=28,Ia=29,J4=30,Ov=31,fh0=32,bh0=852,ih0=592,nh0=15,ph0=nh0;function Ua($){return($>>>24&255)+($>>>8&65280)+(($&65280)<<8)+(($&255)<<24)}function ch0(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new J$.Buf16(320),this.work=new J$.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ga($){var I;if(!$||!$.state)return T$;if(I=$.state,$.total_in=$.total_out=I.total=0,$.msg="",I.wrap)$.adler=I.wrap&1;return I.mode=qa,I.last=0,I.havedict=0,I.dmax=32768,I.head=null,I.hold=0,I.bits=0,I.lencode=I.lendyn=new J$.Buf32(bh0),I.distcode=I.distdyn=new J$.Buf32(ih0),I.sane=1,I.back=-1,r7}function Ha($){var I;if(!$||!$.state)return T$;return I=$.state,I.wsize=0,I.whave=0,I.wnext=0,Ga($)}function Wa($,I){var U,Y;if(!$||!$.state)return T$;if(Y=$.state,I<0)U=0,I=-I;else if(U=(I>>4)+1,I<48)I&=15;if(I&&(I<8||I>15))return T$;if(Y.window!==null&&Y.wbits!==I)Y.window=null;return Y.wrap=U,Y.wbits=I,Ha($)}function Va($,I){var U,Y;if(!$)return T$;if(Y=new ch0,$.state=Y,Y.window=null,U=Wa($,I),U!==r7)$.state=null;return U}function dh0($){return Va($,ph0)}var Ya=!0,Xv,zv;function mh0($){if(Ya){var I;Xv=new J$.Buf32(512),zv=new J$.Buf32(32),I=0;while(I<144)$.lens[I++]=8;while(I<256)$.lens[I++]=9;while(I<280)$.lens[I++]=7;while(I<288)$.lens[I++]=8;t2(Ja,$.lens,0,288,Xv,0,$.work,{bits:9}),I=0;while(I<32)$.lens[I++]=5;t2(Qa,$.lens,0,32,zv,0,$.work,{bits:5}),Ya=!1}$.lencode=Xv,$.lenbits=9,$.distcode=zv,$.distbits=5}function wa($,I,U,Y){var J,Q=$.state;if(Q.window===null)Q.wsize=1<=Q.wsize)J$.arraySet(Q.window,I,U-Q.wsize,Q.wsize,0),Q.wnext=0,Q.whave=Q.wsize;else{if(J=Q.wsize-Q.wnext,J>Y)J=Y;if(J$.arraySet(Q.window,I,U-Y,J,Q.wnext),Y-=J,Y)J$.arraySet(Q.window,I,U-Y,Y,0),Q.wnext=Y,Q.whave=Q.wsize;else{if(Q.wnext+=J,Q.wnext===Q.wsize)Q.wnext=0;if(Q.whave>>8&255,U.check=T8(U.check,C,2,0),H=0,W=0,U.mode=ht;break}if(U.flags=0,U.head)U.head.done=!1;if(!(U.wrap&1)||(((H&255)<<8)+(H>>8))%31){$.msg="incorrect header check",U.mode=J4;break}if((H&15)!==yt){$.msg="unknown compression method",U.mode=J4;break}if(H>>>=4,W-=4,g=(H&15)+8,U.wbits===0)U.wbits=g;else if(g>U.wbits){$.msg="invalid window size",U.mode=J4;break}U.dmax=1<>8&1;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0,U.mode=xt;case xt:while(W<32){if(q===0)break $;q--,H+=Y[Q++]<>>8&255,C[2]=H>>>16&255,C[3]=H>>>24&255,U.check=T8(U.check,C,4,0);H=0,W=0,U.mode=kt;case kt:while(W<16){if(q===0)break $;q--,H+=Y[Q++]<>8;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0,U.mode=ut;case ut:if(U.flags&1024){while(W<16){if(q===0)break $;q--,H+=Y[Q++]<>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0}else if(U.head)U.head.extra=null;U.mode=ft;case ft:if(U.flags&1024){if(Z=U.length,Z>q)Z=q;if(Z){if(U.head){if(g=U.head.extra_len-U.length,!U.head.extra)U.head.extra=Array(U.head.extra_len);J$.arraySet(U.head.extra,Y,Q,Z,g)}if(U.flags&512)U.check=T8(U.check,Y,Z,Q);q-=Z,Q+=Z,U.length-=Z}if(U.length)break $}U.length=0,U.mode=bt;case bt:if(U.flags&2048){if(q===0)break $;Z=0;do if(g=Y[Q+Z++],U.head&&g&&U.length<65536)U.head.name+=String.fromCharCode(g);while(g&&Z>9&1,U.head.done=!0;$.adler=U.check=0,U.mode=X5;break;case pt:while(W<32){if(q===0)break $;q--,H+=Y[Q++]<>>=W&7,W-=W&7,U.mode=Zv;break}while(W<3){if(q===0)break $;q--,H+=Y[Q++]<>>=1,W-=1,H&3){case 0:U.mode=ct;break;case 1:if(mh0(U),U.mode=Sw,I===_w){H>>>=2,W-=2;break $}break;case 2:U.mode=mt;break;case 3:$.msg="invalid block type",U.mode=J4}H>>>=2,W-=2;break;case ct:H>>>=W&7,W-=W&7;while(W<32){if(q===0)break $;q--,H+=Y[Q++]<>>16^65535)){$.msg="invalid stored block lengths",U.mode=J4;break}if(U.length=H&65535,H=0,W=0,U.mode=wv,I===_w)break $;case wv:U.mode=dt;case dt:if(Z=U.length,Z){if(Z>q)Z=q;if(Z>G)Z=G;if(Z===0)break $;J$.arraySet(J,Y,Q,Z,K),q-=Z,Q+=Z,G-=Z,K+=Z,U.length-=Z;break}U.mode=X5;break;case mt:while(W<14){if(q===0)break $;q--,H+=Y[Q++]<>>=5,W-=5,U.ndist=(H&31)+1,H>>>=5,W-=5,U.ncode=(H&15)+4,H>>>=4,W-=4,U.nlen>286||U.ndist>30){$.msg="too many length or distance symbols",U.mode=J4;break}U.have=0,U.mode=lt;case lt:while(U.have>>=3,W-=3}while(U.have<19)U.lens[S[U.have++]]=0;if(U.lencode=U.lendyn,U.lenbits=7,p={bits:U.lenbits},b=t2(yh0,U.lens,0,19,U.lencode,0,U.work,p),U.lenbits=p.bits,b){$.msg="invalid code lengths set",U.mode=J4;break}U.have=0,U.mode=ot;case ot:while(U.have>>24,E=D>>>16&255,T=D&65535,F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>>=F,W-=F,U.lens[U.have++]=T;else{if(T===16){n=F+2;while(W>>=F,W-=F,U.have===0){$.msg="invalid bit length repeat",U.mode=J4;break}g=U.lens[U.have-1],Z=3+(H&3),H>>>=2,W-=2}else if(T===17){n=F+3;while(W>>=F,W-=F,g=0,Z=3+(H&7),H>>>=3,W-=3}else{n=F+7;while(W>>=F,W-=F,g=0,Z=11+(H&127),H>>>=7,W-=7}if(U.have+Z>U.nlen+U.ndist){$.msg="invalid bit length repeat",U.mode=J4;break}while(Z--)U.lens[U.have++]=g}}if(U.mode===J4)break;if(U.lens[256]===0){$.msg="invalid code -- missing end-of-block",U.mode=J4;break}if(U.lenbits=9,p={bits:U.lenbits},b=t2(Ja,U.lens,0,U.nlen,U.lencode,0,U.work,p),U.lenbits=p.bits,b){$.msg="invalid literal/lengths set",U.mode=J4;break}if(U.distbits=6,U.distcode=U.distdyn,p={bits:U.distbits},b=t2(Qa,U.lens,U.nlen,U.ndist,U.distcode,0,U.work,p),U.distbits=p.bits,b){$.msg="invalid distances set",U.mode=J4;break}if(U.mode=Sw,I===_w)break $;case Sw:U.mode=gw;case gw:if(q>=6&&G>=258){if($.next_out=K,$.avail_out=G,$.next_in=Q,$.avail_in=q,U.hold=H,U.bits=W,gh0($,w),K=$.next_out,J=$.output,G=$.avail_out,Q=$.next_in,Y=$.input,q=$.avail_in,H=U.hold,W=U.bits,U.mode===X5)U.back=-1;break}U.back=0;for(;;){if(D=U.lencode[H&(1<>>24,E=D>>>16&255,T=D&65535,F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>A)],F=D>>>24,E=D>>>16&255,T=D&65535,A+F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>>=A,W-=A,U.back+=A}if(H>>>=F,W-=F,U.back+=F,U.length=T,E===0){U.mode=et;break}if(E&32){U.back=-1,U.mode=X5;break}if(E&64){$.msg="invalid literal/length code",U.mode=J4;break}U.extra=E&15,U.mode=rt;case rt:if(U.extra){n=U.extra;while(W>>=U.extra,W-=U.extra,U.back+=U.extra}U.was=U.length,U.mode=tt;case tt:for(;;){if(D=U.distcode[H&(1<>>24,E=D>>>16&255,T=D&65535,F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>A)],F=D>>>24,E=D>>>16&255,T=D&65535,A+F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<>>=A,W-=A,U.back+=A}if(H>>>=F,W-=F,U.back+=F,E&64){$.msg="invalid distance code",U.mode=J4;break}U.offset=T,U.extra=E&15,U.mode=at;case at:if(U.extra){n=U.extra;while(W>>=U.extra,W-=U.extra,U.back+=U.extra}if(U.offset>U.dmax){$.msg="invalid distance too far back",U.mode=J4;break}U.mode=st;case st:if(G===0)break $;if(Z=w-G,U.offset>Z){if(Z=U.offset-Z,Z>U.whave){if(U.sane){$.msg="invalid distance too far back",U.mode=J4;break}}if(Z>U.wnext)Z-=U.wnext,z=U.wsize-Z;else z=U.wnext-Z;if(Z>U.length)Z=U.length;L=U.window}else L=J,z=K-U.offset,Z=U.length;if(Z>G)Z=G;G-=Z,U.length-=Z;do J[K++]=L[z++];while(--Z);if(U.length===0)U.mode=gw;break;case et:if(G===0)break $;J[K++]=U.length,G--,U.mode=gw;break;case Zv:if(U.wrap){while(W<32){if(q===0)break $;q--,H|=Y[Q++]<{Xa.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var La=O((SA1,za)=>{function Gx0(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}za.exports=Gx0});var Oa=O((wx0)=>{var fU=Za(),a2=w5(),hw=Jv(),A4=Fv(),Nv=Aw(),Hx0=Qv(),Wx0=La(),Da=Object.prototype.toString;function t7($){if(!(this instanceof t7))return new t7($);this.options=a2.assign({chunkSize:16384,windowBits:0,to:""},$||{});var I=this.options;if(I.raw&&I.windowBits>=0&&I.windowBits<16){if(I.windowBits=-I.windowBits,I.windowBits===0)I.windowBits=-15}if(I.windowBits>=0&&I.windowBits<16&&!($&&$.windowBits))I.windowBits+=32;if(I.windowBits>15&&I.windowBits<48){if((I.windowBits&15)===0)I.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Hx0,this.strm.avail_out=0;var U=fU.inflateInit2(this.strm,I.windowBits);if(U!==A4.Z_OK)throw Error(Nv[U]);if(this.header=new Wx0,fU.inflateGetHeader(this.strm,this.header),I.dictionary){if(typeof I.dictionary==="string")I.dictionary=hw.string2buf(I.dictionary);else if(Da.call(I.dictionary)==="[object ArrayBuffer]")I.dictionary=new Uint8Array(I.dictionary);if(I.raw){if(U=fU.inflateSetDictionary(this.strm,I.dictionary),U!==A4.Z_OK)throw Error(Nv[U])}}}t7.prototype.push=function($,I){var U=this.strm,Y=this.options.chunkSize,J=this.options.dictionary,Q,K,q,G,H,W=!1;if(this.ended)return!1;if(K=I===~~I?I:I===!0?A4.Z_FINISH:A4.Z_NO_FLUSH,typeof $==="string")U.input=hw.binstring2buf($);else if(Da.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new a2.Buf8(Y),U.next_out=0,U.avail_out=Y;if(Q=fU.inflate(U,A4.Z_NO_FLUSH),Q===A4.Z_NEED_DICT&&J)Q=fU.inflateSetDictionary(this.strm,J);if(Q===A4.Z_BUF_ERROR&&W===!0)Q=A4.Z_OK,W=!1;if(Q!==A4.Z_STREAM_END&&Q!==A4.Z_OK)return this.onEnd(Q),this.ended=!0,!1;if(U.next_out){if(U.avail_out===0||Q===A4.Z_STREAM_END||U.avail_in===0&&(K===A4.Z_FINISH||K===A4.Z_SYNC_FLUSH))if(this.options.to==="string"){if(q=hw.utf8border(U.output,U.next_out),G=U.next_out-q,H=hw.buf2string(U.output,q),U.next_out=G,U.avail_out=Y-G,G)a2.arraySet(U.output,U.output,q,G,0);this.onData(H)}else this.onData(a2.shrinkBuf(U.output,U.next_out))}if(U.avail_in===0&&U.avail_out===0)W=!0}while((U.avail_in>0||U.avail_out===0)&&Q!==A4.Z_STREAM_END);if(Q===A4.Z_STREAM_END)K=A4.Z_FINISH;if(K===A4.Z_FINISH)return Q=fU.inflateEnd(this.strm),this.onEnd(Q),this.ended=!0,Q===A4.Z_OK;if(K===A4.Z_SYNC_FLUSH)return this.onEnd(A4.Z_OK),U.avail_out=0,!0;return!0};t7.prototype.onData=function($){this.chunks.push($)};t7.prototype.onEnd=function($){if($===A4.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=a2.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function Mv($,I){var U=new t7(I);if(U.push($,!0),U.err)throw U.msg||Nv[U.err];return U.result}function Vx0($,I){return I=I||{},I.raw=!0,Mv($,I)}wx0.Inflate=t7;wx0.inflate=Mv;wx0.inflateRaw=Vx0;wx0.ungzip=Mv});var Ma=O((yA1,Na)=>{var Dx0=w5().assign,Ox0=Pt(),Fx0=Oa(),Nx0=Fv(),Fa={};Dx0(Fa,Ox0,Fx0,Nx0);Na.exports=Fa});var Pa=O((Tx0)=>{var Mx0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Ax0=Ma(),Aa=H4(),xw=Y$(),Px0=Mx0?"uint8array":"array";Tx0.magic="\b\x00";function a7($,I){xw.call(this,"FlateWorker/"+$),this._pako=null,this._pakoAction=$,this._pakoOptions=I,this.meta={}}Aa.inherits(a7,xw);a7.prototype.processChunk=function($){if(this.meta=$.meta,this._pako===null)this._createPako();this._pako.push(Aa.transformTo(Px0,$.data),!1)};a7.prototype.flush=function(){if(xw.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};a7.prototype.cleanUp=function(){xw.prototype.cleanUp.call(this),this._pako=null};a7.prototype._createPako=function(){this._pako=new Ax0[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var $=this;this._pako.onData=function(I){$.push({data:I,meta:$.meta})}};Tx0.compressWorker=function($){return new a7("Deflate",$)};Tx0.uncompressWorker=function(){return new a7("Inflate",{})}});var Av=O((Rx0)=>{var Ta=Y$();Rx0.STORE={magic:"\x00\x00",compressWorker:function(){return new Ta("STORE compression")},uncompressWorker:function(){return new Ta("STORE decompression")}};Rx0.DEFLATE=Pa()});var Pv=O((_x0)=>{_x0.LOCAL_FILE_HEADER="PK\x03\x04";_x0.CENTRAL_FILE_HEADER="PK\x01\x02";_x0.CENTRAL_DIRECTORY_END="PK\x05\x06";_x0.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";_x0.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";_x0.DATA_DESCRIPTOR="PK\x07\b"});var Ra=O((uA1,va)=>{var bU=H4(),iU=Y$(),Tv=jU(),Ea=Ow(),kw=Pv(),c1=function($,I){var U="",Y;for(Y=0;Y>>8;return U},ux0=function($,I){var U=$;if(!$)U=I?16893:33204;return(U&65535)<<16},fx0=function($){return($||0)&63},Ba=function($,I,U,Y,J,Q){var{file:K,compression:q}=$,G=Q!==Tv.utf8encode,H=bU.transformTo("string",Q(K.name)),W=bU.transformTo("string",Tv.utf8encode(K.name)),V=K.comment,w=bU.transformTo("string",Q(V)),Z=bU.transformTo("string",Tv.utf8encode(V)),z=W.length!==K.name.length,L=Z.length!==V.length,D,F,E="",T="",A="",R=K.dir,u=K.date,g={crc32:0,compressedSize:0,uncompressedSize:0};if(!I||U)g.crc32=$.crc32,g.compressedSize=$.compressedSize,g.uncompressedSize=$.uncompressedSize;var b=0;if(I)b|=8;if(!G&&(z||L))b|=2048;var C=0,p=0;if(R)C|=16;if(J==="UNIX")p=798,C|=ux0(K.unixPermissions,R);else p=20,C|=fx0(K.dosPermissions,R);if(D=u.getUTCHours(),D=D<<6,D=D|u.getUTCMinutes(),D=D<<5,D=D|u.getUTCSeconds()/2,F=u.getUTCFullYear()-1980,F=F<<4,F=F|u.getUTCMonth()+1,F=F<<5,F=F|u.getUTCDate(),z)T=c1(1,1)+c1(Ea(H),4)+W,E+="up"+c1(T.length,2)+T;if(L)A=c1(1,1)+c1(Ea(w),4)+Z,E+="uc"+c1(A.length,2)+A;var n="";n+=` +\x00`,n+=c1(b,2),n+=q.magic,n+=c1(D,2),n+=c1(F,2),n+=c1(g.crc32,4),n+=c1(g.compressedSize,4),n+=c1(g.uncompressedSize,4),n+=c1(H.length,2),n+=c1(E.length,2);var S=kw.LOCAL_FILE_HEADER+n+H+E,f=kw.CENTRAL_FILE_HEADER+c1(p,2)+n+c1(w.length,2)+"\x00\x00\x00\x00"+c1(C,4)+c1(Y,4)+H+E+w;return{fileRecord:S,dirRecord:f}},bx0=function($,I,U,Y,J){var Q="",K=bU.transformTo("string",J(Y));return Q=kw.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+c1($,2)+c1($,2)+c1(I,4)+c1(U,4)+c1(K.length,2)+K,Q},ix0=function($){var I="";return I=kw.DATA_DESCRIPTOR+c1($.crc32,4)+c1($.compressedSize,4)+c1($.uncompressedSize,4),I};function a$($,I,U,Y){iU.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=I,this.zipPlatform=U,this.encodeFileName=Y,this.streamFiles=$,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}bU.inherits(a$,iU);a$.prototype.push=function($){var I=$.meta.percent||0,U=this.entriesCount,Y=this._sources.length;if(this.accumulate)this.contentBuffer.push($);else this.bytesWritten+=$.data.length,iU.prototype.push.call(this,{data:$.data,meta:{currentFile:this.currentFile,percent:U?(I+100*(U-Y-1))/U:100}})};a$.prototype.openedSource=function($){this.currentSourceOffset=this.bytesWritten,this.currentFile=$.file.name;var I=this.streamFiles&&!$.file.dir;if(I){var U=Ba($,I,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:U.fileRecord,meta:{percent:0}})}else this.accumulate=!0};a$.prototype.closedSource=function($){this.accumulate=!1;var I=this.streamFiles&&!$.file.dir,U=Ba($,I,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(U.dirRecord),I)this.push({data:ix0($),meta:{percent:100}});else{this.push({data:U.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};a$.prototype.flush=function(){var $=this.bytesWritten;for(var I=0;I{var nx0=Av(),px0=Ra(),cx0=function($,I){var U=$||I,Y=nx0[U];if(!Y)throw Error(U+" is not a valid compression method !");return Y};dx0.generateWorker=function($,I,U){var Y=new px0(I.streamFiles,U,I.platform,I.encodeFileName),J=0;try{$.forEach(function(Q,K){J++;var q=cx0(K.options.compression,I.compression),G=K.options.compressionOptions||I.compressionOptions||{},H=K.dir,W=K.date;K._compressWorker(q,G).withStreamInfo("file",{name:Q,dir:H,date:W,comment:K.comment||"",unixPermissions:K.unixPermissions,dosPermissions:K.dosPermissions}).pipe(Y)}),Y.entriesCount=J}catch(Q){Y.error(Q)}return Y}});var _a=O((bA1,ja)=>{var lx0=H4(),uw=Y$();function s2($,I){uw.call(this,"Nodejs stream input adapter for "+$),this._upstreamEnded=!1,this._bindStream(I)}lx0.inherits(s2,uw);s2.prototype._bindStream=function($){var I=this;this._stream=$,$.pause(),$.on("data",function(U){I.push({data:U,meta:{percent:0}})}).on("error",function(U){if(I.isPaused)this.generatedError=U;else I.error(U)}).on("end",function(){if(I.isPaused)I._upstreamEnded=!0;else I.end()})};s2.prototype.pause=function(){if(!uw.prototype.pause.call(this))return!1;return this._stream.pause(),!0};s2.prototype.resume=function(){if(!uw.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};ja.exports=s2});var ia=O((iA1,ba)=>{var ox0=jU(),e2=H4(),ha=Y$(),rx0=RB(),xa=CB(),Sa=Fw(),tx0=gr(),ax0=Ca(),ga=_2(),sx0=_a(),ka=function($,I,U){var Y=e2.getTypeOf(I),J,Q=e2.extend(U||{},xa);if(Q.date=Q.date||new Date,Q.compression!==null)Q.compression=Q.compression.toUpperCase();if(typeof Q.unixPermissions==="string")Q.unixPermissions=parseInt(Q.unixPermissions,8);if(Q.unixPermissions&&Q.unixPermissions&16384)Q.dir=!0;if(Q.dosPermissions&&Q.dosPermissions&16)Q.dir=!0;if(Q.dir)$=ua($);if(Q.createFolders&&(J=ex0($)))fa.call(this,J,!0);var K=Y==="string"&&Q.binary===!1&&Q.base64===!1;if(!U||typeof U.binary>"u")Q.binary=!K;var q=I instanceof Sa&&I.uncompressedSize===0;if(q||Q.dir||!I||I.length===0)Q.base64=!1,Q.binary=!0,I="",Q.compression="STORE",Y="string";var G=null;if(I instanceof Sa||I instanceof ha)G=I;else if(ga.isNode&&ga.isStream(I))G=new sx0($,I);else G=e2.prepareContent($,I,Q.binary,Q.optimizedBinaryString,Q.base64);var H=new tx0($,G,Q);this.files[$]=H},ex0=function($){if($.slice(-1)==="/")$=$.substring(0,$.length-1);var I=$.lastIndexOf("/");return I>0?$.substring(0,I):""},ua=function($){if($.slice(-1)!=="/")$+="/";return $},fa=function($,I){if(I=typeof I<"u"?I:xa.createFolders,$=ua($),!this.files[$])ka.call(this,$,null,{dir:!0,createFolders:I});return this.files[$]};function ya($){return Object.prototype.toString.call($)==="[object RegExp]"}var $k0={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function($){var I,U,Y;for(I in this.files)if(Y=this.files[I],U=I.slice(this.root.length,I.length),U&&I.slice(0,this.root.length)===this.root)$(U,Y)},filter:function($){var I=[];return this.forEach(function(U,Y){if($(U,Y))I.push(Y)}),I},file:function($,I,U){if(arguments.length===1)if(ya($)){var Y=$;return this.filter(function(Q,K){return!K.dir&&Y.test(Q)})}else{var J=this.files[this.root+$];if(J&&!J.dir)return J;else return null}else $=this.root+$,ka.call(this,$,I,U);return this},folder:function($){if(!$)return this;if(ya($))return this.filter(function(J,Q){return Q.dir&&$.test(J)});var I=this.root+$,U=fa.call(this,I),Y=this.clone();return Y.root=U.name,Y},remove:function($){$=this.root+$;var I=this.files[$];if(!I){if($.slice(-1)!=="/")$+="/";I=this.files[$]}if(I&&!I.dir)delete this.files[$];else{var U=this.filter(function(J,Q){return Q.name.slice(0,$.length)===$});for(var Y=0;Y{var Ik0=H4();function na($){this.data=$,this.length=$.length,this.index=0,this.zero=0}na.prototype={checkOffset:function($){this.checkIndex(this.index+$)},checkIndex:function($){if(this.length=this.index;U--)I=(I<<8)+this.byteAt(U);return this.index+=$,I},readString:function($){return Ik0.transformTo("string",this.readData($))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var $=this.readInt(4);return new Date(Date.UTC(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1))}};pa.exports=na});var Bv=O((pA1,da)=>{var ca=Ev(),Uk0=H4();function nU($){ca.call(this,$);for(var I=0;I=0;--Q)if(this.data[Q]===I&&this.data[Q+1]===U&&this.data[Q+2]===Y&&this.data[Q+3]===J)return Q-this.zero;return-1};nU.prototype.readAndCheckSignature=function($){var I=$.charCodeAt(0),U=$.charCodeAt(1),Y=$.charCodeAt(2),J=$.charCodeAt(3),Q=this.readData(4);return I===Q[0]&&U===Q[1]&&Y===Q[2]&&J===Q[3]};nU.prototype.readData=function($){if(this.checkOffset($),$===0)return[];var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};da.exports=nU});var oa=O((cA1,la)=>{var ma=Ev(),Yk0=H4();function pU($){ma.call(this,$)}Yk0.inherits(pU,ma);pU.prototype.byteAt=function($){return this.data.charCodeAt(this.zero+$)};pU.prototype.lastIndexOfSignature=function($){return this.data.lastIndexOf($)-this.zero};pU.prototype.readAndCheckSignature=function($){var I=this.readData(4);return $===I};pU.prototype.readData=function($){this.checkOffset($);var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};la.exports=pU});var Rv=O((dA1,ta)=>{var ra=Bv(),Jk0=H4();function vv($){ra.call(this,$)}Jk0.inherits(vv,ra);vv.prototype.readData=function($){if(this.checkOffset($),$===0)return new Uint8Array(0);var I=this.data.subarray(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};ta.exports=vv});var ea=O((mA1,sa)=>{var aa=Rv(),Qk0=H4();function Cv($){aa.call(this,$)}Qk0.inherits(Cv,aa);Cv.prototype.readData=function($){this.checkOffset($);var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};sa.exports=Cv});var jv=O((lA1,Is)=>{var fw=H4(),$s=V5(),Kk0=Bv(),qk0=oa(),Gk0=ea(),Hk0=Rv();Is.exports=function($){var I=fw.getTypeOf($);if(fw.checkSupport(I),I==="string"&&!$s.uint8array)return new qk0($);if(I==="nodebuffer")return new Gk0($);if($s.uint8array)return new Hk0(fw.transformTo("uint8array",$));return new Kk0(fw.transformTo("array",$))}});var Qs=O((oA1,Js)=>{var _v=jv(),B9=H4(),Wk0=Fw(),Us=Ow(),bw=jU(),iw=Av(),Vk0=V5(),wk0=0,Zk0=3,Xk0=function($){for(var I in iw){if(!Object.prototype.hasOwnProperty.call(iw,I))continue;if(iw[I].magic===$)return iw[I]}return null};function Ys($,I){this.options=$,this.loadOptions=I}Ys.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function($){var I,U;if($.skip(22),this.fileNameLength=$.readInt(2),U=$.readInt(2),this.fileName=$.readData(this.fileNameLength),$.skip(U),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(I=Xk0(this.compressionMethod),I===null)throw Error("Corrupted zip : compression "+B9.pretty(this.compressionMethod)+" unknown (inner file : "+B9.transformTo("string",this.fileName)+")");this.decompressed=new Wk0(this.compressedSize,this.uncompressedSize,this.crc32,I,$.readData(this.compressedSize))},readCentralPart:function($){this.versionMadeBy=$.readInt(2),$.skip(2),this.bitFlag=$.readInt(2),this.compressionMethod=$.readString(2),this.date=$.readDate(),this.crc32=$.readInt(4),this.compressedSize=$.readInt(4),this.uncompressedSize=$.readInt(4);var I=$.readInt(2);if(this.extraFieldsLength=$.readInt(2),this.fileCommentLength=$.readInt(2),this.diskNumberStart=$.readInt(2),this.internalFileAttributes=$.readInt(2),this.externalFileAttributes=$.readInt(4),this.localHeaderOffset=$.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");$.skip(I),this.readExtraFields($),this.parseZIP64ExtraField($),this.fileComment=$.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var $=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,$===wk0)this.dosPermissions=this.externalFileAttributes&63;if($===Zk0)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var $=_v(this.extraFields[1].value);if(this.uncompressedSize===B9.MAX_VALUE_32BITS)this.uncompressedSize=$.readInt(8);if(this.compressedSize===B9.MAX_VALUE_32BITS)this.compressedSize=$.readInt(8);if(this.localHeaderOffset===B9.MAX_VALUE_32BITS)this.localHeaderOffset=$.readInt(8);if(this.diskNumberStart===B9.MAX_VALUE_32BITS)this.diskNumberStart=$.readInt(4)},readExtraFields:function($){var I=$.index+this.extraFieldsLength,U,Y,J;if(!this.extraFields)this.extraFields={};while($.index+4{var zk0=jv(),z5=H4(),s$=Pv(),Lk0=Qs(),Dk0=V5();function Ks($){this.files=[],this.loadOptions=$}Ks.prototype={checkSignature:function($){if(!this.reader.readAndCheckSignature($)){this.reader.index-=4;var I=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+z5.pretty(I)+", expected "+z5.pretty($)+")")}},isSignature:function($,I){var U=this.reader.index;this.reader.setIndex($);var Y=this.reader.readString(4),J=Y===I;return this.reader.setIndex(U),J},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var $=this.reader.readData(this.zipCommentLength),I=Dk0.uint8array?"uint8array":"array",U=z5.transformTo(I,$);this.zipComment=this.loadOptions.decodeFileName(U)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var $=this.zip64EndOfCentralSize-44,I=0,U,Y,J;while(I<$)U=this.reader.readInt(2),Y=this.reader.readInt(4),J=this.reader.readData(Y),this.zip64ExtensibleData[U]={id:U,length:Y,value:J}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var $,I;for($=0;$0)if(this.isSignature(U,s$.CENTRAL_FILE_HEADER));else this.reader.zero=J;else if(J<0)throw Error("Corrupted zip: missing "+Math.abs(J)+" bytes.")},prepareReader:function($){this.reader=zk0($)},load:function($){this.prepareReader($),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};qs.exports=Ks});var Vs=O((tA1,Ws)=>{var Sv=H4(),nw=vU(),Ok0=jU(),Fk0=Gs(),Nk0=SB(),Hs=_2();function Mk0($){return new nw.Promise(function(I,U){var Y=$.decompressed.getContentWorker().pipe(new Nk0);Y.on("error",function(J){U(J)}).on("end",function(){if(Y.streamInfo.crc32!==$.decompressed.crc32)U(Error("Corrupted zip : CRC32 mismatch"));else I()}).resume()})}Ws.exports=function($,I){var U=this;if(I=Sv.extend(I||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Ok0.utf8decode}),Hs.isNode&&Hs.isStream($))return nw.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return Sv.prepareContent("the loaded zip file",$,!0,I.optimizedBinaryString,I.base64).then(function(Y){var J=new Fk0(I);return J.load(Y),J}).then(function(J){var Q=[nw.Promise.resolve(J)],K=J.files;if(I.checkCRC32)for(var q=0;q{function E$(){if(!(this instanceof E$))return new E$;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var $=new E$;for(var I in this)if(typeof this[I]!=="function")$[I]=this[I];return $}}E$.prototype=ia();E$.prototype.loadAsync=Vs();E$.support=V5();E$.defaults=CB();E$.version="3.10.1";E$.loadAsync=function($,I){return new E$().loadAsync($,I)};E$.external=vU();ws.exports=E$});var Os=O((sA1,Ds)=>{function Zs($,I){var U=Object.keys($);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols($);I&&(Y=Y.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),U.push.apply(U,Y)}return U}function Xs($){for(var I=1;I0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length}},{key:"unshift",value:function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J}},{key:"concat",value:function(U){if(this.length===0)return pw.alloc(0);var Y=pw.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)Ck0(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y}},{key:"consume",value:function(U,Y){var J;if(UK.length?K.length:U;if(q===K.length)Q+=K;else Q+=K.slice(0,U);if(U-=q,U===0){if(q===K.length)if(++J,Y.next)this.head=Y.next;else this.head=this.tail=null;else this.head=Y,Y.data=K.slice(q);break}++J}return this.length-=J,Q}},{key:"_getBuffer",value:function(U){var Y=pw.allocUnsafe(U),J=this.head,Q=1;J.data.copy(Y),U-=J.data.length;while(J=J.next){var K=J.data,q=U>K.length?K.length:U;if(K.copy(Y,Y.length-U,0,q),U-=q,U===0){if(q===K.length)if(++Q,J.next)this.head=J.next;else this.head=this.tail=null;else this.head=J,J.data=K.slice(q);break}++Q}return this.length-=Q,Y}},{key:Rk0,value:function(U,Y){return yv(this,Xs(Xs({},Y),{},{depth:0,customInspect:!1}))}}]),$}()});var xv=O((eA1,Ns)=>{function jk0($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)process.nextTick(hv,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(hv,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q)if(!U._writableState)process.nextTick(Fs,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,process.nextTick(Fs,U,Q);else process.nextTick(cw,U);else if(I)process.nextTick(cw,U),I(Q);else process.nextTick(cw,U)}),this}function Fs($,I){hv($,I),cw($)}function cw($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function _k0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function hv($,I){$.emit("error",I)}function Sk0($,I){var{_readableState:U,_writableState:Y}=$;if(U&&U.autoDestroy||Y&&Y.autoDestroy)$.destroy(I);else $.emit("error",I)}Ns.exports={destroy:jk0,undestroy:_k0,errorOrDestroy:Sk0}});var v9=O((xk0,Ps)=>{var As={};function B$($,I,U){if(!U)U=Error;function Y(Q,K,q){if(typeof I==="string")return I;else return I(Q,K,q)}class J extends U{constructor(Q,K,q){super(Y(Q,K,q))}}J.prototype.name=U.name,J.prototype.code=$,As[$]=J}function Ms($,I){if(Array.isArray($)){let U=$.length;if($=$.map((Y)=>String(Y)),U>2)return`one of ${I} ${$.slice(0,U-1).join(", ")}, or `+$[U-1];else if(U===2)return`one of ${I} ${$[0]} or ${$[1]}`;else return`of ${I} ${$[0]}`}else return`of ${I} ${String($)}`}function gk0($,I,U){return $.substr(!U||U<0?0:+U,I.length)===I}function yk0($,I,U){if(U===void 0||U>$.length)U=$.length;return $.substring(U-I.length,U)===I}function hk0($,I,U){if(typeof U!=="number")U=0;if(U+I.length>$.length)return!1;else return $.indexOf(I,U)!==-1}B$("ERR_INVALID_OPT_VALUE",function($,I){return'The value "'+I+'" is invalid for option "'+$+'"'},TypeError);B$("ERR_INVALID_ARG_TYPE",function($,I,U){let Y;if(typeof I==="string"&&gk0(I,"not "))Y="must not be",I=I.replace(/^not /,"");else Y="must be";let J;if(yk0($," argument"))J=`The ${$} ${Y} ${Ms(I,"type")}`;else{let Q=hk0($,".")?"property":"argument";J=`The "${$}" ${Q} ${Y} ${Ms(I,"type")}`}return J+=`. Received type ${typeof U}`,J},TypeError);B$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");B$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});B$("ERR_STREAM_PREMATURE_CLOSE","Premature close");B$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});B$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");B$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");B$("ERR_STREAM_WRITE_AFTER_END","write after end");B$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);B$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);B$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");xk0.codes=As});var kv=O(($P1,Ts)=>{var uk0=v9().codes.ERR_INVALID_OPT_VALUE;function fk0($,I,U){return $.highWaterMark!=null?$.highWaterMark:I?$[U]:null}function bk0($,I,U,Y){var J=fk0(I,Y,U);if(J!=null){if(!(isFinite(J)&&Math.floor(J)===J)||J<0){var Q=Y?U:"highWaterMark";throw new uk0(Q,J)}return Math.floor(J)}return $.objectMode?16:16384}Ts.exports={getHighWaterMark:bk0}});var bv=O((IP1,js)=>{js.exports=X4;function Bs($){var I=this;this.next=null,this.entry=null,this.finish=function(){Zu0(I,$)}}var cU;X4.WritableState=IK;var ik0={deprecate:u7()},vs=r("stream"),mw=r("buffer").Buffer,nk0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pk0($){return mw.from($)}function ck0($){return mw.isBuffer($)||$ instanceof nk0}var fv=xv(),dk0=kv(),mk0=dk0.getHighWaterMark,R9=v9().codes,lk0=R9.ERR_INVALID_ARG_TYPE,ok0=R9.ERR_METHOD_NOT_IMPLEMENTED,rk0=R9.ERR_MULTIPLE_CALLBACK,tk0=R9.ERR_STREAM_CANNOT_PIPE,ak0=R9.ERR_STREAM_DESTROYED,sk0=R9.ERR_STREAM_NULL_VALUES,ek0=R9.ERR_STREAM_WRITE_AFTER_END,$u0=R9.ERR_UNKNOWN_ENCODING,dU=fv.errorOrDestroy;p0()(X4,vs);function Iu0(){}function IK($,I,U){if(cU=cU||s7(),$=$||{},typeof U!=="boolean")U=I instanceof cU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=mk0(this,$,"writableHighWaterMark",U),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Y=$.decodeStrings===!1;this.decodeStrings=!Y,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(J){Gu0(I,J)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Bs(this)}IK.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(IK.prototype,"buffer",{get:ik0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var dw;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")dw=Function.prototype[Symbol.hasInstance],Object.defineProperty(X4,Symbol.hasInstance,{value:function(I){if(dw.call(this,I))return!0;if(this!==X4)return!1;return I&&I._writableState instanceof IK}});else dw=function(I){return I instanceof this};function X4($){cU=cU||s7();var I=this instanceof cU;if(!I&&!dw.call(X4,this))return new X4($);if(this._writableState=new IK($,this,I),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}vs.call(this)}X4.prototype.pipe=function(){dU(this,new tk0)};function Uu0($,I){var U=new ek0;dU($,U),process.nextTick(I,U)}function Yu0($,I,U,Y){var J;if(U===null)J=new sk0;else if(typeof U!=="string"&&!I.objectMode)J=new lk0("chunk",["string","Buffer"],U);if(J)return dU($,J),process.nextTick(Y,J),!1;return!0}X4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&ck0($);if(Q&&!mw.isBuffer($))$=pk0($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=Iu0;if(Y.ending)Uu0(this,U);else if(Q||Yu0(this,Y,$,U))Y.pendingcb++,J=Qu0(this,Y,Q,$,I,U);return J};X4.prototype.cork=function(){this._writableState.corked++};X4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)Rs(this,$)}};X4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw new $u0(I);return this._writableState.defaultEncoding=I,this};Object.defineProperty(X4.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ju0($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=mw.from(I,U);return I}Object.defineProperty(X4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Qu0($,I,U,Y,J,Q){if(!U){var K=Ju0(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var Xu0=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};Ss.exports=E8;var _s=nv(),iv=bv();p0()(E8,_s);{lw=Xu0(iv.prototype);for(UK=0;UK{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var ow=r("buffer"),B8=ow.Buffer;function gs($,I){for(var U in $)I[U]=$[U]}if(B8.from&&B8.alloc&&B8.allocUnsafe&&B8.allocUnsafeSlow)ys.exports=ow;else gs(ow,pv),pv.Buffer=e7;function e7($,I,U){return B8($,I,U)}e7.prototype=Object.create(B8.prototype);gs(B8,e7);e7.from=function($,I,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return B8($,I,U)};e7.alloc=function($,I,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var Y=B8($);if(I!==void 0)if(typeof U==="string")Y.fill(I,U);else Y.fill(I);else Y.fill(0);return Y};e7.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return B8($)};e7.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return ow.SlowBuffer($)}});var mv=O((ju0)=>{var dv=hs().Buffer,xs=dv.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Du0($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function Ou0($){var I=Du0($);if(typeof I!=="string"&&(dv.isEncoding===xs||!xs($)))throw Error("Unknown encoding: "+$);return I||$}ju0.StringDecoder=JK;function JK($){this.encoding=Ou0($);var I;switch(this.encoding){case"utf16le":this.text=Tu0,this.end=Eu0,I=4;break;case"utf8":this.fillLast=Mu0,I=4;break;case"base64":this.text=Bu0,this.end=vu0,I=3;break;default:this.write=Ru0,this.end=Cu0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=dv.allocUnsafe(I)}JK.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};JK.prototype.end=Pu0;JK.prototype.text=Au0;JK.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function cv($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function Fu0($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function Nu0($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function Mu0($){var I=this.lastTotal-this.lastNeed,U=Nu0(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function Au0($,I){var U=Fu0(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function Pu0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function Tu0($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function Eu0($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function Bu0($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function vu0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function Ru0($){return $.toString(this.encoding)}function Cu0($){return $&&$.length?this.write($):""}});var rw=O((JP1,fs)=>{var ks=v9().codes.ERR_STREAM_PREMATURE_CLOSE;function Su0($){var I=!1;return function(){if(I)return;I=!0;for(var U=arguments.length,Y=Array(U),J=0;J{var tw;function C9($,I,U){if(I=hu0(I),I in $)Object.defineProperty($,I,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[I]=U;return $}function hu0($){var I=xu0($,"string");return typeof I==="symbol"?I:String(I)}function xu0($,I){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var Y=U.call($,I||"default");if(typeof Y!=="object")return Y;throw TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)($)}var ku0=rw(),j9=Symbol("lastResolve"),$3=Symbol("lastReject"),QK=Symbol("error"),aw=Symbol("ended"),I3=Symbol("lastPromise"),lv=Symbol("handlePromise"),U3=Symbol("stream");function _9($,I){return{value:$,done:I}}function uu0($){var I=$[j9];if(I!==null){var U=$[U3].read();if(U!==null)$[I3]=null,$[j9]=null,$[$3]=null,I(_9(U,!1))}}function fu0($){process.nextTick(uu0,$)}function bu0($,I){return function(U,Y){$.then(function(){if(I[aw]){U(_9(void 0,!0));return}I[lv](U,Y)},Y)}}var iu0=Object.getPrototypeOf(function(){}),nu0=Object.setPrototypeOf((tw={get stream(){return this[U3]},next:function(){var I=this,U=this[QK];if(U!==null)return Promise.reject(U);if(this[aw])return Promise.resolve(_9(void 0,!0));if(this[U3].destroyed)return new Promise(function(K,q){process.nextTick(function(){if(I[QK])q(I[QK]);else K(_9(void 0,!0))})});var Y=this[I3],J;if(Y)J=new Promise(bu0(Y,this));else{var Q=this[U3].read();if(Q!==null)return Promise.resolve(_9(Q,!1));J=new Promise(this[lv])}return this[I3]=J,J}},C9(tw,Symbol.asyncIterator,function(){return this}),C9(tw,"return",function(){var I=this;return new Promise(function(U,Y){I[U3].destroy(null,function(J){if(J){Y(J);return}U(_9(void 0,!0))})})}),tw),iu0),pu0=function(I){var U,Y=Object.create(nu0,(U={},C9(U,U3,{value:I,writable:!0}),C9(U,j9,{value:null,writable:!0}),C9(U,$3,{value:null,writable:!0}),C9(U,QK,{value:null,writable:!0}),C9(U,aw,{value:I._readableState.endEmitted,writable:!0}),C9(U,lv,{value:function(Q,K){var q=Y[U3].read();if(q)Y[I3]=null,Y[j9]=null,Y[$3]=null,Q(_9(q,!1));else Y[j9]=Q,Y[$3]=K},writable:!0}),U));return Y[I3]=null,ku0(I,function(J){if(J&&J.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Q=Y[$3];if(Q!==null)Y[I3]=null,Y[j9]=null,Y[$3]=null,Q(J);Y[QK]=J;return}var K=Y[j9];if(K!==null)Y[I3]=null,Y[j9]=null,Y[$3]=null,K(_9(void 0,!0));Y[aw]=!0}),I.on("readable",fu0.bind(null,Y)),Y};bs.exports=pu0});var ds=O((KP1,cs)=>{function ns($,I,U,Y,J,Q,K){try{var q=$[Q](K),G=q.value}catch(H){U(H);return}if(q.done)I(G);else Promise.resolve(G).then(Y,J)}function cu0($){return function(){var I=this,U=arguments;return new Promise(function(Y,J){var Q=$.apply(I,U);function K(G){ns(Q,Y,J,K,q,"next",G)}function q(G){ns(Q,Y,J,K,q,"throw",G)}K(void 0)})}}function ps($,I){var U=Object.keys($);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols($);I&&(Y=Y.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),U.push.apply(U,Y)}return U}function du0($){for(var I=1;I{Ie.exports=z1;var mU;z1.ReadableState=rs;var qP1=r("events").EventEmitter,os=function(I,U){return I.listeners(U).length},qK=r("stream"),sw=r("buffer").Buffer,au0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function su0($){return sw.from($)}function eu0($){return sw.isBuffer($)||$ instanceof au0}var ov=r("util"),U1;if(ov&&ov.debuglog)U1=ov.debuglog("stream");else U1=function(){};var $f0=Os(),IR=xv(),If0=kv(),Uf0=If0.getHighWaterMark,ew=v9().codes,Yf0=ew.ERR_INVALID_ARG_TYPE,Jf0=ew.ERR_STREAM_PUSH_AFTER_EOF,Qf0=ew.ERR_METHOD_NOT_IMPLEMENTED,Kf0=ew.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,lU,rv,tv;p0()(z1,qK);var KK=IR.errorOrDestroy,av=["error","close","destroy","pause","resume"];function qf0($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(Array.isArray($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function rs($,I,U){if(mU=mU||s7(),$=$||{},typeof U!=="boolean")U=I instanceof mU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=Uf0(this,$,"readableHighWaterMark",U),this.buffer=new $f0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!lU)lU=mv().StringDecoder;this.decoder=new lU($.encoding),this.encoding=$.encoding}}function z1($){if(mU=mU||s7(),!(this instanceof z1))return new z1($);var I=this instanceof mU;if(this._readableState=new rs($,this,I),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}qK.call(this)}Object.defineProperty(z1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(I){if(!this._readableState)return;this._readableState.destroyed=I}});z1.prototype.destroy=IR.destroy;z1.prototype._undestroy=IR.undestroy;z1.prototype._destroy=function($,I){I($)};z1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=sw.from($,I),I="";Y=!0}}else Y=!0;return ts(this,$,I,!1,Y)};z1.prototype.unshift=function($){return ts(this,$,null,!0,!1)};function ts($,I,U,Y,J){U1("readableAddChunk",I);var Q=$._readableState;if(I===null)Q.reading=!1,Wf0($,Q);else{var K;if(!J)K=Gf0(Q,I);if(K)KK($,K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==sw.prototype)I=su0(I);if(Y)if(Q.endEmitted)KK($,new Kf0);else sv($,Q,I,!0);else if(Q.ended)KK($,new Jf0);else if(Q.destroyed)return!1;else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)sv($,Q,I,!1);else $R($,Q);else sv($,Q,I,!1)}else if(!Y)Q.reading=!1,$R($,Q)}return!Q.ended&&(Q.length=ms)$=ms;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function ls($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=Hf0($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}z1.prototype.read=function($){U1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&((I.highWaterMark!==0?I.length>=I.highWaterMark:I.length>0)||I.ended)){if(U1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)ev(this);else $Z(this);return null}if($=ls($,I),$===0&&I.ended){if(I.length===0)ev(this);return null}var Y=I.needReadable;if(U1("need readable",Y),I.length===0||I.length-$0)J=es($,I);else J=null;if(J===null)I.needReadable=I.length<=I.highWaterMark,$=0;else I.length-=$,I.awaitDrain=0;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)ev(this)}if(J!==null)this.emit("data",J);return J};function Wf0($,I){if(U1("onEofChunk"),I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}if(I.ended=!0,I.sync)$Z($);else if(I.needReadable=!1,!I.emittedReadable)I.emittedReadable=!0,as($)}function $Z($){var I=$._readableState;if(U1("emitReadable",I.needReadable,I.emittedReadable),I.needReadable=!1,!I.emittedReadable)U1("emitReadable",I.flowing),I.emittedReadable=!0,process.nextTick(as,$)}function as($){var I=$._readableState;if(U1("emitReadable_",I.destroyed,I.length,I.ended),!I.destroyed&&(I.length||I.ended))$.emit("readable"),I.emittedReadable=!1;I.needReadable=!I.flowing&&!I.ended&&I.length<=I.highWaterMark,UR($)}function $R($,I){if(!I.readingMore)I.readingMore=!0,process.nextTick(Vf0,$,I)}function Vf0($,I){while(!I.reading&&!I.ended&&(I.length1&&$e(Y.pipes,$)!==-1)&&!H)U1("false write response, pause",Y.awaitDrain),Y.awaitDrain++;U.pause()}}function w(D){if(U1("onerror",D),L(),$.removeListener("error",w),os($,"error")===0)KK($,D)}qf0($,"error",w);function Z(){$.removeListener("finish",z),L()}$.once("close",Z);function z(){U1("onfinish"),$.removeListener("close",Z),L()}$.once("finish",z);function L(){U1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)U1("pipe resume"),U.resume();return $};function wf0($){return function(){var U=$._readableState;if(U1("pipeOnDrain",U.awaitDrain),U.awaitDrain)U.awaitDrain--;if(U.awaitDrain===0&&os($,"data"))U.flowing=!0,UR($)}}z1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q0,Y.flowing!==!1)this.resume()}else if($==="readable"){if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.flowing=!1,Y.emittedReadable=!1,U1("on readable",Y.length,Y.reading),Y.length)$Z(this);else if(!Y.reading)process.nextTick(Zf0,this)}}return U};z1.prototype.addListener=z1.prototype.on;z1.prototype.removeListener=function($,I){var U=qK.prototype.removeListener.call(this,$,I);if($==="readable")process.nextTick(ss,this);return U};z1.prototype.removeAllListeners=function($){var I=qK.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(ss,this);return I};function ss($){var I=$._readableState;if(I.readableListening=$.listenerCount("readable")>0,I.resumeScheduled&&!I.paused)I.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function Zf0($){U1("readable nexttick read 0"),$.read(0)}z1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)U1("resume"),$.flowing=!$.readableListening,Xf0(this,$);return $.paused=!1,this};function Xf0($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,process.nextTick(zf0,$,I)}function zf0($,I){if(U1("resume",I.reading),!I.reading)$.read(0);if(I.resumeScheduled=!1,$.emit("resume"),UR($),I.flowing&&!I.reading)$.read(0)}z1.prototype.pause=function(){if(U1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)U1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function UR($){var I=$._readableState;U1("flow",I.flowing);while(I.flowing&&$.read()!==null);}z1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(U1("wrapped end"),U.decoder&&!U.ended){var K=U.decoder.end();if(K&&K.length)I.push(K)}I.push(null)}),$.on("data",function(K){if(U1("wrapped data"),U.decoder)K=U.decoder.write(K);if(U.objectMode&&(K===null||K===void 0))return;else if(!U.objectMode&&(!K||!K.length))return;var q=I.push(K);if(!q)Y=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(q){return function(){return $[q].apply($,arguments)}}(J);for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.first();else U=I.buffer.concat(I.length);I.buffer.clear()}else U=I.buffer.consume($,I.decoder);return U}function ev($){var I=$._readableState;if(U1("endReadable",I.endEmitted),!I.endEmitted)I.ended=!0,process.nextTick(Lf0,I,$)}function Lf0($,I){if(U1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,I.readable=!1,I.emit("end"),$.autoDestroy){var U=I._writableState;if(!U||U.autoDestroy&&U.finished)I.destroy()}}}if(typeof Symbol==="function")z1.from=function($,I){if(tv===void 0)tv=ds();return tv(z1,$,I)};function $e($,I){for(var U=0,Y=$.length;U{Ye.exports=L5;var IZ=v9().codes,Df0=IZ.ERR_METHOD_NOT_IMPLEMENTED,Of0=IZ.ERR_MULTIPLE_CALLBACK,Ff0=IZ.ERR_TRANSFORM_ALREADY_TRANSFORMING,Nf0=IZ.ERR_TRANSFORM_WITH_LENGTH_0,UZ=s7();p0()(L5,UZ);function Mf0($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(Y===null)return this.emit("error",new Of0);if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{Qe.exports=GK;var Je=YR();p0()(GK,Je);function GK($){if(!(this instanceof GK))return new GK($);Je.call(this,$)}GK.prototype._transform=function($,I,U){U(null,$)}});var Ve=O((VP1,We)=>{var JR;function Pf0($){var I=!1;return function(){if(I)return;I=!0,$.apply(void 0,arguments)}}var He=v9().codes,Tf0=He.ERR_MISSING_ARGS,Ef0=He.ERR_STREAM_DESTROYED;function qe($){if($)throw $}function Bf0($){return $.setHeader&&typeof $.abort==="function"}function vf0($,I,U,Y){Y=Pf0(Y);var J=!1;if($.on("close",function(){J=!0}),JR===void 0)JR=rw();JR($,{readable:I,writable:U},function(K){if(K)return Y(K);J=!0,Y()});var Q=!1;return function(K){if(J)return;if(Q)return;if(Q=!0,Bf0($))return $.abort();if(typeof $.destroy==="function")return $.destroy();Y(K||new Ef0("pipe"))}}function Ge($){$()}function Rf0($,I){return $.pipe(I)}function Cf0($){if(!$.length)return qe;if(typeof $[$.length-1]!=="function")return qe;return $.pop()}function jf0(){for(var $=arguments.length,I=Array($),U=0;U<$;U++)I[U]=arguments[U];var Y=Cf0(I);if(Array.isArray(I[0]))I=I[0];if(I.length<2)throw new Tf0("streams");var J,Q=I.map(function(K,q){var G=q0;return vf0(K,G,H,function(W){if(!J)J=W;if(W)Q.forEach(Ge);if(G)return;Q.forEach(Ge),Y(J)})});return I.reduce(Rf0)}We.exports=jf0});var z6=O((v$,WK)=>{var HK=r("stream");if(process.env.READABLE_STREAM==="disable"&&HK)WK.exports=HK.Readable,Object.assign(WK.exports,HK),WK.exports.Stream=HK;else v$=WK.exports=nv(),v$.Stream=HK||v$,v$.Readable=v$,v$.Writable=bv(),v$.Duplex=s7(),v$.Transform=YR(),v$.PassThrough=Ke(),v$.finished=rw(),v$.pipeline=Ve()});var L6=O((wP1,Xe)=>{var we=r("fs"),_f0=function($,I,U,Y){if($.super_=I,!Y)Y=U,U=null;if(U)Object.keys(U).forEach((Q)=>{Object.defineProperty($,Q,Object.getOwnPropertyDescriptor(U,Q))});let J={constructor:{value:$,enumerable:!1,writable:!1,configurable:!0}};if(Y)Object.keys(Y).forEach((Q)=>{J[Q]=Object.getOwnPropertyDescriptor(Y,Q)});$.prototype=Object.create(I.prototype,J)},Sf0=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,Ze={nop(){},promiseImmediate($){return new Promise((I)=>{if(global.setImmediate)setImmediate(()=>{I($)});else setTimeout(()=>{I($)},1)})},inherits:_f0,dateToExcel($,I){return 25569+$.getTime()/86400000-(I?1462:0)},excelToDate($,I){let U=Math.round(($-25569+(I?1462:0))*24*3600*1000);return new Date(U)},parsePath($){let I=$.lastIndexOf("/");return{path:$.substring(0,I),name:$.substring(I+1)}},getRelsPath($){let I=Ze.parsePath($);return`${I.path}/_rels/${I.name}.rels`},xmlEncode($){let I=Sf0.exec($);if(!I)return $;let U="",Y="",J=0,Q=I.index;for(;Q<$.length;Q++){let K=$.charCodeAt(Q);switch(K){case 34:Y=""";break;case 38:Y="&";break;case 39:Y="'";break;case 60:Y="<";break;case 62:Y=">";break;case 127:Y="";break;default:{if(K<=31&&(K<=8||K>=11&&K!==13)){Y="";break}continue}}if(J!==Q)U+=$.substring(J,Q);if(J=Q+1,Y)U+=Y}if(J!==Q)return U+$.substring(J,Q);return U},xmlDecode($){return $.replace(/&([a-z]*);/g,(I)=>{switch(I){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return I}})},validInt($){let I=parseInt($,10);return!Number.isNaN(I)?I:0},isDateFmt($){if(!$)return!1;return $=$.replace(/\[[^\]]*]/g,""),$=$.replace(/"[^"]*"/g,""),$.match(/[ymdhMsb]+/)!==null},fs:{exists($){return new Promise((I)=>{we.access($,we.constants.F_OK,(U)=>{I(!U)})})}},toIsoDateString($){return $.toIsoString().subsstr(0,10)},parseBoolean($){return $===!0||$==="true"||$===1||$==="1"}};Xe.exports=Ze});var QR=O((ZP1,Le)=>{class ze{constructor($){this._buf=Buffer.alloc($&&$.size||16384),this._encoding=$&&$.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){if(!this._buffer)this._buffer=Buffer.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length);return this._buffer}reset($){$=$||0,this._buffer=void 0,this._inPos=$}_grow($){let I=this._buf.length*2;while(I<$)I*=2;let U=Buffer.alloc(I);this._buf.copy(U,0),this._buf=U}addText($){this._buffer=void 0;let I=this._inPos+this._buf.write($,this._inPos,this._encoding);while(I>=this._buf.length-4)this._grow(this._inPos+$.length),I=this._inPos+this._buf.write($,this._inPos,this._encoding);this._inPos=I}addStringBuf($){if($.length){if(this._buffer=void 0,this.length+$.length>this.capacity)this._grow(this.length+$.length);$._buf.copy(this._buf,this._inPos,0,$.length),this._inPos+=$.length}}}Le.exports=ze});var VK=O((XP1,Pe)=>{var gf0=z6(),De=L6(),yf0=QR();class Oe{constructor($,I){this._data=$,this._encoding=I}get length(){return this.toBuffer().length}copy($,I,U,Y){return this.toBuffer().copy($,I,U,Y)}toBuffer(){if(!this._buffer)this._buffer=Buffer.from(this._data,this._encoding);return this._buffer}}class Fe{constructor($){this._data=$}get length(){return this._data.length}copy($,I,U,Y){return this._data._buf.copy($,I,U,Y)}toBuffer(){return this._data.toBuffer()}}class Ne{constructor($){this._data=$}get length(){return this._data.length}copy($,I,U,Y){this._data.copy($,I,U,Y)}toBuffer(){return this._data}}class Me{constructor($){this.size=$,this.buffer=Buffer.alloc($),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;let $=Buffer.alloc(this.iWrite-this.iRead);return this.buffer.copy($,0,this.iRead,this.iWrite),$}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read($){let I;if($===0)return null;if($===void 0||$>=this.length)return I=this.toBuffer(),this.iRead=this.iWrite,I;return I=Buffer.alloc($),this.buffer.copy(I,0,this.iRead,$),this.iRead+=$,I}write($,I,U){let Y=Math.min(U,this.size-this.iWrite);return $.copy(this.buffer,this.iWrite,I,I+Y),this.iWrite+=Y,Y}}var Ae=function($){$=$||{},this.bufSize=$.bufSize||1048576,this.buffers=[],this.batch=$.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};De.inherits(Ae,gf0.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return Buffer.concat(this.buffers.map(($)=>$.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){let I=this.buffers[this.buffers.length-1];if(!I.full)return I}let $=new Me(this.bufSize);return this.buffers.push($),$},async _pipe($){let I=function(U){return new Promise((Y)=>{U.write($.toBuffer(),()=>{Y()})})};await Promise.all(this.pipes.map(I))},_writeToBuffers($){let I=0,U=$.length;while(I1)this._pipe(this.buffers.shift())}else if(!this.corked)await this._pipe(Y),U();else this._writeToBuffers(Y),process.nextTick(U);else{if(!this.paused)this.emit("data",Y.toBuffer());this._writeToBuffers(Y),this.emit("readable")}return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)while(this.buffers.length)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end($,I,U){let Y=(J)=>{if(J)U(J);else this._flush(),this.pipes.forEach((Q)=>{Q.end()}),this.emit("finish")};if($)this.write($,I,Y);else Y()},read($){let I;if($){I=[];while($&&this.buffers.length&&!this.buffers[0].eod){let U=this.buffers[0],Y=U.read($);if($-=Y.length,I.push(Y),U.eod&&U.full)this.buffers.shift()}return Buffer.concat(I)}return I=this.buffers.map((U)=>U.toBuffer()).filter(Boolean),this.buffers=[],Buffer.concat(I)},setEncoding($){this.encoding=$},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe($){if(this.pipes.push($),!this.paused&&this.buffers.length)this.end()},unpipe($){this.pipes=this.pipes.filter((I)=>I!==$)},unshift(){throw Error("Not Implemented")},wrap(){throw Error("Not Implemented")}});Pe.exports=Ae});var Be=O((xf0)=>{var Te=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:Ee}=r("buffer");function hf0($){if(typeof $!=="string")return $;if(Te)return Ee.from(Te.encode($).buffer);return Ee.from($)}xf0.stringToBuffer=hf0});var Ce=O((DP1,Re)=>{var uf0=r("events"),ff0=gv(),bf0=VK(),{stringToBuffer:LP1}=Be();class ve extends uf0.EventEmitter{constructor($){super();this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},$),this.zip=new ff0,this.stream=new bf0}append($,I){if(I.hasOwnProperty("base64")&&I.base64)this.zip.file(I.name,$,{base64:!0});else this.zip.file(I.name,$)}async finalize(){let $=await this.zip.generateAsync(this.options);this.stream.end($),this.emit("finish")}read($){return this.stream.read($)}setEncoding($){return this.stream.setEncoding($)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe($,I){return this.stream.pipe($,I)}unpipe($){return this.stream.unpipe($)}unshift($){return this.stream.unshift($)}wrap($){return this.stream.wrap($)}}Re.exports={ZipWriter:ve}});var $6=O((OP1,Se)=>{var if0=Z4(),je=L6();function _e($,I,U){$.push(` ${I}="${je.xmlEncode(U.toString())}"`)}function KR($,I){if(I){let U=[];if0.each(I,(Y,J)=>{if(Y!==void 0)_e(U,J,Y)}),$.push(U.join(""))}}class qR{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml($){let I=this._xml;I.push(" +`)}openNode($,I){let U=this.tos,Y=this._xml;if(U&&this.open)Y.push(">");this._stack.push($),Y.push("<"),Y.push($),KR(Y,I),this.leaf=!0,this.open=!0}addAttribute($,I){if(!this.open)throw Error("Cannot write attributes to node if it is not open");if(I!==void 0)_e(this._xml,$,I)}addAttributes($){if(!this.open)throw Error("Cannot write attributes to node if it is not open");KR(this._xml,$)}writeText($){let I=this._xml;if(this.open)I.push(">"),this.open=!1;this.leaf=!1,I.push(je.xmlEncode($.toString()))}writeXml($){if(this.open)this._xml.push(">"),this.open=!1;this.leaf=!1,this._xml.push($)}closeNode(){let $=this._stack.pop(),I=this._xml;if(this.leaf)I.push("/>");else I.push("");this.open=!1,this.leaf=!1}leafNode($,I,U){if(this.openNode($,I),U!==void 0)this.writeText(U);this.closeNode()}closeAll(){while(this._stack.length)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let $=this._rollbacks.pop();if(this._xml.length>$.xml)this._xml.splice($.xml,this._xml.length-$.xml);if(this._stack.length>$.stack)this._stack.splice($.stack,this._stack.length-$.stack);this.leaf=$.leaf,this.open=$.open}get xml(){return this.closeAll(),this._xml.join("")}}qR.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"};Se.exports=qR});var GR=O((pf0)=>{var ge=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function nf0($){if(typeof $==="string")return $;if(ge)return ge.decode($);return $.toString()}pf0.bufferToString=nf0});var ue=O((he)=>{Object.defineProperty(he,"__esModule",{value:!0});he.CHAR=` +\r -퟿-�\uD800\uDC00-\uDBFF\uDFFF`;he.S=` \r +`;he.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";he.NAME_CHAR="-"+he.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";he.CHAR_RE=new RegExp("^["+he.CHAR+"]$","u");he.S_RE=new RegExp("^["+he.S+"]+$","u");he.NAME_START_CHAR_RE=new RegExp("^["+he.NAME_START_CHAR+"]$","u");he.NAME_CHAR_RE=new RegExp("^["+he.NAME_CHAR+"]$","u");he.NAME_RE=new RegExp("^["+he.NAME_START_CHAR+"]["+he.NAME_CHAR+"]*$","u");he.NMTOKEN_RE=new RegExp("^["+he.NAME_CHAR+"]+$","u");var HR=9,WR=10,VR=13,wR=32;he.S_LIST=[wR,WR,VR,HR];function df0($){return $>=wR&&$<=55295||$===WR||$===VR||$===HR||$>=57344&&$<=65533||$>=65536&&$<=1114111}he.isChar=df0;function mf0($){return $===wR||$===WR||$===VR||$===HR}he.isS=mf0;function ye($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}he.isNameStartChar=ye;function lf0($){return ye($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}he.isNameChar=lf0});var oe=O((ce)=>{Object.defineProperty(ce,"__esModule",{value:!0});ce.CHAR="\x01-퟿-�\uD800\uDC00-\uDBFF\uDFFF";ce.RESTRICTED_CHAR="\x01-\b\v\f\x0E-\x1F-„†-Ÿ";ce.S=` \r +`;ce.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";ce.NAME_CHAR="-"+ce.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";ce.CHAR_RE=new RegExp("^["+ce.CHAR+"]$","u");ce.RESTRICTED_CHAR_RE=new RegExp("^["+ce.RESTRICTED_CHAR+"]$","u");ce.S_RE=new RegExp("^["+ce.S+"]+$","u");ce.NAME_START_CHAR_RE=new RegExp("^["+ce.NAME_START_CHAR+"]$","u");ce.NAME_CHAR_RE=new RegExp("^["+ce.NAME_CHAR+"]$","u");ce.NAME_RE=new RegExp("^["+ce.NAME_START_CHAR+"]["+ce.NAME_CHAR+"]*$","u");ce.NMTOKEN_RE=new RegExp("^["+ce.NAME_CHAR+"]+$","u");var fe=9,be=10,ie=13,ne=32;ce.S_LIST=[ne,be,ie,fe];function Qb0($){return $>=1&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}ce.isChar=Qb0;function Kb0($){return $>=1&&$<=8||$===11||$===12||$>=14&&$<=31||$>=127&&$<=132||$>=134&&$<=159}ce.isRestrictedChar=Kb0;function qb0($){return $===9||$===10||$===13||$>31&&$<127||$===133||$>159&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}ce.isCharAndNotRestricted=qb0;function Gb0($){return $===ne||$===be||$===ie||$===fe}ce.isS=Gb0;function pe($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}ce.isNameStartChar=pe;function Hb0($){return pe($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}ce.isNameChar=Hb0});var ae=O((te)=>{Object.defineProperty(te,"__esModule",{value:!0});te.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";te.NC_NAME_CHAR="-"+te.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";te.NC_NAME_START_CHAR_RE=new RegExp("^["+te.NC_NAME_START_CHAR+"]$","u");te.NC_NAME_CHAR_RE=new RegExp("^["+te.NC_NAME_CHAR+"]$","u");te.NC_NAME_RE=new RegExp("^["+te.NC_NAME_START_CHAR+"]["+te.NC_NAME_CHAR+"]*$","u");function re($){return $>=65&&$<=90||$===95||$>=97&&$<=122||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8204&&$<=8205||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}te.isNCNameStartChar=re;function Tb0($){return re($)||($===45||$===46||$>=48&&$<=57||$===183||$>=768&&$<=879||$>=8255&&$<=8256)}te.isNCNameChar=Tb0});var F00=O((O00)=>{Object.defineProperty(O00,"__esModule",{value:!0});var sU=ue(),jb0=oe(),BR=ae(),p6=sU.isS,_b0=sU.isChar,wK=sU.isNameStartChar,se=sU.isNameChar,w00=sU.S_LIST,Sb0=sU.NAME_RE,gb0=jb0.isChar,yb0=BR.isNCNameStartChar,hb0=BR.isNCNameChar,xb0=BR.NC_NAME_RE,ZZ="http://www.w3.org/XML/1998/namespace",aU="http://www.w3.org/2000/xmlns/",kb0={__proto__:null,xml:ZZ,xmlns:aU},ub0={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},Q4=-1,v8=-2,ee=0,fb0=1,XR=2,bb0=3,oU=4,ib0=5,nb0=6,pb0=7,zR=8,cb0=9,db0=10,mb0=11,lb0=12,C6=13,GZ=14,LR=15,ob0=16,DR=17,rb0=18,tb0=19,OR=20,ab0=21,sb0=22,eb0=23,$00=24,FR=25,HZ=26,I00=27,$i0=28,Ii0=29,U00=30,Ui0=31,Yi0=32,Y3=33,Ji0=34,NR=35,ZK=36,MR=37,Qi0=38,Y00=39,J00=40,Ki0=41,Q00=42,qi0=43,Gi0=44,AR=9,e$=10,PR=13,K00=32,q00=33,Z00=34,XK=38,X00=39,WZ=45,VZ=47,Hi0=59,S9=60,rU=61,g4=62,I6=63,z00=91,tU=93,G00=133,H00=8232,wZ=($)=>$===Z00||$===X00,L00=[Z00,X00],Wi0=[...L00,z00,g4],Vi0=[...L00,S9,tU],wi0=[rU,I6,...w00],Zi0=[...w00,g4,XK,S9];function ER($,I,U){switch(I){case"xml":if(U!==ZZ)$.fail(`xml prefix must be bound to ${ZZ}.`);break;case"xmlns":if(U!==aU)$.fail(`xmlns prefix must be bound to ${aU}.`);break;default:}switch(U){case aU:$.fail(I===""?`the default namespace may not be set to ${U}.`:`may not assign a prefix (even "xmlns") to the URI ${aU}.`);break;case ZZ:switch(I){case"xml":break;case"":$.fail(`the default namespace may not be set to ${U}.`);break;default:$.fail("may not assign the xml namespace to another prefix.")}break;default:}}function Xi0($,I){for(let U of Object.keys(I))ER($,U,I[U])}var zi0=($)=>xb0.test($),Li0=($)=>Sb0.test($),J3=0,W00=1,TR=2;O00.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var V00={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class D00{constructor($){this.opt=$!==null&&$!==void 0?$:{},this.fragmentOpt=!!this.opt.fragment;let I=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,I){this.nameStartCheck=yb0,this.nameCheck=hb0,this.isName=zi0,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},kb0);let U=this.opt.additionalNamespaces;if(U!=null)Xi0(this,U),Object.assign(this.ns,U)}else this.nameStartCheck=wK,this.nameCheck=se,this.isName=Li0,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var $;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=J3,this.attribList=[];let{fragmentOpt:I}=this;this.state=I?C6:ee,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=I,this.xmlDeclPossible=!I,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:U}=this.opt;if(U===void 0){if(this.opt.forceXMLVersion===!0)throw Error("forceXMLVersion set but defaultXMLVersion is not set");U="1.0"}this.setXMLVersion(U),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(ub0),($=this.readyHandler)===null||$===void 0||$.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on($,I){this[V00[$]]=I}off($){this[V00[$]]=void 0}makeError($){var I;let U=(I=this.fileName)!==null&&I!==void 0?I:"";if(this.trackPosition){if(U.length>0)U+=":";U+=`${this.line}:${this.column}`}if(U.length>0)U+=": ";return Error(U+$)}fail($){let I=this.makeError($),U=this.errorHandler;if(U===void 0)throw I;else U(I);return this}write($){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let I=!1;if($===null)I=!0,$="";else if(typeof $==="object")$=$.toString();if(this.carriedFromPrevious!==void 0)$=`${this.carriedFromPrevious}${$}`,this.carriedFromPrevious=void 0;let U=$.length,Y=$.charCodeAt(U-1);if(!I&&(Y===PR||Y>=55296&&Y<=56319))this.carriedFromPrevious=$[U-1],U--,$=$.slice(0,U);let{stateTable:J}=this;this.chunk=$,this.i=0;while(this.i=$.length)return Q4;let U=$.charCodeAt(I);if(this.column++,U<55296){if(U>=K00||U===AR)return U;switch(U){case e$:return this.line++,this.column=0,this.positionAtNewLine=this.position,e$;case PR:if($.charCodeAt(I+1)===e$)this.i=I+2;return this.line++,this.column=0,this.positionAtNewLine=this.position,v8;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let Y=65536+(U-55296)*1024+($.charCodeAt(I+1)-56320);if(this.i=I+2,Y>1114111)this.fail("disallowed character.");return Y}getCode11(){let{chunk:$,i:I}=this;if(this.prevI=I,this.i=I+1,I>=$.length)return Q4;let U=$.charCodeAt(I);if(this.column++,U<55296){if(U>31&&U<127||U>159&&U!==H00||U===AR)return U;switch(U){case e$:return this.line++,this.column=0,this.positionAtNewLine=this.position,e$;case PR:{let J=$.charCodeAt(I+1);if(J===e$||J===G00)this.i=I+2}case G00:case H00:return this.line++,this.column=0,this.positionAtNewLine=this.position,v8;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let Y=65536+(U-55296)*1024+($.charCodeAt(I+1)-56320);if(this.i=I+2,Y>1114111)this.fail("disallowed character.");return Y}getCodeNorm(){let $=this.getCode();return $===v8?e$:$}unget(){this.i=this.prevI,this.column--}captureTo($){let{i:I}=this,{chunk:U}=this;while(!0){let Y=this.getCode(),J=Y===v8,Q=J?e$:Y;if(Q===Q4||$.includes(Q))return this.text+=U.slice(I,this.prevI),Q;if(J)this.text+=`${U.slice(I,this.prevI)} +`,I=this.i}}captureToChar($){let{i:I}=this,{chunk:U}=this;while(!0){let Y=this.getCode();switch(Y){case v8:this.text+=`${U.slice(I,this.prevI)} +`,I=this.i,Y=e$;break;case Q4:return this.text+=U.slice(I),!1;default:}if(Y===$)return this.text+=U.slice(I,this.prevI),!0}}captureNameChars(){let{chunk:$,i:I}=this;while(!0){let U=this.getCode();if(U===Q4)return this.name+=$.slice(I),Q4;if(!se(U))return this.name+=$.slice(I,this.prevI),U===v8?e$:U}}skipSpaces(){while(!0){let $=this.getCodeNorm();if($===Q4||!p6($))return $}}setXMLVersion($){if(this.currentXMLVersion=$,$==="1.0")this.isChar=_b0,this.getCode=this.getCode10;else this.isChar=gb0,this.getCode=this.getCode11}sBegin(){if(this.chunk.charCodeAt(0)===65279)this.i++,this.column++;this.state=fb0}sBeginWhitespace(){let $=this.i,I=this.skipSpaces();if(this.prevI!==$)this.xmlDeclPossible=!1;switch(I){case S9:if(this.state=LR,this.text.length!==0)throw Error("no-empty text at start");break;case Q4:break;default:this.unget(),this.state=C6,this.xmlDeclPossible=!1}}sDoctype(){var $;let I=this.captureTo(Wi0);switch(I){case g4:{($=this.doctypeHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C6,this.doctype=!0;break}case Q4:break;default:if(this.text+=String.fromCodePoint(I),I===z00)this.state=oU;else if(wZ(I))this.state=bb0,this.q=I}}sDoctypeQuote(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.q=null,this.state=XR}sDTD(){let $=this.captureTo(Vi0);if($===Q4)return;if(this.text+=String.fromCodePoint($),$===tU)this.state=XR;else if($===S9)this.state=nb0;else if(wZ($))this.state=ib0,this.q=$}sDTDQuoted(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.state=oU,this.q=null}sDTDOpenWaka(){let $=this.getCodeNorm();switch(this.text+=String.fromCodePoint($),$){case q00:this.state=pb0,this.openWakaBang="";break;case I6:this.state=mb0;break;default:this.state=oU}}sDTDOpenWakaBang(){let $=String.fromCodePoint(this.getCodeNorm()),I=this.openWakaBang+=$;if(this.text+=$,I!=="-")this.state=I==="--"?zR:oU,this.openWakaBang=""}sDTDComment(){if(this.captureToChar(WZ))this.text+="-",this.state=cb0}sDTDCommentEnding(){let $=this.getCodeNorm();this.text+=String.fromCodePoint($),this.state=$===WZ?db0:zR}sDTDCommentEnded(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===g4)this.state=oU;else this.fail("malformed comment."),this.state=zR}sDTDPI(){if(this.captureToChar(I6))this.text+="?",this.state=lb0}sDTDPIEnding(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===g4)this.state=oU}sText(){if(this.tags.length!==0)this.handleTextInRoot();else this.handleTextOutsideRoot()}sEntity(){let{i:$}=this,{chunk:I}=this;$:while(!0)switch(this.getCode()){case v8:this.entity+=`${I.slice($,this.prevI)} +`,$=this.i;break;case Hi0:{let{entityReturnState:U}=this,Y=this.entity+I.slice($,this.prevI);this.state=U;let J;if(Y==="")this.fail("empty entity name."),J="&;";else J=this.parseEntity(Y),this.entity="";if(U!==C6||this.textHandler!==void 0)this.text+=J;break $}case Q4:this.entity+=I.slice($);break $;default:}}sOpenWaka(){let $=this.getCode();if(wK($))this.state=Ji0,this.unget(),this.xmlDeclPossible=!1;else switch($){case VZ:this.state=qi0,this.xmlDeclPossible=!1;break;case q00:this.state=ob0,this.openWakaBang="",this.xmlDeclPossible=!1;break;case I6:this.state=eb0;break;default:this.fail("disallowed character in tag name"),this.state=C6,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0;this.state=OR,this.openWakaBang="";break;case"--":this.state=DR,this.openWakaBang="";break;case"DOCTYPE":if(this.state=XR,this.doctype||this.sawRoot)this.fail("inappropriately located doctype declaration.");this.openWakaBang="";break;default:if(this.openWakaBang.length>=7)this.fail("incorrect syntax.")}}sComment(){if(this.captureToChar(WZ))this.state=rb0}sCommentEnding(){var $;let I=this.getCodeNorm();if(I===WZ)this.state=tb0,($=this.commentHandler)===null||$===void 0||$.call(this,this.text),this.text="";else this.text+=`-${String.fromCodePoint(I)}`,this.state=DR}sCommentEnded(){let $=this.getCodeNorm();if($!==g4)this.fail("malformed comment."),this.text+=`--${String.fromCodePoint($)}`,this.state=DR;else this.state=C6}sCData(){if(this.captureToChar(tU))this.state=ab0}sCDataEnding(){let $=this.getCodeNorm();if($===tU)this.state=sb0;else this.text+=`]${String.fromCodePoint($)}`,this.state=OR}sCDataEnding2(){var $;let I=this.getCodeNorm();switch(I){case g4:{($=this.cdataHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C6;break}case tU:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(I)}`,this.state=OR}}sPIFirstChar(){let $=this.getCodeNorm();if(this.nameStartCheck($))this.piTarget+=String.fromCodePoint($),this.state=$00;else if($===I6||p6($))this.fail("processing instruction without a target."),this.state=$===I6?HZ:FR;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint($),this.state=$00}sPIRest(){let{chunk:$,i:I}=this;while(!0){let U=this.getCodeNorm();if(U===Q4){this.piTarget+=$.slice(I);return}if(!this.nameCheck(U)){this.piTarget+=$.slice(I,this.prevI);let Y=U===I6;if(Y||p6(U))if(this.piTarget==="xml"){if(!this.xmlDeclPossible)this.fail("an XML declaration must be at the start of the document.");this.state=Y?Y3:I00}else this.state=Y?HZ:FR;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(U);break}}}sPIBody(){if(this.text.length===0){let $=this.getCodeNorm();if($===I6)this.state=HZ;else if(!p6($))this.text=String.fromCodePoint($)}else if(this.captureToChar(I6))this.state=HZ}sPIEnding(){var $;let I=this.getCodeNorm();if(I===g4){let{piTarget:U}=this;if(U.toLowerCase()==="xml")this.fail("the XML declaration must appear at the start of the document.");($=this.piHandler)===null||$===void 0||$.call(this,{target:U,body:this.text}),this.piTarget=this.text="",this.state=C6}else if(I===I6)this.text+="?";else this.text+=`?${String.fromCodePoint(I)}`,this.state=FR;this.xmlDeclPossible=!1}sXMLDeclNameStart(){let $=this.skipSpaces();if($===I6){this.state=Y3;return}if($!==Q4)this.state=$i0,this.name=String.fromCodePoint($)}sXMLDeclName(){let $=this.captureTo(wi0);if($===I6){this.state=Y3,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(!(p6($)||$===rU))return;if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=$===rU?U00:Ii0}sXMLDeclEq(){let $=this.getCodeNorm();if($===I6){this.state=Y3,this.fail("XML declaration is incomplete.");return}if(p6($))return;if($!==rU)this.fail("value required.");this.state=U00}sXMLDeclValueStart(){let $=this.getCodeNorm();if($===I6){this.state=Y3,this.fail("XML declaration is incomplete.");return}if(p6($))return;if(!wZ($))this.fail("value must be quoted."),this.q=K00;else this.q=$;this.state=Ui0}sXMLDeclValue(){let $=this.captureTo([this.q,I6]);if($===I6){this.state=Y3,this.text="",this.fail("XML declaration is incomplete.");return}if($===Q4)return;let I=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let U=I;if(this.xmlDecl.version=U,!/^1\.[0-9]+$/.test(U))this.fail("version number must match /^1\\.[0-9]+$/.");else if(!this.opt.forceXMLVersion)this.setXMLVersion(U);break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(I))this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=I;break;case"standalone":if(I!=="yes"&&I!=="no")this.fail('standalone value must match "yes" or "no".');this.xmlDeclExpects=[],this.xmlDecl.standalone=I;break;default:}this.name="",this.state=Yi0}sXMLDeclSeparator(){let $=this.getCodeNorm();if($===I6){this.state=Y3;return}if(!p6($))this.fail("whitespace required."),this.unget();this.state=I00}sXMLDeclEnding(){var $;if(this.getCodeNorm()===g4){if(this.piTarget!=="xml")this.fail("processing instructions are not allowed before root.");else if(this.name!=="version"&&this.xmlDeclExpects.includes("version"))this.fail("XML declaration must contain a version.");($=this.xmldeclHandler)===null||$===void 0||$.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=C6}else this.fail("The character ? is disallowed anywhere in XML declarations.");this.xmlDeclPossible=!1}sOpenTag(){var $;let I=this.captureNameChars();if(I===Q4)return;let U=this.tag={name:this.name,attributes:Object.create(null)};if(this.name="",this.xmlnsOpt)this.topNS=U.ns=Object.create(null);if(($=this.openTagStartHandler)===null||$===void 0||$.call(this,U),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot)this.fail("documents may contain only one root.");switch(I){case g4:this.openTag();break;case VZ:this.state=NR;break;default:if(!p6(I))this.fail("disallowed character in tag name.");this.state=ZK}}sOpenTagSlash(){if(this.getCode()===g4)this.openSelfClosingTag();else this.fail("forward-slash in opening tag not followed by >."),this.state=ZK}sAttrib(){let $=this.skipSpaces();if($===Q4)return;if(wK($))this.unget(),this.state=MR;else if($===g4)this.openTag();else if($===VZ)this.state=NR;else this.fail("disallowed character in attribute name.")}sAttribName(){let $=this.captureNameChars();if($===rU)this.state=Y00;else if(p6($))this.state=Qi0;else if($===g4)this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag();else if($!==Q4)this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let $=this.skipSpaces();switch($){case Q4:return;case rU:this.state=Y00;break;default:if(this.fail("attribute without value."),this.text="",this.name="",$===g4)this.openTag();else if(wK($))this.unget(),this.state=MR;else this.fail("disallowed character in attribute name."),this.state=ZK}}sAttribValue(){let $=this.getCodeNorm();if(wZ($))this.q=$,this.state=J00;else if(!p6($))this.fail("unquoted attribute value."),this.state=Q00,this.unget()}sAttribValueQuoted(){let{q:$,chunk:I}=this,{i:U}=this;while(!0)switch(this.getCode()){case $:this.pushAttrib(this.name,this.text+I.slice(U,this.prevI)),this.name=this.text="",this.q=null,this.state=Ki0;return;case XK:this.text+=I.slice(U,this.prevI),this.state=GZ,this.entityReturnState=J00;return;case e$:case v8:case AR:this.text+=`${I.slice(U,this.prevI)} `,U=this.i;break;case S9:this.text+=I.slice(U,this.prevI),this.fail("disallowed character.");return;case Q4:this.text+=I.slice(U);return;default:}}sAttribValueClosed(){let $=this.getCodeNorm();if(p6($))this.state=ZK;else if($===g4)this.openTag();else if($===VZ)this.state=NR;else if(wK($))this.fail("no whitespace between attributes."),this.unget(),this.state=MR;else this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let $=this.captureTo(Zi0);switch($){case XK:this.state=GZ,this.entityReturnState=Q00;break;case S9:this.fail("disallowed character.");break;case Q4:break;default:if(this.text.includes("]]>"))this.fail('the string "]]>" is disallowed in char data.');if(this.pushAttrib(this.name,this.text),this.name=this.text="",$===g4)this.openTag();else this.state=ZK}}sCloseTag(){let $=this.captureNameChars();if($===g4)this.closeTag();else if(p6($))this.state=Gi0;else if($!==Q4)this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case g4:this.closeTag();break;case Q4:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:$,forbiddenState:I}=this,{chunk:U,textHandler:Y}=this;$:while(!0)switch(this.getCode()){case S9:{if(this.state=LR,Y!==void 0){let{text:J}=this,Q=U.slice($,this.prevI);if(J.length!==0)Y(J+Q),this.text="";else if(Q.length!==0)Y(Q)}I=J3;break $}case XK:if(this.state=GZ,this.entityReturnState=C6,Y!==void 0)this.text+=U.slice($,this.prevI);I=J3;break $;case tU:switch(I){case J3:I=W00;break;case W00:I=TR;break;case TR:break;default:throw Error("impossible state")}break;case g4:if(I===TR)this.fail('the string "]]>" is disallowed in char data.');I=J3;break;case v8:if(Y!==void 0)this.text+=`${U.slice($,this.prevI)} +`;$=this.i,I=J3;break;case Q4:if(Y!==void 0)this.text+=U.slice($);break $;default:I=J3}this.forbiddenState=I}handleTextOutsideRoot(){let{i:$}=this,{chunk:I,textHandler:U}=this,Y=!1;$:while(!0){let J=this.getCode();switch(J){case S9:{if(this.state=LR,U!==void 0){let{text:Q}=this,K=I.slice($,this.prevI);if(Q.length!==0)U(Q+K),this.text="";else if(K.length!==0)U(K)}break $}case XK:if(this.state=GZ,this.entityReturnState=C6,U!==void 0)this.text+=I.slice($,this.prevI);Y=!0;break $;case v8:if(U!==void 0)this.text+=`${I.slice($,this.prevI)} +`;$=this.i;break;case Q4:if(U!==void 0)this.text+=I.slice($);break $;default:if(!p6(J))Y=!0}}if(!Y)return;if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0}pushAttribNS($,I){var U;let{prefix:Y,local:J}=this.qname($),Q={name:$,prefix:Y,local:J,value:I};if(this.attribList.push(Q),(U=this.attributeHandler)===null||U===void 0||U.call(this,Q),Y==="xmlns"){let K=I.trim();if(this.currentXMLVersion==="1.0"&&K==="")this.fail("invalid attempt to undefine prefix in XML 1.0");this.topNS[J]=K,ER(this,J,K)}else if($==="xmlns"){let K=I.trim();this.topNS[""]=K,ER(this,"",K)}}pushAttribPlain($,I){var U;let Y={name:$,value:I};this.attribList.push(Y),(U=this.attributeHandler)===null||U===void 0||U.call(this,Y)}end(){var $,I;if(!this.sawRoot)this.fail("document must contain a root element.");let{tags:U}=this;while(U.length>0){let J=U.pop();this.fail(`unclosed tag: ${J.name}`)}if(this.state!==ee&&this.state!==C6)this.fail("unexpected end.");let{text:Y}=this;if(Y.length!==0)($=this.textHandler)===null||$===void 0||$.call(this,Y),this.text="";return this._closed=!0,(I=this.endHandler)===null||I===void 0||I.call(this),this._init(),this}resolve($){var I,U;let Y=this.topNS[$];if(Y!==void 0)return Y;let{tags:J}=this;for(let Q=J.length-1;Q>=0;Q--)if(Y=J[Q].ns[$],Y!==void 0)return Y;if(Y=this.ns[$],Y!==void 0)return Y;return(U=(I=this.opt).resolvePrefix)===null||U===void 0?void 0:U.call(I,$)}qname($){let I=$.indexOf(":");if(I===-1)return{prefix:"",local:$};let U=$.slice(I+1),Y=$.slice(0,I);if(Y===""||U===""||U.includes(":"))this.fail(`malformed name: ${$}.`);return{prefix:Y,local:U}}processAttribsNS(){var $;let{attribList:I}=this,U=this.tag;{let{prefix:Q,local:K}=this.qname(U.name);U.prefix=Q,U.local=K;let q=U.uri=($=this.resolve(Q))!==null&&$!==void 0?$:"";if(Q!==""){if(Q==="xmlns")this.fail('tags may not have "xmlns" as prefix.');if(q==="")this.fail(`unbound namespace prefix: ${JSON.stringify(Q)}.`),U.uri=Q}}if(I.length===0)return;let{attributes:Y}=U,J=new Set;for(let Q of I){let{name:K,prefix:q,local:G}=Q,H,W;if(q==="")H=K==="xmlns"?aU:"",W=K;else{if(H=this.resolve(q),H===void 0)this.fail(`unbound namespace prefix: ${JSON.stringify(q)}.`),H=q;W=`{${H}}${G}`}if(J.has(W))this.fail(`duplicate attribute: ${W}.`);J.add(W),Q.uri=H,Y[K]=Q}this.attribList=[]}processAttribsPlain(){let{attribList:$}=this,I=this.tag.attributes;for(let{name:U,value:Y}of $){if(I[U]!==void 0)this.fail(`duplicate attribute: ${U}.`);I[U]=Y}this.attribList=[]}openTag(){var $;this.processAttribs();let{tags:I}=this,U=this.tag;U.isSelfClosing=!1,($=this.openTagHandler)===null||$===void 0||$.call(this,U),I.push(U),this.state=C6,this.name=""}openSelfClosingTag(){var $,I,U;this.processAttribs();let{tags:Y}=this,J=this.tag;if(J.isSelfClosing=!0,($=this.openTagHandler)===null||$===void 0||$.call(this,J),(I=this.closeTagHandler)===null||I===void 0||I.call(this,J),(this.tag=(U=Y[Y.length-1])!==null&&U!==void 0?U:null)===null)this.closedRoot=!0;this.state=C6,this.name=""}closeTag(){let{tags:$,name:I}=this;if(this.state=C6,this.name="",I===""){this.fail("weird empty close tag."),this.text+="";return}let U=this.closeTagHandler,Y=$.length;while(Y-- >0){let J=this.tag=$.pop();if(this.topNS=J.ns,U===null||U===void 0||U(J),J.name===I)break;this.fail("unexpected close tag.")}if(Y===0)this.closedRoot=!0;else if(Y<0)this.fail(`unmatched closing tag: ${I}.`),this.text+=``}parseEntity($){if($[0]!=="#"){let U=this.ENTITIES[$];if(U!==void 0)return U;return this.fail(this.isName($)?"undefined entity.":"disallowed character in entity name."),`&${$};`}let I=NaN;if($[1]==="x"&&/^#x[0-9a-f]+$/i.test($))I=parseInt($.slice(2),16);else if(/^#[0-9]+$/.test($))I=parseInt($.slice(1),10);if(!this.isChar(I))return this.fail("malformed character entity."),`&${$};`;return String.fromCodePoint(I)}}O00.SaxesParser=D00});var zK=O((TP1,N00)=>{var{SaxesParser:Fi0}=F00(),{PassThrough:Ni0}=z6(),{bufferToString:Mi0}=GR();N00.exports=async function*($){if($.pipe&&!$[Symbol.asyncIterator])$=$.pipe(new Ni0);let I=new Fi0,U;I.on("error",(J)=>{U=J});let Y=[];I.on("opentag",(J)=>Y.push({eventType:"opentag",value:J})),I.on("text",(J)=>Y.push({eventType:"text",value:J})),I.on("closetag",(J)=>Y.push({eventType:"closetag",value:J}));for await(let J of $){if(I.write(Mi0(J)),U)throw U;yield Y,Y=[]}}});var z0=O((EP1,M00)=>{var Ai0=zK(),Pi0=$6();class eU{prepare(){}render(){}parseOpen($){}parseText($){}parseClose($){}reconcile($,I){}reset(){if(this.model=null,this.map)Object.values(this.map).forEach(($)=>{if($ instanceof eU)$.reset();else if($.xform)$.xform.reset()})}mergeModel($){this.model=Object.assign(this.model||{},$)}async parse($){for await(let I of $)for(let{eventType:U,value:Y}of I)if(U==="opentag")this.parseOpen(Y);else if(U==="text")this.parseText(Y);else if(U==="closetag"){if(!this.parseClose(Y.name))return this.model}return this.model}async parseStream($){return this.parse(Ai0($))}get xml(){return this.toXml(this.model)}toXml($){let I=new Pi0;return this.render(I,$),I.xml}static toAttribute($,I,U=!1){if($===void 0){if(U)return I}else if(U||$!==I)return $.toString();return}static toStringAttribute($,I,U=!1){return eU.toAttribute($,I,U)}static toStringValue($,I){return $===void 0?I:$}static toBoolAttribute($,I,U=!1){if($===void 0){if(U)return I}else if(U||$!==I)return $?"1":"0";return}static toBoolValue($,I){return $===void 0?I:$==="1"}static toIntAttribute($,I,U=!1){return eU.toAttribute($,I,U)}static toIntValue($,I){return $===void 0?I:parseInt($,10)}static toFloatAttribute($,I,U=!1){return eU.toAttribute($,I,U)}static toFloatValue($,I){return $===void 0?I:parseFloat($)}}M00.exports=eU});var $Y=O((BP1,T00)=>{var Ti0=z0(),Ei0=$6();function A00($,I){if($.openNode(I.tag,I.$),I.c)I.c.forEach((U)=>{A00($,U)});if(I.t)$.writeText(I.t);$.closeNode()}class P00 extends Ti0{constructor($){super();this._model=$}render($){if(!this._xml){let I=new Ei0;A00(I,this._model),this._xml=I.xml}$.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose($){switch($){case this._model.tag:return!1;default:return!0}}}T00.exports=P00});var g9=O((vP1,B00)=>{var Bi0=z0();class E00 extends Bi0{constructor($){super();this.tag=$.tag,this.always=!!$.always,this.count=$.count,this.empty=$.empty,this.$count=$.$count||"count",this.$=$.$,this.childXform=$.childXform,this.maxItems=$.maxItems}prepare($,I){let{childXform:U}=this;if($)$.forEach((Y,J)=>{I.index=J,U.prepare(Y,I)})}render($,I){if(this.always||I&&I.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,I&&I.length||0);let{childXform:U}=this;(I||[]).forEach((Y,J)=>{U.render($,Y,J)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model=[],!0;default:if(this.childXform.parseOpen($))return this.parser=this.childXform,!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems)throw Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`)}return!0}return!1}reconcile($,I){if($){let{childXform:U}=this;$.forEach((Y)=>{U.reconcile(Y,I)})}}}B00.exports=E00});var y9=O((RP1,R00)=>{var vi0=z0();class v00 extends vi0{constructor($){super();this.name=$||"color"}get tag(){return this.name}render($,I){if(I){if($.openNode(this.name),I.argb)$.addAttribute("rgb",I.argb);else if(I.theme!==void 0){if($.addAttribute("theme",I.theme),I.tint!==void 0)$.addAttribute("tint",I.tint)}else if(I.indexed!==void 0)$.addAttribute("indexed",I.indexed);else $.addAttribute("auto","1");return $.closeNode(),!0}return!1}parseOpen($){if($.name===this.name){if($.attributes.rgb)this.model={argb:$.attributes.rgb};else if($.attributes.theme){if(this.model={theme:parseInt($.attributes.theme,10)},$.attributes.tint)this.model.tint=parseFloat($.attributes.tint)}else if($.attributes.indexed)this.model={indexed:parseInt($.attributes.indexed,10)};else this.model=void 0;return!0}return!1}parseText(){}parseClose(){return!1}}R00.exports=v00});var _00=O((CP1,j00)=>{var Ri0=z0();class C00 extends Ri0{constructor($){super();this.tag=$.tag,this.attr=$.attr}render($,I){if(I)$.openNode(this.tag),$.closeNode()}parseOpen($){if($.name===this.tag)this.model=!0}parseText(){}parseClose(){return!1}}j00.exports=C00});var XZ=O((jP1,g00)=>{var Ci0=z0();class S00 extends Ci0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this.zero=$.zero}render($,I){if(I||this.zero){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,I);else $.writeText(I);$.closeNode()}}parseOpen($){if($.name===this.tag){if(this.attr)this.model=parseInt($.attributes[this.attr],10);else this.text=[];return!0}return!1}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=parseInt(this.text.join("")||0,10);return!1}}g00.exports=S00});var zZ=O((_P1,h00)=>{var ji0=z0();class y00 extends ji0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs}render($,I){if(I!==void 0){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,I);else $.writeText(I);$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=$.attributes[this.attr];else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this.text.join("");return!1}}h00.exports=y00});var k00=O((SP1,x00)=>{var _i0=z0();class LZ extends _i0{constructor($){super();this.model=$}get tag(){return"u"}render($,I){if(I=I||this.model,I===!0)$.leafNode("u");else{let U=LZ.Attributes[I];if(U)$.leafNode("u",U)}}parseOpen($){if($.name==="u")this.model=$.attributes.val||!0}parseText(){}parseClose(){return!1}}LZ.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}};x00.exports=LZ});var OZ=O((gP1,u00)=>{var Si0=y9(),Q3=_00(),vR=XZ(),RR=zZ(),gi0=k00(),yi0=Z4(),hi0=z0();class DZ extends hi0{constructor($){super();this.options=$||DZ.OPTIONS,this.map={b:{prop:"bold",xform:new Q3({tag:"b",attr:"val"})},i:{prop:"italic",xform:new Q3({tag:"i",attr:"val"})},u:{prop:"underline",xform:new gi0},charset:{prop:"charset",xform:new vR({tag:"charset",attr:"val"})},color:{prop:"color",xform:new Si0},condense:{prop:"condense",xform:new Q3({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new Q3({tag:"extend",attr:"val"})},family:{prop:"family",xform:new vR({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new Q3({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new RR({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new RR({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new Q3({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new Q3({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new vR({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new RR({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render($,I){let{map:U}=this;$.openNode(this.options.tagName),yi0.each(this.map,(Y,J)=>{U[J].xform.render($,I[Y.prop])}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if(this.map[$.name])return this.parser=this.map[$.name].xform,this.parser.parseOpen($);switch($.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser&&!this.parser.parseClose($)){let I=this.map[$];if(this.parser.model)this.model[I.prop]=this.parser.model;return this.parser=void 0,!0}switch($){case this.options.tagName:return!1;default:return!0}}}DZ.OPTIONS={tagName:"font",fontNameTag:"name"};u00.exports=DZ});var gR=O((yP1,f00)=>{var FZ=z0(),CR=y9();class jR extends FZ{constructor(){super();this.map={color:new CR}}get tag(){return"stop"}render($,I){$.openNode("stop"),$.addAttribute("position",I.position),this.map.color.render($,I.color),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"stop":return this.model={position:parseFloat($.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.color=this.parser.model,this.parser=void 0;return!0}return!1}}class _R extends FZ{constructor(){super();this.map={fgColor:new CR("fgColor"),bgColor:new CR("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render($,I){if($.openNode("patternFill"),$.addAttribute("patternType",I.pattern),I.fgColor)this.map.fgColor.render($,I.fgColor);if(I.bgColor)this.map.bgColor.render($,I.bgColor);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"patternFill":return this.model={type:"pattern",pattern:$.attributes.patternType},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.parser.model)this.model[$]=this.parser.model;this.parser=void 0}return!0}return!1}}class SR extends FZ{constructor(){super();this.map={stop:new jR}}get name(){return"gradient"}get tag(){return"gradientFill"}render($,I){switch($.openNode("gradientFill"),I.gradient){case"angle":$.addAttribute("degree",I.degree);break;case"path":if($.addAttribute("type","path"),I.center.left){if($.addAttribute("left",I.center.left),I.center.right===void 0)$.addAttribute("right",I.center.left)}if(I.center.right)$.addAttribute("right",I.center.right);if(I.center.top){if($.addAttribute("top",I.center.top),I.center.bottom===void 0)$.addAttribute("bottom",I.center.top)}if(I.center.bottom)$.addAttribute("bottom",I.center.bottom);break;default:break}let U=this.map.stop;I.stops.forEach((Y)=>{U.render($,Y)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"gradientFill":{let I=this.model={stops:[]};if($.attributes.degree)I.gradient="angle",I.degree=parseInt($.attributes.degree,10);else if($.attributes.type==="path"){if(I.gradient="path",I.center={left:$.attributes.left?parseFloat($.attributes.left):0,top:$.attributes.top?parseFloat($.attributes.top):0},$.attributes.right!==$.attributes.left)I.center.right=$.attributes.right?parseFloat($.attributes.right):0;if($.attributes.bottom!==$.attributes.top)I.center.bottom=$.attributes.bottom?parseFloat($.attributes.bottom):0}return!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.stops.push(this.parser.model),this.parser=void 0;return!0}return!1}}class K3 extends FZ{constructor(){super();this.map={patternFill:new _R,gradientFill:new SR}}get tag(){return"fill"}render($,I){switch($.addRollback(),$.openNode("fill"),I.type){case"pattern":this.map.patternFill.render($,I);break;case"gradient":this.map.gradientFill.render($,I);break;default:$.rollback();return}$.closeNode(),$.commit()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"fill":return this.model={},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0;return!0}return!1}validStyle($){return K3.validPatternValues[$]}}K3.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(($,I)=>{return $[I]=!0,$},{});K3.StopXform=jR;K3.PatternFillXform=_R;K3.GradientFillXform=SR;f00.exports=K3});var yR=O((hP1,p00)=>{var i00=z0(),b00=L6(),xi0=y9();class h9 extends i00{constructor($){super();this.name=$,this.map={color:new xi0}}get tag(){return this.name}render($,I,U){let Y=I&&I.color||U||this.defaultColor;if($.openNode(this.name),I&&I.style){if($.addAttribute("style",I.style),Y)this.map.color.render($,Y)}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.name:{let{style:I}=$.attributes;if(I)this.model={style:I};else this.model=void 0;return!0}case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.name){if(this.map.color.model){if(!this.model)this.model={};this.model.color=this.map.color.model}}return!1}validStyle($){return h9.validStyleValues[$]}}h9.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(($,I)=>{return $[I]=!0,$},{});class n00 extends i00{constructor(){super();this.map={top:new h9("top"),left:new h9("left"),bottom:new h9("bottom"),right:new h9("right"),diagonal:new h9("diagonal")}}render($,I){let{color:U}=I;if($.openNode("border"),I.diagonal&&I.diagonal.style){if(I.diagonal.up)$.addAttribute("diagonalUp","1");if(I.diagonal.down)$.addAttribute("diagonalDown","1")}function Y(J,Q){if(J&&!J.color&&I.color)J={...J,color:I.color};Q.render($,J,U)}Y(I.left,this.map.left),Y(I.right,this.map.right),Y(I.top,this.map.top),Y(I.bottom,this.map.bottom),Y(I.diagonal,this.map.diagonal),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"border":return this.reset(),this.diagonalUp=b00.parseBoolean($.attributes.diagonalUp),this.diagonalDown=b00.parseBoolean($.attributes.diagonalDown),!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($==="border"){let I=this.model={},U=function(Y,J,Q){if(J){if(Q)Object.assign(J,Q);I[Y]=J}};U("left",this.map.left.model),U("right",this.map.right.model),U("top",this.map.top.model),U("bottom",this.map.bottom.model),U("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}p00.exports=n00});var d00=O((xP1,c00)=>{c00.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}});var xR=O((kP1,m00)=>{var ki0=Z4(),hR=d00(),ui0=z0();function fi0(){let $={};return ki0.each(hR,(I,U)=>{if(I.f)$[I.f]=parseInt(U,10)}),$}var bi0=fi0();class NZ extends ui0{constructor($,I){super();this.id=$,this.formatCode=I}get tag(){return"numFmt"}render($,I){$.leafNode("numFmt",{numFmtId:I.id,formatCode:I.formatCode})}parseOpen($){switch($.name){case"numFmt":return this.model={id:parseInt($.attributes.numFmtId,10),formatCode:$.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}NZ.getDefaultFmtId=function(I){return bi0[I]};NZ.getDefaultFmtCode=function(I){return hR[I]&&hR[I].f};m00.exports=NZ});var kR=O((uP1,t00)=>{var l00=o$(),LK=L6(),ii0=z0(),q3={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(($,I)=>{return $[I]=!0,$},{}),horizontal($){return this.horizontalValues[$]?$:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(($,I)=>{return $[I]=!0,$},{}),vertical($){if($==="middle")return"center";return this.verticalValues[$]?$:void 0},wrapText($){return $?!0:void 0},shrinkToFit($){return $?!0:void 0},textRotation($){switch($){case"vertical":return $;default:return $=LK.validInt($),$>=-90&&$<=90?$:void 0}},indent($){return $=LK.validInt($),Math.max(0,$)},readingOrder($){switch($){case"ltr":return l00.ReadingOrder.LeftToRight;case"rtl":return l00.ReadingOrder.RightToLeft;default:return}}},o00={toXml($){if($=q3.textRotation($),$){if($==="vertical")return 255;let I=Math.round($);if(I>=0&&I<=90)return I;if(I<0&&I>=-90)return 90-I}return},toModel($){let I=LK.validInt($);if(I!==void 0){if(I===255)return"vertical";if(I>=0&&I<=90)return I;if(I>90&&I<=180)return 90-I}return}};class r00 extends ii0{get tag(){return"alignment"}render($,I){$.addRollback(),$.openNode("alignment");let U=!1;function Y(J,Q){if(Q)$.addAttribute(J,Q),U=!0}if(Y("horizontal",q3.horizontal(I.horizontal)),Y("vertical",q3.vertical(I.vertical)),Y("wrapText",q3.wrapText(I.wrapText)?"1":!1),Y("shrinkToFit",q3.shrinkToFit(I.shrinkToFit)?"1":!1),Y("indent",q3.indent(I.indent)),Y("textRotation",o00.toXml(I.textRotation)),Y("readingOrder",q3.readingOrder(I.readingOrder)),$.closeNode(),U)$.commit();else $.rollback()}parseOpen($){let I={},U=!1;function Y(J,Q,K){if(J)I[Q]=K,U=!0}Y($.attributes.horizontal,"horizontal",$.attributes.horizontal),Y($.attributes.vertical,"vertical",$.attributes.vertical==="center"?"middle":$.attributes.vertical),Y($.attributes.wrapText,"wrapText",LK.parseBoolean($.attributes.wrapText)),Y($.attributes.shrinkToFit,"shrinkToFit",LK.parseBoolean($.attributes.shrinkToFit)),Y($.attributes.indent,"indent",parseInt($.attributes.indent,10)),Y($.attributes.textRotation,"textRotation",o00.toModel($.attributes.textRotation)),Y($.attributes.readingOrder,"readingOrder",$.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=U?I:null}parseText(){}parseClose(){return!1}}t00.exports=r00});var uR=O((fP1,e00)=>{var ni0=z0(),a00={boolean($,I){if($===void 0)return I;return $}};class s00 extends ni0{get tag(){return"protection"}render($,I){$.addRollback(),$.openNode("protection");let U=!1;function Y(J,Q){if(Q!==void 0)$.addAttribute(J,Q),U=!0}if(Y("locked",a00.boolean(I.locked,!0)?void 0:"0"),Y("hidden",a00.boolean(I.hidden,!1)?"1":void 0),$.closeNode(),U)$.commit();else $.rollback()}parseOpen($){let I={locked:$.attributes.locked!=="0",hidden:$.attributes.hidden==="1"},U=!I.locked||I.hidden;this.model=U?I:null}parseText(){}parseClose(){return!1}}e00.exports=s00});var U10=O((bP1,I10)=>{var pi0=z0(),ci0=kR(),di0=uR();class $10 extends pi0{constructor($){super();this.xfId=!!($&&$.xfId),this.map={alignment:new ci0,protection:new di0}}get tag(){return"xf"}render($,I){if($.openNode("xf",{numFmtId:I.numFmtId||0,fontId:I.fontId||0,fillId:I.fillId||0,borderId:I.borderId||0}),this.xfId)$.addAttribute("xfId",I.xfId||0);if(I.numFmtId)$.addAttribute("applyNumberFormat","1");if(I.fontId)$.addAttribute("applyFont","1");if(I.fillId)$.addAttribute("applyFill","1");if(I.borderId)$.addAttribute("applyBorder","1");if(I.alignment)$.addAttribute("applyAlignment","1");if(I.protection)$.addAttribute("applyProtection","1");if(I.alignment)this.map.alignment.render($,I.alignment);if(I.protection)this.map.protection.render($,I.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"xf":if(this.model={numFmtId:parseInt($.attributes.numFmtId,10),fontId:parseInt($.attributes.fontId,10),fillId:parseInt($.attributes.fillId,10),borderId:parseInt($.attributes.borderId,10)},this.xfId)this.model.xfId=parseInt($.attributes.xfId,10);return!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen($),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.map.protection===this.parser)this.model.protection=this.parser.model;else this.model.alignment=this.parser.model;this.parser=void 0}return!0}return $!=="xf"}}I10.exports=$10});var Q10=O((iP1,J10)=>{var mi0=z0(),li0=kR(),oi0=yR(),ri0=gR(),ti0=OZ(),ai0=xR(),si0=uR();class Y10 extends mi0{constructor(){super();this.map={alignment:new li0,border:new oi0,fill:new ri0,font:new ti0,numFmt:new ai0,protection:new si0}}get tag(){return"dxf"}render($,I){if($.openNode(this.tag),I.font)this.map.font.render($,I.font);if(I.numFmt&&I.numFmtId){let U={id:I.numFmtId,formatCode:I.numFmt};this.map.numFmt.render($,U)}if(I.fill)this.map.fill.render($,I.fill);if(I.alignment)this.map.alignment.render($,I.alignment);if(I.border)this.map.border.render($,I.border);if(I.protection)this.map.protection.render($,I.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.reset(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.tag)return this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1;return!0}}J10.exports=Y10});var PZ=O((nP1,W10)=>{var AZ=o$(),ei0=$6(),$n0=z0(),MZ=$Y(),G3=g9(),K10=OZ(),q10=gR(),G10=yR(),DK=xR(),fR=U10(),In0=Q10();class Q$ extends $n0{constructor($){super();if(this.map={numFmts:new G3({tag:"numFmts",count:!0,childXform:new DK}),fonts:new G3({tag:"fonts",count:!0,childXform:new K10,$:{"x14ac:knownFonts":1}}),fills:new G3({tag:"fills",count:!0,childXform:new q10}),borders:new G3({tag:"borders",count:!0,childXform:new G10}),cellStyleXfs:new G3({tag:"cellStyleXfs",count:!0,childXform:new fR}),cellXfs:new G3({tag:"cellXfs",count:!0,childXform:new fR({xfId:!0})}),dxfs:new G3({tag:"dxfs",always:!0,count:!0,childXform:new In0}),numFmt:new DK,font:new K10,fill:new q10,border:new G10,style:new fR({xfId:!0}),cellStyles:Q$.STATIC_XFORMS.cellStyles,tableStyles:Q$.STATIC_XFORMS.tableStyles,extLst:Q$.STATIC_XFORMS.extLst},$)this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render($,I){if(I=I||this.model,$.openXml(ei0.StdDocAttributes),$.openNode("styleSheet",Q$.STYLESHEET_ATTRIBUTES),this.index){if(I.numFmts&&I.numFmts.length)$.openNode("numFmts",{count:I.numFmts.length}),I.numFmts.forEach((U)=>{$.writeXml(U)}),$.closeNode();if(!I.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});$.openNode("fonts",{count:I.fonts.length,"x14ac:knownFonts":1}),I.fonts.forEach((U)=>{$.writeXml(U)}),$.closeNode(),$.openNode("fills",{count:I.fills.length}),I.fills.forEach((U)=>{$.writeXml(U)}),$.closeNode(),$.openNode("borders",{count:I.borders.length}),I.borders.forEach((U)=>{$.writeXml(U)}),$.closeNode(),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),$.openNode("cellXfs",{count:I.styles.length}),I.styles.forEach((U)=>{$.writeXml(U)}),$.closeNode()}else this.map.numFmts.render($,I.numFmts),this.map.fonts.render($,I.fonts),this.map.fills.render($,I.fills),this.map.borders.render($,I.borders),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render($,I.styles);Q$.STATIC_XFORMS.cellStyles.render($),this.map.dxfs.render($,I.dxfs),Q$.STATIC_XFORMS.tableStyles.render($),Q$.STATIC_XFORMS.extLst.render($),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"styleSheet":return this.initIndex(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"styleSheet":{this.model={};let I=(U,Y)=>{if(Y.model&&Y.model.length)this.model[U]=Y.model};if(I("numFmts",this.map.numFmts),I("fonts",this.map.fonts),I("fills",this.map.fills),I("borders",this.map.borders),I("styles",this.map.cellXfs),I("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){let U=this.index.numFmt;this.model.numFmts.forEach((Y)=>{U[Y.id]=Y.formatCode})}return!1}default:return!0}}addStyleModel($,I){if(!$)return 0;if(!this.model.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});if(this.weakMap&&this.weakMap.has($))return this.weakMap.get($);let U={};if(I=I||AZ.ValueType.Number,$.numFmt)U.numFmtId=this._addNumFmtStr($.numFmt);else switch(I){case AZ.ValueType.Number:U.numFmtId=this._addNumFmtStr("General");break;case AZ.ValueType.Date:U.numFmtId=this._addNumFmtStr("mm-dd-yy");break;default:break}if($.font)U.fontId=this._addFont($.font);if($.border)U.borderId=this._addBorder($.border);if($.fill)U.fillId=this._addFill($.fill);if($.alignment)U.alignment=$.alignment;if($.protection)U.protection=$.protection;let Y=this._addStyle(U);if(this.weakMap)this.weakMap.set($,Y);return Y}getStyleModel($){let I=this.model.styles[$];if(!I)return null;let U=this.index.model[$];if(U)return U;if(U=this.index.model[$]={},I.numFmtId){let J=this.index.numFmt[I.numFmtId]||DK.getDefaultFmtCode(I.numFmtId);if(J)U.numFmt=J}function Y(J,Q,K){if(K||K===0){let q=Q[K];if(q)U[J]=q}}if(Y("font",this.model.fonts,I.fontId),Y("border",this.model.borders,I.borderId),Y("fill",this.model.fills,I.fillId),I.alignment)U.alignment=I.alignment;if(I.protection)U.protection=I.protection;return U}addDxfStyle($){if($.numFmt)$.numFmtId=this._addNumFmtStr($.numFmt);return this.model.dxfs.push($),this.model.dxfs.length-1}getDxfStyle($){return this.model.dxfs[$]}_addStyle($){let I=this.map.style.toXml($),U=this.index.style[I];if(U===void 0)U=this.index.style[I]=this.model.styles.length,this.model.styles.push(I);return U}_addNumFmtStr($){let I=DK.getDefaultFmtId($);if(I!==void 0)return I;if(I=this.index.numFmt[$],I!==void 0)return I;I=this.index.numFmt[$]=164+this.model.numFmts.length;let U=this.map.numFmt.toXml({id:I,formatCode:$});return this.model.numFmts.push(U),I}_addFont($){let I=this.map.font.toXml($),U=this.index.font[I];if(U===void 0)U=this.index.font[I]=this.model.fonts.length,this.model.fonts.push(I);return U}_addBorder($){let I=this.map.border.toXml($),U=this.index.border[I];if(U===void 0)U=this.index.border[I]=this.model.borders.length,this.model.borders.push(I);return U}_addFill($){let I=this.map.fill.toXml($),U=this.index.fill[I];if(U===void 0)U=this.index.fill[I]=this.model.fills.length,this.model.fills.push(I);return U}}Q$.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"};Q$.STATIC_XFORMS={cellStyles:new MZ({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new MZ({tag:"dxfs",$:{count:0}}),tableStyles:new MZ({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new MZ({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};class H10 extends Q${constructor(){super();this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream($){return $.autodrain(),Promise.resolve()}addStyleModel($,I){switch(I){case AZ.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){let $={numFmtId:DK.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push($)}return this._dateStyleId}getStyleModel(){return{}}}Q$.Mock=H10;W10.exports=Q$});var Z10=O((pP1,w10)=>{var Un0=z0();class V10 extends Un0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this._format=$.format||function(I){try{if(Number.isNaN(I.getTime()))return"";return I.toISOString()}catch(U){return""}},this._parse=$.parse||function(I){return new Date(I)}}render($,I){if(I){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,this._format(I));else $.writeText(this._format(I));$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=this._parse($.attributes[this.attr]);else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this._parse(this.text.join(""));return!1}}w10.exports=V10});var iR=O((cP1,X10)=>{var Yn0=$6(),Jn0=z0(),bR=Z10(),R$=zZ(),Qn0=XZ();class $8 extends Jn0{constructor(){super();this.map={"dc:creator":new R$({tag:"dc:creator"}),"dc:title":new R$({tag:"dc:title"}),"dc:subject":new R$({tag:"dc:subject"}),"dc:description":new R$({tag:"dc:description"}),"dc:identifier":new R$({tag:"dc:identifier"}),"dc:language":new R$({tag:"dc:language"}),"cp:keywords":new R$({tag:"cp:keywords"}),"cp:category":new R$({tag:"cp:category"}),"cp:lastModifiedBy":new R$({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new bR({tag:"cp:lastPrinted",format:$8.DateFormat}),"cp:revision":new Qn0({tag:"cp:revision"}),"cp:version":new R$({tag:"cp:version"}),"cp:contentStatus":new R$({tag:"cp:contentStatus"}),"cp:contentType":new R$({tag:"cp:contentType"}),"dcterms:created":new bR({tag:"dcterms:created",attrs:$8.DateAttrs,format:$8.DateFormat}),"dcterms:modified":new bR({tag:"dcterms:modified",attrs:$8.DateAttrs,format:$8.DateFormat})}}render($,I){$.openXml(Yn0.StdDocAttributes),$.openNode("cp:coreProperties",$8.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render($,I.creator),this.map["dc:title"].render($,I.title),this.map["dc:subject"].render($,I.subject),this.map["dc:description"].render($,I.description),this.map["dc:identifier"].render($,I.identifier),this.map["dc:language"].render($,I.language),this.map["cp:keywords"].render($,I.keywords),this.map["cp:category"].render($,I.category),this.map["cp:lastModifiedBy"].render($,I.lastModifiedBy),this.map["cp:lastPrinted"].render($,I.lastPrinted),this.map["cp:revision"].render($,I.revision),this.map["cp:version"].render($,I.version),this.map["cp:contentStatus"].render($,I.contentStatus),this.map["cp:contentType"].render($,I.contentType),this.map["dcterms:created"].render($,I.created),this.map["dcterms:modified"].render($,I.modified),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}$8.DateFormat=function($){return $.toISOString().replace(/[.]\d{3}/,"")};$8.DateAttrs={"xsi:type":"dcterms:W3CDTF"};$8.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"};X10.exports=$8});var TZ=O((dP1,L10)=>{var Kn0=z0();class z10 extends Kn0{get tag(){return"t"}render($,I){if($.openNode("t"),/^\s|\n|\s$/.test(I))$.addAttribute("xml:space","preserve");$.writeText(I),$.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,($,I)=>String.fromCharCode(parseInt(I,16)))}parseOpen($){switch($.name){case"t":return this._text=[],!0;default:return!1}}parseText($){this._text.push($)}parseClose(){return!1}}L10.exports=z10});var OK=O((mP1,D10)=>{var qn0=TZ(),Gn0=OZ(),Hn0=z0();class EZ extends Hn0{constructor($){super();this.model=$}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new qn0)}get fontXform(){return this._fontXform||(this._fontXform=new Gn0(EZ.FONT_OPTIONS))}render($,I){if(I=I||this.model,$.openNode("r"),I.font)this.fontXform.render($,I.font);this.textXform.render($,I.text),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen($),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){switch($){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}}EZ.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"};D10.exports=EZ});var N10=O((lP1,F10)=>{var Wn0=TZ(),Vn0=OK(),wn0=z0();class O10 extends wn0{constructor(){super();this.map={r:new Vn0,t:new Wn0}}get tag(){return"rPh"}render($,I){if($.openNode(this.tag,{sb:I.sb||0,eb:I.eb||0}),I&&I.hasOwnProperty("richText")&&I.richText){let{r:U}=this.map;I.richText.forEach((Y)=>{U.render($,Y)})}else if(I)this.map.t.render($,I.text);$.closeNode()}parseOpen($){let{name:I}=$;if(this.parser)return this.parser.parseOpen($),!0;if(I===this.tag)return this.model={sb:parseInt($.attributes.sb,10),eb:parseInt($.attributes.eb,10)},!0;if(this.parser=this.map[I],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let I=this.model.richText;if(!I)I=this.model.richText=[];I.push(this.parser.model);break}case"t":this.model.text=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}F10.exports=O10});var P10=O((oP1,A10)=>{var Zn0=TZ(),Xn0=OK(),zn0=N10(),Ln0=z0();class M10 extends Ln0{constructor($){super();this.model=$,this.map={r:new Xn0,t:new Zn0,rPh:new zn0}}get tag(){return"si"}render($,I){if($.openNode(this.tag),I&&I.hasOwnProperty("richText")&&I.richText)if(I.richText.length)I.richText.forEach((U)=>{this.map.r.render($,U)});else this.map.t.render($,"");else if(I!==void 0&&I!==null)this.map.t.render($,I);$.closeNode()}parseOpen($){let{name:I}=$;if(this.parser)return this.parser.parseOpen($),!0;if(I===this.tag)return this.model={},!0;if(this.parser=this.map[I],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let I=this.model.richText;if(!I)I=this.model.richText=[];I.push(this.parser.model);break}case"t":this.model=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}A10.exports=M10});var nR=O((rP1,E10)=>{var Dn0=$6(),On0=z0(),Fn0=P10();class T10 extends On0{constructor($){super();this.model=$||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new Fn0)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString($){return this.model.values[$]}add($){return $.richText?this.addRichText($):this.addText($)}addText($){let I=this.hash[$];if(I===void 0)I=this.hash[$]=this.model.values.length,this.model.values.push($);return this.model.count++,I}addRichText($){let I=this.sharedStringXform.toXml($),U=this.rich[I];if(U===void 0)U=this.rich[I]=this.model.values.length,this.model.values.push($);return this.model.count++,U}render($,I){I=I||this._values,$.openXml(Dn0.StdDocAttributes),$.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:I.count,uniqueCount:I.values.length});let U=this.sharedStringXform;I.values.forEach((Y)=>{U.render($,Y)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen($),!0;default:throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0;return!0}switch($){case"sst":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}E10.exports=T10});var R10=O((tP1,v10)=>{var Nn0=z0();class B10 extends Nn0{render($,I){$.leafNode("Relationship",I)}parseOpen($){switch($.name){case"Relationship":return this.model=$.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}v10.exports=B10});var vZ=O((aP1,C10)=>{var Mn0=$6(),An0=z0(),Pn0=R10();class BZ extends An0{constructor(){super();this.map={Relationship:new Pn0}}render($,I){I=I||this._values,$.openXml(Mn0.StdDocAttributes),$.openNode("Relationships",BZ.RELATIONSHIPS_ATTRIBUTES),I.forEach((U)=>{this.map.Relationship.render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.push(this.parser.model),this.parser=void 0;return!0}switch($){case"Relationships":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}BZ.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"};C10.exports=BZ});var pR=O((sP1,j10)=>{var Tn0=$6(),En0=z0();class RZ extends En0{render($,I){$.openXml(Tn0.StdDocAttributes),$.openNode("Types",RZ.PROPERTY_ATTRIBUTES);let U={};if((I.media||[]).forEach((J)=>{if(J.type==="image"){let Q=J.extension;if(!U[Q])U[Q]=!0,$.leafNode("Default",{Extension:Q,ContentType:`image/${Q}`})}}),$.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),$.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),$.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),I.worksheets.forEach((J)=>{let Q=`/xl/worksheets/sheet${J.id}.xml`;$.leafNode("Override",{PartName:Q,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),$.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),$.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),I.sharedStrings&&I.sharedStrings.count)$.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"});if(I.tables)I.tables.forEach((J)=>{$.leafNode("Override",{PartName:`/xl/tables/${J.target}`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})});if(I.drawings)I.drawings.forEach((J)=>{$.leafNode("Override",{PartName:`/xl/drawings/${J.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})});if(I.commentRefs)$.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),I.commentRefs.forEach(({commentName:J})=>{$.leafNode("Override",{PartName:`/xl/${J}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})});$.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),$.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),$.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}RZ.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"};j10.exports=RZ});var g10=O((eP1,S10)=>{var Bn0=z0();class _10 extends Bn0{render($,I){$.openNode("HeadingPairs"),$.openNode("vt:vector",{size:2,baseType:"variant"}),$.openNode("vt:variant"),$.leafNode("vt:lpstr",void 0,"Worksheets"),$.closeNode(),$.openNode("vt:variant"),$.leafNode("vt:i4",void 0,I.length),$.closeNode(),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="HeadingPairs"}parseText(){}parseClose($){return $!=="HeadingPairs"}}S10.exports=_10});var x10=O(($T1,h10)=>{var vn0=z0();class y10 extends vn0{render($,I){$.openNode("TitlesOfParts"),$.openNode("vt:vector",{size:I.length,baseType:"lpstr"}),I.forEach((U)=>{$.leafNode("vt:lpstr",void 0,U.name)}),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="TitlesOfParts"}parseText(){}parseClose($){return $!=="TitlesOfParts"}}h10.exports=y10});var cR=O((IT1,u10)=>{var Rn0=$6(),Cn0=z0(),k10=zZ(),jn0=g10(),_n0=x10();class IY extends Cn0{constructor(){super();this.map={Company:new k10({tag:"Company"}),Manager:new k10({tag:"Manager"}),HeadingPairs:new jn0,TitleOfParts:new _n0}}render($,I){$.openXml(Rn0.StdDocAttributes),$.openNode("Properties",IY.PROPERTY_ATTRIBUTES),$.leafNode("Application",void 0,"Microsoft Excel"),$.leafNode("DocSecurity",void 0,"0"),$.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render($,I.worksheets),this.map.TitleOfParts.render($,I.worksheets),this.map.Company.render($,I.company||""),this.map.Manager.render($,I.manager),$.leafNode("LinksUpToDate",void 0,"false"),$.leafNode("SharedDoc",void 0,"false"),$.leafNode("HyperlinksChanged",void 0,"false"),$.leafNode("AppVersion",void 0,"16.0300"),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Properties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}IY.DateFormat=function($){return $.toISOString().replace(/[.]\d{3,6}/,"")};IY.DateAttrs={"xsi:type":"dcterms:W3CDTF"};IY.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"};u10.exports=IY});var i10=O((UT1,b10)=>{var Sn0=z0(),gn0=G4();class f10 extends Sn0{render($,I){$.openNode("definedName",{name:I.name,localSheetId:I.localSheetId}),$.writeText(I.ranges.join(",")),$.closeNode()}parseOpen($){switch($.name){case"definedName":return this._parsedName=$.attributes.name,this._parsedLocalSheetId=$.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText($){this._parsedText.push($)}parseClose(){if(this.model={name:this._parsedName,ranges:yn0(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0)this.model.localSheetId=parseInt(this._parsedLocalSheetId,10);return!1}}function dR($){try{return gn0.decodeEx($),!0}catch(I){return!1}}function yn0($){let I=[],U=!1,Y="";return $.split(",").forEach((J)=>{if(!J)return;let Q=(J.match(/'/g)||[]).length;if(!Q){if(U)Y+=`${J},`;else if(dR(J))I.push(J);return}let K=Q%2===0;if(!U&&K&&dR(J))I.push(J);else if(U&&!K){if(U=!1,dR(Y+J))I.push(Y+J);Y=""}else U=!0,Y+=`${J},`}),I}b10.exports=f10});var c10=O((YT1,p10)=>{var hn0=L6(),xn0=z0();class n10 extends xn0{render($,I){$.leafNode("sheet",{sheetId:I.id,name:I.name,state:I.state,"r:id":I.rId})}parseOpen($){if($.name==="sheet")return this.model={name:hn0.xmlDecode($.attributes.name),id:parseInt($.attributes.sheetId,10),state:$.attributes.state,rId:$.attributes["r:id"]},!0;return!1}parseText(){}parseClose(){return!1}}p10.exports=n10});var l10=O((JT1,m10)=>{var kn0=z0();class d10 extends kn0{render($,I){let U={xWindow:I.x||0,yWindow:I.y||0,windowWidth:I.width||12000,windowHeight:I.height||24000,firstSheet:I.firstSheet,activeTab:I.activeTab};if(I.visibility&&I.visibility!=="visible")U.visibility=I.visibility;$.leafNode("workbookView",U)}parseOpen($){if($.name==="workbookView"){let I=this.model={},U=function(J,Q,K){let q=Q!==void 0?I[J]=Q:K;if(q!==void 0)I[J]=q},Y=function(J,Q,K){let q=Q!==void 0?I[J]=parseInt(Q,10):K;if(q!==void 0)I[J]=q};return Y("x",$.attributes.xWindow,0),Y("y",$.attributes.yWindow,0),Y("width",$.attributes.windowWidth,25000),Y("height",$.attributes.windowHeight,1e4),U("visibility",$.attributes.visibility,"visible"),Y("activeTab",$.attributes.activeTab,void 0),Y("firstSheet",$.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}m10.exports=d10});var t10=O((QT1,r10)=>{var un0=z0();class o10 extends un0{render($,I){$.leafNode("workbookPr",{date1904:I.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen($){if($.name==="workbookPr")return this.model={date1904:$.attributes.date1904==="1"},!0;return!1}parseText(){}parseClose(){return!1}}r10.exports=o10});var e10=O((KT1,s10)=>{var fn0=z0();class a10 extends fn0{render($,I){$.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:I.fullCalcOnLoad?1:void 0})}parseOpen($){if($.name==="calcPr")return this.model={},!0;return!1}parseText(){}parseClose(){return!1}}s10.exports=a10});var CZ=O((qT1,$40)=>{var bn0=Z4(),in0=G4(),nn0=$6(),pn0=z0(),cn0=$Y(),mR=g9(),dn0=i10(),mn0=c10(),ln0=l10(),on0=t10(),rn0=e10();class UY extends pn0{constructor(){super();this.map={fileVersion:UY.STATIC_XFORMS.fileVersion,workbookPr:new on0,bookViews:new mR({tag:"bookViews",count:!1,childXform:new ln0}),sheets:new mR({tag:"sheets",count:!1,childXform:new mn0}),definedNames:new mR({tag:"definedNames",count:!1,childXform:new dn0}),calcPr:new rn0}}prepare($){$.sheets=$.worksheets;let I=[],U=0;if($.sheets.forEach((Y)=>{if(Y.pageSetup&&Y.pageSetup.printArea)Y.pageSetup.printArea.split("&&").forEach((J)=>{let Q=J.split(":"),K={name:"_xlnm.Print_Area",ranges:[`'${Y.name}'!$${Q[0]}:$${Q[1]}`],localSheetId:U};I.push(K)});if(Y.pageSetup&&(Y.pageSetup.printTitlesRow||Y.pageSetup.printTitlesColumn)){let J=[];if(Y.pageSetup.printTitlesColumn){let K=Y.pageSetup.printTitlesColumn.split(":");J.push(`'${Y.name}'!$${K[0]}:$${K[1]}`)}if(Y.pageSetup.printTitlesRow){let K=Y.pageSetup.printTitlesRow.split(":");J.push(`'${Y.name}'!$${K[0]}:$${K[1]}`)}let Q={name:"_xlnm.Print_Titles",ranges:J,localSheetId:U};I.push(Q)}U++}),I.length)$.definedNames=$.definedNames.concat(I);($.media||[]).forEach((Y,J)=>{Y.name=Y.type+(J+1)})}render($,I){$.openXml(nn0.StdDocAttributes),$.openNode("workbook",UY.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render($),this.map.workbookPr.render($,I.properties),this.map.bookViews.render($,I.views),this.map.sheets.render($,I.sheets),this.map.definedNames.render($,I.definedNames),this.map.calcPr.render($,I.calcProperties),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"workbook":return!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"workbook":if(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model)this.model.definedNames=this.map.definedNames.model;return!1;default:return!0}}reconcile($){let I=($.workbookRels||[]).reduce((K,q)=>{return K[q.Id]=q,K},{}),U=[],Y,J=0;($.sheets||[]).forEach((K)=>{let q=I[K.rId];if(!q)return;if(Y=$.worksheetHash[`xl/${q.Target.replace(/^(\s|\/xl\/)+/,"")}`],Y)Y.name=K.name,Y.id=K.id,Y.state=K.state,U[J++]=Y});let Q=[];bn0.each($.definedNames,(K)=>{if(K.name==="_xlnm.Print_Area"){if(Y=U[K.localSheetId],Y){if(!Y.pageSetup)Y.pageSetup={};let q=in0.decodeEx(K.ranges[0]);Y.pageSetup.printArea=Y.pageSetup.printArea?`${Y.pageSetup.printArea}&&${q.dimensions}`:q.dimensions}}else if(K.name==="_xlnm.Print_Titles"){if(Y=U[K.localSheetId],Y){if(!Y.pageSetup)Y.pageSetup={};let q=K.ranges.join(","),G=/\$/g,H=/\$\d+:\$\d+/,W=q.match(H);if(W&&W.length){let Z=W[0];Y.pageSetup.printTitlesRow=Z.replace(G,"")}let V=/\$[A-Z]+:\$[A-Z]+/,w=q.match(V);if(w&&w.length){let Z=w[0];Y.pageSetup.printTitlesColumn=Z.replace(G,"")}}}else Q.push(K)}),$.definedNames=Q,$.media.forEach((K,q)=>{K.index=q})}}UY.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"};UY.STATIC_XFORMS={fileVersion:new cn0({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})};$40.exports=UY});var x9=O((GT1,I40)=>{I40.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}});var q40=O((HT1,K40)=>{var U40=Z4(),tn0=q5(),Y40=G4(),J40=o$();class Q40{constructor(){this.merges={}}add($){if(this.merges[$.master])this.merges[$.master].expandToAddress($.address);else{let I=`${$.master}:${$.address}`;this.merges[$.master]=new tn0(I)}}get mergeCells(){return U40.map(this.merges,($)=>$.range)}reconcile($,I){U40.each($,(U)=>{let Y=Y40.decode(U);for(let J=Y.top;J<=Y.bottom;J++){let Q=I[J-1];for(let K=Y.left;K<=Y.right;K++){let q=Q.cells[K-1];if(!q)Q.cells[K]={type:J40.ValueType.Null,address:Y40.encodeAddress(J,K)};else if(q.type===J40.ValueType.Merge)q.master=Y.tl}}})}getMasterAddress($){let I=this.hash[$];return I&&I.tl}}K40.exports=Q40});var V40=O((WT1,W40)=>{var k9=L6(),an0=z0(),sn0=q5(),u0=o$(),en0=OK();function G40($){if($===null||$===void 0)return u0.ValueType.Null;if($ instanceof String||typeof $==="string")return u0.ValueType.String;if(typeof $==="number")return u0.ValueType.Number;if(typeof $==="boolean")return u0.ValueType.Boolean;if($ instanceof Date)return u0.ValueType.Date;if($.text&&$.hyperlink)return u0.ValueType.Hyperlink;if($.formula)return u0.ValueType.Formula;if($.error)return u0.ValueType.Error;throw Error("I could not understand type of value")}function $p0($){switch($.type){case u0.ValueType.Formula:return G40($.result);default:return $.type}}class H40 extends an0{constructor(){super();this.richTextXForm=new en0}get tag(){return"c"}prepare($,I){let U=I.styles.addStyleModel($.style||{},$p0($));if(U)$.styleId=U;if($.comment)I.comments.push({...$.comment,ref:$.address});switch($.type){case u0.ValueType.String:case u0.ValueType.RichText:if(I.sharedStrings)$.ssId=I.sharedStrings.add($.value);break;case u0.ValueType.Date:if(I.date1904)$.date1904=!0;break;case u0.ValueType.Hyperlink:if(I.sharedStrings&&$.text!==void 0&&$.text!==null)$.ssId=I.sharedStrings.add($.text);I.hyperlinks.push({address:$.address,target:$.hyperlink,tooltip:$.tooltip});break;case u0.ValueType.Merge:I.merges.add($);break;case u0.ValueType.Formula:if(I.date1904)$.date1904=!0;if($.shareType==="shared")$.si=I.siFormulae++;if($.formula)I.formulae[$.address]=$;else if($.sharedFormula){let Y=I.formulae[$.sharedFormula];if(!Y)throw Error(`Shared Formula master must exist above and or left of clone for cell ${$.address}`);if(Y.si===void 0)Y.shareType="shared",Y.si=I.siFormulae++,Y.range=new sn0(Y.address,$.address);else if(Y.range)Y.range.expandToAddress($.address);$.si=Y.si}break;default:break}}renderFormula($,I){let U=null;switch(I.shareType){case"shared":U={t:"shared",ref:I.ref||I.range.range,si:I.si};break;case"array":U={t:"array",ref:I.ref};break;default:if(I.si!==void 0)U={t:"shared",si:I.si};break}switch(G40(I.result)){case u0.ValueType.Null:$.leafNode("f",U,I.formula);break;case u0.ValueType.String:$.addAttribute("t","str"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result);break;case u0.ValueType.Number:$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result);break;case u0.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result?1:0);break;case u0.ValueType.Error:$.addAttribute("t","e"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result.error);break;case u0.ValueType.Date:$.leafNode("f",U,I.formula),$.leafNode("v",null,k9.dateToExcel(I.result,I.date1904));break;default:throw Error("I could not understand type of value")}}render($,I){if(I.type===u0.ValueType.Null&&!I.styleId)return;if($.openNode("c"),$.addAttribute("r",I.address),I.styleId)$.addAttribute("s",I.styleId);switch(I.type){case u0.ValueType.Null:break;case u0.ValueType.Number:$.leafNode("v",null,I.value);break;case u0.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("v",null,I.value?"1":"0");break;case u0.ValueType.Error:$.addAttribute("t","e"),$.leafNode("v",null,I.value.error);break;case u0.ValueType.String:case u0.ValueType.RichText:if(I.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,I.ssId);else if(I.value&&I.value.richText)$.addAttribute("t","inlineStr"),$.openNode("is"),I.value.richText.forEach((U)=>{this.richTextXForm.render($,U)}),$.closeNode("is");else $.addAttribute("t","str"),$.leafNode("v",null,I.value);break;case u0.ValueType.Date:$.leafNode("v",null,k9.dateToExcel(I.value,I.date1904));break;case u0.ValueType.Hyperlink:if(I.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,I.ssId);else $.addAttribute("t","str"),$.leafNode("v",null,I.text);break;case u0.ValueType.Formula:this.renderFormula($,I);break;case u0.ValueType.Merge:break;default:break}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"c":if(this.model={address:$.attributes.r},this.t=$.attributes.t,$.attributes.s)this.model.styleId=parseInt($.attributes.s,10);return!0;case"f":return this.currentNode="f",this.model.si=$.attributes.si,this.model.shareType=$.attributes.t,this.model.ref=$.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser){this.parser.parseText($);return}switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+$:$;break;case"v":case"t":if(this.model.value&&this.model.value.richText)this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+$:$;else this.model.value=this.model.value?this.model.value+$:$;break;default:break}}parseClose($){switch($){case"c":{let{model:I}=this;if(I.formula||I.shareType){if(I.type=u0.ValueType.Formula,I.value){if(this.t==="str")I.result=k9.xmlDecode(I.value);else if(this.t==="b")I.result=parseInt(I.value,10)!==0;else if(this.t==="e")I.result={error:I.value};else I.result=parseFloat(I.value);I.value=void 0}}else if(I.value!==void 0)switch(this.t){case"s":I.type=u0.ValueType.String,I.value=parseInt(I.value,10);break;case"str":I.type=u0.ValueType.String,I.value=k9.xmlDecode(I.value);break;case"inlineStr":I.type=u0.ValueType.String;break;case"b":I.type=u0.ValueType.Boolean,I.value=parseInt(I.value,10)!==0;break;case"e":I.type=u0.ValueType.Error,I.value={error:I.value};break;default:I.type=u0.ValueType.Number,I.value=parseFloat(I.value);break}else if(I.styleId)I.type=u0.ValueType.Null;else I.type=u0.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":if(this.parser)return this.parser.parseClose($),!0;return this.currentNode=void 0,!0;case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:if(this.parser)return this.parser.parseClose($),!0;return!1}}reconcile($,I){let U=$.styleId&&I.styles&&I.styles.getStyleModel($.styleId);if(U)$.style=U;if($.styleId!==void 0)$.styleId=void 0;switch($.type){case u0.ValueType.String:if(typeof $.value==="number"){if(I.sharedStrings)$.value=I.sharedStrings.getString($.value)}if($.value.richText)$.type=u0.ValueType.RichText;break;case u0.ValueType.Number:if(U&&k9.isDateFmt(U.numFmt))$.type=u0.ValueType.Date,$.value=k9.excelToDate($.value,I.date1904);break;case u0.ValueType.Formula:if($.result!==void 0&&U&&k9.isDateFmt(U.numFmt))$.result=k9.excelToDate($.result,I.date1904);if($.shareType==="shared"){if($.ref)I.formulae[$.si]=$.address;else $.sharedFormula=I.formulae[$.si],delete $.shareType;delete $.si}break;default:break}let Y=I.hyperlinkMap[$.address];if(Y){if($.type===u0.ValueType.Formula)$.text=$.result,$.result=void 0;else $.text=$.value,$.value=void 0;$.type=u0.ValueType.Hyperlink,$.hyperlink=Y}let J=I.commentsMap&&I.commentsMap[$.address];if(J)$.comment=J}}W40.exports=H40});var oR=O((VT1,Z40)=>{var Ip0=z0(),lR=L6(),Up0=V40();class w40 extends Ip0{constructor($){super();this.maxItems=$&&$.maxItems,this.map={c:new Up0}}get tag(){return"row"}prepare($,I){let U=I.styles.addStyleModel($.style);if(U)$.styleId=U;let Y=this.map.c;$.cells.forEach((J)=>{Y.prepare(J,I)})}render($,I,U){if($.openNode("row"),$.addAttribute("r",I.number),I.height)$.addAttribute("ht",I.height),$.addAttribute("customHeight","1");if(I.hidden)$.addAttribute("hidden","1");if(I.min>0&&I.max>0&&I.min<=I.max)$.addAttribute("spans",`${I.min}:${I.max}`);if(I.styleId)$.addAttribute("s",I.styleId),$.addAttribute("customFormat","1");if($.addAttribute("x14ac:dyDescent","0.25"),I.outlineLevel)$.addAttribute("outlineLevel",I.outlineLevel);if(I.collapsed)$.addAttribute("collapsed","1");let Y=this.map.c;I.cells.forEach((J)=>{Y.render($,J,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="row"){this.numRowsSeen+=1;let I=$.attributes.spans?$.attributes.spans.split(":").map((Y)=>parseInt(Y,10)):[void 0,void 0],U=this.model={number:parseInt($.attributes.r,10),min:I[0],max:I[1],cells:[]};if($.attributes.s)U.styleId=parseInt($.attributes.s,10);if(lR.parseBoolean($.attributes.hidden))U.hidden=!0;if(lR.parseBoolean($.attributes.bestFit))U.bestFit=!0;if($.attributes.ht)U.height=parseFloat($.attributes.ht);if($.attributes.outlineLevel)U.outlineLevel=parseInt($.attributes.outlineLevel,10);if(lR.parseBoolean($.attributes.collapsed))U.collapsed=!0;return!0}if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile($,I){if($.style=$.styleId?I.styles.getStyleModel($.styleId):{},$.styleId!==void 0)$.styleId=void 0;let U=this.map.c;$.cells.forEach((Y)=>{U.reconcile(Y,I)})}}Z40.exports=w40});var tR=O((wT1,z40)=>{var rR=L6(),Yp0=z0();class X40 extends Yp0{get tag(){return"col"}prepare($,I){let U=I.styles.addStyleModel($.style||{});if(U)$.styleId=U}render($,I){if($.openNode("col"),$.addAttribute("min",I.min),$.addAttribute("max",I.max),I.width)$.addAttribute("width",I.width);if(I.styleId)$.addAttribute("style",I.styleId);if(I.hidden)$.addAttribute("hidden","1");if(I.bestFit)$.addAttribute("bestFit","1");if(I.outlineLevel)$.addAttribute("outlineLevel",I.outlineLevel);if(I.collapsed)$.addAttribute("collapsed","1");$.addAttribute("customWidth","1"),$.closeNode()}parseOpen($){if($.name==="col"){let I=this.model={min:parseInt($.attributes.min||"0",10),max:parseInt($.attributes.max||"0",10),width:$.attributes.width===void 0?void 0:parseFloat($.attributes.width||"0")};if($.attributes.style)I.styleId=parseInt($.attributes.style,10);if(rR.parseBoolean($.attributes.hidden))I.hidden=!0;if(rR.parseBoolean($.attributes.bestFit))I.bestFit=!0;if($.attributes.outlineLevel)I.outlineLevel=parseInt($.attributes.outlineLevel,10);if(rR.parseBoolean($.attributes.collapsed))I.collapsed=!0;return!0}return!1}parseText(){}parseClose(){return!1}reconcile($,I){if($.styleId)$.style=I.styles.getStyleModel($.styleId)}}z40.exports=X40});var O40=O((ZT1,D40)=>{var Jp0=z0();class L40 extends Jp0{get tag(){return"dimension"}render($,I){if(I)$.leafNode("dimension",{ref:I})}parseOpen($){if($.name==="dimension")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}D40.exports=L40});var aR=O((XT1,N40)=>{var Qp0=z0();class F40 extends Qp0{get tag(){return"hyperlink"}render($,I){if(this.isInternalLink(I))$.leafNode("hyperlink",{ref:I.address,"r:id":I.rId,tooltip:I.tooltip,location:I.target});else $.leafNode("hyperlink",{ref:I.address,"r:id":I.rId,tooltip:I.tooltip})}parseOpen($){if($.name==="hyperlink"){if(this.model={address:$.attributes.ref,rId:$.attributes["r:id"],tooltip:$.attributes.tooltip},$.attributes.location)this.model.target=$.attributes.location;return!0}return!1}parseText(){}parseClose(){return!1}isInternalLink($){return $.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test($.target)}}N40.exports=F40});var P40=O((zT1,A40)=>{var Kp0=z0();class M40 extends Kp0{get tag(){return"mergeCell"}render($,I){$.leafNode("mergeCell",{ref:I})}parseOpen($){if($.name==="mergeCell")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}A40.exports=M40});var $C=O((LT1,E40)=>{var FK=Z4(),eR=L6(),YY=G4(),qp0=z0(),Gp0=q5();function JY($,I,U,Y){let J=I[U];if(J!==void 0)$[U]=J;else if(Y!==void 0)$[U]=Y}function sR($,I,U,Y){let J=I[U];if(J!==void 0)$[U]=eR.parseBoolean(J);else if(Y!==void 0)$[U]=Y}function Hp0($){let I=FK.map($,(J,Q)=>({address:Q,dataValidation:J,marked:!1})).sort((J,Q)=>FK.strcmp(J.address,Q.address)),U=FK.keyBy(I,"address"),Y=(J,Q,K)=>{for(let q=0;q{if(!J.marked){let Q=YY.decodeEx(J.address);if(Q.dimensions)return U[Q.dimensions].marked=!0,{...J.dataValidation,sqref:J.address};let K=1,q=YY.encodeAddress(Q.row+K,Q.col);while($[q]&&FK.isEqual(J.dataValidation,$[q]))K++,q=YY.encodeAddress(Q.row+K,Q.col);let G=1;while(Y(Q,K,Q.col+G))G++;for(let H=0;H1||G>1){let H=Q.row+(K-1),W=Q.col+(G-1);return{...J.dataValidation,sqref:`${J.address}:${YY.encodeAddress(H,W)}`}}return{...J.dataValidation,sqref:J.address}}return null}).filter(Boolean)}class T40 extends qp0{get tag(){return"dataValidations"}render($,I){let U=Hp0(I);if(U.length)$.openNode("dataValidations",{count:U.length}),U.forEach((Y)=>{if($.openNode("dataValidation"),Y.type!=="any"){if($.addAttribute("type",Y.type),Y.operator&&Y.type!=="list"&&Y.operator!=="between")$.addAttribute("operator",Y.operator);if(Y.allowBlank)$.addAttribute("allowBlank","1")}if(Y.showInputMessage)$.addAttribute("showInputMessage","1");if(Y.promptTitle)$.addAttribute("promptTitle",Y.promptTitle);if(Y.prompt)$.addAttribute("prompt",Y.prompt);if(Y.showErrorMessage)$.addAttribute("showErrorMessage","1");if(Y.errorStyle)$.addAttribute("errorStyle",Y.errorStyle);if(Y.errorTitle)$.addAttribute("errorTitle",Y.errorTitle);if(Y.error)$.addAttribute("error",Y.error);$.addAttribute("sqref",Y.sqref),(Y.formulae||[]).forEach((J,Q)=>{if($.openNode(`formula${Q+1}`),Y.type==="date")$.writeText(eR.dateToExcel(new Date(J)));else $.writeText(J);$.closeNode()}),$.closeNode()}),$.closeNode()}parseOpen($){switch($.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=$.attributes.sqref;let I={type:$.attributes.type||"any",formulae:[]};if($.attributes.type)sR(I,$.attributes,"allowBlank");switch(sR(I,$.attributes,"showInputMessage"),sR(I,$.attributes,"showErrorMessage"),I.type){case"any":case"list":case"custom":break;default:JY(I,$.attributes,"operator","between");break}return JY(I,$.attributes,"promptTitle"),JY(I,$.attributes,"prompt"),JY(I,$.attributes,"errorStyle"),JY(I,$.attributes,"errorTitle"),JY(I,$.attributes,"error"),this._dataValidation=I,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText($){if(this._formula)this._formula.push($)}parseClose($){switch($){case"dataValidations":return!1;case"dataValidation":{if(!this._dataValidation.formulae||!this._dataValidation.formulae.length)delete this._dataValidation.formulae,delete this._dataValidation.operator;return(this._address.split(/\s+/g)||[]).forEach((U)=>{if(U.includes(":"))new Gp0(U).forEachAddress((J)=>{this.model[J]=this._dataValidation});else this.model[U]=this._dataValidation}),!0}case"formula1":case"formula2":{let I=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":I=parseInt(I,10);break;case"decimal":I=parseFloat(I);break;case"date":I=eR.excelToDate(parseFloat(I));break;default:break}return this._dataValidation.formulae.push(I),this._formula=void 0,!0}default:return!0}}}E40.exports=T40});var R40=O((DT1,v40)=>{var Wp0=z0();class B40 extends Wp0{get tag(){return"pageSetUpPr"}render($,I){if(I&&I.fitToPage)return $.leafNode(this.tag,{fitToPage:I.fitToPage?"1":void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={fitToPage:$.attributes.fitToPage==="1"},!0;return!1}parseText(){}parseClose(){return!1}}v40.exports=B40});var _40=O((OT1,j40)=>{var Vp0=z0(),QY=($)=>typeof $<"u";class C40 extends Vp0{get tag(){return"outlinePr"}render($,I){if(I&&(QY(I.summaryBelow)||QY(I.summaryRight)))return $.leafNode(this.tag,{summaryBelow:QY(I.summaryBelow)?Number(I.summaryBelow):void 0,summaryRight:QY(I.summaryRight)?Number(I.summaryRight):void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={summaryBelow:QY($.attributes.summaryBelow)?Boolean(Number($.attributes.summaryBelow)):void 0,summaryRight:QY($.attributes.summaryRight)?Boolean(Number($.attributes.summaryRight)):void 0},!0;return!1}parseText(){}parseClose(){return!1}}j40.exports=C40});var IC=O((FT1,g40)=>{var wp0=z0(),Zp0=y9(),Xp0=R40(),zp0=_40();class S40 extends wp0{constructor(){super();this.map={tabColor:new Zp0("tabColor"),pageSetUpPr:new Xp0,outlinePr:new zp0}}get tag(){return"sheetPr"}render($,I){if(I){$.addRollback(),$.openNode("sheetPr");let U=!1;if(U=this.map.tabColor.render($,I.tabColor)||U,U=this.map.pageSetUpPr.render($,I.pageSetup)||U,U=this.map.outlinePr.render($,I.outlineProperties)||U,U)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.reset(),!0;if(this.map[$.name])return this.parser=this.map[$.name],this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)return this.parser.parseText($),!0;return!1}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model){if(this.model={},this.map.tabColor.model)this.model.tabColor=this.map.tabColor.model;if(this.map.pageSetUpPr.model)this.model.pageSetup=this.map.pageSetUpPr.model;if(this.map.outlinePr.model)this.model.outlineProperties=this.map.outlinePr.model}else this.model=null;return!1}}g40.exports=S40});var UC=O((NT1,h40)=>{var Lp0=Z4(),Dp0=z0();class y40 extends Dp0{get tag(){return"sheetFormatPr"}render($,I){if(I){let U={defaultRowHeight:I.defaultRowHeight,outlineLevelRow:I.outlineLevelRow,outlineLevelCol:I.outlineLevelCol,"x14ac:dyDescent":I.dyDescent};if(I.defaultColWidth)U.defaultColWidth=I.defaultColWidth;if(!I.defaultRowHeight||I.defaultRowHeight!==15)U.customHeight="1";if(Lp0.some(U,(Y)=>Y!==void 0))$.leafNode("sheetFormatPr",U)}}parseOpen($){if($.name==="sheetFormatPr"){if(this.model={defaultRowHeight:parseFloat($.attributes.defaultRowHeight||"0"),dyDescent:parseFloat($.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt($.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt($.attributes.outlineLevelCol||"0",10)},$.attributes.defaultColWidth)this.model.defaultColWidth=parseFloat($.attributes.defaultColWidth);return!0}return!1}parseText(){}parseClose(){return!1}}h40.exports=y40});var YC=O((MT1,k40)=>{var Op0=G4(),Fp0=z0(),Np0={frozen:"frozen",frozenSplit:"frozen",split:"split"};class x40 extends Fp0{get tag(){return"sheetView"}prepare($){switch($.state){case"frozen":case"split":break;default:$.state="normal";break}}render($,I){$.openNode("sheetView",{workbookViewId:I.workbookViewId||0});let U=function(q,G,H){if(H)$.addAttribute(q,G)};U("rightToLeft","1",I.rightToLeft===!0),U("tabSelected","1",I.tabSelected),U("showRuler","0",I.showRuler===!1),U("showRowColHeaders","0",I.showRowColHeaders===!1),U("showGridLines","0",I.showGridLines===!1),U("zoomScale",I.zoomScale,I.zoomScale),U("zoomScaleNormal",I.zoomScaleNormal,I.zoomScaleNormal),U("view",I.style,I.style);let Y,J,Q,K;switch(I.state){case"frozen":J=I.xSplit||0,Q=I.ySplit||0,Y=I.topLeftCell||Op0.getAddress(Q+1,J+1).address,K=I.xSplit&&I.ySplit&&"bottomRight"||I.xSplit&&"topRight"||"bottomLeft",$.leafNode("pane",{xSplit:I.xSplit||void 0,ySplit:I.ySplit||void 0,topLeftCell:Y,activePane:K,state:"frozen"}),$.leafNode("selection",{pane:K,activeCell:I.activeCell,sqref:I.activeCell});break;case"split":if(I.activePane==="topLeft")I.activePane=void 0;$.leafNode("pane",{xSplit:I.xSplit||void 0,ySplit:I.ySplit||void 0,topLeftCell:I.topLeftCell,activePane:I.activePane}),$.leafNode("selection",{pane:I.activePane,activeCell:I.activeCell,sqref:I.activeCell});break;case"normal":if(I.activeCell)$.leafNode("selection",{activeCell:I.activeCell,sqref:I.activeCell});break;default:break}$.closeNode()}parseOpen($){switch($.name){case"sheetView":return this.sheetView={workbookViewId:parseInt($.attributes.workbookViewId,10),rightToLeft:$.attributes.rightToLeft==="1",tabSelected:$.attributes.tabSelected==="1",showRuler:$.attributes.showRuler!=="0",showRowColHeaders:$.attributes.showRowColHeaders!=="0",showGridLines:$.attributes.showGridLines!=="0",zoomScale:parseInt($.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt($.attributes.zoomScaleNormal||"100",10),style:$.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt($.attributes.xSplit||"0",10),ySplit:parseInt($.attributes.ySplit||"0",10),topLeftCell:$.attributes.topLeftCell,activePane:$.attributes.activePane||"topLeft",state:$.attributes.state},!0;case"selection":{let I=$.attributes.pane||"topLeft";return this.selections[I]={pane:I,activeCell:$.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose($){let I,U;switch($){case"sheetView":if(this.sheetView&&this.pane){if(I=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:Np0[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split")I.activePane=this.pane.activePane;if(U=this.selections[this.pane.activePane],U&&U.activeCell)I.activeCell=U.activeCell;if(this.sheetView.style)I.style=this.sheetView.style}else{if(I=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},U=this.selections.topLeft,U&&U.activeCell)I.activeCell=U.activeCell;if(this.sheetView.style)I.style=this.sheetView.style}return!1;default:return!0}}reconcile(){}}k40.exports=x40});var JC=O((AT1,f40)=>{var Mp0=Z4(),Ap0=z0();function c6($,I){return $?I:void 0}function C$($,I){return $===I?!0:void 0}class u40 extends Ap0{get tag(){return"sheetProtection"}render($,I){if(I){let U={sheet:c6(I.sheet,"1"),selectLockedCells:I.selectLockedCells===!1?"1":void 0,selectUnlockedCells:I.selectUnlockedCells===!1?"1":void 0,formatCells:c6(I.formatCells,"0"),formatColumns:c6(I.formatColumns,"0"),formatRows:c6(I.formatRows,"0"),insertColumns:c6(I.insertColumns,"0"),insertRows:c6(I.insertRows,"0"),insertHyperlinks:c6(I.insertHyperlinks,"0"),deleteColumns:c6(I.deleteColumns,"0"),deleteRows:c6(I.deleteRows,"0"),sort:c6(I.sort,"0"),autoFilter:c6(I.autoFilter,"0"),pivotTables:c6(I.pivotTables,"0")};if(I.sheet)U.algorithmName=I.algorithmName,U.hashValue=I.hashValue,U.saltValue=I.saltValue,U.spinCount=I.spinCount,U.objects=c6(I.objects===!1,"1"),U.scenarios=c6(I.scenarios===!1,"1");if(Mp0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:if(this.model={sheet:C$($.attributes.sheet,"1"),objects:$.attributes.objects==="1"?!1:void 0,scenarios:$.attributes.scenarios==="1"?!1:void 0,selectLockedCells:$.attributes.selectLockedCells==="1"?!1:void 0,selectUnlockedCells:$.attributes.selectUnlockedCells==="1"?!1:void 0,formatCells:C$($.attributes.formatCells,"0"),formatColumns:C$($.attributes.formatColumns,"0"),formatRows:C$($.attributes.formatRows,"0"),insertColumns:C$($.attributes.insertColumns,"0"),insertRows:C$($.attributes.insertRows,"0"),insertHyperlinks:C$($.attributes.insertHyperlinks,"0"),deleteColumns:C$($.attributes.deleteColumns,"0"),deleteRows:C$($.attributes.deleteRows,"0"),sort:C$($.attributes.sort,"0"),autoFilter:C$($.attributes.autoFilter,"0"),pivotTables:C$($.attributes.pivotTables,"0")},$.attributes.algorithmName)this.model.algorithmName=$.attributes.algorithmName,this.model.hashValue=$.attributes.hashValue,this.model.saltValue=$.attributes.saltValue,this.model.spinCount=parseInt($.attributes.spinCount,10);return!0;default:return!1}}parseText(){}parseClose(){return!1}}f40.exports=u40});var QC=O((PT1,i40)=>{var Pp0=Z4(),Tp0=z0();class b40 extends Tp0{get tag(){return"pageMargins"}render($,I){if(I){let U={left:I.left,right:I.right,top:I.top,bottom:I.bottom,header:I.header,footer:I.footer};if(Pp0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={left:parseFloat($.attributes.left||0.7),right:parseFloat($.attributes.right||0.7),top:parseFloat($.attributes.top||0.75),bottom:parseFloat($.attributes.bottom||0.75),header:parseFloat($.attributes.header||0.3),footer:parseFloat($.attributes.footer||0.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}i40.exports=b40});var KC=O((TT1,p40)=>{var Ep0=Z4(),Bp0=z0();function jZ($){return $?"1":void 0}function vp0($){switch($){case"overThenDown":return $;default:return}}function Rp0($){switch($){case"atEnd":case"asDisplyed":return $;default:return}}function Cp0($){switch($){case"dash":case"blank":case"NA":return $;default:return}}function jp0($){return $!==void 0?parseInt($,10):void 0}class n40 extends Bp0{get tag(){return"pageSetup"}render($,I){if(I){let U={paperSize:I.paperSize,orientation:I.orientation,horizontalDpi:I.horizontalDpi,verticalDpi:I.verticalDpi,pageOrder:vp0(I.pageOrder),blackAndWhite:jZ(I.blackAndWhite),draft:jZ(I.draft),cellComments:Rp0(I.cellComments),errors:Cp0(I.errors),scale:I.scale,fitToWidth:I.fitToWidth,fitToHeight:I.fitToHeight,firstPageNumber:I.firstPageNumber,useFirstPageNumber:jZ(I.firstPageNumber),usePrinterDefaults:jZ(I.usePrinterDefaults),copies:I.copies};if(Ep0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={paperSize:jp0($.attributes.paperSize),orientation:$.attributes.orientation||"portrait",horizontalDpi:parseInt($.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt($.attributes.verticalDpi||"4294967295",10),pageOrder:$.attributes.pageOrder||"downThenOver",blackAndWhite:$.attributes.blackAndWhite==="1",draft:$.attributes.draft==="1",cellComments:$.attributes.cellComments||"None",errors:$.attributes.errors||"displayed",scale:parseInt($.attributes.scale||"100",10),fitToWidth:parseInt($.attributes.fitToWidth||"1",10),fitToHeight:parseInt($.attributes.fitToHeight||"1",10),firstPageNumber:parseInt($.attributes.firstPageNumber||"1",10),useFirstPageNumber:$.attributes.useFirstPageNumber==="1",usePrinterDefaults:$.attributes.usePrinterDefaults==="1",copies:parseInt($.attributes.copies||"1",10)},!0;default:return!1}}parseText(){}parseClose(){return!1}}p40.exports=n40});var m40=O((ET1,d40)=>{var _p0=Z4(),Sp0=z0();function _Z($){return $?"1":void 0}class c40 extends Sp0{get tag(){return"printOptions"}render($,I){if(I){let U={headings:_Z(I.showRowColHeaders),gridLines:_Z(I.showGridLines),horizontalCentered:_Z(I.horizontalCentered),verticalCentered:_Z(I.verticalCentered)};if(_p0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={showRowColHeaders:$.attributes.headings==="1",showGridLines:$.attributes.gridLines==="1",horizontalCentered:$.attributes.horizontalCentered==="1",verticalCentered:$.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}d40.exports=c40});var qC=O((BT1,o40)=>{var gp0=G4(),yp0=z0();class l40 extends yp0{get tag(){return"autoFilter"}render($,I){if(I)if(typeof I==="string")$.leafNode("autoFilter",{ref:I});else{let U=function(Q){if(typeof Q==="string")return Q;return gp0.getAddress(Q.row,Q.column).address},Y=U(I.from),J=U(I.to);if(Y&&J)$.leafNode("autoFilter",{ref:`${Y}:${J}`})}}parseOpen($){if($.name==="autoFilter")this.model=$.attributes.ref}}o40.exports=l40});var GC=O((vT1,t40)=>{var hp0=z0();class r40 extends hp0{get tag(){return"picture"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}t40.exports=r40});var e40=O((RT1,s40)=>{var xp0=z0();class a40 extends xp0{get tag(){return"drawing"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}s40.exports=a40});var U60=O((CT1,I60)=>{var kp0=z0();class $60 extends kp0{get tag(){return"tablePart"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}I60.exports=$60});var Q60=O((jT1,J60)=>{var up0=z0();class Y60 extends up0{get tag(){return"brk"}render($,I){$.leafNode("brk",I)}parseOpen($){if($.name==="brk")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}J60.exports=Y60});var HC=O((_T1,q60)=>{var fp0=Q60(),bp0=g9();class K60 extends bp0{constructor(){let $={tag:"rowBreaks",count:!0,childXform:new fp0};super($)}render($,I){if(I&&I.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,I.length),$.addAttribute("manualBreakCount",I.length);let{childXform:U}=this;I.forEach((Y)=>{U.render($,Y)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}}q60.exports=K60});var WC=O((ST1,H60)=>{var ip0=z0();class G60 extends ip0{get tag(){return"headerFooter"}render($,I){if(I){$.addRollback();let U=!1;if($.openNode("headerFooter"),I.differentFirst)$.addAttribute("differentFirst","1"),U=!0;if(I.differentOddEven)$.addAttribute("differentOddEven","1"),U=!0;if(I.oddHeader&&typeof I.oddHeader==="string")$.leafNode("oddHeader",null,I.oddHeader),U=!0;if(I.oddFooter&&typeof I.oddFooter==="string")$.leafNode("oddFooter",null,I.oddFooter),U=!0;if(I.evenHeader&&typeof I.evenHeader==="string")$.leafNode("evenHeader",null,I.evenHeader),U=!0;if(I.evenFooter&&typeof I.evenFooter==="string")$.leafNode("evenFooter",null,I.evenFooter),U=!0;if(I.firstHeader&&typeof I.firstHeader==="string")$.leafNode("firstHeader",null,I.firstHeader),U=!0;if(I.firstFooter&&typeof I.firstFooter==="string")$.leafNode("firstFooter",null,I.firstFooter),U=!0;if(U)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){switch($.name){case"headerFooter":if(this.model={},$.attributes.differentFirst)this.model.differentFirst=parseInt($.attributes.differentFirst,0)===1;if($.attributes.differentOddEven)this.model.differentOddEven=parseInt($.attributes.differentOddEven,0)===1;return!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText($){switch(this.currentNode){case"oddHeader":this.model.oddHeader=$;break;case"oddFooter":this.model.oddFooter=$;break;case"evenHeader":this.model.evenHeader=$;break;case"evenFooter":this.model.evenFooter=$;break;case"firstHeader":this.model.firstHeader=$;break;case"firstFooter":this.model.firstFooter=$;break;default:break}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}H60.exports=G60});var d6=O((gT1,V60)=>{var np0=z0();class W60 extends np0{createNewModel($){return{}}parseOpen($){if(this.parser=this.parser||this.map[$.name],this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.model=this.createNewModel($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}onParserClose($,I){this.model[$]=I.model}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.onParserClose($,this.parser),this.parser=void 0;return!0}return $!==this.tag}}V60.exports=W60});var SZ=O((yT1,X60)=>{var w60=z0();class Z60 extends w60{get tag(){return"cfvo"}render($,I){$.leafNode(this.tag,{type:I.type,val:I.value})}parseOpen($){this.model={type:$.attributes.type,value:w60.toFloatValue($.attributes.val)}}parseClose($){return $!==this.tag}}X60.exports=Z60});var D60=O((hT1,L60)=>{var pp0=d6(),cp0=y9(),dp0=SZ();class z60 extends pp0{constructor(){super();this.map={cfvo:this.cfvoXform=new dp0,color:this.colorXform=new cp0}}get tag(){return"dataBar"}render($,I){$.openNode(this.tag),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),this.colorXform.render($,I.color),$.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose($,I){switch($){case"cfvo":this.model.cfvo.push(I.model);break;case"color":this.model.color=I.model;break}}}L60.exports=z60});var P60=O((xT1,A60)=>{var mp0=z0(),O60=d6();class F60 extends mp0{get tag(){return"x14:id"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}class N60 extends O60{constructor(){super();this.map={"x14:id":this.idXform=new F60}}get tag(){return"ext"}render($,I){$.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render($,I.x14Id),$.closeNode()}createNewModel(){return{}}onParserClose($,I){this.model.x14Id=I.model}}class M60 extends O60{constructor(){super();this.map={ext:new N60}}get tag(){return"extLst"}render($,I){$.openNode(this.tag),this.map.ext.render($,I),$.closeNode()}createNewModel(){return{}}onParserClose($,I){Object.assign(this.model,I.model)}}A60.exports=M60});var B60=O((kT1,E60)=>{var lp0=z0();class T60 extends lp0{get tag(){return"formula"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}E60.exports=T60});var C60=O((uT1,R60)=>{var op0=d6(),rp0=y9(),tp0=SZ();class v60 extends op0{constructor(){super();this.map={cfvo:this.cfvoXform=new tp0,color:this.colorXform=new rp0}}get tag(){return"colorScale"}render($,I){$.openNode(this.tag),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),I.color.forEach((U)=>{this.colorXform.render($,U)}),$.closeNode()}createNewModel($){return{cfvo:[],color:[]}}onParserClose($,I){this.model[$].push(I.model)}}R60.exports=v60});var S60=O((fT1,_60)=>{var KY=z0(),ap0=d6(),sp0=SZ();class j60 extends ap0{constructor(){super();this.map={cfvo:this.cfvoXform=new sp0}}get tag(){return"iconSet"}render($,I){$.openNode(this.tag,{iconSet:KY.toStringAttribute(I.iconSet,"3TrafficLights"),reverse:KY.toBoolAttribute(I.reverse,!1),showValue:KY.toBoolAttribute(I.showValue,!0)}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),$.closeNode()}createNewModel({attributes:$}){return{iconSet:KY.toStringValue($.iconSet,"3TrafficLights"),reverse:KY.toBoolValue($.reverse),showValue:KY.toBoolValue($.showValue),cfvo:[]}}onParserClose($,I){this.model[$].push(I.model)}}_60.exports=j60});var h60=O((bT1,y60)=>{var I8=z0(),ep0=d6(),g60=q5(),$c0=D60(),Ic0=P60(),Uc0=B60(),Yc0=C60(),Jc0=S60(),Qc0={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},Kc0=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let I=new g60($.ref),{tl:U}=I;switch($.operator){case"containsText":return`NOT(ISERROR(SEARCH("${$.text}",${U})))`;case"containsBlanks":return`LEN(TRIM(${U}))=0`;case"notContainsBlanks":return`LEN(TRIM(${U}))>0`;case"containsErrors":return`ISERROR(${U})`;case"notContainsErrors":return`NOT(ISERROR(${U}))`;default:return}},qc0=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let I=new g60($.ref),{tl:U}=I;switch($.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${U},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${U},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${U},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${U},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${U},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${U},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${U},1)=TODAY()-1`;case"today":return`FLOOR(${U},1)=TODAY()`;case"tomorrow":return`FLOOR(${U},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${U},1)<=6,FLOOR(${U},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${U})=MONTH(EDATE(TODAY(),0-1)),YEAR(${U})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${U})=MONTH(TODAY()),YEAR(${U})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${U})=MONTH(EDATE(TODAY(),0+1)),YEAR(${U})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},Gc0=($)=>{let{type:I,operator:U}=$;switch(I){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:I};default:return{type:I,operator:U}}};class VC extends ep0{constructor(){super();this.map={dataBar:this.databarXform=new $c0,extLst:this.extLstRefXform=new Ic0,formula:this.formulaXform=new Uc0,colorScale:this.colorScaleXform=new Yc0,iconSet:this.iconSetXform=new Jc0}}get tag(){return"cfRule"}static isPrimitive($){if($.type==="iconSet"){if($.custom||Qc0[$.iconSet])return!1}return!0}render($,I){switch(I.type){case"expression":this.renderExpression($,I);break;case"cellIs":this.renderCellIs($,I);break;case"top10":this.renderTop10($,I);break;case"aboveAverage":this.renderAboveAverage($,I);break;case"dataBar":this.renderDataBar($,I);break;case"colorScale":this.renderColorScale($,I);break;case"iconSet":this.renderIconSet($,I);break;case"containsText":this.renderText($,I);break;case"timePeriod":this.renderTimePeriod($,I);break}}renderExpression($,I){$.openNode(this.tag,{type:"expression",dxfId:I.dxfId,priority:I.priority}),this.formulaXform.render($,I.formulae[0]),$.closeNode()}renderCellIs($,I){$.openNode(this.tag,{type:"cellIs",dxfId:I.dxfId,priority:I.priority,operator:I.operator}),I.formulae.forEach((U)=>{this.formulaXform.render($,U)}),$.closeNode()}renderTop10($,I){$.leafNode(this.tag,{type:"top10",dxfId:I.dxfId,priority:I.priority,percent:I8.toBoolAttribute(I.percent,!1),bottom:I8.toBoolAttribute(I.bottom,!1),rank:I8.toIntValue(I.rank,10,!0)})}renderAboveAverage($,I){$.leafNode(this.tag,{type:"aboveAverage",dxfId:I.dxfId,priority:I.priority,aboveAverage:I8.toBoolAttribute(I.aboveAverage,!0)})}renderDataBar($,I){$.openNode(this.tag,{type:"dataBar",priority:I.priority}),this.databarXform.render($,I),this.extLstRefXform.render($,I),$.closeNode()}renderColorScale($,I){$.openNode(this.tag,{type:"colorScale",priority:I.priority}),this.colorScaleXform.render($,I),$.closeNode()}renderIconSet($,I){if(!VC.isPrimitive(I))return;$.openNode(this.tag,{type:"iconSet",priority:I.priority}),this.iconSetXform.render($,I),$.closeNode()}renderText($,I){$.openNode(this.tag,{type:I.operator,dxfId:I.dxfId,priority:I.priority,operator:I8.toStringAttribute(I.operator,"containsText")});let U=Kc0(I);if(U)this.formulaXform.render($,U);$.closeNode()}renderTimePeriod($,I){$.openNode(this.tag,{type:"timePeriod",dxfId:I.dxfId,priority:I.priority,timePeriod:I.timePeriod});let U=qc0(I);if(U)this.formulaXform.render($,U);$.closeNode()}createNewModel({attributes:$}){return{...Gc0($),dxfId:I8.toIntValue($.dxfId),priority:I8.toIntValue($.priority),timePeriod:$.timePeriod,percent:I8.toBoolValue($.percent),bottom:I8.toBoolValue($.bottom),rank:I8.toIntValue($.rank),aboveAverage:I8.toBoolValue($.aboveAverage)}}onParserClose($,I){switch($){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,I.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(I.model);break}}}y60.exports=VC});var u60=O((iT1,k60)=>{var Hc0=d6(),wC=h60();class x60 extends Hc0{constructor(){super();this.map={cfRule:new wC}}get tag(){return"conditionalFormatting"}render($,I){if(!I.rules.some(wC.isPrimitive))return;$.openNode(this.tag,{sqref:I.ref}),I.rules.forEach((U)=>{if(wC.isPrimitive(U))U.ref=I.ref,this.map.cfRule.render($,U)}),$.closeNode()}createNewModel({attributes:$}){return{ref:$.sqref,rules:[]}}onParserClose($,I){this.model.rules.push(I.model)}}k60.exports=x60});var ZC=O((nT1,b60)=>{var Wc0=z0(),Vc0=u60();class f60 extends Wc0{constructor(){super();this.cfXform=new Vc0}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare($,I){let U=$.reduce((Y,J)=>Math.max(Y,...J.rules.map((Q)=>Q.priority||0)),1);$.forEach((Y)=>{Y.rules.forEach((J)=>{if(!J.priority)J.priority=U++;if(J.style)J.dxfId=I.styles.addDxfStyle(J.style)})})}render($,I){I.forEach((U)=>{this.cfXform.render($,U)})}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))return this.model.push(this.parser.model),this.parser=void 0,!1;return!0}return!1}reconcile($,I){$.forEach((U)=>{U.rules.forEach((Y)=>{if(Y.dxfId!==void 0)Y.style=I.styles.getDxfStyle(Y.dxfId),delete Y.dxfId})})}}b60.exports=f60});var XC=O((i60)=>{Object.defineProperty(i60,"__esModule",{value:!0});i60.default=Xc0;var wc0=Zc0(r("crypto"));function Zc0($){return $&&$.__esModule?$:{default:$}}var yZ=new Uint8Array(256),gZ=yZ.length;function Xc0(){if(gZ>yZ.length-16)wc0.default.randomFillSync(yZ),gZ=0;return yZ.slice(gZ,gZ+=16)}});var c60=O((n60)=>{Object.defineProperty(n60,"__esModule",{value:!0});n60.default=void 0;var Lc0=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;n60.default=Lc0});var NK=O((d60)=>{Object.defineProperty(d60,"__esModule",{value:!0});d60.default=void 0;var Dc0=Oc0(c60());function Oc0($){return $&&$.__esModule?$:{default:$}}function Fc0($){return typeof $==="string"&&Dc0.default.test($)}var Nc0=Fc0;d60.default=Nc0});var MK=O((l60)=>{Object.defineProperty(l60,"__esModule",{value:!0});l60.default=void 0;var Mc0=Ac0(NK());function Ac0($){return $&&$.__esModule?$:{default:$}}var U6=[];for(let $=0;$<256;++$)U6.push(($+256).toString(16).substr(1));function Pc0($,I=0){let U=(U6[$[I+0]]+U6[$[I+1]]+U6[$[I+2]]+U6[$[I+3]]+"-"+U6[$[I+4]]+U6[$[I+5]]+"-"+U6[$[I+6]]+U6[$[I+7]]+"-"+U6[$[I+8]]+U6[$[I+9]]+"-"+U6[$[I+10]]+U6[$[I+11]]+U6[$[I+12]]+U6[$[I+13]]+U6[$[I+14]]+U6[$[I+15]]).toLowerCase();if(!(0,Mc0.default)(U))throw TypeError("Stringified UUID is invalid");return U}var Tc0=Pc0;l60.default=Tc0});var e60=O((a60)=>{Object.defineProperty(a60,"__esModule",{value:!0});a60.default=void 0;var Ec0=t60(XC()),Bc0=t60(MK());function t60($){return $&&$.__esModule?$:{default:$}}var r60,zC,LC=0,DC=0;function vc0($,I,U){let Y=I&&U||0,J=I||Array(16);$=$||{};let Q=$.node||r60,K=$.clockseq!==void 0?$.clockseq:zC;if(Q==null||K==null){let w=$.random||($.rng||Ec0.default)();if(Q==null)Q=r60=[w[0]|1,w[1],w[2],w[3],w[4],w[5]];if(K==null)K=zC=(w[6]<<8|w[7])&16383}let q=$.msecs!==void 0?$.msecs:Date.now(),G=$.nsecs!==void 0?$.nsecs:DC+1,H=q-LC+(G-DC)/1e4;if(H<0&&$.clockseq===void 0)K=K+1&16383;if((H<0||q>LC)&&$.nsecs===void 0)G=0;if(G>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");LC=q,DC=G,zC=K,q+=12219292800000;let W=((q&268435455)*1e4+G)%4294967296;J[Y++]=W>>>24&255,J[Y++]=W>>>16&255,J[Y++]=W>>>8&255,J[Y++]=W&255;let V=q/4294967296*1e4&268435455;J[Y++]=V>>>8&255,J[Y++]=V&255,J[Y++]=V>>>24&15|16,J[Y++]=V>>>16&255,J[Y++]=K>>>8|128,J[Y++]=K&255;for(let w=0;w<6;++w)J[Y+w]=Q[w];return I||(0,Bc0.default)(J)}var Rc0=vc0;a60.default=Rc0});var OC=O(($$0)=>{Object.defineProperty($$0,"__esModule",{value:!0});$$0.default=void 0;var Cc0=jc0(NK());function jc0($){return $&&$.__esModule?$:{default:$}}function _c0($){if(!(0,Cc0.default)($))throw TypeError("Invalid UUID");let I,U=new Uint8Array(16);return U[0]=(I=parseInt($.slice(0,8),16))>>>24,U[1]=I>>>16&255,U[2]=I>>>8&255,U[3]=I&255,U[4]=(I=parseInt($.slice(9,13),16))>>>8,U[5]=I&255,U[6]=(I=parseInt($.slice(14,18),16))>>>8,U[7]=I&255,U[8]=(I=parseInt($.slice(19,23),16))>>>8,U[9]=I&255,U[10]=(I=parseInt($.slice(24,36),16))/1099511627776&255,U[11]=I/4294967296&255,U[12]=I>>>24&255,U[13]=I>>>16&255,U[14]=I>>>8&255,U[15]=I&255,U}var Sc0=_c0;$$0.default=Sc0});var FC=O((Q$0)=>{Object.defineProperty(Q$0,"__esModule",{value:!0});Q$0.default=xc0;Q$0.URL=Q$0.DNS=void 0;var gc0=U$0(MK()),yc0=U$0(OC());function U$0($){return $&&$.__esModule?$:{default:$}}function hc0($){$=unescape(encodeURIComponent($));let I=[];for(let U=0;U<$.length;++U)I.push($.charCodeAt(U));return I}var Y$0="6ba7b810-9dad-11d1-80b4-00c04fd430c8";Q$0.DNS=Y$0;var J$0="6ba7b811-9dad-11d1-80b4-00c04fd430c8";Q$0.URL=J$0;function xc0($,I,U){function Y(J,Q,K,q){if(typeof J==="string")J=hc0(J);if(typeof Q==="string")Q=(0,yc0.default)(Q);if(Q.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let G=new Uint8Array(16+J.length);if(G.set(Q),G.set(J,Q.length),G=U(G),G[6]=G[6]&15|I,G[8]=G[8]&63|128,K){q=q||0;for(let H=0;H<16;++H)K[q+H]=G[H];return K}return(0,gc0.default)(G)}try{Y.name=$}catch(J){}return Y.DNS=Y$0,Y.URL=J$0,Y}});var H$0=O((q$0)=>{Object.defineProperty(q$0,"__esModule",{value:!0});q$0.default=void 0;var fc0=bc0(r("crypto"));function bc0($){return $&&$.__esModule?$:{default:$}}function ic0($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return fc0.default.createHash("md5").update($).digest()}var nc0=ic0;q$0.default=nc0});var Z$0=O((V$0)=>{Object.defineProperty(V$0,"__esModule",{value:!0});V$0.default=void 0;var pc0=W$0(FC()),cc0=W$0(H$0());function W$0($){return $&&$.__esModule?$:{default:$}}var dc0=(0,pc0.default)("v3",48,cc0.default),mc0=dc0;V$0.default=mc0});var D$0=O((z$0)=>{Object.defineProperty(z$0,"__esModule",{value:!0});z$0.default=void 0;var lc0=X$0(XC()),oc0=X$0(MK());function X$0($){return $&&$.__esModule?$:{default:$}}function rc0($,I,U){$=$||{};let Y=$.random||($.rng||lc0.default)();if(Y[6]=Y[6]&15|64,Y[8]=Y[8]&63|128,I){U=U||0;for(let J=0;J<16;++J)I[U+J]=Y[J];return I}return(0,oc0.default)(Y)}var tc0=rc0;z$0.default=tc0});var N$0=O((O$0)=>{Object.defineProperty(O$0,"__esModule",{value:!0});O$0.default=void 0;var ac0=sc0(r("crypto"));function sc0($){return $&&$.__esModule?$:{default:$}}function ec0($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return ac0.default.createHash("sha1").update($).digest()}var $d0=ec0;O$0.default=$d0});var T$0=O((A$0)=>{Object.defineProperty(A$0,"__esModule",{value:!0});A$0.default=void 0;var Id0=M$0(FC()),Ud0=M$0(N$0());function M$0($){return $&&$.__esModule?$:{default:$}}var Yd0=(0,Id0.default)("v5",80,Ud0.default),Jd0=Yd0;A$0.default=Jd0});var v$0=O((E$0)=>{Object.defineProperty(E$0,"__esModule",{value:!0});E$0.default=void 0;var Qd0="00000000-0000-0000-0000-000000000000";E$0.default=Qd0});var j$0=O((R$0)=>{Object.defineProperty(R$0,"__esModule",{value:!0});R$0.default=void 0;var Kd0=qd0(NK());function qd0($){return $&&$.__esModule?$:{default:$}}function Gd0($){if(!(0,Kd0.default)($))throw TypeError("Invalid UUID");return parseInt($.substr(14,1),16)}var Hd0=Gd0;R$0.default=Hd0});var _$0=O((U8)=>{Object.defineProperty(U8,"__esModule",{value:!0});Object.defineProperty(U8,"v1",{enumerable:!0,get:function(){return Wd0.default}});Object.defineProperty(U8,"v3",{enumerable:!0,get:function(){return Vd0.default}});Object.defineProperty(U8,"v4",{enumerable:!0,get:function(){return wd0.default}});Object.defineProperty(U8,"v5",{enumerable:!0,get:function(){return Zd0.default}});Object.defineProperty(U8,"NIL",{enumerable:!0,get:function(){return Xd0.default}});Object.defineProperty(U8,"version",{enumerable:!0,get:function(){return zd0.default}});Object.defineProperty(U8,"validate",{enumerable:!0,get:function(){return Ld0.default}});Object.defineProperty(U8,"stringify",{enumerable:!0,get:function(){return Dd0.default}});Object.defineProperty(U8,"parse",{enumerable:!0,get:function(){return Od0.default}});var Wd0=D5(e60()),Vd0=D5(Z$0()),wd0=D5(D$0()),Zd0=D5(T$0()),Xd0=D5(v$0()),zd0=D5(j$0()),Ld0=D5(NK()),Dd0=D5(MK()),Od0=D5(OC());function D5($){return $&&$.__esModule?$:{default:$}}});var y$0=O((JE1,g$0)=>{var Fd0=z0();class S$0 extends Fd0{get tag(){return"xm:f"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}g$0.exports=S$0});var NC=O((QE1,x$0)=>{var Nd0=d6(),Md0=y$0();class h$0 extends Nd0{constructor(){super();this.map={"xm:f":this.fExtXform=new Md0}}get tag(){return"x14:cfvo"}render($,I){if($.openNode(this.tag,{type:I.type}),I.value!==void 0)this.fExtXform.render($,I.value);$.closeNode()}createNewModel($){return{type:$.attributes.type}}onParserClose($,I){switch($){case"xm:f":this.model.value=I.model?parseFloat(I.model):0;break}}}x$0.exports=h$0});var f$0=O((KE1,u$0)=>{var D6=z0(),Ad0=d6(),hZ=y9(),Pd0=NC();class k$0 extends Ad0{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new Pd0,"x14:borderColor":this.borderColorXform=new hZ("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new hZ("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new hZ("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new hZ("x14:axisColor")}}static isExt($){return!$.gradient}get tag(){return"x14:dataBar"}render($,I){$.openNode(this.tag,{minLength:D6.toIntAttribute(I.minLength,0,!0),maxLength:D6.toIntAttribute(I.maxLength,100,!0),border:D6.toBoolAttribute(I.border,!1),gradient:D6.toBoolAttribute(I.gradient,!0),negativeBarColorSameAsPositive:D6.toBoolAttribute(I.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:D6.toBoolAttribute(I.negativeBarBorderColorSameAsPositive,!0),axisPosition:D6.toAttribute(I.axisPosition,"auto"),direction:D6.toAttribute(I.direction,"leftToRight")}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),this.borderColorXform.render($,I.borderColor),this.negativeBorderColorXform.render($,I.negativeBorderColor),this.negativeFillColorXform.render($,I.negativeFillColor),this.axisColorXform.render($,I.axisColor),$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],minLength:D6.toIntValue($.minLength,0),maxLength:D6.toIntValue($.maxLength,100),border:D6.toBoolValue($.border,!1),gradient:D6.toBoolValue($.gradient,!0),negativeBarColorSameAsPositive:D6.toBoolValue($.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:D6.toBoolValue($.negativeBarBorderColorSameAsPositive,!0),axisPosition:D6.toStringValue($.axisPosition,"auto"),direction:D6.toStringValue($.direction,"leftToRight")}}onParserClose($,I){let[,U]=$.split(":");switch(U){case"cfvo":this.model.cfvo.push(I.model);break;default:this.model[U]=I.model;break}}}u$0.exports=k$0});var p$0=O((qE1,n$0)=>{var b$0=z0();class i$0 extends b$0{get tag(){return"x14:cfIcon"}render($,I){$.leafNode(this.tag,{iconSet:I.iconSet,iconId:I.iconId})}parseOpen({attributes:$}){this.model={iconSet:$.iconSet,iconId:b$0.toIntValue($.iconId)}}parseClose($){return $!==this.tag}}n$0.exports=i$0});var m$0=O((GE1,d$0)=>{var H3=z0(),Td0=d6(),Ed0=NC(),Bd0=p$0();class c$0 extends Td0{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new Ed0,"x14:cfIcon":this.cfIconXform=new Bd0}}get tag(){return"x14:iconSet"}render($,I){if($.openNode(this.tag,{iconSet:H3.toStringAttribute(I.iconSet),reverse:H3.toBoolAttribute(I.reverse,!1),showValue:H3.toBoolAttribute(I.showValue,!0),custom:H3.toBoolAttribute(I.icons,!1)}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),I.icons)I.icons.forEach((U,Y)=>{U.iconId=Y,this.cfIconXform.render($,U)});$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],iconSet:H3.toStringValue($.iconSet,"3TrafficLights"),reverse:H3.toBoolValue($.reverse,!1),showValue:H3.toBoolValue($.showValue,!0)}}onParserClose($,I){let[,U]=$.split(":");switch(U){case"cfvo":this.model.cfvo.push(I.model);break;case"cfIcon":if(!this.model.icons)this.model.icons=[];this.model.icons.push(I.model);break;default:this.model[U]=I.model;break}}}d$0.exports=c$0});var MC=O((HE1,r$0)=>{var{v4:l$0}=_$0(),vd0=z0(),Rd0=d6(),o$0=f$0(),Cd0=m$0(),jd0={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class xZ extends Rd0{constructor(){super();this.map={"x14:dataBar":this.databarXform=new o$0,"x14:iconSet":this.iconSetXform=new Cd0}}get tag(){return"x14:cfRule"}static isExt($){if($.type==="dataBar")return o$0.isExt($);if($.type==="iconSet"){if($.custom||jd0[$.iconSet])return!0}return!1}prepare($){if(xZ.isExt($))$.x14Id=`{${l$0()}}`.toUpperCase()}render($,I){if(!xZ.isExt(I))return;switch(I.type){case"dataBar":this.renderDataBar($,I);break;case"iconSet":this.renderIconSet($,I);break}}renderDataBar($,I){$.openNode(this.tag,{type:"dataBar",id:I.x14Id}),this.databarXform.render($,I),$.closeNode()}renderIconSet($,I){$.openNode(this.tag,{type:"iconSet",priority:I.priority,id:I.x14Id||`{${l$0()}}`}),this.iconSetXform.render($,I),$.closeNode()}createNewModel({attributes:$}){return{type:$.type,x14Id:$.id,priority:vd0.toIntValue($.priority)}}onParserClose($,I){Object.assign(this.model,I.model)}}r$0.exports=xZ});var s$0=O((WE1,a$0)=>{var _d0=z0();class t$0 extends _d0{get tag(){return"xm:sqref"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}a$0.exports=t$0});var I80=O((VE1,$80)=>{var Sd0=d6(),gd0=s$0(),AC=MC();class e$0 extends Sd0{constructor(){super();this.map={"xm:sqref":this.sqRef=new gd0,"x14:cfRule":this.cfRule=new AC}}get tag(){return"x14:conditionalFormatting"}prepare($,I){$.rules.forEach((U)=>{this.cfRule.prepare(U,I)})}render($,I){if(!I.rules.some(AC.isExt))return;$.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),I.rules.filter(AC.isExt).forEach((U)=>this.cfRule.render($,U)),this.sqRef.render($,I.ref),$.closeNode()}createNewModel(){return{rules:[]}}onParserClose($,I){switch($){case"xm:sqref":this.model.ref=I.model;break;case"x14:cfRule":this.model.rules.push(I.model);break}}}$80.exports=e$0});var J80=O((wE1,Y80)=>{var yd0=d6(),hd0=MC(),xd0=I80();class U80 extends yd0{constructor(){super();this.map={"x14:conditionalFormatting":this.cfXform=new xd0}}get tag(){return"x14:conditionalFormattings"}hasContent($){if($.hasExtContent===void 0)$.hasExtContent=$.some((I)=>I.rules.some(hd0.isExt));return $.hasExtContent}prepare($,I){$.forEach((U)=>{this.cfXform.prepare(U,I)})}render($,I){if(this.hasContent(I))$.openNode(this.tag),I.forEach((U)=>this.cfXform.render($,U)),$.closeNode()}createNewModel(){return[]}onParserClose($,I){this.model.push(I.model)}}Y80.exports=U80});var H80=O((ZE1,G80)=>{var Q80=d6(),kd0=J80();class K80 extends Q80{constructor(){super();this.map={"x14:conditionalFormattings":this.conditionalFormattings=new kd0}}get tag(){return"ext"}hasContent($){return this.conditionalFormattings.hasContent($.conditionalFormattings)}prepare($,I){this.conditionalFormattings.prepare($.conditionalFormattings,I)}render($,I){$.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render($,I.conditionalFormattings),$.closeNode()}createNewModel(){return{}}onParserClose($,I){this.model[$]=I.model}}class q80 extends Q80{constructor(){super();this.map={ext:this.ext=new K80}}get tag(){return"extLst"}prepare($,I){this.ext.prepare($,I)}hasContent($){return this.ext.hasContent($)}render($,I){if(!this.hasContent(I))return;$.openNode("extLst"),this.ext.render($,I),$.closeNode()}createNewModel(){return{}}onParserClose($,I){Object.assign(this.model,I.model)}}G80.exports=q80});var V80=O((XE1,W80)=>{var ud0=Z4(),fd0=G4(),bd0=$6(),O5=x9(),id0=q40(),nd0=z0(),qY=g9(),pd0=oR(),cd0=tR(),dd0=O40(),md0=aR(),ld0=P40(),od0=$C(),rd0=IC(),td0=UC(),ad0=YC(),sd0=JC(),ed0=QC(),$m0=KC(),Im0=m40(),Um0=qC(),Ym0=GC(),Jm0=e40(),Qm0=U60(),Km0=HC(),qm0=WC(),Gm0=ZC(),Hm0=H80(),Wm0=($,I)=>{Object.keys(I).forEach((U)=>{let Y=$[U],J=I[U];if(Y===void 0&&J!==void 0)$[U]=J})},Vm0=($,I)=>{if(!I||!I.length)return $;if(!$||!$.length)return I;let U={},Y={};return $.forEach((J)=>{U[J.ref]=J,J.rules.forEach((Q)=>{let{x14Id:K}=Q;if(K)Y[K]=Q})}),I.forEach((J)=>{J.rules.forEach((Q)=>{let K=Y[Q.x14Id];if(K)Wm0(K,Q);else if(U[J.ref])U[J.ref].rules.push(Q);else $.push({ref:J.ref,rules:[Q]})})}),$};class kZ extends nd0{constructor($){super();let{maxRows:I,maxCols:U,ignoreNodes:Y}=$||{};this.ignoreNodes=Y||[],this.map={sheetPr:new rd0,dimension:new dd0,sheetViews:new qY({tag:"sheetViews",count:!1,childXform:new ad0}),sheetFormatPr:new td0,cols:new qY({tag:"cols",count:!1,childXform:new cd0}),sheetData:new qY({tag:"sheetData",count:!1,empty:!0,childXform:new pd0({maxItems:U}),maxItems:I}),autoFilter:new Um0,mergeCells:new qY({tag:"mergeCells",count:!0,childXform:new ld0}),rowBreaks:new Km0,hyperlinks:new qY({tag:"hyperlinks",count:!1,childXform:new md0}),pageMargins:new ed0,dataValidations:new od0,pageSetup:new $m0,headerFooter:new qm0,printOptions:new Im0,picture:new Ym0,drawing:new Jm0,sheetProtection:new sd0,tableParts:new qY({tag:"tableParts",count:!0,childXform:new Qm0}),conditionalFormatting:new Gm0,extLst:new Hm0}}prepare($,I){I.merges=new id0,$.hyperlinks=I.hyperlinks=[],$.comments=I.comments=[],I.formulae={},I.siFormulae=0,this.map.cols.prepare($.cols,I),this.map.sheetData.prepare($.rows,I),this.map.conditionalFormatting.prepare($.conditionalFormattings,I),$.mergeCells=I.merges.mergeCells;let U=$.rels=[];function Y(K){return`rId${K.length+1}`}if($.hyperlinks.forEach((K)=>{let q=Y(U);K.rId=q,U.push({Id:q,Type:O5.Hyperlink,Target:K.target,TargetMode:"External"})}),$.comments.length>0){let K={Id:Y(U),Type:O5.Comments,Target:`../comments${$.id}.xml`};U.push(K);let q={Id:Y(U),Type:O5.VmlDrawing,Target:`../drawings/vmlDrawing${$.id}.vml`};U.push(q),$.comments.forEach((G)=>{G.refAddress=fd0.decodeAddress(G.ref)}),I.commentRefs.push({commentName:`comments${$.id}`,vmlDrawing:`vmlDrawing${$.id}`})}let J=[],Q;$.media.forEach((K)=>{if(K.type==="background"){let q=Y(U);Q=I.media[K.imageId],U.push({Id:q,Type:O5.Image,Target:`../media/${Q.name}.${Q.extension}`}),$.background={rId:q},$.image=I.media[K.imageId]}else if(K.type==="image"){let{drawing:q}=$;if(Q=I.media[K.imageId],!q)q=$.drawing={rId:Y(U),name:`drawing${++I.drawingsCount}`,anchors:[],rels:[]},I.drawings.push(q),U.push({Id:q.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${q.name}.xml`});let G=this.preImageId===K.imageId?J[K.imageId]:J[q.rels.length];if(!G)G=Y(q.rels),J[q.rels.length]=G,q.rels.push({Id:G,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${Q.name}.${Q.extension}`});let H={picture:{rId:G},range:K.range};if(K.hyperlinks&&K.hyperlinks.hyperlink){let W=Y(q.rels);J[q.rels.length]=W,H.picture.hyperlinks={tooltip:K.hyperlinks.tooltip,rId:W},q.rels.push({Id:W,Type:O5.Hyperlink,Target:K.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=K.imageId,q.anchors.push(H)}}),$.tables.forEach((K)=>{let q=Y(U);K.rId=q,U.push({Id:q,Type:O5.Table,Target:`../tables/${K.target}`}),K.columns.forEach((G)=>{let{style:H}=G;if(H)G.dxfId=I.styles.addDxfStyle(H)})}),this.map.extLst.prepare($,I)}render($,I){$.openXml(bd0.StdDocAttributes),$.openNode("worksheet",kZ.WORKSHEET_ATTRIBUTES);let U=I.properties?{defaultRowHeight:I.properties.defaultRowHeight,dyDescent:I.properties.dyDescent,outlineLevelCol:I.properties.outlineLevelCol,outlineLevelRow:I.properties.outlineLevelRow}:void 0;if(I.properties&&I.properties.defaultColWidth)U.defaultColWidth=I.properties.defaultColWidth;let Y={outlineProperties:I.properties&&I.properties.outlineProperties,tabColor:I.properties&&I.properties.tabColor,pageSetup:I.pageSetup&&I.pageSetup.fitToPage?{fitToPage:I.pageSetup.fitToPage}:void 0},J=I.pageSetup&&I.pageSetup.margins,Q={showRowColHeaders:I.pageSetup&&I.pageSetup.showRowColHeaders,showGridLines:I.pageSetup&&I.pageSetup.showGridLines,horizontalCentered:I.pageSetup&&I.pageSetup.horizontalCentered,verticalCentered:I.pageSetup&&I.pageSetup.verticalCentered},K=I.sheetProtection;if(this.map.sheetPr.render($,Y),this.map.dimension.render($,I.dimensions),this.map.sheetViews.render($,I.views),this.map.sheetFormatPr.render($,U),this.map.cols.render($,I.cols),this.map.sheetData.render($,I.rows),this.map.sheetProtection.render($,K),this.map.autoFilter.render($,I.autoFilter),this.map.mergeCells.render($,I.mergeCells),this.map.conditionalFormatting.render($,I.conditionalFormattings),this.map.dataValidations.render($,I.dataValidations),this.map.hyperlinks.render($,I.hyperlinks),this.map.printOptions.render($,Q),this.map.pageMargins.render($,J),this.map.pageSetup.render($,I.pageSetup),this.map.headerFooter.render($,I.headerFooter),this.map.rowBreaks.render($,I.rowBreaks),this.map.drawing.render($,I.drawing),this.map.picture.render($,I.background),this.map.tableParts.render($,I.tables),this.map.extLst.render($,I),I.rels)I.rels.forEach((q)=>{if(q.Type===O5.VmlDrawing)$.leafNode("legacyDrawing",{"r:id":q.Id})});$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="worksheet")return ud0.each(this.map,(I)=>{I.reset()}),!0;if(this.map[$.name]&&!this.ignoreNodes.includes($.name))this.parser=this.map[$.name],this.parser.parseOpen($);return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"worksheet":{let I=this.map.sheetFormatPr.model||{};if(this.map.sheetPr.model&&this.map.sheetPr.model.tabColor)I.tabColor=this.map.sheetPr.model.tabColor;if(this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties)I.outlineProperties=this.map.sheetPr.model.outlineProperties;let U={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},Y=Object.assign(U,this.map.pageSetup.model,this.map.printOptions.model),J=Vm0(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);if(this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:I,views:this.map.sheetViews.model,pageSetup:Y,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:J},this.map.autoFilter.model)this.model.autoFilter=this.map.autoFilter.model;if(this.map.sheetProtection.model)this.model.sheetProtection=this.map.sheetProtection.model;return!1}default:return!0}}reconcile($,I){let U=($.relationships||[]).reduce((J,Q)=>{if(J[Q.Id]=Q,Q.Type===O5.Comments)$.comments=I.comments[Q.Target].comments;if(Q.Type===O5.VmlDrawing&&$.comments&&$.comments.length){let K=I.vmlDrawings[Q.Target].comments;$.comments.forEach((q,G)=>{q.note=Object.assign({},q.note,K[G])})}return J},{});if(I.commentsMap=($.comments||[]).reduce((J,Q)=>{if(Q.ref)J[Q.ref]=Q;return J},{}),I.hyperlinkMap=($.hyperlinks||[]).reduce((J,Q)=>{if(Q.rId)J[Q.address]=U[Q.rId].Target;return J},{}),I.formulae={},$.rows=$.rows&&$.rows.filter(Boolean)||[],$.rows.forEach((J)=>{J.cells=J.cells&&J.cells.filter(Boolean)||[]}),this.map.cols.reconcile($.cols,I),this.map.sheetData.reconcile($.rows,I),this.map.conditionalFormatting.reconcile($.conditionalFormattings,I),$.media=[],$.drawing){let Q=U[$.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(Q){let K=Q[1];I.drawings[K].anchors.forEach((G)=>{if(G.medium){let H={type:"image",imageId:G.medium.index,range:G.range,hyperlinks:G.picture.hyperlinks};$.media.push(H)}})}}let Y=$.background&&U[$.background.rId];if(Y){let J=Y.Target.split("/media/")[1],Q=I.mediaIndex&&I.mediaIndex[J];if(Q!==void 0)$.media.push({type:"background",imageId:Q})}$.tables=($.tables||[]).map((J)=>{let Q=U[J.rId];return I.tables[Q.Target]}),delete $.relationships,delete $.hyperlinks,delete $.comments}}kZ.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"};W80.exports=kZ});var PC=O((zE1,Z80)=>{var wm0=z0();class w80 extends wm0{parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={range:{editAs:$.attributes.editAs||"oneCell"}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}reconcilePicture($,I){if($&&$.rId){let Y=I.rels[$.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(Y){let J=Y[1],Q=I.mediaIndex[J];return I.media[Q]}}return}}Z80.exports=w80});var TC=O((LE1,z80)=>{var Zm0=z0(),uZ=XZ();class X80 extends Zm0{constructor($){super();this.tag=$.tag,this.map={"xdr:col":new uZ({tag:"xdr:col",zero:!0}),"xdr:colOff":new uZ({tag:"xdr:colOff",zero:!0}),"xdr:row":new uZ({tag:"xdr:row",zero:!0}),"xdr:rowOff":new uZ({tag:"xdr:rowOff",zero:!0})}}render($,I){$.openNode(this.tag),this.map["xdr:col"].render($,I.nativeCol),this.map["xdr:colOff"].render($,I.nativeColOff),this.map["xdr:row"].render($,I.nativeRow),this.map["xdr:rowOff"].render($,I.nativeRowOff),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}z80.exports=X80});var O80=O((DE1,D80)=>{var Xm0=z0();class L80 extends Xm0{get tag(){return"a:blip"}render($,I){$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":I.rId,cstate:"print"})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}D80.exports=L80});var M80=O((OE1,N80)=>{var zm0=z0(),Lm0=O80();class F80 extends zm0{constructor(){super();this.map={"a:blip":new Lm0}}get tag(){return"xdr:blipFill"}render($,I){$.openNode(this.tag),this.map["a:blip"].render($,I),$.openNode("a:stretch"),$.leafNode("a:fillRect"),$.closeNode(),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}N80.exports=F80});var T80=O((FE1,P80)=>{var Dm0=z0();class A80 extends Dm0{get tag(){return"a:hlinkClick"}render($,I){if(!(I.hyperlinks&&I.hyperlinks.rId))return;$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":I.hyperlinks.rId,tooltip:I.hyperlinks.tooltip})}parseOpen($){switch($.name){case this.tag:return this.model={hyperlinks:{rId:$.attributes["r:id"],tooltip:$.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}P80.exports=A80});var v80=O((NE1,B80)=>{var Om0=z0();class E80 extends Om0{get tag(){return"a:extLst"}render($){$.openNode(this.tag),$.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),$.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),$.closeNode(),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}B80.exports=E80});var j80=O((ME1,C80)=>{var Fm0=z0(),Nm0=T80(),Mm0=v80();class R80 extends Fm0{constructor(){super();this.map={"a:hlinkClick":new Nm0,"a:extLst":new Mm0}}get tag(){return"xdr:cNvPr"}render($,I){$.openNode(this.tag,{id:I.index,name:`Picture ${I.index}`}),this.map["a:hlinkClick"].render($,I),this.map["a:extLst"].render($,I),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}C80.exports=R80});var g80=O((AE1,S80)=>{var Am0=z0();class _80 extends Am0{get tag(){return"xdr:cNvPicPr"}render($){$.openNode(this.tag),$.leafNode("a:picLocks",{noChangeAspect:"1"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}S80.exports=_80});var x80=O((PE1,h80)=>{var Pm0=z0(),Tm0=j80(),Em0=g80();class y80 extends Pm0{constructor(){super();this.map={"xdr:cNvPr":new Tm0,"xdr:cNvPicPr":new Em0}}get tag(){return"xdr:nvPicPr"}render($,I){$.openNode(this.tag),this.map["xdr:cNvPr"].render($,I),this.map["xdr:cNvPicPr"].render($,I),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}h80.exports=y80});var u80=O((TE1,k80)=>{k80.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}});var EC=O((EE1,b80)=>{var Bm0=z0(),vm0=$Y(),Rm0=M80(),Cm0=x80(),jm0=u80();class f80 extends Bm0{constructor(){super();this.map={"xdr:nvPicPr":new Cm0,"xdr:blipFill":new Rm0,"xdr:spPr":new vm0(jm0)}}get tag(){return"xdr:pic"}prepare($,I){$.index=I.index+1}render($,I){$.openNode(this.tag),this.map["xdr:nvPicPr"].render($,I),this.map["xdr:blipFill"].render($,I),this.map["xdr:spPr"].render($,I),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.mergeModel(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}}b80.exports=f80});var c80=O((BE1,p80)=>{var _m0=PC(),Sm0=$Y(),i80=TC(),gm0=EC();class n80 extends _m0{constructor(){super();this.map={"xdr:from":new i80({tag:"xdr:from"}),"xdr:to":new i80({tag:"xdr:to"}),"xdr:pic":new gm0,"xdr:clientData":new Sm0({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare($,I){this.map["xdr:pic"].prepare($.picture,I)}render($,I){$.openNode(this.tag,{editAs:I.range.editAs||"oneCell"}),this.map["xdr:from"].render($,I.range.tl),this.map["xdr:to"].render($,I.range.br),this.map["xdr:pic"].render($,I.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,I){$.medium=this.reconcilePicture($.picture,I)}}p80.exports=n80});var l80=O((vE1,m80)=>{var ym0=z0();class d80 extends ym0{constructor($){super();this.tag=$.tag,this.map={}}render($,I){$.openNode(this.tag);let U=Math.floor(I.width*9525),Y=Math.floor(I.height*9525);$.addAttribute("cx",U),$.addAttribute("cy",Y),$.closeNode()}parseOpen($){if($.name===this.tag)return this.model={width:parseInt($.attributes.cx||"0",10)/9525,height:parseInt($.attributes.cy||"0",10)/9525},!0;return!1}parseText(){}parseClose(){return!1}}m80.exports=d80});var t80=O((RE1,r80)=>{var hm0=PC(),xm0=$Y(),km0=TC(),um0=l80(),fm0=EC();class o80 extends hm0{constructor(){super();this.map={"xdr:from":new km0({tag:"xdr:from"}),"xdr:ext":new um0({tag:"xdr:ext"}),"xdr:pic":new fm0,"xdr:clientData":new xm0({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare($,I){this.map["xdr:pic"].prepare($.picture,I)}render($,I){$.openNode(this.tag,{editAs:I.range.editAs||"oneCell"}),this.map["xdr:from"].render($,I.range.tl),this.map["xdr:ext"].render($,I.range.ext),this.map["xdr:pic"].render($,I.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,I){$.medium=this.reconcilePicture($.picture,I)}}r80.exports=o80});var s80=O((CE1,a80)=>{var bm0=G4(),im0=$6(),nm0=z0(),pm0=c80(),cm0=t80();function dm0($){return(typeof $.range==="string"?bm0.decode($.range):$.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}class fZ extends nm0{constructor(){super();this.map={"xdr:twoCellAnchor":new pm0,"xdr:oneCellAnchor":new cm0}}prepare($){$.anchors.forEach((I,U)=>{I.anchorType=dm0(I),this.map[I.anchorType].prepare(I,{index:U})})}get tag(){return"xdr:wsDr"}render($,I){$.openXml(im0.StdDocAttributes),$.openNode(this.tag,fZ.DRAWING_ATTRIBUTES),I.anchors.forEach((U)=>{this.map[U.anchorType].render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.anchors.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,I){$.anchors.forEach((U)=>{if(U.br)this.map["xdr:twoCellAnchor"].reconcile(U,I);else this.map["xdr:oneCellAnchor"].reconcile(U,I)})}}fZ.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"};a80.exports=fZ});var I50=O((jE1,$50)=>{var mm0=z0();class e80 extends mm0{get tag(){return"customFilter"}render($,I){$.leafNode(this.tag,{val:I.val,operator:I.operator})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val,operator:$.attributes.operator},!0;return!1}parseText(){}parseClose(){return!1}}$50.exports=e80});var J50=O((_E1,Y50)=>{var lm0=z0();class U50 extends lm0{get tag(){return"filter"}render($,I){$.leafNode(this.tag,{val:I.val})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val},!0;return!1}parseText(){}parseClose(){return!1}}Y50.exports=U50});var G50=O((SE1,q50)=>{var om0=z0(),Q50=g9(),rm0=I50(),tm0=J50();class K50 extends om0{constructor(){super();this.map={customFilters:new Q50({tag:"customFilters",count:!1,empty:!0,childXform:new rm0}),filters:new Q50({tag:"filters",count:!1,empty:!0,childXform:new tm0})}}get tag(){return"filterColumn"}prepare($,I){$.colId=I.index.toString()}render($,I){if(I.customFilters)return $.openNode(this.tag,{colId:I.colId,hiddenButton:I.filterButton?"0":"1"}),this.map.customFilters.render($,I.customFilters),$.closeNode(),!0;return $.leafNode(this.tag,{colId:I.colId,hiddenButton:I.filterButton?"0":"1"}),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{attributes:I}=$;switch($.name){case this.tag:return this.model={filterButton:I.hiddenButton==="0"},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}q50.exports=K50});var V50=O((gE1,W50)=>{var am0=z0(),sm0=G50();class H50 extends am0{constructor(){super();this.map={filterColumn:new sm0}}get tag(){return"autoFilter"}prepare($){$.columns.forEach((I,U)=>{this.map.filterColumn.prepare(I,{index:U})})}render($,I){return $.openNode(this.tag,{ref:I.autoFilterRef}),I.columns.forEach((U)=>{this.map.filterColumn.render($,U)}),$.closeNode(),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model={autoFilterRef:$.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.columns.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}W50.exports=H50});var X50=O((yE1,Z50)=>{var em0=z0();class w50 extends em0{get tag(){return"tableColumn"}prepare($,I){$.id=I.index+1}render($,I){return $.leafNode(this.tag,{id:I.id.toString(),name:I.name,totalsRowLabel:I.totalsRowLabel,totalsRowFunction:I.totalsRowFunction,dxfId:I.dxfId}),!0}parseOpen($){if($.name===this.tag){let{attributes:I}=$;return this.model={name:I.name,totalsRowLabel:I.totalsRowLabel,totalsRowFunction:I.totalsRowFunction,dxfId:I.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}Z50.exports=w50});var D50=O((hE1,L50)=>{var $l0=z0();class z50 extends $l0{get tag(){return"tableStyleInfo"}render($,I){return $.leafNode(this.tag,{name:I.theme?I.theme:void 0,showFirstColumn:I.showFirstColumn?"1":"0",showLastColumn:I.showLastColumn?"1":"0",showRowStripes:I.showRowStripes?"1":"0",showColumnStripes:I.showColumnStripes?"1":"0"}),!0}parseOpen($){if($.name===this.tag){let{attributes:I}=$;return this.model={theme:I.name?I.name:null,showFirstColumn:I.showFirstColumn==="1",showLastColumn:I.showLastColumn==="1",showRowStripes:I.showRowStripes==="1",showColumnStripes:I.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}L50.exports=z50});var F50=O((xE1,O50)=>{var Il0=$6(),Ul0=z0(),Yl0=g9(),Jl0=V50(),Ql0=X50(),Kl0=D50();class bZ extends Ul0{constructor(){super();this.map={autoFilter:new Jl0,tableColumns:new Yl0({tag:"tableColumns",count:!0,empty:!0,childXform:new Ql0}),tableStyleInfo:new Kl0}}prepare($,I){this.map.autoFilter.prepare($),this.map.tableColumns.prepare($.columns,I)}get tag(){return"table"}render($,I){$.openXml(Il0.StdDocAttributes),$.openNode(this.tag,{...bZ.TABLE_ATTRIBUTES,id:I.id,name:I.name,displayName:I.displayName||I.name,ref:I.tableRef,totalsRowCount:I.totalsRow?"1":void 0,totalsRowShown:I.totalsRow?void 0:"1",headerRowCount:I.headerRow?"1":"0"}),this.map.autoFilter.render($,I),this.map.tableColumns.render($,I.columns),this.map.tableStyleInfo.render($,I.style),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{name:I,attributes:U}=$;switch(I){case this.tag:this.reset(),this.model={name:U.name,displayName:U.displayName||U.name,tableRef:U.ref,totalsRow:U.totalsRowCount==="1",headerRow:U.headerRowCount==="1"};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:if(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model)this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((I,U)=>{this.model.columns[U].filterButton=I.filterButton});return this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile($,I){$.columns.forEach((U)=>{if(U.dxfId!==void 0)U.style=I.styles.getDxfStyle(U.dxfId)})}}bZ.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"};O50.exports=bZ});var BC=O((kE1,N50)=>{var ql0=OK(),Gl0=L6(),Hl0=z0(),Wl0=N50.exports=function($){this.model=$};Gl0.inherits(Wl0,Hl0,{get tag(){return"r"},get richTextXform(){if(!this._richTextXform)this._richTextXform=new ql0;return this._richTextXform},render($,I){if(I=I||this.model,$.openNode("comment",{ref:I.ref,authorId:0}),$.openNode("text"),I&&I.note&&I.note.texts)I.note.texts.forEach((U)=>{this.richTextXform.render($,U)});$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"comment":return this.model={type:"note",note:{texts:[]},...$.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var P50=O((uE1,A50)=>{var Vl0=$6(),wl0=L6(),Zl0=z0(),Xl0=BC(),M50=A50.exports=function(){this.map={comment:new Xl0}};wl0.inherits(M50,Zl0,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render($,I){I=I||this.model,$.openXml(Vl0.StdDocAttributes),$.openNode("comments",M50.COMMENTS_ATTRIBUTES),$.openNode("authors"),$.leafNode("author",null,"Author"),$.closeNode(),$.openNode("commentList"),I.comments.forEach((U)=>{this.map.comment.render($,U)}),$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var B50=O((fE1,E50)=>{var zl0=z0();class T50 extends zl0{get tag(){return"v:textbox"}conversionUnit($,I,U){return`${parseFloat($)*I.toFixed(2)}${U}`}reverseConversionUnit($){return($||"").split(",").map((I)=>{return Number(parseFloat(this.conversionUnit(parseFloat(I),0.1,"")).toFixed(2))})}render($,I){let U={style:"mso-direction-alt:auto"};if(I&&I.note){let{inset:Y}=I.note&&I.note.margins;if(Array.isArray(Y))Y=Y.map((J)=>{return this.conversionUnit(J,10,"mm")}).join(",");if(Y)U.inset=Y}$.openNode("v:textbox",U),$.leafNode("div",{style:"text-align:left"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return this.model={inset:this.reverseConversionUnit($.attributes.inset)},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}E50.exports=T50});var C50=O((bE1,R50)=>{var Ll0=z0();class v50 extends Ll0{get tag(){return"x:Anchor"}getAnchorRect($){let I=Math.floor($.left),U=Math.floor(($.left-I)*68),Y=Math.floor($.top),J=Math.floor(($.top-Y)*18),Q=Math.floor($.right),K=Math.floor(($.right-Q)*68),q=Math.floor($.bottom),G=Math.floor(($.bottom-q)*18);return[I,U,Y,J,Q,K,q,G]}getDefaultRect($){let I=$.col,U=6,Y=Math.max($.row-2,0),J=14,Q=I+2,K=2,q=Y+4,G=16;return[I,6,Y,14,Q,2,q,16]}render($,I){let U=I.anchor?this.getAnchorRect(I.anchor):this.getDefaultRect(I.refAddress);$.leafNode("x:Anchor",null,U.join(", "))}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}R50.exports=v50});var S50=O((iE1,_50)=>{var Dl0=z0();class j50 extends Dl0{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,I){$.leafNode(this.tag,null,I)}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}_50.exports=j50});var h50=O((nE1,y50)=>{var Ol0=z0();class g50 extends Ol0{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,I,U){if(I===U[2])$.leafNode(this.tag);else if(this.tag==="x:SizeWithCells"&&I===U[1])$.leafNode(this.tag)}parseOpen($){switch($.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}y50.exports=g50});var b50=O((pE1,f50)=>{var Fl0=z0(),Nl0=C50(),x50=S50(),k50=h50(),vC=["twoCells","oneCells","absolute"];class u50 extends Fl0{constructor(){super();this.map={"x:Anchor":new Nl0,"x:Locked":new x50({tag:"x:Locked"}),"x:LockText":new x50({tag:"x:LockText"}),"x:SizeWithCells":new k50({tag:"x:SizeWithCells"}),"x:MoveWithCells":new k50({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render($,I){let{protection:U,editAs:Y}=I.note;$.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render($,Y,vC),this.map["x:SizeWithCells"].render($,Y,vC),this.map["x:Anchor"].render($,I),this.map["x:Locked"].render($,U.locked),$.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render($,U.lockText),$.leafNode("x:Row",null,I.refAddress.row-1),$.leafNode("x:Column",null,I.refAddress.col-1),$.closeNode()}parseOpen($){switch($.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){let $=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),I=Object.keys($).length;this.model.editAs=vC[I],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}f50.exports=u50});var RC=O((cE1,i50)=>{var Ml0=z0(),Al0=B50(),Pl0=b50();class iZ extends Ml0{constructor(){super();this.map={"v:textbox":new Al0,"x:ClientData":new Pl0}}get tag(){return"v:shape"}render($,I,U){$.openNode("v:shape",iZ.V_SHAPE_ATTRIBUTES(I,U)),$.leafNode("v:fill",{color2:"infoBackground [80]"}),$.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),$.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render($,I),this.map["x:ClientData"].render($,I),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={margins:{insetmode:$.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}iZ.V_SHAPE_ATTRIBUTES=($,I)=>({id:`_x0000_s${1025+I}`,type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":$.note.margins&&$.note.margins.insetmode});i50.exports=iZ});var p50=O((dE1,n50)=>{var Tl0=$6(),El0=z0(),Bl0=RC();class nZ extends El0{constructor(){super();this.map={"v:shape":new Bl0}}get tag(){return"xml"}render($,I){$.openXml(Tl0.StdDocAttributes),$.openNode(this.tag,nZ.DRAWING_ATTRIBUTES),$.openNode("o:shapelayout",{"v:ext":"edit"}),$.leafNode("o:idmap",{"v:ext":"edit",data:1}),$.closeNode(),$.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),$.leafNode("v:stroke",{joinstyle:"miter"}),$.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),$.closeNode(),I.comments.forEach((U,Y)=>{this.map["v:shape"].render($,U,Y)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={comments:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.comments.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,I){$.anchors.forEach((U)=>{if(U.br)this.map["xdr:twoCellAnchor"].reconcile(U,I);else this.map["xdr:oneCellAnchor"].reconcile(U,I)})}}nZ.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"};n50.exports=nZ});var CC=O((mE1,c50)=>{c50.exports=` + `});var kC=O((oE1,r50)=>{var xC=r("fs"),vl0=gv(),{PassThrough:jC}=z6(),Rl0=Ce(),_C=VK(),Cl0=L6(),pZ=$6(),{bufferToString:lE1}=GR(),SC=PZ(),d50=iR(),gC=nR(),W3=vZ(),jl0=pR(),m50=cR(),cZ=CZ(),dZ=V80(),yC=s80(),hC=F50(),l50=P50(),o50=p50(),_l0=CC();function Sl0($,I){return new Promise((U,Y)=>{xC.readFile($,I,(J,Q)=>{if(J)Y(J);else U(Q)})})}class R8{constructor($){this.workbook=$}async readFile($,I){if(!await Cl0.fs.exists($))throw Error(`File not found: ${$}`);let U=xC.createReadStream($);try{let Y=await this.read(U,I);return U.close(),Y}catch(Y){throw U.close(),Y}}parseRels($){return new W3().parseStream($)}parseWorkbook($){return new cZ().parseStream($)}parseSharedStrings($){return new gC().parseStream($)}reconcile($,I){let U=new cZ,Y=new dZ(I),J=new yC,Q=new hC;U.reconcile($);let K={media:$.media,mediaIndex:$.mediaIndex};Object.keys($.drawings).forEach((H)=>{let W=$.drawings[H],V=$.drawingRels[H];if(V)K.rels=V.reduce((w,Z)=>{return w[Z.Id]=Z,w},{}),(W.anchors||[]).forEach((w)=>{let Z=w.picture&&w.picture.hyperlinks;if(Z&&K.rels[Z.rId])Z.hyperlink=K.rels[Z.rId].Target,delete Z.rId}),J.reconcile(W,K)});let q={styles:$.styles};Object.values($.tables).forEach((H)=>{Q.reconcile(H,q)});let G={styles:$.styles,sharedStrings:$.sharedStrings,media:$.media,mediaIndex:$.mediaIndex,date1904:$.properties&&$.properties.date1904,drawings:$.drawings,comments:$.comments,tables:$.tables,vmlDrawings:$.vmlDrawings};$.worksheets.forEach((H)=>{H.relationships=$.worksheetRels[H.sheetNo],Y.reconcile(H,G)}),delete $.worksheetHash,delete $.worksheetRels,delete $.globalRels,delete $.sharedStrings,delete $.workbookRels,delete $.sheetDefs,delete $.styles,delete $.mediaIndex,delete $.drawings,delete $.drawingRels,delete $.vmlDrawings}async _processWorksheetEntry($,I,U,Y,J){let K=await new dZ(Y).parseStream($);K.sheetNo=U,I.worksheetHash[J]=K,I.worksheets.push(K)}async _processCommentEntry($,I,U){let J=await new l50().parseStream($);I.comments[`../${U}.xml`]=J}async _processTableEntry($,I,U){let J=await new hC().parseStream($);I.tables[`../tables/${U}.xml`]=J}async _processWorksheetRelsEntry($,I,U){let J=await new W3().parseStream($);I.worksheetRels[U]=J}async _processMediaEntry($,I,U){let Y=U.lastIndexOf(".");if(Y>=1){let J=U.substr(Y+1),Q=U.substr(0,Y);await new Promise((K,q)=>{let G=new _C;G.on("finish",()=>{I.mediaIndex[U]=I.media.length,I.mediaIndex[Q]=I.media.length;let H={type:"image",name:Q,extension:J,buffer:G.toBuffer()};I.media.push(H),K()}),$.on("error",(H)=>{q(H)}),$.pipe(G)})}}async _processDrawingEntry($,I,U){let J=await new yC().parseStream($);I.drawings[U]=J}async _processDrawingRelsEntry($,I,U){let J=await new W3().parseStream($);I.drawingRels[U]=J}async _processVmlDrawingEntry($,I,U){let J=await new o50().parseStream($);I.vmlDrawings[`../drawings/${U}.vml`]=J}async _processThemeEntry($,I,U){await new Promise((Y,J)=>{let Q=new _C;$.on("error",J),Q.on("error",J),Q.on("finish",()=>{I.themes[U]=Q.read().toString(),Y()}),$.pipe(Q)})}createInputStream(){throw Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read($,I){if(!$[Symbol.asyncIterator]&&$.pipe)$=$.pipe(new jC);let U=[];for await(let Y of $)U.push(Y);return this.load(Buffer.concat(U),I)}async load($,I){let U;if(I&&I.base64)U=Buffer.from($.toString(),"base64");else U=$;let Y={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},J=await vl0.loadAsync(U);for(let Q of Object.values(J.files))if(!Q.dir){let K=Q.name;if(K[0]==="/")K=K.substr(1);let q;if(K.match(/xl\/media\//)||K.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))q=new jC,q.write(await Q.async("nodebuffer"));else{q=new jC({writableObjectMode:!0,readableObjectMode:!0});let G;G=await Q.async("string");let H=16384;for(let W=0;W{if(U.type==="image"){let Y=`xl/media/${U.name}.${U.extension}`;if(U.filename){let J=await Sl0(U.filename);return $.append(J,{name:Y})}if(U.buffer)return $.append(U.buffer,{name:Y});if(U.base64){let J=U.base64,Q=J.substring(J.indexOf(",")+1);return $.append(Q,{name:Y,base64:!0})}}throw Error("Unsupported media")}))}addDrawings($,I){let U=new yC,Y=new W3;I.worksheets.forEach((J)=>{let{drawing:Q}=J;if(Q){U.prepare(Q,{});let K=U.toXml(Q);$.append(K,{name:`xl/drawings/${Q.name}.xml`}),K=Y.toXml(Q.rels),$.append(K,{name:`xl/drawings/_rels/${Q.name}.xml.rels`})}})}addTables($,I){let U=new hC;I.worksheets.forEach((Y)=>{let{tables:J}=Y;J.forEach((Q)=>{U.prepare(Q,{});let K=U.toXml(Q);$.append(K,{name:`xl/tables/${Q.target}`})})})}async addContentTypes($,I){let Y=new jl0().toXml(I);$.append(Y,{name:"[Content_Types].xml"})}async addApp($,I){let Y=new m50().toXml(I);$.append(Y,{name:"docProps/app.xml"})}async addCore($,I){let U=new d50;$.append(U.toXml(I),{name:"docProps/core.xml"})}async addThemes($,I){let U=I.themes||{theme1:_l0};Object.keys(U).forEach((Y)=>{let J=U[Y],Q=`xl/theme/${Y}.xml`;$.append(J,{name:Q})})}async addOfficeRels($){let U=new W3().toXml([{Id:"rId1",Type:R8.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:R8.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:R8.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);$.append(U,{name:"_rels/.rels"})}async addWorkbookRels($,I){let U=1,Y=[{Id:`rId${U++}`,Type:R8.RelType.Styles,Target:"styles.xml"},{Id:`rId${U++}`,Type:R8.RelType.Theme,Target:"theme/theme1.xml"}];if(I.sharedStrings.count)Y.push({Id:`rId${U++}`,Type:R8.RelType.SharedStrings,Target:"sharedStrings.xml"});I.worksheets.forEach((K)=>{K.rId=`rId${U++}`,Y.push({Id:K.rId,Type:R8.RelType.Worksheet,Target:`worksheets/sheet${K.id}.xml`})});let Q=new W3().toXml(Y);$.append(Q,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings($,I){if(I.sharedStrings&&I.sharedStrings.count)$.append(I.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles($,I){let{xml:U}=I.styles;if(U)$.append(U,{name:"xl/styles.xml"})}async addWorkbook($,I){let U=new cZ;$.append(U.toXml(I),{name:"xl/workbook.xml"})}async addWorksheets($,I){let U=new dZ,Y=new W3,J=new l50,Q=new o50;I.worksheets.forEach((K)=>{let q=new pZ;if(U.render(q,K),$.append(q.xml,{name:`xl/worksheets/sheet${K.id}.xml`}),K.rels&&K.rels.length)q=new pZ,Y.render(q,K.rels),$.append(q.xml,{name:`xl/worksheets/_rels/sheet${K.id}.xml.rels`});if(K.comments.length>0)q=new pZ,J.render(q,K),$.append(q.xml,{name:`xl/comments${K.id}.xml`}),q=new pZ,Q.render(q,K),$.append(q.xml,{name:`xl/drawings/vmlDrawing${K.id}.vml`})})}_finalize($){return new Promise((I,U)=>{$.on("finish",()=>{I(this)}),$.on("error",U),$.finalize()})}prepareModel($,I){$.creator=$.creator||"ExcelJS",$.lastModifiedBy=$.lastModifiedBy||"ExcelJS",$.created=$.created||new Date,$.modified=$.modified||new Date,$.useSharedStrings=I.useSharedStrings!==void 0?I.useSharedStrings:!0,$.useStyles=I.useStyles!==void 0?I.useStyles:!0,$.sharedStrings=new gC,$.styles=$.useStyles?new SC(!0):new SC.Mock;let U=new cZ,Y=new dZ;U.prepare($);let J={sharedStrings:$.sharedStrings,styles:$.styles,date1904:$.properties.date1904,drawingsCount:0,media:$.media};J.drawings=$.drawings=[],J.commentRefs=$.commentRefs=[];let Q=0;$.tables=[],$.worksheets.forEach((K)=>{K.tables.forEach((q)=>{Q++,q.target=`table${Q}.xml`,q.id=Q,$.tables.push(q)}),Y.prepare(K,J)})}async write($,I){I=I||{};let{model:U}=this.workbook,Y=new Rl0.ZipWriter(I.zip);return Y.pipe($),this.prepareModel(U,I),await this.addContentTypes(Y,U),await this.addOfficeRels(Y,U),await this.addWorkbookRels(Y,U),await this.addWorksheets(Y,U),await this.addSharedStrings(Y,U),await this.addDrawings(Y,U),await this.addTables(Y,U),await Promise.all([this.addThemes(Y,U),this.addStyles(Y,U)]),await this.addMedia(Y,U),await Promise.all([this.addApp(Y,U),this.addCore(Y,U)]),await this.addWorkbook(Y,U),this._finalize(Y)}writeFile($,I){let U=xC.createWriteStream($);return new Promise((Y,J)=>{U.on("finish",()=>{Y()}),U.on("error",(Q)=>{J(Q)}),this.write(U,I).then(()=>{U.end()}).catch((Q)=>{J(Q)})})}async writeBuffer($){let I=new _C;return await this.write(I,$),I.read()}}R8.RelType=x9();r50.exports=R8});var uC=O((a50)=>{Object.defineProperty(a50,"__esModule",{value:!0});a50.FormatterOptions=void 0;class t50{constructor($={}){var I;if(this.objectMode=!0,this.delimiter=",",this.rowDelimiter=` +`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,$||{}),typeof($===null||$===void 0?void 0:$.quoteHeaders)>"u")this.quoteHeaders=this.quoteColumns;if(($===null||$===void 0?void 0:$.quote)===!0)this.quote='"';else if(($===null||$===void 0?void 0:$.quote)===!1)this.quote="";if(typeof($===null||$===void 0?void 0:$.escape)!=="string")this.escape=this.quote;this.shouldWriteHeaders=!!this.headers&&((I=$.writeHeaders)!==null&&I!==void 0?I:!0),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}a50.FormatterOptions=t50});var mZ=O((tE1,U90)=>{var gl0="[object AsyncFunction]",yl0="[object Function]",hl0="[object GeneratorFunction]",xl0="[object Null]",kl0="[object Proxy]",ul0="[object Undefined]",fl0=typeof global=="object"&&global&&global.Object===Object&&global,bl0=typeof self=="object"&&self&&self.Object===Object&&self,il0=fl0||bl0||Function("return this")(),$90=Object.prototype,nl0=$90.hasOwnProperty,I90=$90.toString,e50=il0.Symbol,V3=e50?e50.toStringTag:void 0;function pl0($){if($==null)return $===void 0?ul0:xl0;return V3&&V3 in Object($)?cl0($):dl0($)}function cl0($){var I=nl0.call($,V3),U=$[V3];try{$[V3]=void 0;var Y=!0}catch(Q){}var J=I90.call($);if(Y)if(I)$[V3]=U;else delete $[V3];return J}function dl0($){return I90.call($)}function ml0($){if(!ll0($))return!1;var I=pl0($);return I==yl0||I==hl0||I==gl0||I==kl0}function ll0($){var I=typeof $;return $!=null&&(I=="object"||I=="function")}U90.exports=ml0});var k90=O((lZ,HY)=>{var ol0=200,rC="__lodash_hash_undefined__",IX=1,X90=2,z90=9007199254740991,oZ="[object Arguments]",nC="[object Array]",rl0="[object AsyncFunction]",L90="[object Boolean]",D90="[object Date]",O90="[object Error]",F90="[object Function]",tl0="[object GeneratorFunction]",rZ="[object Map]",N90="[object Number]",al0="[object Null]",GY="[object Object]",Y90="[object Promise]",sl0="[object Proxy]",M90="[object RegExp]",tZ="[object Set]",A90="[object String]",el0="[object Symbol]",$o0="[object Undefined]",pC="[object WeakMap]",P90="[object ArrayBuffer]",aZ="[object DataView]",Io0="[object Float32Array]",Uo0="[object Float64Array]",Yo0="[object Int8Array]",Jo0="[object Int16Array]",Qo0="[object Int32Array]",Ko0="[object Uint8Array]",qo0="[object Uint8ClampedArray]",Go0="[object Uint16Array]",Ho0="[object Uint32Array]",Wo0=/[\\^$.*+?()[\]{}|]/g,Vo0=/^\[object .+?Constructor\]$/,wo0=/^(?:0|[1-9]\d*)$/,r1={};r1[Io0]=r1[Uo0]=r1[Yo0]=r1[Jo0]=r1[Qo0]=r1[Ko0]=r1[qo0]=r1[Go0]=r1[Ho0]=!0;r1[oZ]=r1[nC]=r1[P90]=r1[L90]=r1[aZ]=r1[D90]=r1[O90]=r1[F90]=r1[rZ]=r1[N90]=r1[GY]=r1[M90]=r1[tZ]=r1[A90]=r1[pC]=!1;var T90=typeof global=="object"&&global&&global.Object===Object&&global,Zo0=typeof self=="object"&&self&&self.Object===Object&&self,F5=T90||Zo0||Function("return this")(),E90=typeof lZ=="object"&&lZ&&!lZ.nodeType&&lZ,J90=E90&&typeof HY=="object"&&HY&&!HY.nodeType&&HY,B90=J90&&J90.exports===E90,fC=B90&&T90.process,Q90=function(){try{return fC&&fC.binding&&fC.binding("util")}catch($){}}(),K90=Q90&&Q90.isTypedArray;function Xo0($,I){var U=-1,Y=$==null?0:$.length,J=0,Q=[];while(++U-1}function co0($,I){var U=this.__data__,Y=YX(U,$);if(Y<0)++this.size,U.push([$,I]);else U[Y][1]=I;return this}N5.prototype.clear=bo0;N5.prototype.delete=io0;N5.prototype.get=no0;N5.prototype.has=po0;N5.prototype.set=co0;function X3($){var I=-1,U=$==null?0:$.length;this.clear();while(++Iq))return!1;var H=Q.get($);if(H&&Q.get(I))return H==I;var W=-1,V=!0,w=U&X90?new eZ:void 0;Q.set($,I),Q.set(I,$);while(++W-1&&$%1==0&&$-1&&$%1==0&&$<=z90}function h90($){var I=typeof $;return $!=null&&(I=="object"||I=="function")}function TK($){return $!=null&&typeof $=="object"}var x90=K90?Oo0(K90):qr0;function Mr0($){return Fr0($)?Yr0($):Gr0($)}function Ar0(){return[]}function Pr0(){return!1}HY.exports=Nr0});var f90=O((sE1,u90)=>{var Tr0="[object Boolean]",Er0=Object.prototype,Br0=Er0.toString;function vr0($){return $===!0||$===!1||Rr0($)&&Br0.call($)==Tr0}function Rr0($){return!!$&&typeof $=="object"}u90.exports=vr0});var tC=O((eE1,b90)=>{function Cr0($){return $==null}b90.exports=Cr0});var aC=O(($B1,d90)=>{var jr0=1/0,_r0="[object Symbol]",c90=/[\\^$.*+?()[\]{}|]/g,Sr0=RegExp(c90.source),gr0=typeof global=="object"&&global&&global.Object===Object&&global,yr0=typeof self=="object"&&self&&self.Object===Object&&self,hr0=gr0||yr0||Function("return this")(),xr0=Object.prototype,kr0=xr0.toString,i90=hr0.Symbol,n90=i90?i90.prototype:void 0,p90=n90?n90.toString:void 0;function ur0($){if(typeof $=="string")return $;if(br0($))return p90?p90.call($):"";var I=$+"";return I=="0"&&1/$==-jr0?"-0":I}function fr0($){return!!$&&typeof $=="object"}function br0($){return typeof $=="symbol"||fr0($)&&kr0.call($)==_r0}function ir0($){return $==null?"":ur0($)}function nr0($){return $=ir0($),$&&Sr0.test($)?$.replace(c90,"\\$&"):$}d90.exports=nr0});var eC=O((VY)=>{var sC=VY&&VY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(VY,"__esModule",{value:!0});VY.FieldFormatter=void 0;var pr0=sC(f90()),cr0=sC(tC()),dr0=sC(aC());class m90{constructor($){if(this._headers=null,this.formatterOptions=$,$.headers!==null)this.headers=$.headers;this.REPLACE_REGEXP=new RegExp($.quote,"g");let I=`[${$.delimiter}${dr0.default($.rowDelimiter)}|\r| +]`;this.ESCAPE_REGEXP=new RegExp(I)}set headers($){this._headers=$}shouldQuote($,I){let U=I?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;if(pr0.default(U))return U;if(Array.isArray(U))return U[$];if(this._headers!==null)return U[this._headers[$]];return!1}format($,I,U){let Y=`${cr0.default($)?"":$}`.replace(/\0/g,""),{formatterOptions:J}=this;if(J.quote!==""){if(Y.indexOf(J.quote)!==-1)return this.quoteField(Y.replace(this.REPLACE_REGEXP,J.escapedQuote))}if(Y.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(I,U))return this.quoteField(Y);return Y}quoteField($){let{quote:I}=this.formatterOptions;return`${I}${$}${I}`}}VY.FieldFormatter=m90});var $j=O((l90)=>{Object.defineProperty(l90,"__esModule",{value:!0});l90.isSyncTransform=void 0;l90.isSyncTransform=($)=>$.length===1});var t90=O((wY)=>{var r90=wY&&wY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(wY,"__esModule",{value:!0});wY.RowFormatter=void 0;var mr0=r90(mZ()),lr0=r90(k90()),or0=eC(),rr0=$j();class L3{constructor($){if(this.rowCount=0,this.formatterOptions=$,this.fieldFormatter=new or0.FieldFormatter($),this.headers=$.headers,this.shouldWriteHeaders=$.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null)this.fieldFormatter.headers=this.headers;if($.transform)this.rowTransform=$.transform}static isRowHashArray($){if(Array.isArray($))return Array.isArray($[0])&&$[0].length===2;return!1}static isRowArray($){return Array.isArray($)&&!this.isRowHashArray($)}static gatherHeaders($){if(L3.isRowHashArray($))return $.map((I)=>I[0]);if(Array.isArray($))return $;return Object.keys($)}static createTransform($){if(rr0.isSyncTransform($))return(I,U)=>{let Y=null;try{Y=$(I)}catch(J){return U(J)}return U(null,Y)};return(I,U)=>{$(I,U)}}set rowTransform($){if(!mr0.default($))throw TypeError("The transform should be a function");this._rowTransform=L3.createTransform($)}format($,I){this.callTransformer($,(U,Y)=>{if(U)return I(U);if(!$)return I(null);let J=[];if(Y){let{shouldFormatColumns:Q,headers:K}=this.checkHeaders(Y);if(this.shouldWriteHeaders&&K&&!this.hasWrittenHeaders)J.push(this.formatColumns(K,!0)),this.hasWrittenHeaders=!0;if(Q){let q=this.gatherColumns(Y);J.push(this.formatColumns(q,!1))}}return I(null,J)})}finish($){let I=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return $(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));I.push(this.formatColumns(this.headers,!0))}if(this.formatterOptions.includeEndRowDelimiter)I.push(this.formatterOptions.rowDelimiter);return $(null,I)}checkHeaders($){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let I=L3.gatherHeaders($);if(this.headers=I,this.fieldFormatter.headers=I,!this.shouldWriteHeaders)return{shouldFormatColumns:!0,headers:null};return{shouldFormatColumns:!lr0.default(I,$),headers:I}}gatherColumns($){if(this.headers===null)throw Error("Headers is currently null");if(!Array.isArray($))return this.headers.map((I)=>$[I]);if(L3.isRowHashArray($))return this.headers.map((I,U)=>{let Y=$[U];if(Y)return Y[1];return""});if(L3.isRowArray($)&&!this.shouldWriteHeaders)return $;return this.headers.map((I,U)=>$[U])}callTransformer($,I){if(!this._rowTransform)return I(null,$);return this._rowTransform($,I)}formatColumns($,I){let U=$.map((J,Q)=>this.fieldFormatter.format(J,Q,I)).join(this.formatterOptions.delimiter),{rowCount:Y}=this;if(this.rowCount+=1,Y)return[this.formatterOptions.rowDelimiter,U].join("");return U}}wY.RowFormatter=L3});var a90=O((QX)=>{Object.defineProperty(QX,"__esModule",{value:!0});QX.FieldFormatter=QX.RowFormatter=void 0;var tr0=t90();Object.defineProperty(QX,"RowFormatter",{enumerable:!0,get:function(){return tr0.RowFormatter}});var ar0=eC();Object.defineProperty(QX,"FieldFormatter",{enumerable:!0,get:function(){return ar0.FieldFormatter}})});var Ij=O((e90)=>{Object.defineProperty(e90,"__esModule",{value:!0});e90.CsvFormatterStream=void 0;var er0=r("stream"),$t0=a90();class s90 extends er0.Transform{constructor($){super({writableObjectMode:$.objectMode});this.hasWrittenBOM=!1,this.formatterOptions=$,this.rowFormatter=new $t0.RowFormatter($),this.hasWrittenBOM=!$.writeBOM}transform($){return this.rowFormatter.rowTransform=$,this}_transform($,I,U){let Y=!1;try{if(!this.hasWrittenBOM)this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0;this.rowFormatter.format($,(J,Q)=>{if(J)return Y=!0,U(J);if(Q)Q.forEach((K)=>{this.push(Buffer.from(K,"utf8"))});return Y=!0,U()})}catch(J){if(Y)throw J;U(J)}}_flush($){this.rowFormatter.finish((I,U)=>{if(I)return $(I);if(U)U.forEach((Y)=>{this.push(Buffer.from(Y,"utf8"))});return $()})}}e90.CsvFormatterStream=s90});var U70=O((N1)=>{var I70=N1&&N1.__createBinding||(Object.create?function($,I,U,Y){if(Y===void 0)Y=U;Object.defineProperty($,Y,{enumerable:!0,get:function(){return I[U]}})}:function($,I,U,Y){if(Y===void 0)Y=U;$[Y]=I[U]}),It0=N1&&N1.__setModuleDefault||(Object.create?function($,I){Object.defineProperty($,"default",{enumerable:!0,value:I})}:function($,I){$.default=I}),Ut0=N1&&N1.__importStar||function($){if($&&$.__esModule)return $;var I={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))I70(I,$,U)}return It0(I,$),I},Yt0=N1&&N1.__exportStar||function($,I){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(I,U))I70(I,$,U)};Object.defineProperty(N1,"__esModule",{value:!0});N1.writeToPath=N1.writeToString=N1.writeToBuffer=N1.writeToStream=N1.write=N1.format=N1.FormatterOptions=N1.CsvFormatterStream=void 0;var Jt0=r("util"),Qt0=r("stream"),Kt0=Ut0(r("fs")),qt0=uC(),Gt0=Ij();Yt0($j(),N1);var Ht0=Ij();Object.defineProperty(N1,"CsvFormatterStream",{enumerable:!0,get:function(){return Ht0.CsvFormatterStream}});var Wt0=uC();Object.defineProperty(N1,"FormatterOptions",{enumerable:!0,get:function(){return Wt0.FormatterOptions}});N1.format=($)=>new Gt0.CsvFormatterStream(new qt0.FormatterOptions($));N1.write=($,I)=>{let U=N1.format(I),Y=Jt0.promisify((J,Q)=>{U.write(J,void 0,Q)});return $.reduce((J,Q)=>J.then(()=>Y(Q)),Promise.resolve()).then(()=>U.end()).catch((J)=>{U.emit("error",J)}),U};N1.writeToStream=($,I,U)=>N1.write(I,U).pipe($);N1.writeToBuffer=($,I={})=>{let U=[],Y=new Qt0.Writable({write(J,Q,K){U.push(J),K()}});return new Promise((J,Q)=>{Y.on("error",Q).on("finish",()=>J(Buffer.concat(U))),N1.write($,I).pipe(Y)})};N1.writeToString=($,I)=>N1.writeToBuffer($,I).then((U)=>U.toString());N1.writeToPath=($,I,U)=>{let Y=Kt0.createWriteStream($,{encoding:"utf8"});return N1.write(I,U).pipe(Y)}});var Uj=O((ZY)=>{var Y70=ZY&&ZY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(ZY,"__esModule",{value:!0});ZY.ParserOptions=void 0;var Vt0=Y70(aC()),wt0=Y70(tC());class J70{constructor($){var I;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,$||{}),this.delimiter.length>1)throw Error("delimiter option must be one character long");if(this.escapedDelimiter=Vt0.default(this.delimiter),this.escapeChar=(I=this.escape)!==null&&I!==void 0?I:this.quote,this.supportsComments=!wt0.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0)this.limitRows=!0}}ZY.ParserOptions=J70});var Yj=O((Q70)=>{Object.defineProperty(Q70,"__esModule",{value:!0});Q70.isSyncValidate=Q70.isSyncTransform=void 0;Q70.isSyncTransform=($)=>$.length===1;Q70.isSyncValidate=($)=>$.length===1});var H70=O((XY)=>{var Xt0=XY&&XY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(XY,"__esModule",{value:!0});XY.RowTransformerValidator=void 0;var q70=Xt0(mZ()),G70=Yj();class KX{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform($){if(G70.isSyncTransform($))return(I,U)=>{let Y=null;try{Y=$(I)}catch(J){return U(J)}return U(null,Y)};return $}static createValidator($){if(G70.isSyncValidate($))return(I,U)=>{U(null,{row:I,isValid:$(I)})};return(I,U)=>{$(I,(Y,J,Q)=>{if(Y)return U(Y);if(J)return U(null,{row:I,isValid:J,reason:Q});return U(null,{row:I,isValid:!1,reason:Q})})}}set rowTransform($){if(!q70.default($))throw TypeError("The transform should be a function");this._rowTransform=KX.createTransform($)}set rowValidator($){if(!q70.default($))throw TypeError("The validate should be a function");this._rowValidator=KX.createValidator($)}transformAndValidate($,I){return this.callTransformer($,(U,Y)=>{if(U)return I(U);if(!Y)return I(null,{row:null,isValid:!0});return this.callValidator(Y,(J,Q)=>{if(J)return I(J);if(Q&&!Q.isValid)return I(null,{row:Y,isValid:!1,reason:Q.reason});return I(null,{row:Y,isValid:!0})})})}callTransformer($,I){if(!this._rowTransform)return I(null,$);return this._rowTransform($,I)}callValidator($,I){if(!this._rowValidator)return I(null,{row:$,isValid:!0});return this._rowValidator($,I)}}XY.RowTransformerValidator=KX});var V70=O((VB1,W70)=>{function zt0($){return $===void 0}W70.exports=zt0});var O70=O((wB1,D70)=>{var Lt0=200,Kj="__lodash_hash_undefined__",Dt0=1/0,Ot0="[object Function]",Ft0="[object GeneratorFunction]",Nt0=/[\\^$.*+?()[\]{}|]/g,Mt0=/^\[object .+?Constructor\]$/,At0=typeof global=="object"&&global&&global.Object===Object&&global,Pt0=typeof self=="object"&&self&&self.Object===Object&&self,qj=At0||Pt0||Function("return this")();function Tt0($,I){var U=$?$.length:0;return!!U&&vt0($,I,0)>-1}function Et0($,I,U){var Y=-1,J=$?$.length:0;while(++Y-1}function lt0($,I){var U=this.__data__,Y=GX(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}zY.prototype.clear=pt0;zY.prototype.delete=ct0;zY.prototype.get=dt0;zY.prototype.has=mt0;zY.prototype.set=lt0;function LY($){var I=-1,U=$?$.length:0;this.clear();while(++I=Lt0){var H=I?null:Ya0($);if(H)return Z70(H);K=!1,J=Ct0,G=new qX}else G=I?[]:q;$:while(++Y{var Va0=200,wa0="Expected a function",Fj="__lodash_hash_undefined__",OX=1,FY=2,R70=1/0,C70=9007199254740991,VX="[object Arguments]",wj="[object Array]",j70="[object Boolean]",_70="[object Date]",S70="[object Error]",g70="[object Function]",Za0="[object GeneratorFunction]",wX="[object Map]",y70="[object Number]",DY="[object Object]",F70="[object Promise]",h70="[object RegExp]",ZX="[object Set]",x70="[object String]",k70="[object Symbol]",Zj="[object WeakMap]",u70="[object ArrayBuffer]",XX="[object DataView]",Xa0="[object Float32Array]",za0="[object Float64Array]",La0="[object Int8Array]",Da0="[object Int16Array]",Oa0="[object Int32Array]",Fa0="[object Uint8Array]",Na0="[object Uint8ClampedArray]",Ma0="[object Uint16Array]",Aa0="[object Uint32Array]",Pa0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ta0=/^\w*$/,Ea0=/^\./,Ba0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,va0=/[\\^$.*+?()[\]{}|]/g,Ra0=/\\(\\)?/g,Ca0=/^\[object .+?Constructor\]$/,ja0=/^(?:0|[1-9]\d*)$/,t1={};t1[Xa0]=t1[za0]=t1[La0]=t1[Da0]=t1[Oa0]=t1[Fa0]=t1[Na0]=t1[Ma0]=t1[Aa0]=!0;t1[VX]=t1[wj]=t1[u70]=t1[j70]=t1[XX]=t1[_70]=t1[S70]=t1[g70]=t1[wX]=t1[y70]=t1[DY]=t1[h70]=t1[ZX]=t1[x70]=t1[Zj]=!1;var f70=typeof global=="object"&&global&&global.Object===Object&&global,_a0=typeof self=="object"&&self&&self.Object===Object&&self,n9=f70||_a0||Function("return this")(),b70=typeof WX=="object"&&WX&&!WX.nodeType&&WX,N70=b70&&typeof OY=="object"&&OY&&!OY.nodeType&&OY,Sa0=N70&&N70.exports===b70,M70=Sa0&&f70.process,A70=function(){try{return M70&&M70.binding("util")}catch($){}}(),P70=A70&&A70.isTypedArray;function ga0($,I,U,Y){var J=-1,Q=$?$.length:0;while(++J-1}function Gs0($,I){var U=this.__data__,Y=NX(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}A5.prototype.clear=Js0;A5.prototype.delete=Qs0;A5.prototype.get=Ks0;A5.prototype.has=qs0;A5.prototype.set=Gs0;function P5($){var I=-1,U=$?$.length:0;this.clear();while(++Iq))return!1;var H=Q.get($);if(H&&Q.get(I))return H==I;var W=-1,V=!0,w=J&OX?new LX:void 0;Q.set($,I),Q.set(I,$);while(++W-1&&$%1==0&&$-1&&$%1==0&&$<=C70}function TX($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function EX($){return!!$&&typeof $=="object"}function Tj($){return typeof $=="symbol"||EX($)&&NY.call($)==k70}var as0=P70?ka0(P70):_s0;function ss0($){return $==null?"":ks0($)}function es0($,I,U){var Y=$==null?void 0:n70($,I);return Y===void 0?U:Y}function $e0($,I){return $!=null&&cs0($,I,vs0)}function DX($){return Aj($)?Ms0($):gs0($)}function Ie0($){return $}function Ue0($){return AX($)?ha0(PX($)):xs0($)}OY.exports=rs0});var $30=O((AY)=>{var BX=AY&&AY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(AY,"__esModule",{value:!0});AY.HeaderTransformer=void 0;var s70=BX(V70()),Ye0=BX(mZ()),Je0=BX(O70()),Qe0=BX(a70());class e70{constructor($){if(this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=$,$.headers===!0)this.shouldUseFirstRow=!0;else if(Array.isArray($.headers))this.setHeaders($.headers);else if(Ye0.default($.headers))this.headersTransform=$.headers}transform($,I){if(!this.shouldMapRow($))return I(null,{row:null,isValid:!0});return I(null,this.processRow($))}shouldMapRow($){let{parserOptions:I}=this;if(!this.headersTransform&&I.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray($)){if(this.headersTransform)this.setHeaders(this.headersTransform($));else if(this.shouldUseFirstRow)this.setHeaders($);else return!0;return!1}return!0}processRow($){if(!this.headers)return{row:$,isValid:!0};let{parserOptions:I}=this;if(!I.discardUnmappedColumns&&$.length>this.headersLength){if(!I.strictColumnHandling)throw Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${$.length}`);return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`}}if(I.strictColumnHandling&&$.length!!Y);if(Je0.default(U).length!==U.length){let Y=Qe0.default(U),J=Object.keys(Y).filter((Q)=>Y[Q].length>1);throw Error(`Duplicate headers found ${JSON.stringify(J)}`)}this.headers=$,this.receivedHeaders=!0,this.headersLength=((I=this.headers)===null||I===void 0?void 0:I.length)||0}}AY.HeaderTransformer=e70});var I30=O((vX)=>{Object.defineProperty(vX,"__esModule",{value:!0});vX.HeaderTransformer=vX.RowTransformerValidator=void 0;var Ke0=H70();Object.defineProperty(vX,"RowTransformerValidator",{enumerable:!0,get:function(){return Ke0.RowTransformerValidator}});var qe0=$30();Object.defineProperty(vX,"HeaderTransformer",{enumerable:!0,get:function(){return qe0.HeaderTransformer}})});var p9=O((Y30)=>{Object.defineProperty(Y30,"__esModule",{value:!0});Y30.Token=void 0;class U30{constructor($){this.token=$.token,this.startCursor=$.startCursor,this.endCursor=$.endCursor}static isTokenRowDelimiter($){let I=$.token;return I==="\r"||I===` `||I===`\r -`}static isTokenCarriageReturn($,I){return $.token===I.carriageReturn}static isTokenComment($,I){return I.supportsComments&&!!$&&$.token===I.comment}static isTokenEscapeCharacter($,I){return $.token===I.escapeChar}static isTokenQuote($,I){return $.token===I.quote}static isTokenDelimiter($,I){return $.token===I.delimiter}}M70.Token=F70});var Vj=O((E70)=>{Object.defineProperty(E70,"__esModule",{value:!0});E70.Scanner=void 0;var P70=i9(),Ds0=/((?:\r\n)|\n|\r)/;class T70{constructor($){this.cursor=0,this.line=$.line,this.lineLength=this.line.length,this.parserOptions=$.parserOptions,this.hasMoreData=$.hasMoreData,this.cursor=$.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){let{lineFromCursor:$}=this,I=this.parserOptions.NEXT_TOKEN_REGEXP;if($.search(I)===-1)return null;let U=I.exec($);if(U==null)return null;let Y=U[1],J=this.cursor+(U.index||0);return new P70.Token({token:Y,startCursor:J,endCursor:J+Y.length-1})}get nextCharacterToken(){let{cursor:$,lineLength:I}=this;if(I<=$)return null;return new P70.Token({token:this.line[$],startCursor:$,endCursor:$})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let $=Ds0.exec(this.lineFromCursor);if(!$){if(this.hasMoreData)return null;return this.cursor=this.lineLength,this}return this.cursor+=($.index||0)+$[0].length,this}advanceTo($){return this.cursor=$,this}advanceToToken($){return this.cursor=$.startCursor,this}advancePastToken($){return this.cursor=$.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}E70.Scanner=T70});var FX=O((v70)=>{Object.defineProperty(v70,"__esModule",{value:!0});v70.ColumnFormatter=void 0;class R70{constructor($){if($.trim)this.format=(I)=>I.trim();else if($.ltrim)this.format=(I)=>I.trimLeft();else if($.rtrim)this.format=(I)=>I.trimRight();else this.format=(I)=>I}}v70.ColumnFormatter=R70});var Zj=O((S70)=>{Object.defineProperty(S70,"__esModule",{value:!0});S70.NonQuotedColumnParser=void 0;var Os0=FX(),j70=i9();class _70{constructor($){this.parserOptions=$,this.columnFormatter=new Os0.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let{parserOptions:I}=this,U=[],Y=$.nextCharacterToken;for(;Y;Y=$.nextCharacterToken){if(j70.Token.isTokenDelimiter(Y,I)||j70.Token.isTokenRowDelimiter(Y))break;U.push(Y.token),$.advancePastToken(Y)}return this.columnFormatter.format(U.join(""))}}S70.NonQuotedColumnParser=_70});var zj=O((h70)=>{Object.defineProperty(h70,"__esModule",{value:!0});h70.QuotedColumnParser=void 0;var Ns0=FX(),MY=i9();class y70{constructor($){this.parserOptions=$,this.columnFormatter=new Ns0.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let I=$.cursor,{foundClosingQuote:U,col:Y}=this.gatherDataBetweenQuotes($);if(!U){if($.advanceTo(I),!$.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${$.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn($),Y}gatherDataBetweenQuotes($){let{parserOptions:I}=this,U=!1,Y=!1,J=[],Q=$.nextCharacterToken;for(;!Y&&Q!==null;Q=$.nextCharacterToken){let K=MY.Token.isTokenQuote(Q,I);if(!U&&K)U=!0;else if(U)if(MY.Token.isTokenEscapeCharacter(Q,I)){$.advancePastToken(Q);let q=$.nextCharacterToken;if(q!==null&&(MY.Token.isTokenQuote(q,I)||MY.Token.isTokenEscapeCharacter(q,I)))J.push(q.token),Q=q;else if(K)Y=!0;else J.push(Q.token)}else if(K)Y=!0;else J.push(Q.token);$.advancePastToken(Q)}return{col:this.columnFormatter.format(J.join("")),foundClosingQuote:Y}}checkForMalformedColumn($){let{parserOptions:I}=this,{nextNonSpaceToken:U}=$;if(U){let Y=MY.Token.isTokenDelimiter(U,I),J=MY.Token.isTokenRowDelimiter(U);if(!(Y||J)){let Q=$.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw Error(`Parse Error: expected: '${I.escapedDelimiter}' OR new line got: '${U.token}'. at '${Q}`)}$.advanceToToken(U)}else if(!$.hasMoreData)$.advancePastLine()}}h70.QuotedColumnParser=y70});var b70=O((u70)=>{Object.defineProperty(u70,"__esModule",{value:!0});u70.ColumnParser=void 0;var Fs0=Zj(),Ms0=zj(),As0=i9();class k70{constructor($){this.parserOptions=$,this.quotedColumnParser=new Ms0.QuotedColumnParser($),this.nonQuotedColumnParser=new Fs0.NonQuotedColumnParser($)}parse($){let{nextNonSpaceToken:I}=$;if(I!==null&&As0.Token.isTokenQuote(I,this.parserOptions))return $.advanceToToken(I),this.quotedColumnParser.parse($);return this.nonQuotedColumnParser.parse($)}}u70.ColumnParser=k70});var Xj=O((AY)=>{Object.defineProperty(AY,"__esModule",{value:!0});AY.ColumnFormatter=AY.QuotedColumnParser=AY.NonQuotedColumnParser=AY.ColumnParser=void 0;var Ps0=b70();Object.defineProperty(AY,"ColumnParser",{enumerable:!0,get:function(){return Ps0.ColumnParser}});var Ts0=Zj();Object.defineProperty(AY,"NonQuotedColumnParser",{enumerable:!0,get:function(){return Ts0.NonQuotedColumnParser}});var Es0=zj();Object.defineProperty(AY,"QuotedColumnParser",{enumerable:!0,get:function(){return Es0.QuotedColumnParser}});var Bs0=FX();Object.defineProperty(AY,"ColumnFormatter",{enumerable:!0,get:function(){return Bs0.ColumnFormatter}})});var Lj=O((n70)=>{Object.defineProperty(n70,"__esModule",{value:!0});n70.RowParser=void 0;var vs0=Xj(),PY=i9(),wj="";class i70{constructor($){this.parserOptions=$,this.columnParser=new vs0.ColumnParser($)}static isEmptyRow($){return $.join(wj).replace(/\s+/g,wj)===wj}parse($){let{parserOptions:I}=this,{hasMoreData:U}=$,Y=$,J=[],Q=this.getStartToken(Y,J);while(Q){if(PY.Token.isTokenRowDelimiter(Q)){if(Y.advancePastToken(Q),!Y.hasMoreCharacters&&PY.Token.isTokenCarriageReturn(Q,I)&&U)return null;return Y.truncateToCursor(),J}if(!this.shouldSkipColumnParse(Y,Q,J)){let K=this.columnParser.parse(Y);if(K===null)return null;J.push(K)}Q=Y.nextNonSpaceToken}if(!U)return Y.truncateToCursor(),J;return null}getStartToken($,I){let U=$.nextNonSpaceToken;if(U!==null&&PY.Token.isTokenDelimiter(U,this.parserOptions))return I.push(""),$.nextNonSpaceToken;return U}shouldSkipColumnParse($,I,U){let{parserOptions:Y}=this;if(PY.Token.isTokenDelimiter(I,Y)){$.advancePastToken(I);let J=$.nextCharacterToken;if(!$.hasMoreCharacters||J!==null&&PY.Token.isTokenRowDelimiter(J))return U.push(""),!0;if(J!==null&&PY.Token.isTokenDelimiter(J,Y))return U.push(""),!0}return!1}}n70.RowParser=i70});var l70=O((d70)=>{Object.defineProperty(d70,"__esModule",{value:!0});d70.Parser=void 0;var Cs0=Vj(),c70=Lj(),js0=i9();class Dj{constructor($){this.parserOptions=$,this.rowParser=new c70.RowParser(this.parserOptions)}static removeBOM($){if($&&$.charCodeAt(0)===65279)return $.slice(1);return $}parse($,I){let U=new Cs0.Scanner({line:Dj.removeBOM($),parserOptions:this.parserOptions,hasMoreData:I});if(this.parserOptions.supportsComments)return this.parseWithComments(U);return this.parseWithoutComments(U)}parseWithoutComments($){let I=[],U=!0;while(U)U=this.parseRow($,I);return{line:$.line,rows:I}}parseWithComments($){let{parserOptions:I}=this,U=[];for(let Y=$.nextCharacterToken;Y!==null;Y=$.nextCharacterToken)if(js0.Token.isTokenComment(Y,I)){if($.advancePastLine()===null)return{line:$.lineFromCursor,rows:U};if(!$.hasMoreCharacters)return{line:$.lineFromCursor,rows:U};$.truncateToCursor()}else if(!this.parseRow($,U))break;return{line:$.line,rows:U}}parseRow($,I){if(!$.nextNonSpaceToken)return!1;let Y=this.rowParser.parse($);if(Y===null)return!1;if(this.parserOptions.ignoreEmpty&&c70.RowParser.isEmptyRow(Y))return!0;return I.push(Y),!0}}d70.Parser=Dj});var o70=O((A5)=>{Object.defineProperty(A5,"__esModule",{value:!0});A5.QuotedColumnParser=A5.NonQuotedColumnParser=A5.ColumnParser=A5.Token=A5.Scanner=A5.RowParser=A5.Parser=void 0;var _s0=l70();Object.defineProperty(A5,"Parser",{enumerable:!0,get:function(){return _s0.Parser}});var Ss0=Lj();Object.defineProperty(A5,"RowParser",{enumerable:!0,get:function(){return Ss0.RowParser}});var gs0=Vj();Object.defineProperty(A5,"Scanner",{enumerable:!0,get:function(){return gs0.Scanner}});var ys0=i9();Object.defineProperty(A5,"Token",{enumerable:!0,get:function(){return ys0.Token}});var Oj=Xj();Object.defineProperty(A5,"ColumnParser",{enumerable:!0,get:function(){return Oj.ColumnParser}});Object.defineProperty(A5,"NonQuotedColumnParser",{enumerable:!0,get:function(){return Oj.NonQuotedColumnParser}});Object.defineProperty(A5,"QuotedColumnParser",{enumerable:!0,get:function(){return Oj.QuotedColumnParser}})});var Nj=O((t70)=>{Object.defineProperty(t70,"__esModule",{value:!0});t70.CsvParserStream=void 0;var xs0=r("string_decoder"),ks0=r("stream"),r70=N70(),us0=o70();class MX extends ks0.Transform{constructor($){super({objectMode:$.objectMode});this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=$,this.parser=new us0.Parser($),this.headerTransformer=new r70.HeaderTransformer($),this.decoder=new xs0.StringDecoder($.encoding),this.rowTransformerValidator=new r70.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform($){return this.rowTransformerValidator.rowTransform=$,this}validate($){return this.rowTransformerValidator.rowValidator=$,this}emit($,...I){if($==="end"){if(!this.endEmitted)this.endEmitted=!0,super.emit("end",this.rowCount);return!1}return super.emit($,...I)}_transform($,I,U){if(this.hasHitRowLimit)return U();let Y=MX.wrapDoneCallback(U);try{let{lines:J}=this,Q=J+this.decoder.write($),K=this.parse(Q,!0);return this.processRows(K,Y)}catch(J){return Y(J)}}_flush($){let I=MX.wrapDoneCallback($);if(this.hasHitRowLimit)return I();try{let U=this.lines+this.decoder.end(),Y=this.parse(U,!1);return this.processRows(Y,I)}catch(U){return I(U)}}parse($,I){if(!$)return[];let{line:U,rows:Y}=this.parser.parse($,I);return this.lines=U,Y}processRows($,I){let U=$.length,Y=(J)=>{let Q=(G)=>{if(G)return I(G);if(J%100===0){setImmediate(()=>Y(J+1));return}return Y(J+1)};if(this.checkAndEmitHeaders(),J>=U||this.hasHitRowLimit)return I();if(this.parsedLineCount+=1,this.shouldSkipLine)return Q();let K=$[J];this.rowCount+=1,this.parsedRowCount+=1;let q=this.rowCount;return this.transformRow(K,(G,H)=>{if(G)return this.rowCount-=1,Q(G);if(!H)return Q(Error("expected transform result"));if(!H.isValid)this.emit("data-invalid",H.row,q,H.reason);else if(H.row)return this.pushRow(H.row,Q);return Q()})};Y(0)}transformRow($,I){try{this.headerTransformer.transform($,(U,Y)=>{if(U)return I(U);if(!Y)return I(Error("Expected result from header transform"));if(!Y.isValid){if(this.shouldEmitRows)return I(null,{isValid:!1,row:$});return this.skipRow(I)}if(Y.row){if(this.shouldEmitRows)return this.rowTransformerValidator.transformAndValidate(Y.row,I);return this.skipRow(I)}return this.rowCount-=1,this.parsedRowCount-=1,I(null,{row:null,isValid:!0})})}catch(U){I(U)}}checkAndEmitHeaders(){if(!this.headersEmitted&&this.headerTransformer.headers)this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers)}skipRow($){return this.rowCount-=1,$(null,{row:null,isValid:!0})}pushRow($,I){try{if(!this.parserOptions.objectMode)this.push(JSON.stringify($));else this.push($);I()}catch(U){I(U)}}static wrapDoneCallback($){let I=!1;return(U,...Y)=>{if(U){if(I)throw U;I=!0,$(U);return}$(...Y)}}}t70.CsvParserStream=MX});var e70=O((W4)=>{var s70=W4&&W4.__createBinding||(Object.create?function($,I,U,Y){if(Y===void 0)Y=U;Object.defineProperty($,Y,{enumerable:!0,get:function(){return I[U]}})}:function($,I,U,Y){if(Y===void 0)Y=U;$[Y]=I[U]}),fs0=W4&&W4.__setModuleDefault||(Object.create?function($,I){Object.defineProperty($,"default",{enumerable:!0,value:I})}:function($,I){$.default=I}),bs0=W4&&W4.__importStar||function($){if($&&$.__esModule)return $;var I={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))s70(I,$,U)}return fs0(I,$),I},is0=W4&&W4.__exportStar||function($,I){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(I,U))s70(I,$,U)};Object.defineProperty(W4,"__esModule",{value:!0});W4.parseString=W4.parseFile=W4.parseStream=W4.parse=W4.ParserOptions=W4.CsvParserStream=void 0;var ns0=bs0(r("fs")),ps0=r("stream"),AX=nC(),PX=Nj();is0(pC(),W4);var cs0=Nj();Object.defineProperty(W4,"CsvParserStream",{enumerable:!0,get:function(){return cs0.CsvParserStream}});var ds0=nC();Object.defineProperty(W4,"ParserOptions",{enumerable:!0,get:function(){return ds0.ParserOptions}});W4.parse=($)=>new PX.CsvParserStream(new AX.ParserOptions($));W4.parseStream=($,I)=>$.pipe(new PX.CsvParserStream(new AX.ParserOptions(I)));W4.parseFile=($,I={})=>ns0.createReadStream($).pipe(new PX.CsvParserStream(new AX.ParserOptions(I)));W4.parseString=($,I)=>{let U=new ps0.Readable;return U.push($),U.push(null),U.pipe(new PX.CsvParserStream(new AX.ParserOptions(I)))}});var $30=O((O6)=>{Object.defineProperty(O6,"__esModule",{value:!0});O6.CsvParserStream=O6.ParserOptions=O6.parseFile=O6.parseStream=O6.parseString=O6.parse=O6.FormatterOptions=O6.CsvFormatterStream=O6.writeToPath=O6.writeToString=O6.writeToBuffer=O6.writeToStream=O6.write=O6.format=void 0;var n9=F90();Object.defineProperty(O6,"format",{enumerable:!0,get:function(){return n9.format}});Object.defineProperty(O6,"write",{enumerable:!0,get:function(){return n9.write}});Object.defineProperty(O6,"writeToStream",{enumerable:!0,get:function(){return n9.writeToStream}});Object.defineProperty(O6,"writeToBuffer",{enumerable:!0,get:function(){return n9.writeToBuffer}});Object.defineProperty(O6,"writeToString",{enumerable:!0,get:function(){return n9.writeToString}});Object.defineProperty(O6,"writeToPath",{enumerable:!0,get:function(){return n9.writeToPath}});Object.defineProperty(O6,"CsvFormatterStream",{enumerable:!0,get:function(){return n9.CsvFormatterStream}});Object.defineProperty(O6,"FormatterOptions",{enumerable:!0,get:function(){return n9.FormatterOptions}});var TY=e70();Object.defineProperty(O6,"parse",{enumerable:!0,get:function(){return TY.parse}});Object.defineProperty(O6,"parseString",{enumerable:!0,get:function(){return TY.parseString}});Object.defineProperty(O6,"parseStream",{enumerable:!0,get:function(){return TY.parseStream}});Object.defineProperty(O6,"parseFile",{enumerable:!0,get:function(){return TY.parseFile}});Object.defineProperty(O6,"ParserOptions",{enumerable:!0,get:function(){return TY.ParserOptions}});Object.defineProperty(O6,"CsvParserStream",{enumerable:!0,get:function(){return TY.CsvParserStream}})});var I30=O((Fj,Mj)=>{(function($,I){typeof Fj=="object"&&typeof Mj<"u"?Mj.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_customParseFormat=I()})(Fj,function(){var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},I=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,U=/\d/,Y=/\d\d/,J=/\d\d?/,Q=/\d*[^-_:/,()\s\d]+/,K={},q=function(w){return(w=+w)+(w>68?1900:2000)},G=function(w){return function(L){this[w]=+L}},H=[/[+-]\d\d:?(\d\d)?|Z/,function(w){(this.zone||(this.zone={})).offset=function(L){if(!L)return 0;if(L==="Z")return 0;var D=L.match(/([+-]|\d\d)/g),N=60*D[1]+(+D[2]||0);return N===0?0:D[0]==="+"?-N:N}(w)}],W=function(w){var L=K[w];return L&&(L.indexOf?L:L.s.concat(L.f))},V=function(w,L){var D,N=K.meridiem;if(N){for(var E=1;E<=24;E+=1)if(w.indexOf(N(E,0,L))>-1){D=E>12;break}}else D=w===(L?"pm":"PM");return D},z={A:[Q,function(w){this.afternoon=V(w,!1)}],a:[Q,function(w){this.afternoon=V(w,!0)}],Q:[U,function(w){this.month=3*(w-1)+1}],S:[U,function(w){this.milliseconds=100*+w}],SS:[Y,function(w){this.milliseconds=10*+w}],SSS:[/\d{3}/,function(w){this.milliseconds=+w}],s:[J,G("seconds")],ss:[J,G("seconds")],m:[J,G("minutes")],mm:[J,G("minutes")],H:[J,G("hours")],h:[J,G("hours")],HH:[J,G("hours")],hh:[J,G("hours")],D:[J,G("day")],DD:[Y,G("day")],Do:[Q,function(w){var L=K.ordinal,D=w.match(/\d+/);if(this.day=D[0],L)for(var N=1;N<=31;N+=1)L(N).replace(/\[|\]/g,"")===w&&(this.day=N)}],w:[J,G("week")],ww:[Y,G("week")],M:[J,G("month")],MM:[Y,G("month")],MMM:[Q,function(w){var L=W("months"),D=(W("monthsShort")||L.map(function(N){return N.slice(0,3)})).indexOf(w)+1;if(D<1)throw Error();this.month=D%12||D}],MMMM:[Q,function(w){var L=W("months").indexOf(w)+1;if(L<1)throw Error();this.month=L%12||L}],Y:[/[+-]?\d+/,G("year")],YY:[Y,function(w){this.year=q(w)}],YYYY:[/\d{4}/,G("year")],Z:H,ZZ:H};function Z(w){var L,D;L=w,D=K&&K.formats;for(var N=(w=L.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,C,p){var n=p&&p.toUpperCase();return C||D[p]||$[p]||D[n].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,f,i){return f||i.slice(1)})})).match(I),E=N.length,T=0;T-1)return new Date((B==="X"?1000:1)*Y0);var t=Z(B)(Y0),K0=t.year,W0=t.month,M0=t.day,B0=t.hours,w1=t.minutes,f0=t.seconds,G1=t.milliseconds,O0=t.zone,g0=t.week,d0=new Date,Q4=M0||(K0||W0?1:d0.getDate()),j4=K0||d0.getFullYear(),W$=0;K0&&!W0||(W$=W0>0?W0-1:d0.getMonth());var x$,c8=B0||0,k$=w1||0,V$=f0||0,d8=G1||0;return O0?new Date(Date.UTC(j4,W$,Q4,c8,k$,V$,d8+60*O0.offset*1000)):k?new Date(Date.UTC(j4,W$,Q4,c8,k$,V$,d8)):(x$=new Date(j4,W$,Q4,c8,k$,V$,d8),g0&&(x$=d(x$).week(g0).toDate()),x$)}catch(a6){return new Date("")}}(A,g,v,D),this.init(),n&&n!==!0&&(this.$L=this.locale(n).$L),p&&A!=this.format(g)&&(this.$d=new Date("")),K={}}else if(g instanceof Array)for(var S=g.length,f=1;f<=S;f+=1){u[1]=g[f-1];var i=D.apply(this,u);if(i.isValid()){this.$d=i.$d,this.$L=i.$L,this.init();break}f===S&&(this.$d=new Date(""))}else E.call(this,T)}}})});var U30=O((Aj,Pj)=>{(function($,I){typeof Aj=="object"&&typeof Pj<"u"?Pj.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_utc=I()})(Aj,function(){var $="minute",I=/[+-]\d\d(?::?\d\d)?/g,U=/([+-]|\d\d)/g;return function(Y,J,Q){var K=J.prototype;Q.utc=function(Z){var w={date:Z,utc:!0,args:arguments};return new J(w)},K.utc=function(Z){var w=Q(this.toDate(),{locale:this.$L,utc:!0});return Z?w.add(this.utcOffset(),$):w},K.local=function(){return Q(this.toDate(),{locale:this.$L,utc:!1})};var q=K.parse;K.parse=function(Z){Z.utc&&(this.$u=!0),this.$utils().u(Z.$offset)||(this.$offset=Z.$offset),q.call(this,Z)};var G=K.init;K.init=function(){if(this.$u){var Z=this.$d;this.$y=Z.getUTCFullYear(),this.$M=Z.getUTCMonth(),this.$D=Z.getUTCDate(),this.$W=Z.getUTCDay(),this.$H=Z.getUTCHours(),this.$m=Z.getUTCMinutes(),this.$s=Z.getUTCSeconds(),this.$ms=Z.getUTCMilliseconds()}else G.call(this)};var H=K.utcOffset;K.utcOffset=function(Z,w){var L=this.$utils().u;if(L(Z))return this.$u?0:L(this.$offset)?H.call(this):this.$offset;if(typeof Z=="string"&&(Z=function(T){T===void 0&&(T="");var A=T.match(I);if(!A)return null;var v=(""+A[0]).match(U)||["-",0,0],u=v[0],g=60*+v[1]+ +v[2];return g===0?0:u==="+"?g:-g}(Z),Z===null))return this;var D=Math.abs(Z)<=16?60*Z:Z;if(D===0)return this.utc(w);var N=this.clone();if(w)return N.$offset=D,N.$u=!1,N;var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(D+E,$)).$offset=D,N.$x.$localOffset=E,N};var W=K.format;K.format=function(Z){var w=Z||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return W.call(this,w)},K.valueOf=function(){var Z=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-60000*Z},K.isUTC=function(){return!!this.$u},K.toISOString=function(){return this.toDate().toISOString()},K.toString=function(){return this.toDate().toUTCString()};var V=K.toDate;K.toDate=function(Z){return Z==="s"&&this.$offset?Q(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():V.call(this)};var z=K.diff;K.diff=function(Z,w,L){if(Z&&this.$u===Z.$u)return z.call(this,Z,w,L);var D=this.local(),N=Q(Z).local();return z.call(D,N,w,L)}}})});var Y30=O((Tj,Ej)=>{(function($,I){typeof Tj=="object"&&typeof Ej<"u"?Ej.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs=I()})(Tj,function(){var $=1000,I=60000,U=3600000,Y="millisecond",J="second",Q="minute",K="hour",q="day",G="week",H="month",W="quarter",V="year",z="date",Z="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,L=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var f=["th","st","nd","rd"],i=S%100;return"["+S+(f[(i-20)%10]||f[i]||f[0])+"]"}},N=function(S,f,i){var Y0=String(S);return!Y0||Y0.length>=f?S:""+Array(f+1-Y0.length).join(i)+S},E={s:N,z:function(S){var f=-S.utcOffset(),i=Math.abs(f),Y0=Math.floor(i/60),B=i%60;return(f<=0?"+":"-")+N(Y0,2,"0")+":"+N(B,2,"0")},m:function S(f,i){if(f.date()1)return S(d[0])}else{var t=f.name;A[t]=f,B=t}return!Y0&&B&&(T=B),B||!Y0&&T},b=function(S,f){if(u(S))return S.clone();var i=typeof f=="object"?f:{};return i.date=S,i.args=arguments,new p(i)},C=E;C.l=g,C.i=u,C.w=function(S,f){return b(S,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var p=function(){function S(i){this.$L=g(i.locale,null,!0),this.parse(i),this.$x=this.$x||i.x||{},this[v]=!0}var f=S.prototype;return f.parse=function(i){this.$d=function(Y0){var{date:B,utc:k}=Y0;if(B===null)return new Date(NaN);if(C.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var d=B.match(w);if(d){var t=d[2]-1||0,K0=(d[7]||"0").substring(0,3);return k?new Date(Date.UTC(d[1],t,d[3]||1,d[4]||0,d[5]||0,d[6]||0,K0)):new Date(d[1],t,d[3]||1,d[4]||0,d[5]||0,d[6]||0,K0)}}return new Date(B)}(i),this.init()},f.init=function(){var i=this.$d;this.$y=i.getFullYear(),this.$M=i.getMonth(),this.$D=i.getDate(),this.$W=i.getDay(),this.$H=i.getHours(),this.$m=i.getMinutes(),this.$s=i.getSeconds(),this.$ms=i.getMilliseconds()},f.$utils=function(){return C},f.isValid=function(){return this.$d.toString()!==Z},f.isSame=function(i,Y0){var B=b(i);return this.startOf(Y0)<=B&&B<=this.endOf(Y0)},f.isAfter=function(i,Y0){return b(i){var J30=r("fs"),Q30=$30(),ls0=I30(),os0=U30(),EK=Y30().extend(ls0).extend(os0),rs0=qK(),{fs:{exists:ts0}}=L6(),as0={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};class K30{constructor($){this.workbook=$,this.worksheet=null}async readFile($,I){if(I=I||{},!await ts0($))throw Error(`File not found: ${$}`);let U=J30.createReadStream($),Y=await this.read(U,I);return U.close(),Y}read($,I){return I=I||{},new Promise((U,Y)=>{let J=this.workbook.addWorksheet(I.sheetName),Q=I.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],K=I.map||function(G){if(G==="")return null;let H=Number(G);if(!Number.isNaN(H)&&H!==1/0)return H;let W=Q.reduce((z,Z)=>{if(z)return z;let w=EK(G,Z,!0);if(w.isValid())return w;return null},null);if(W)return new Date(W.valueOf());let V=as0[G];if(V!==void 0)return V;return G},q=Q30.parse(I.parserOptions).on("data",(G)=>{J.addRow(G.map(K))}).on("end",()=>{q.emit("worksheet",J)});q.on("worksheet",U).on("error",Y),$.pipe(q)})}createInputStream(){throw Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write($,I){return new Promise((U,Y)=>{I=I||{};let J=this.workbook.getWorksheet(I.sheetName||I.sheetId),Q=Q30.format(I.formatterOptions);$.on("finish",()=>{U()}),Q.on("error",Y),Q.pipe($);let{dateFormat:K,dateUTC:q}=I,G=I.map||((V)=>{if(V){if(V.text||V.hyperlink)return V.hyperlink||V.text||"";if(V.formula||V.result)return V.result||"";if(V instanceof Date){if(K)return q?EK.utc(V).format(K):EK(V).format(K);return q?EK.utc(V).format():EK(V).format()}if(V.error)return V.error;if(typeof V==="object")return JSON.stringify(V)}return V}),H=I.includeEmptyRows===void 0||I.includeEmptyRows,W=1;if(J)J.eachRow((V,z)=>{if(H)while(W++{var H30=wl(),ss0=SE(),es0=PC(),$e0=G30();class W30{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new ss0}get xlsx(){if(!this._xlsx)this._xlsx=new es0(this);return this._xlsx}get csv(){if(!this._csv)this._csv=new $e0(this);return this._csv}get nextId(){for(let $=1;$(q&&q.orderNo)>K?q.orderNo:K,0),J=Object.assign({},I,{id:U,name:$,orderNo:Y+1,workbook:this}),Q=new H30(J);return this._worksheets[U]=Q,Q}removeWorksheetEx($){delete this._worksheets[$.id]}removeWorksheet($){let I=this.getWorksheet($);if(I)I.destroy()}getWorksheet($){if($===void 0)return this._worksheets.find(Boolean);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((I)=>I&&I.name===$);return}get worksheets(){return this._worksheets.slice(1).sort(($,I)=>$.orderNo-I.orderNo).filter(Boolean)}eachSheet($){this.worksheets.forEach((I)=>{$(I,I.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage($){let I=this.media.length;return this.media.push(Object.assign({},$,{type:"image"})),I}getImage($){return this.media[$]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(($)=>$.model),sheets:this.worksheets.map(($)=>$.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model($){this.creator=$.creator,this.lastModifiedBy=$.lastModifiedBy,this.lastPrinted=$.lastPrinted,this.created=$.created,this.modified=$.modified,this.company=$.company,this.manager=$.manager,this.title=$.title,this.subject=$.subject,this.keywords=$.keywords,this.category=$.category,this.description=$.description,this.language=$.language,this.revision=$.revision,this.contentStatus=$.contentStatus,this.properties=$.properties,this.calcProperties=$.calcProperties,this._worksheets=[],$.worksheets.forEach((I)=>{let{id:U,name:Y,state:J}=I,Q=$.sheets&&$.sheets.findIndex((q)=>q.id===U),K=this._worksheets[U]=new H30({id:U,name:Y,orderNo:Q,state:J,workbook:this});K.model=I}),this._definedNames.model=$.definedNames,this.views=$.views,this._themes=$.themes,this.media=$.media||[]}}V30.exports=W30});var w30=O((rE1,X30)=>{var Ie0=PC();class z30{constructor($){this.model=$}get xlsx(){if(!this._xlsx)this._xlsx=new Ie0(this);return this._xlsx}}X30.exports=z30});var D30=O((tE1,L30)=>{var Ue0=typeof process==="object"&&process&&process.platform==="win32";L30.exports=Ue0?{sep:"\\"}:{sep:"/"}});var Bj=O((aE1,M30)=>{M30.exports=N30;function N30($,I,U){if($ instanceof RegExp)$=O30($,U);if(I instanceof RegExp)I=O30(I,U);var Y=F30($,I,U);return Y&&{start:Y[0],end:Y[1],pre:U.slice(0,Y[0]),body:U.slice(Y[0]+$.length,Y[1]),post:U.slice(Y[1]+I.length)}}function O30($,I){var U=I.match($);return U?U[0]:null}N30.range=F30;function F30($,I,U){var Y,J,Q,K,q,G=U.indexOf($),H=U.indexOf(I,G+1),W=G;if(G>=0&&H>0){if($===I)return[G,H];Y=[],Q=U.length;while(W>=0&&!q){if(W==G)Y.push(W),G=U.indexOf($,W+1);else if(Y.length==1)q=[Y.pop(),H];else{if(J=Y.pop(),J=0?G:H}if(Y.length)q=[Q,K]}return q}});var C30=O((sE1,v30)=>{var A30=Bj();v30.exports=qe0;var P30="\x00SLASH"+Math.random()+"\x00",T30="\x00OPEN"+Math.random()+"\x00",Cj="\x00CLOSE"+Math.random()+"\x00",E30="\x00COMMA"+Math.random()+"\x00",B30="\x00PERIOD"+Math.random()+"\x00",Ye0=1e5,Je0=4000000;function Rj($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function Qe0($){return $.split("\\\\").join(P30).split("\\{").join(T30).split("\\}").join(Cj).split("\\,").join(E30).split("\\.").join(B30)}function Ke0($){return $.split(P30).join("\\").split(T30).join("{").split(Cj).join("}").split(E30).join(",").split(B30).join(".")}function R30($){if(!$)return[""];var I=[],U=A30("{","}",$);if(!U)return $.split(",");var{pre:Y,body:J,post:Q}=U,K=Y.split(",");K[K.length-1]+="{"+J+"}";var q=R30(Q);if(Q.length)K[K.length-1]+=q.shift(),K.push.apply(K,q);return I.push.apply(I,K),I}function qe0($,I){if(!$)return[];I=I||{};var U=I.max==null?Ye0:I.max,Y=I.maxLength==null?Je0:I.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return vj(Qe0($),U,Y,!0).map(Ke0)}function Ge0($){return"{"+$+"}"}function He0($){return/^-?0\d/.test($)}function We0($,I){return $<=I}function Ve0($,I){return $>=I}function BK($,I,U,Y,J,Q){var K=[],q=0;for(var G=0;G<$.length;G++)for(var H=0;H=Y)return K;var W=$[G]+I+U[H];if(Q&&!W)continue;if(q+W.length>J)return K;K.push(W),q+=W.length}return K}function Ze0($,I,U,Y){var J=$.split(/\.\./),Q=[];if(J[0]===void 0||J[1]===void 0)return Q;var K=Rj(J[0]),q=Rj(J[1]),G=Math.max(J[0].length,J[1].length),H=J.length===3&&J[2]!==void 0?Math.max(Math.abs(Rj(J[2])),1):1,W=We0,V=q0){var N=Array(D+1).join("0");if(w<0)L="-"+N+L.slice(1);else L=N+L}}if(Z+L.length>Y)break;Q.push(L),Z+=L.length}return Q}function vj($,I,U,Y){var J=[""],Q=!1,K=!0;for(;;){let A=A30("{","}",$);if(!A)return BK(J,$,[""],I,U,Q);let v=A.pre;if(/\$$/.test(v)){if(J=BK(J,v+"{"+A.body+"}",[""],I,U,Q&&!A.post.length),K=!1,!A.post.length)break;$=A.post;continue}var q=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),H=q||G,W=A.body.indexOf(",")>=0;if(!H&&!W){if(A.post.match(/,(?!,).*\}/)){$=A.pre+"{"+A.body+Cj+A.post,Y=!0;continue}return BK(J,v+"{"+A.body+"}"+A.post,[""],I,U,Q)}if(K)Q=Y&&!H,K=!1;var V;if(H)V=Ze0(A.body,G,I,U);else{var z=R30(A.body);if(z.length===1&&z[0]!==void 0){if(z=vj(z[0],I,U,!1).map(Ge0),z.length===1){if(J=BK(J,v+z[0],[""],I,U,Q&&!A.post.length),!A.post.length)break;$=A.post;continue}}var Z=Q&&!A.post.length&&!v;for(var w=0;Z&&w=I||L+T.length>U)break $;V.push(T),L+=T.length}}}if(J=BK(J,v,V,I,U,Q&&!A.post.length),!A.post.length)break;$=A.post}return J}});var h30=O((eE1,yj)=>{var Q$=yj.exports=($,I,U={})=>{if(TX(I),!U.nocomment&&I.charAt(0)==="#")return!1;return new RK(I,U).match($)};yj.exports=Q$;var Sj=D30();Q$.sep=Sj.sep;var C6=Symbol("globstar **");Q$.GLOBSTAR=C6;var ze0=C30(),j30={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},gj="[^/]",jj=gj+"*?",Xe0="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",we0="(?:(?!(?:\\/|^)\\.).)*?",g30=($)=>$.split("").reduce((I,U)=>{return I[U]=!0,I},{}),_30=g30("().*{}+?[]^$\\!"),Le0=g30("[.("),S30=/\/+/;Q$.filter=($,I={})=>(U,Y,J)=>Q$(U,$,I);var p9=($,I={})=>{let U={};return Object.keys($).forEach((Y)=>U[Y]=$[Y]),Object.keys(I).forEach((Y)=>U[Y]=I[Y]),U};Q$.defaults=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return Q$;let I=Q$,U=(Y,J,Q)=>I(Y,J,p9($,Q));return U.Minimatch=class extends I.Minimatch{constructor(J,Q){super(J,p9($,Q))}},U.Minimatch.defaults=(Y)=>I.defaults(p9($,Y)).Minimatch,U.filter=(Y,J)=>I.filter(Y,p9($,J)),U.defaults=(Y)=>I.defaults(p9($,Y)),U.makeRe=(Y,J)=>I.makeRe(Y,p9($,J)),U.braceExpand=(Y,J)=>I.braceExpand(Y,p9($,J)),U.match=(Y,J,Q)=>I.match(Y,J,p9($,Q)),U};Q$.braceExpand=($,I)=>y30($,I);var y30=($,I={})=>{if(TX($),I.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return ze0($)},De0=65536,TX=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>De0)throw TypeError("pattern is too long")},_j=Symbol("subparse");Q$.makeRe=($,I)=>new RK($,I||{}).makeRe();Q$.match=($,I,U={})=>{let Y=new RK(I,U);if($=$.filter((J)=>Y.match(J)),Y.options.nonull&&!$.length)$.push(I);return $};var Oe0=($)=>$.replace(/\\(.)/g,"$1"),Ne0=($)=>$.replace(/\\([^-\]])/g,"$1"),Fe0=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Me0=($)=>$.replace(/[[\]\\]/g,"\\$&");class RK{constructor($,I){if(TX($),!I)I={};if(this.options=I,this.maxGlobstarRecursion=I.maxGlobstarRecursion!==void 0?I.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.windowsPathsNoEscape=!!I.windowsPathsNoEscape||I.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!I.partial,this.make()}debug(){}make(){let $=this.pattern,I=this.options;if(!I.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();let U=this.globSet=this.braceExpand();if(I.debug)this.debug=(...Y)=>console.error(...Y);this.debug(this.pattern,U),U=this.globParts=U.map((Y)=>Y.split(S30)),this.debug(this.pattern,U),U=U.map((Y,J,Q)=>Y.map(this.parse,this)),this.debug(this.pattern,U),U=U.filter((Y)=>Y.indexOf(!1)===-1),this.debug(this.pattern,U),this.set=U}parseNegate(){if(this.options.nonegate)return;let $=this.pattern,I=!1,U=0;for(let Y=0;Y<$.length&&$.charAt(Y)==="!";Y++)I=!I,U++;if(U)this.pattern=$.slice(U);this.negate=I}matchOne($,I,U){if(I.indexOf(C6)!==-1)return this._matchGlobstar($,I,U,0,0);return this._matchOne($,I,U,0,0)}_matchGlobstar($,I,U,Y,J){let Q=-1;for(let N=J;N=0;N--)if(I[N]===C6){K=N;break}let q=I.slice(J,Q),G=U?I.slice(Q+1):I.slice(Q+1,K),H=U?[]:I.slice(K+1);if(q.length){let N=$.slice(Y,Y+q.length);if(!this._matchOne(N,q,U,0,0))return!1;Y+=q.length}let W=0;if(H.length){if(H.length+Y>$.length)return!1;let N=$.length-H.length;if(this._matchOne($,H,U,N,0))W=H.length;else{if($[$.length-1]!==""||Y+H.length===$.length)return!1;if(!this._matchOne($,H,U,N-1,0))return!1;W=H.length+1}}if(!G.length){let N=!!W;for(let E=Y;E<$.length-W;E++){let T=String($[E]);if(N=!0,T==="."||T===".."||!this.options.dot&&T.charAt(0)===".")return!1}return U||N}let V=[[[],0]],z=V[0],Z=0,w=[0];for(let N of G)if(N===C6)w.push(Z),z=[[],0],V.push(z);else z[0].push(N),Z++;let L=V.length-1,D=$.length-W;for(let N of V)N[1]=D-(w[L--]+N[0].length);return!!this._matchGlobStarBodySections($,V,Y,0,U,0,!!W)}_matchGlobStarBodySections($,I,U,Y,J,Q,K){let q=I[Y];if(!q){for(let W=U;W<$.length;W++){K=!0;let V=$[W];if(V==="."||V===".."||!this.options.dot&&V.charAt(0)===".")return!1}return K}let[G,H]=q;while(U<=H){if(this._matchOne($.slice(0,U+G.length),G,J,U,0)&&QL?"":D?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=(u)=>u.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",T=()=>{if(G){switch(G){case"*":Y+=jj,J=!0;break;case"?":Y+=gj,J=!0;break;default:Y+="\\"+G;break}this.debug("clearStateChar %j %j",G,Y),G=!1}};for(let u=0,g;u<$.length&&(g=$.charAt(u));u++){if(this.debug("%s\t%s %s %j",$,u,Y,g),Q){if(g==="/")return!1;if(_30[g])Y+="\\";Y+=g,Q=!1;continue}switch(g){case"/":return!1;case"\\":if(H&&$.charAt(u+1)==="-"){Y+=g;continue}T(),Q=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,u,Y,g),H){if(this.debug(" in class"),g==="!"&&u===V+1)g="^";Y+=g;continue}if(g==="*"&&G==="*")continue;if(this.debug("call clearStateChar %j",G),T(),G=g,U.noext)T();continue;case"(":{if(H){Y+="(";continue}if(!G){Y+="\\(";continue}let b={type:G,start:u-1,reStart:Y.length,open:j30[G].open,close:j30[G].close};if(this.debug(this.pattern,"\t",b),K.push(b),Y+=b.open,b.start===0&&b.type!=="!")L=!0,Y+=E($.slice(u+1));this.debug("plType %j %j",G,Y),G=!1;continue}case")":{let b=K[K.length-1];if(H||!b){Y+="\\)";continue}if(K.pop(),T(),J=!0,Z=b,Y+=Z.close,Z.type==="!")q.push(Object.assign(Z,{reEnd:Y.length}));continue}case"|":{let b=K[K.length-1];if(H||!b){Y+="\\|";continue}if(T(),Y+="|",b.start===0&&b.type!=="!")L=!0,Y+=E($.slice(u+1));continue}case"[":if(T(),H){Y+="\\"+g;continue}H=!0,V=u,W=Y.length,Y+=g;continue;case"]":if(u===V+1||!H){Y+="\\"+g;continue}z=$.substring(V+1,u);try{RegExp("["+Me0(Ne0(z))+"]"),Y+=g}catch(b){Y=Y.substring(0,W)+"(?:$.)"}J=!0,H=!1;continue;default:if(T(),_30[g]&&!(g==="^"&&H))Y+="\\";Y+=g;break}}if(H)z=$.slice(V+1),w=this.parse(z,_j),Y=Y.substring(0,W)+"\\["+w[0],J=J||w[1];for(Z=K.pop();Z;Z=K.pop()){let u;u=Y.slice(Z.reStart+Z.open.length),this.debug("setting tail",Y,Z),u=u.replace(/((?:\\{2}){0,64})(\\?)\|/g,(b,C,p)=>{if(!p)p="\\";return C+C+p+"|"}),this.debug(`tail=%j - %s`,u,u,Z,Y);let g=Z.type==="*"?jj:Z.type==="?"?gj:"\\"+Z.type;J=!0,Y=Y.slice(0,Z.reStart)+g+"\\("+u}if(T(),Q)Y+="\\\\";let A=Le0[Y.charAt(0)];for(let u=q.length-1;u>-1;u--){let g=q[u],b=Y.slice(0,g.reStart),C=Y.slice(g.reStart,g.reEnd-8),p=Y.slice(g.reEnd),n=Y.slice(g.reEnd-8,g.reEnd)+p,S=b.split(")").length,f=b.split("(").length-S,i=p;for(let B=0;B{return Q=Q.map((K)=>typeof K==="string"?Fe0(K):K===C6?C6:K._src).reduce((K,q)=>{if(!(K[K.length-1]===C6&&q===C6))K.push(q);return K},[]),Q.forEach((K,q)=>{if(K!==C6||Q[q-1]===C6)return;if(q===0)if(Q.length>1)Q[q+1]="(?:\\/|"+U+"\\/)?"+Q[q+1];else Q[q]=U;else if(q===Q.length-1)Q[q-1]+="(?:\\/|"+U+")?";else Q[q-1]+="(?:\\/|\\/"+U+"\\/)"+Q[q+1],Q[q+1]=C6}),Q.filter((K)=>K!==C6).join("/")}).join("|");if(J="^(?:"+J+")$",this.negate)J="^(?!"+J+").*$";try{this.regexp=new RegExp(J,Y)}catch(Q){this.regexp=!1}return this.regexp}match($,I=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&I)return!0;let U=this.options;if(Sj.sep!=="/")$=$.split(Sj.sep).join("/");$=$.split(S30),this.debug(this.pattern,"split",$);let Y=this.set;this.debug(this.pattern,"set",Y);let J;for(let Q=$.length-1;Q>=0;Q--)if(J=$[Q],J)break;for(let Q=0;Q{f30.exports=u30;var xj=r("fs"),{EventEmitter:Ae0}=r("events"),{Minimatch:hj}=h30(),{resolve:Pe0}=r("path");function Te0($,I){return new Promise((U,Y)=>{xj.readdir($,{withFileTypes:!0},(J,Q)=>{if(J)switch(J.code){case"ENOTDIR":if(I)Y(J);else U([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":U([]);break;case"ELOOP":default:Y(J);break}else U(Q)})})}function x30($,I){return new Promise((U,Y)=>{(I?xj.stat:xj.lstat)($,(Q,K)=>{if(Q)switch(Q.code){case"ENOENT":if(I)U(x30($,!1));else U(null);break;default:U(null);break}else U(K)})})}async function*k30($,I,U,Y,J,Q){let K=await Te0(I+$,Q);for(let q of K){let G=q.name;if(G===void 0)G=q,Y=!0;let H=$+"/"+G,W=H.slice(1),V=I+"/"+W,z=null;if(Y||U)z=await x30(V,U);if(!z&&q.name!==void 0)z=q;if(z===null)z={isDirectory:()=>!1};if(z.isDirectory()){if(!J(W))yield{relative:W,absolute:V,stats:z},yield*k30(H,I,U,Y,J,!1)}else yield{relative:W,absolute:V,stats:z}}}async function*Ee0($,I,U,Y){yield*k30("",$,I,U,Y,!0)}function Be0($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}class kj extends Ae0{constructor($,I,U){super();if(typeof I==="function")U=I,I=null;if(this.options=Be0(I||{}),this.matchers=[],this.options.pattern){let Y=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=Y.map((J)=>new hj(J,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let Y=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=Y.map((J)=>new hj(J,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let Y=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=Y.map((J)=>new hj(J,{dot:!0}))}if(this.iterator=Ee0(Pe0($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,U)this._matches=[],this.on("match",(Y)=>this._matches.push(this.options.absolute?Y.absolute:Y.relative)),this.on("error",(Y)=>U(Y)),this.on("end",()=>U(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory($){return this.skipMatchers.some((I)=>I.match($))}_fileMatches($,I){let U=$+(I?"/":"");return(this.matchers.length===0||this.matchers.some((Y)=>Y.match(U)))&&!this.ignoreMatchers.some((Y)=>Y.match(U))&&(!this.options.nodir||!I)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let I=$.value.stats.isDirectory();if(this._fileMatches($.value.relative,I)){let U=$.value.relative,Y=$.value.absolute;if(this.options.mark&&I)U+="/",Y+="/";if(this.options.stat)this.emit("match",{relative:U,absolute:Y,stat:$.value.stats});else this.emit("match",{relative:U,absolute:Y})}this._next(this.iterator)}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}}function u30($,I,U){return new kj($,I,U)}u30.ReaddirGlob=kj});var n30=O((EX,i30)=>{(function($,I){typeof EX==="object"&&typeof i30<"u"?I(EX):typeof define==="function"&&define.amd?define(["exports"],I):($=typeof globalThis<"u"?globalThis:$||self,I($.async={}))})(EX,function($){function I(P,...R){return(...y)=>P(...R,...y)}function U(P){return function(...R){var y=R.pop();return P.call(this,R,y)}}var Y=typeof queueMicrotask==="function"&&queueMicrotask,J=typeof setImmediate==="function"&&setImmediate,Q=typeof process==="object"&&typeof process.nextTick==="function";function K(P){setTimeout(P,0)}function q(P){return(R,...y)=>P(()=>R(...y))}var G;if(Y)G=queueMicrotask;else if(J)G=setImmediate;else if(Q)G=process.nextTick;else G=K;var H=q(G);function W(P){if(Z(P))return function(...R){let y=R.pop(),c=P.apply(this,R);return V(c,y)};return U(function(R,y){var c;try{c=P.apply(this,R)}catch($0){return y($0)}if(c&&typeof c.then==="function")return V(c,y);else y(null,c)})}function V(P,R){return P.then((y)=>{z(R,null,y)},(y)=>{z(R,y&&(y instanceof Error||y.message)?y:Error(y))})}function z(P,R,y){try{P(R,y)}catch(c){H(($0)=>{throw $0},c)}}function Z(P){return P[Symbol.toStringTag]==="AsyncFunction"}function w(P){return P[Symbol.toStringTag]==="AsyncGenerator"}function L(P){return typeof P[Symbol.asyncIterator]==="function"}function D(P){if(typeof P!=="function")throw Error("expected a function");return Z(P)?W(P):P}function N(P,R){if(!R)R=P.length;if(!R)throw Error("arity is undefined");function y(...c){if(typeof c[R-1]==="function")return P.apply(this,c);return new Promise(($0,U0)=>{c[R-1]=(q0,...G0)=>{if(q0)return U0(q0);$0(G0.length>1?G0:G0[0])},P.apply(this,c)})}return y}function E(P){return function(y,...c){return N(function(U0){var q0=this;return P(y,(G0,Z0)=>{D(G0).apply(q0,c.concat(Z0))},U0)})}}function T(P,R,y,c){R=R||[];var $0=[],U0=0,q0=D(y);return P(R,(G0,Z0,C0)=>{var Q1=U0++;q0(G0,(L1,H1)=>{$0[Q1]=H1,C0(L1)})},(G0)=>{c(G0,$0)})}function A(P){return P&&typeof P.length==="number"&&P.length>=0&&P.length%1===0}let v={};function u(P){function R(...y){if(P===null)return;var c=P;P=null,c.apply(this,y)}return Object.assign(R,P),R}function g(P){return P[Symbol.iterator]&&P[Symbol.iterator]()}function b(P){var R=-1,y=P.length;return function(){return++R=R||q0||$0)return;q0=!0,P.next().then(({value:H1,done:Z$})=>{if(U0||$0)return;if(q0=!1,Z$){if($0=!0,G0<=0)c(null);return}G0++,y(H1,Z0,Q1),Z0++,C0()}).catch(L1)}function Q1(H1,Z$){if(G0-=1,U0)return;if(H1)return L1(H1);if(H1===!1){$0=!0,U0=!0;return}if(Z$===v||$0&&G0<=0)return $0=!0,c(null);C0()}function L1(H1){if(U0)return;q0=!1,$0=!0,c(H1)}C0()}var i=(P)=>{return(R,y,c)=>{if(c=u(c),P<=0)throw RangeError("concurrency limit cannot be less than 1");if(!R)return c(null);if(w(R))return f(R,P,y,c);if(L(R))return f(R[Symbol.asyncIterator](),P,y,c);var $0=n(R),U0=!1,q0=!1,G0=0,Z0=!1;function C0(L1,H1){if(q0)return;if(G0-=1,L1)U0=!0,c(L1);else if(L1===!1)U0=!0,q0=!0;else if(H1===v||U0&&G0<=0)return U0=!0,c(null);else if(!Z0)Q1()}function Q1(){Z0=!0;while(G01?$0:$0[0])}return y[d0]=new Promise((c,$0)=>{P=c,R=$0}),y}function j4(P,R,y){if(typeof R!=="number")y=R,R=null;y=u(y||Q4());var c=Object.keys(P).length;if(!c)return y(null);if(!R)R=c;var $0={},U0=0,q0=!1,G0=!1,Z0=Object.create(null),C0=[],Q1=[],L1={};Object.keys(P).forEach((R0)=>{var x0=P[R0];if(!Array.isArray(x0)){H1(R0,[x0]),Q1.push(R0);return}var W1=x0.slice(0,x0.length-1),I4=W1.length;if(I4===0){H1(R0,x0),Q1.push(R0);return}L1[R0]=I4,W1.forEach((u4)=>{if(!P[u4])throw Error("async.auto task `"+R0+"` has a non-existent dependency `"+u4+"` in "+W1.join(", "));HI(u4,()=>{if(I4--,I4===0)H1(R0,x0)})})}),D1(),Z$();function H1(R0,x0){C0.push(()=>jJ(R0,x0))}function Z$(){if(q0)return;if(C0.length===0&&U0===0)return y(null,$0);while(C0.length&&U0W1()),Z$()}function jJ(R0,x0){if(G0)return;var W1=S((u4,...z$)=>{if(U0--,u4===!1){q0=!0;return}if(z$.length<2)[z$]=z$;if(u4){var WI={};if(Object.keys($0).forEach((D7)=>{WI[D7]=$0[D7]}),WI[R0]=z$,G0=!0,Z0=Object.create(null),q0)return;y(u4,WI)}else $0[R0]=z$,L7(R0)});U0++;var I4=D(x0[x0.length-1]);if(x0.length>1)I4($0,W1);else I4(W1)}function D1(){var R0,x0=0;while(Q1.length)R0=Q1.pop(),x0++,h0(R0).forEach((W1)=>{if(--L1[W1]===0)Q1.push(W1)});if(x0!==c)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function h0(R0){var x0=[];return Object.keys(P).forEach((W1)=>{let I4=P[W1];if(Array.isArray(I4)&&I4.indexOf(R0)>=0)x0.push(W1)}),x0}return y[d0]}var W$=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,x$=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,c8=/,/,k$=/(=.+)?(\s*)$/;function V$(P){let R="",y=0,c=P.indexOf("*/");while(y{Object.defineProperty(q30,"__esModule",{value:!0});q30.Scanner=void 0;var Q30=p9(),He0=/((?:\r\n)|\n|\r)/;class K30{constructor($){this.cursor=0,this.line=$.line,this.lineLength=this.line.length,this.parserOptions=$.parserOptions,this.hasMoreData=$.hasMoreData,this.cursor=$.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){let{lineFromCursor:$}=this,I=this.parserOptions.NEXT_TOKEN_REGEXP;if($.search(I)===-1)return null;let U=I.exec($);if(U==null)return null;let Y=U[1],J=this.cursor+(U.index||0);return new Q30.Token({token:Y,startCursor:J,endCursor:J+Y.length-1})}get nextCharacterToken(){let{cursor:$,lineLength:I}=this;if(I<=$)return null;return new Q30.Token({token:this.line[$],startCursor:$,endCursor:$})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let $=He0.exec(this.lineFromCursor);if(!$){if(this.hasMoreData)return null;return this.cursor=this.lineLength,this}return this.cursor+=($.index||0)+$[0].length,this}advanceTo($){return this.cursor=$,this}advanceToToken($){return this.cursor=$.startCursor,this}advancePastToken($){return this.cursor=$.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}q30.Scanner=K30});var RX=O((W30)=>{Object.defineProperty(W30,"__esModule",{value:!0});W30.ColumnFormatter=void 0;class H30{constructor($){if($.trim)this.format=(I)=>I.trim();else if($.ltrim)this.format=(I)=>I.trimLeft();else if($.rtrim)this.format=(I)=>I.trimRight();else this.format=(I)=>I}}W30.ColumnFormatter=H30});var Bj=O((X30)=>{Object.defineProperty(X30,"__esModule",{value:!0});X30.NonQuotedColumnParser=void 0;var We0=RX(),w30=p9();class Z30{constructor($){this.parserOptions=$,this.columnFormatter=new We0.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let{parserOptions:I}=this,U=[],Y=$.nextCharacterToken;for(;Y;Y=$.nextCharacterToken){if(w30.Token.isTokenDelimiter(Y,I)||w30.Token.isTokenRowDelimiter(Y))break;U.push(Y.token),$.advancePastToken(Y)}return this.columnFormatter.format(U.join(""))}}X30.NonQuotedColumnParser=Z30});var vj=O((D30)=>{Object.defineProperty(D30,"__esModule",{value:!0});D30.QuotedColumnParser=void 0;var Ve0=RX(),PY=p9();class L30{constructor($){this.parserOptions=$,this.columnFormatter=new Ve0.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let I=$.cursor,{foundClosingQuote:U,col:Y}=this.gatherDataBetweenQuotes($);if(!U){if($.advanceTo(I),!$.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${$.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn($),Y}gatherDataBetweenQuotes($){let{parserOptions:I}=this,U=!1,Y=!1,J=[],Q=$.nextCharacterToken;for(;!Y&&Q!==null;Q=$.nextCharacterToken){let K=PY.Token.isTokenQuote(Q,I);if(!U&&K)U=!0;else if(U)if(PY.Token.isTokenEscapeCharacter(Q,I)){$.advancePastToken(Q);let q=$.nextCharacterToken;if(q!==null&&(PY.Token.isTokenQuote(q,I)||PY.Token.isTokenEscapeCharacter(q,I)))J.push(q.token),Q=q;else if(K)Y=!0;else J.push(Q.token)}else if(K)Y=!0;else J.push(Q.token);$.advancePastToken(Q)}return{col:this.columnFormatter.format(J.join("")),foundClosingQuote:Y}}checkForMalformedColumn($){let{parserOptions:I}=this,{nextNonSpaceToken:U}=$;if(U){let Y=PY.Token.isTokenDelimiter(U,I),J=PY.Token.isTokenRowDelimiter(U);if(!(Y||J)){let Q=$.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw Error(`Parse Error: expected: '${I.escapedDelimiter}' OR new line got: '${U.token}'. at '${Q}`)}$.advanceToToken(U)}else if(!$.hasMoreData)$.advancePastLine()}}D30.QuotedColumnParser=L30});var A30=O((N30)=>{Object.defineProperty(N30,"__esModule",{value:!0});N30.ColumnParser=void 0;var we0=Bj(),Ze0=vj(),Xe0=p9();class F30{constructor($){this.parserOptions=$,this.quotedColumnParser=new Ze0.QuotedColumnParser($),this.nonQuotedColumnParser=new we0.NonQuotedColumnParser($)}parse($){let{nextNonSpaceToken:I}=$;if(I!==null&&Xe0.Token.isTokenQuote(I,this.parserOptions))return $.advanceToToken(I),this.quotedColumnParser.parse($);return this.nonQuotedColumnParser.parse($)}}N30.ColumnParser=F30});var Rj=O((TY)=>{Object.defineProperty(TY,"__esModule",{value:!0});TY.ColumnFormatter=TY.QuotedColumnParser=TY.NonQuotedColumnParser=TY.ColumnParser=void 0;var ze0=A30();Object.defineProperty(TY,"ColumnParser",{enumerable:!0,get:function(){return ze0.ColumnParser}});var Le0=Bj();Object.defineProperty(TY,"NonQuotedColumnParser",{enumerable:!0,get:function(){return Le0.NonQuotedColumnParser}});var De0=vj();Object.defineProperty(TY,"QuotedColumnParser",{enumerable:!0,get:function(){return De0.QuotedColumnParser}});var Oe0=RX();Object.defineProperty(TY,"ColumnFormatter",{enumerable:!0,get:function(){return Oe0.ColumnFormatter}})});var jj=O((T30)=>{Object.defineProperty(T30,"__esModule",{value:!0});T30.RowParser=void 0;var Ne0=Rj(),EY=p9(),Cj="";class P30{constructor($){this.parserOptions=$,this.columnParser=new Ne0.ColumnParser($)}static isEmptyRow($){return $.join(Cj).replace(/\s+/g,Cj)===Cj}parse($){let{parserOptions:I}=this,{hasMoreData:U}=$,Y=$,J=[],Q=this.getStartToken(Y,J);while(Q){if(EY.Token.isTokenRowDelimiter(Q)){if(Y.advancePastToken(Q),!Y.hasMoreCharacters&&EY.Token.isTokenCarriageReturn(Q,I)&&U)return null;return Y.truncateToCursor(),J}if(!this.shouldSkipColumnParse(Y,Q,J)){let K=this.columnParser.parse(Y);if(K===null)return null;J.push(K)}Q=Y.nextNonSpaceToken}if(!U)return Y.truncateToCursor(),J;return null}getStartToken($,I){let U=$.nextNonSpaceToken;if(U!==null&&EY.Token.isTokenDelimiter(U,this.parserOptions))return I.push(""),$.nextNonSpaceToken;return U}shouldSkipColumnParse($,I,U){let{parserOptions:Y}=this;if(EY.Token.isTokenDelimiter(I,Y)){$.advancePastToken(I);let J=$.nextCharacterToken;if(!$.hasMoreCharacters||J!==null&&EY.Token.isTokenRowDelimiter(J))return U.push(""),!0;if(J!==null&&EY.Token.isTokenDelimiter(J,Y))return U.push(""),!0}return!1}}T30.RowParser=P30});var C30=O((v30)=>{Object.defineProperty(v30,"__esModule",{value:!0});v30.Parser=void 0;var Me0=Ej(),B30=jj(),Ae0=p9();class _j{constructor($){this.parserOptions=$,this.rowParser=new B30.RowParser(this.parserOptions)}static removeBOM($){if($&&$.charCodeAt(0)===65279)return $.slice(1);return $}parse($,I){let U=new Me0.Scanner({line:_j.removeBOM($),parserOptions:this.parserOptions,hasMoreData:I});if(this.parserOptions.supportsComments)return this.parseWithComments(U);return this.parseWithoutComments(U)}parseWithoutComments($){let I=[],U=!0;while(U)U=this.parseRow($,I);return{line:$.line,rows:I}}parseWithComments($){let{parserOptions:I}=this,U=[];for(let Y=$.nextCharacterToken;Y!==null;Y=$.nextCharacterToken)if(Ae0.Token.isTokenComment(Y,I)){if($.advancePastLine()===null)return{line:$.lineFromCursor,rows:U};if(!$.hasMoreCharacters)return{line:$.lineFromCursor,rows:U};$.truncateToCursor()}else if(!this.parseRow($,U))break;return{line:$.line,rows:U}}parseRow($,I){if(!$.nextNonSpaceToken)return!1;let Y=this.rowParser.parse($);if(Y===null)return!1;if(this.parserOptions.ignoreEmpty&&B30.RowParser.isEmptyRow(Y))return!0;return I.push(Y),!0}}v30.Parser=_j});var j30=O((T5)=>{Object.defineProperty(T5,"__esModule",{value:!0});T5.QuotedColumnParser=T5.NonQuotedColumnParser=T5.ColumnParser=T5.Token=T5.Scanner=T5.RowParser=T5.Parser=void 0;var Pe0=C30();Object.defineProperty(T5,"Parser",{enumerable:!0,get:function(){return Pe0.Parser}});var Te0=jj();Object.defineProperty(T5,"RowParser",{enumerable:!0,get:function(){return Te0.RowParser}});var Ee0=Ej();Object.defineProperty(T5,"Scanner",{enumerable:!0,get:function(){return Ee0.Scanner}});var Be0=p9();Object.defineProperty(T5,"Token",{enumerable:!0,get:function(){return Be0.Token}});var Sj=Rj();Object.defineProperty(T5,"ColumnParser",{enumerable:!0,get:function(){return Sj.ColumnParser}});Object.defineProperty(T5,"NonQuotedColumnParser",{enumerable:!0,get:function(){return Sj.NonQuotedColumnParser}});Object.defineProperty(T5,"QuotedColumnParser",{enumerable:!0,get:function(){return Sj.QuotedColumnParser}})});var gj=O((S30)=>{Object.defineProperty(S30,"__esModule",{value:!0});S30.CsvParserStream=void 0;var Re0=r("string_decoder"),Ce0=r("stream"),_30=I30(),je0=j30();class CX extends Ce0.Transform{constructor($){super({objectMode:$.objectMode});this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=$,this.parser=new je0.Parser($),this.headerTransformer=new _30.HeaderTransformer($),this.decoder=new Re0.StringDecoder($.encoding),this.rowTransformerValidator=new _30.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform($){return this.rowTransformerValidator.rowTransform=$,this}validate($){return this.rowTransformerValidator.rowValidator=$,this}emit($,...I){if($==="end"){if(!this.endEmitted)this.endEmitted=!0,super.emit("end",this.rowCount);return!1}return super.emit($,...I)}_transform($,I,U){if(this.hasHitRowLimit)return U();let Y=CX.wrapDoneCallback(U);try{let{lines:J}=this,Q=J+this.decoder.write($),K=this.parse(Q,!0);return this.processRows(K,Y)}catch(J){return Y(J)}}_flush($){let I=CX.wrapDoneCallback($);if(this.hasHitRowLimit)return I();try{let U=this.lines+this.decoder.end(),Y=this.parse(U,!1);return this.processRows(Y,I)}catch(U){return I(U)}}parse($,I){if(!$)return[];let{line:U,rows:Y}=this.parser.parse($,I);return this.lines=U,Y}processRows($,I){let U=$.length,Y=(J)=>{let Q=(G)=>{if(G)return I(G);if(J%100===0){setImmediate(()=>Y(J+1));return}return Y(J+1)};if(this.checkAndEmitHeaders(),J>=U||this.hasHitRowLimit)return I();if(this.parsedLineCount+=1,this.shouldSkipLine)return Q();let K=$[J];this.rowCount+=1,this.parsedRowCount+=1;let q=this.rowCount;return this.transformRow(K,(G,H)=>{if(G)return this.rowCount-=1,Q(G);if(!H)return Q(Error("expected transform result"));if(!H.isValid)this.emit("data-invalid",H.row,q,H.reason);else if(H.row)return this.pushRow(H.row,Q);return Q()})};Y(0)}transformRow($,I){try{this.headerTransformer.transform($,(U,Y)=>{if(U)return I(U);if(!Y)return I(Error("Expected result from header transform"));if(!Y.isValid){if(this.shouldEmitRows)return I(null,{isValid:!1,row:$});return this.skipRow(I)}if(Y.row){if(this.shouldEmitRows)return this.rowTransformerValidator.transformAndValidate(Y.row,I);return this.skipRow(I)}return this.rowCount-=1,this.parsedRowCount-=1,I(null,{row:null,isValid:!0})})}catch(U){I(U)}}checkAndEmitHeaders(){if(!this.headersEmitted&&this.headerTransformer.headers)this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers)}skipRow($){return this.rowCount-=1,$(null,{row:null,isValid:!0})}pushRow($,I){try{if(!this.parserOptions.objectMode)this.push(JSON.stringify($));else this.push($);I()}catch(U){I(U)}}static wrapDoneCallback($){let I=!1;return(U,...Y)=>{if(U){if(I)throw U;I=!0,$(U);return}$(...Y)}}}S30.CsvParserStream=CX});var h30=O((W4)=>{var y30=W4&&W4.__createBinding||(Object.create?function($,I,U,Y){if(Y===void 0)Y=U;Object.defineProperty($,Y,{enumerable:!0,get:function(){return I[U]}})}:function($,I,U,Y){if(Y===void 0)Y=U;$[Y]=I[U]}),_e0=W4&&W4.__setModuleDefault||(Object.create?function($,I){Object.defineProperty($,"default",{enumerable:!0,value:I})}:function($,I){$.default=I}),Se0=W4&&W4.__importStar||function($){if($&&$.__esModule)return $;var I={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))y30(I,$,U)}return _e0(I,$),I},ge0=W4&&W4.__exportStar||function($,I){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(I,U))y30(I,$,U)};Object.defineProperty(W4,"__esModule",{value:!0});W4.parseString=W4.parseFile=W4.parseStream=W4.parse=W4.ParserOptions=W4.CsvParserStream=void 0;var ye0=Se0(r("fs")),he0=r("stream"),jX=Uj(),_X=gj();ge0(Yj(),W4);var xe0=gj();Object.defineProperty(W4,"CsvParserStream",{enumerable:!0,get:function(){return xe0.CsvParserStream}});var ke0=Uj();Object.defineProperty(W4,"ParserOptions",{enumerable:!0,get:function(){return ke0.ParserOptions}});W4.parse=($)=>new _X.CsvParserStream(new jX.ParserOptions($));W4.parseStream=($,I)=>$.pipe(new _X.CsvParserStream(new jX.ParserOptions(I)));W4.parseFile=($,I={})=>ye0.createReadStream($).pipe(new _X.CsvParserStream(new jX.ParserOptions(I)));W4.parseString=($,I)=>{let U=new he0.Readable;return U.push($),U.push(null),U.pipe(new _X.CsvParserStream(new jX.ParserOptions(I)))}});var x30=O((O6)=>{Object.defineProperty(O6,"__esModule",{value:!0});O6.CsvParserStream=O6.ParserOptions=O6.parseFile=O6.parseStream=O6.parseString=O6.parse=O6.FormatterOptions=O6.CsvFormatterStream=O6.writeToPath=O6.writeToString=O6.writeToBuffer=O6.writeToStream=O6.write=O6.format=void 0;var c9=U70();Object.defineProperty(O6,"format",{enumerable:!0,get:function(){return c9.format}});Object.defineProperty(O6,"write",{enumerable:!0,get:function(){return c9.write}});Object.defineProperty(O6,"writeToStream",{enumerable:!0,get:function(){return c9.writeToStream}});Object.defineProperty(O6,"writeToBuffer",{enumerable:!0,get:function(){return c9.writeToBuffer}});Object.defineProperty(O6,"writeToString",{enumerable:!0,get:function(){return c9.writeToString}});Object.defineProperty(O6,"writeToPath",{enumerable:!0,get:function(){return c9.writeToPath}});Object.defineProperty(O6,"CsvFormatterStream",{enumerable:!0,get:function(){return c9.CsvFormatterStream}});Object.defineProperty(O6,"FormatterOptions",{enumerable:!0,get:function(){return c9.FormatterOptions}});var BY=h30();Object.defineProperty(O6,"parse",{enumerable:!0,get:function(){return BY.parse}});Object.defineProperty(O6,"parseString",{enumerable:!0,get:function(){return BY.parseString}});Object.defineProperty(O6,"parseStream",{enumerable:!0,get:function(){return BY.parseStream}});Object.defineProperty(O6,"parseFile",{enumerable:!0,get:function(){return BY.parseFile}});Object.defineProperty(O6,"ParserOptions",{enumerable:!0,get:function(){return BY.ParserOptions}});Object.defineProperty(O6,"CsvParserStream",{enumerable:!0,get:function(){return BY.CsvParserStream}})});var k30=O((yj,hj)=>{(function($,I){typeof yj=="object"&&typeof hj<"u"?hj.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_customParseFormat=I()})(yj,function(){var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},I=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,U=/\d/,Y=/\d\d/,J=/\d\d?/,Q=/\d*[^-_:/,()\s\d]+/,K={},q=function(z){return(z=+z)+(z>68?1900:2000)},G=function(z){return function(L){this[z]=+L}},H=[/[+-]\d\d:?(\d\d)?|Z/,function(z){(this.zone||(this.zone={})).offset=function(L){if(!L)return 0;if(L==="Z")return 0;var D=L.match(/([+-]|\d\d)/g),F=60*D[1]+(+D[2]||0);return F===0?0:D[0]==="+"?-F:F}(z)}],W=function(z){var L=K[z];return L&&(L.indexOf?L:L.s.concat(L.f))},V=function(z,L){var D,F=K.meridiem;if(F){for(var E=1;E<=24;E+=1)if(z.indexOf(F(E,0,L))>-1){D=E>12;break}}else D=z===(L?"pm":"PM");return D},w={A:[Q,function(z){this.afternoon=V(z,!1)}],a:[Q,function(z){this.afternoon=V(z,!0)}],Q:[U,function(z){this.month=3*(z-1)+1}],S:[U,function(z){this.milliseconds=100*+z}],SS:[Y,function(z){this.milliseconds=10*+z}],SSS:[/\d{3}/,function(z){this.milliseconds=+z}],s:[J,G("seconds")],ss:[J,G("seconds")],m:[J,G("minutes")],mm:[J,G("minutes")],H:[J,G("hours")],h:[J,G("hours")],HH:[J,G("hours")],hh:[J,G("hours")],D:[J,G("day")],DD:[Y,G("day")],Do:[Q,function(z){var L=K.ordinal,D=z.match(/\d+/);if(this.day=D[0],L)for(var F=1;F<=31;F+=1)L(F).replace(/\[|\]/g,"")===z&&(this.day=F)}],w:[J,G("week")],ww:[Y,G("week")],M:[J,G("month")],MM:[Y,G("month")],MMM:[Q,function(z){var L=W("months"),D=(W("monthsShort")||L.map(function(F){return F.slice(0,3)})).indexOf(z)+1;if(D<1)throw Error();this.month=D%12||D}],MMMM:[Q,function(z){var L=W("months").indexOf(z)+1;if(L<1)throw Error();this.month=L%12||L}],Y:[/[+-]?\d+/,G("year")],YY:[Y,function(z){this.year=q(z)}],YYYY:[/\d{4}/,G("year")],Z:H,ZZ:H};function Z(z){var L,D;L=z,D=K&&K.formats;for(var F=(z=L.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,C,p){var n=p&&p.toUpperCase();return C||D[p]||$[p]||D[n].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,f,i){return f||i.slice(1)})})).match(I),E=F.length,T=0;T-1)return new Date((B==="X"?1000:1)*Y0);var t=Z(B)(Y0),K0=t.year,W0=t.month,A0=t.day,v0=t.hours,L1=t.minutes,f0=t.seconds,H1=t.milliseconds,F0=t.zone,g0=t.week,m0=new Date,K4=A0||(K0||W0?1:m0.getDate()),j4=K0||m0.getFullYear(),V$=0;K0&&!W0||(V$=W0>0?W0-1:m0.getMonth());var k$,m8=v0||0,u$=L1||0,w$=f0||0,l8=H1||0;return F0?new Date(Date.UTC(j4,V$,K4,m8,u$,w$,l8+60*F0.offset*1000)):k?new Date(Date.UTC(j4,V$,K4,m8,u$,w$,l8)):(k$=new Date(j4,V$,K4,m8,u$,w$,l8),g0&&(k$=d(k$).week(g0).toDate()),k$)}catch(a6){return new Date("")}}(A,g,R,D),this.init(),n&&n!==!0&&(this.$L=this.locale(n).$L),p&&A!=this.format(g)&&(this.$d=new Date("")),K={}}else if(g instanceof Array)for(var S=g.length,f=1;f<=S;f+=1){u[1]=g[f-1];var i=D.apply(this,u);if(i.isValid()){this.$d=i.$d,this.$L=i.$L,this.init();break}f===S&&(this.$d=new Date(""))}else E.call(this,T)}}})});var u30=O((xj,kj)=>{(function($,I){typeof xj=="object"&&typeof kj<"u"?kj.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_utc=I()})(xj,function(){var $="minute",I=/[+-]\d\d(?::?\d\d)?/g,U=/([+-]|\d\d)/g;return function(Y,J,Q){var K=J.prototype;Q.utc=function(Z){var z={date:Z,utc:!0,args:arguments};return new J(z)},K.utc=function(Z){var z=Q(this.toDate(),{locale:this.$L,utc:!0});return Z?z.add(this.utcOffset(),$):z},K.local=function(){return Q(this.toDate(),{locale:this.$L,utc:!1})};var q=K.parse;K.parse=function(Z){Z.utc&&(this.$u=!0),this.$utils().u(Z.$offset)||(this.$offset=Z.$offset),q.call(this,Z)};var G=K.init;K.init=function(){if(this.$u){var Z=this.$d;this.$y=Z.getUTCFullYear(),this.$M=Z.getUTCMonth(),this.$D=Z.getUTCDate(),this.$W=Z.getUTCDay(),this.$H=Z.getUTCHours(),this.$m=Z.getUTCMinutes(),this.$s=Z.getUTCSeconds(),this.$ms=Z.getUTCMilliseconds()}else G.call(this)};var H=K.utcOffset;K.utcOffset=function(Z,z){var L=this.$utils().u;if(L(Z))return this.$u?0:L(this.$offset)?H.call(this):this.$offset;if(typeof Z=="string"&&(Z=function(T){T===void 0&&(T="");var A=T.match(I);if(!A)return null;var R=(""+A[0]).match(U)||["-",0,0],u=R[0],g=60*+R[1]+ +R[2];return g===0?0:u==="+"?g:-g}(Z),Z===null))return this;var D=Math.abs(Z)<=16?60*Z:Z;if(D===0)return this.utc(z);var F=this.clone();if(z)return F.$offset=D,F.$u=!1,F;var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(F=this.local().add(D+E,$)).$offset=D,F.$x.$localOffset=E,F};var W=K.format;K.format=function(Z){var z=Z||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return W.call(this,z)},K.valueOf=function(){var Z=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-60000*Z},K.isUTC=function(){return!!this.$u},K.toISOString=function(){return this.toDate().toISOString()},K.toString=function(){return this.toDate().toUTCString()};var V=K.toDate;K.toDate=function(Z){return Z==="s"&&this.$offset?Q(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():V.call(this)};var w=K.diff;K.diff=function(Z,z,L){if(Z&&this.$u===Z.$u)return w.call(this,Z,z,L);var D=this.local(),F=Q(Z).local();return w.call(D,F,z,L)}}})});var f30=O((uj,fj)=>{(function($,I){typeof uj=="object"&&typeof fj<"u"?fj.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs=I()})(uj,function(){var $=1000,I=60000,U=3600000,Y="millisecond",J="second",Q="minute",K="hour",q="day",G="week",H="month",W="quarter",V="year",w="date",Z="Invalid Date",z=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,L=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var f=["th","st","nd","rd"],i=S%100;return"["+S+(f[(i-20)%10]||f[i]||f[0])+"]"}},F=function(S,f,i){var Y0=String(S);return!Y0||Y0.length>=f?S:""+Array(f+1-Y0.length).join(i)+S},E={s:F,z:function(S){var f=-S.utcOffset(),i=Math.abs(f),Y0=Math.floor(i/60),B=i%60;return(f<=0?"+":"-")+F(Y0,2,"0")+":"+F(B,2,"0")},m:function S(f,i){if(f.date()1)return S(d[0])}else{var t=f.name;A[t]=f,B=t}return!Y0&&B&&(T=B),B||!Y0&&T},b=function(S,f){if(u(S))return S.clone();var i=typeof f=="object"?f:{};return i.date=S,i.args=arguments,new p(i)},C=E;C.l=g,C.i=u,C.w=function(S,f){return b(S,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var p=function(){function S(i){this.$L=g(i.locale,null,!0),this.parse(i),this.$x=this.$x||i.x||{},this[R]=!0}var f=S.prototype;return f.parse=function(i){this.$d=function(Y0){var{date:B,utc:k}=Y0;if(B===null)return new Date(NaN);if(C.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var d=B.match(z);if(d){var t=d[2]-1||0,K0=(d[7]||"0").substring(0,3);return k?new Date(Date.UTC(d[1],t,d[3]||1,d[4]||0,d[5]||0,d[6]||0,K0)):new Date(d[1],t,d[3]||1,d[4]||0,d[5]||0,d[6]||0,K0)}}return new Date(B)}(i),this.init()},f.init=function(){var i=this.$d;this.$y=i.getFullYear(),this.$M=i.getMonth(),this.$D=i.getDate(),this.$W=i.getDay(),this.$H=i.getHours(),this.$m=i.getMinutes(),this.$s=i.getSeconds(),this.$ms=i.getMilliseconds()},f.$utils=function(){return C},f.isValid=function(){return this.$d.toString()!==Z},f.isSame=function(i,Y0){var B=b(i);return this.startOf(Y0)<=B&&B<=this.endOf(Y0)},f.isAfter=function(i,Y0){return b(i){var b30=r("fs"),i30=x30(),fe0=k30(),be0=u30(),CK=f30().extend(fe0).extend(be0),ie0=VK(),{fs:{exists:ne0}}=L6(),pe0={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};class n30{constructor($){this.workbook=$,this.worksheet=null}async readFile($,I){if(I=I||{},!await ne0($))throw Error(`File not found: ${$}`);let U=b30.createReadStream($),Y=await this.read(U,I);return U.close(),Y}read($,I){return I=I||{},new Promise((U,Y)=>{let J=this.workbook.addWorksheet(I.sheetName),Q=I.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],K=I.map||function(G){if(G==="")return null;let H=Number(G);if(!Number.isNaN(H)&&H!==1/0)return H;let W=Q.reduce((w,Z)=>{if(w)return w;let z=CK(G,Z,!0);if(z.isValid())return z;return null},null);if(W)return new Date(W.valueOf());let V=pe0[G];if(V!==void 0)return V;return G},q=i30.parse(I.parserOptions).on("data",(G)=>{J.addRow(G.map(K))}).on("end",()=>{q.emit("worksheet",J)});q.on("worksheet",U).on("error",Y),$.pipe(q)})}createInputStream(){throw Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write($,I){return new Promise((U,Y)=>{I=I||{};let J=this.workbook.getWorksheet(I.sheetName||I.sheetId),Q=i30.format(I.formatterOptions);$.on("finish",()=>{U()}),Q.on("error",Y),Q.pipe($);let{dateFormat:K,dateUTC:q}=I,G=I.map||((V)=>{if(V){if(V.text||V.hyperlink)return V.hyperlink||V.text||"";if(V.formula||V.result)return V.result||"";if(V instanceof Date){if(K)return q?CK.utc(V).format(K):CK(V).format(K);return q?CK.utc(V).format():CK(V).format()}if(V.error)return V.error;if(typeof V==="object")return JSON.stringify(V)}return V}),H=I.includeEmptyRows===void 0||I.includeEmptyRows,W=1;if(J)J.eachRow((V,w)=>{if(H)while(W++{var d30=al(),ce0=mE(),de0=kC(),me0=c30();class m30{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new ce0}get xlsx(){if(!this._xlsx)this._xlsx=new de0(this);return this._xlsx}get csv(){if(!this._csv)this._csv=new me0(this);return this._csv}get nextId(){for(let $=1;$(q&&q.orderNo)>K?q.orderNo:K,0),J=Object.assign({},I,{id:U,name:$,orderNo:Y+1,workbook:this}),Q=new d30(J);return this._worksheets[U]=Q,Q}removeWorksheetEx($){delete this._worksheets[$.id]}removeWorksheet($){let I=this.getWorksheet($);if(I)I.destroy()}getWorksheet($){if($===void 0)return this._worksheets.find(Boolean);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((I)=>I&&I.name===$);return}get worksheets(){return this._worksheets.slice(1).sort(($,I)=>$.orderNo-I.orderNo).filter(Boolean)}eachSheet($){this.worksheets.forEach((I)=>{$(I,I.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage($){let I=this.media.length;return this.media.push(Object.assign({},$,{type:"image"})),I}getImage($){return this.media[$]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(($)=>$.model),sheets:this.worksheets.map(($)=>$.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model($){this.creator=$.creator,this.lastModifiedBy=$.lastModifiedBy,this.lastPrinted=$.lastPrinted,this.created=$.created,this.modified=$.modified,this.company=$.company,this.manager=$.manager,this.title=$.title,this.subject=$.subject,this.keywords=$.keywords,this.category=$.category,this.description=$.description,this.language=$.language,this.revision=$.revision,this.contentStatus=$.contentStatus,this.properties=$.properties,this.calcProperties=$.calcProperties,this._worksheets=[],$.worksheets.forEach((I)=>{let{id:U,name:Y,state:J}=I,Q=$.sheets&&$.sheets.findIndex((q)=>q.id===U),K=this._worksheets[U]=new d30({id:U,name:Y,orderNo:Q,state:J,workbook:this});K.model=I}),this._definedNames.model=$.definedNames,this.views=$.views,this._themes=$.themes,this.media=$.media||[]}}l30.exports=m30});var a30=O(($v1,t30)=>{var le0=kC();class r30{constructor($){this.model=$}get xlsx(){if(!this._xlsx)this._xlsx=new le0(this);return this._xlsx}}t30.exports=r30});var e30=O((Iv1,s30)=>{var oe0=typeof process==="object"&&process&&process.platform==="win32";s30.exports=oe0?{sep:"\\"}:{sep:"/"}});var bj=O((Uv1,YI0)=>{YI0.exports=II0;function II0($,I,U){if($ instanceof RegExp)$=$I0($,U);if(I instanceof RegExp)I=$I0(I,U);var Y=UI0($,I,U);return Y&&{start:Y[0],end:Y[1],pre:U.slice(0,Y[0]),body:U.slice(Y[0]+$.length,Y[1]),post:U.slice(Y[1]+I.length)}}function $I0($,I){var U=I.match($);return U?U[0]:null}II0.range=UI0;function UI0($,I,U){var Y,J,Q,K,q,G=U.indexOf($),H=U.indexOf(I,G+1),W=G;if(G>=0&&H>0){if($===I)return[G,H];Y=[],Q=U.length;while(W>=0&&!q){if(W==G)Y.push(W),G=U.indexOf($,W+1);else if(Y.length==1)q=[Y.pop(),H];else{if(J=Y.pop(),J=0?G:H}if(Y.length)q=[Q,K]}return q}});var VI0=O((Yv1,WI0)=>{var JI0=bj();WI0.exports=ee0;var QI0="\x00SLASH"+Math.random()+"\x00",KI0="\x00OPEN"+Math.random()+"\x00",pj="\x00CLOSE"+Math.random()+"\x00",qI0="\x00COMMA"+Math.random()+"\x00",GI0="\x00PERIOD"+Math.random()+"\x00",re0=1e5,te0=4000000;function ij($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function ae0($){return $.split("\\\\").join(QI0).split("\\{").join(KI0).split("\\}").join(pj).split("\\,").join(qI0).split("\\.").join(GI0)}function se0($){return $.split(QI0).join("\\").split(KI0).join("{").split(pj).join("}").split(qI0).join(",").split(GI0).join(".")}function HI0($){if(!$)return[""];var I=[],U=JI0("{","}",$);if(!U)return $.split(",");var{pre:Y,body:J,post:Q}=U,K=Y.split(",");K[K.length-1]+="{"+J+"}";var q=HI0(Q);if(Q.length)K[K.length-1]+=q.shift(),K.push.apply(K,q);return I.push.apply(I,K),I}function ee0($,I){if(!$)return[];I=I||{};var U=I.max==null?re0:I.max,Y=I.maxLength==null?te0:I.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return nj(ae0($),U,Y,!0).map(se0)}function $01($){return"{"+$+"}"}function I01($){return/^-?0\d/.test($)}function U01($,I){return $<=I}function Y01($,I){return $>=I}function jK($,I,U,Y,J,Q){var K=[],q=0;for(var G=0;G<$.length;G++)for(var H=0;H=Y)return K;var W=$[G]+I+U[H];if(Q&&!W)continue;if(q+W.length>J)return K;K.push(W),q+=W.length}return K}function J01($,I,U,Y){var J=$.split(/\.\./),Q=[];if(J[0]===void 0||J[1]===void 0)return Q;var K=ij(J[0]),q=ij(J[1]),G=Math.max(J[0].length,J[1].length),H=J.length===3&&J[2]!==void 0?Math.max(Math.abs(ij(J[2])),1):1,W=U01,V=q0){var F=Array(D+1).join("0");if(z<0)L="-"+F+L.slice(1);else L=F+L}}if(Z+L.length>Y)break;Q.push(L),Z+=L.length}return Q}function nj($,I,U,Y){var J=[""],Q=!1,K=!0;for(;;){let A=JI0("{","}",$);if(!A)return jK(J,$,[""],I,U,Q);let R=A.pre;if(/\$$/.test(R)){if(J=jK(J,R+"{"+A.body+"}",[""],I,U,Q&&!A.post.length),K=!1,!A.post.length)break;$=A.post;continue}var q=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),H=q||G,W=A.body.indexOf(",")>=0;if(!H&&!W){if(A.post.match(/,(?!,).*\}/)){$=A.pre+"{"+A.body+pj+A.post,Y=!0;continue}return jK(J,R+"{"+A.body+"}"+A.post,[""],I,U,Q)}if(K)Q=Y&&!H,K=!1;var V;if(H)V=J01(A.body,G,I,U);else{var w=HI0(A.body);if(w.length===1&&w[0]!==void 0){if(w=nj(w[0],I,U,!1).map($01),w.length===1){if(J=jK(J,R+w[0],[""],I,U,Q&&!A.post.length),!A.post.length)break;$=A.post;continue}}var Z=Q&&!A.post.length&&!R;for(var z=0;Z&&z=I||L+T.length>U)break $;V.push(T),L+=T.length}}}if(J=jK(J,R,V,I,U,Q&&!A.post.length),!A.post.length)break;$=A.post}return J}});var DI0=O((Jv1,oj)=>{var K$=oj.exports=($,I,U={})=>{if(SX(I),!U.nocomment&&I.charAt(0)==="#")return!1;return new _K(I,U).match($)};oj.exports=K$;var mj=e30();K$.sep=mj.sep;var j6=Symbol("globstar **");K$.GLOBSTAR=j6;var Q01=VI0(),wI0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},lj="[^/]",cj=lj+"*?",K01="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",q01="(?:(?!(?:\\/|^)\\.).)*?",zI0=($)=>$.split("").reduce((I,U)=>{return I[U]=!0,I},{}),ZI0=zI0("().*{}+?[]^$\\!"),G01=zI0("[.("),XI0=/\/+/;K$.filter=($,I={})=>(U,Y,J)=>K$(U,$,I);var d9=($,I={})=>{let U={};return Object.keys($).forEach((Y)=>U[Y]=$[Y]),Object.keys(I).forEach((Y)=>U[Y]=I[Y]),U};K$.defaults=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return K$;let I=K$,U=(Y,J,Q)=>I(Y,J,d9($,Q));return U.Minimatch=class extends I.Minimatch{constructor(J,Q){super(J,d9($,Q))}},U.Minimatch.defaults=(Y)=>I.defaults(d9($,Y)).Minimatch,U.filter=(Y,J)=>I.filter(Y,d9($,J)),U.defaults=(Y)=>I.defaults(d9($,Y)),U.makeRe=(Y,J)=>I.makeRe(Y,d9($,J)),U.braceExpand=(Y,J)=>I.braceExpand(Y,d9($,J)),U.match=(Y,J,Q)=>I.match(Y,J,d9($,Q)),U};K$.braceExpand=($,I)=>LI0($,I);var LI0=($,I={})=>{if(SX($),I.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return Q01($)},H01=65536,SX=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>H01)throw TypeError("pattern is too long")},dj=Symbol("subparse");K$.makeRe=($,I)=>new _K($,I||{}).makeRe();K$.match=($,I,U={})=>{let Y=new _K(I,U);if($=$.filter((J)=>Y.match(J)),Y.options.nonull&&!$.length)$.push(I);return $};var W01=($)=>$.replace(/\\(.)/g,"$1"),V01=($)=>$.replace(/\\([^-\]])/g,"$1"),w01=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Z01=($)=>$.replace(/[[\]\\]/g,"\\$&");class _K{constructor($,I){if(SX($),!I)I={};if(this.options=I,this.maxGlobstarRecursion=I.maxGlobstarRecursion!==void 0?I.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.windowsPathsNoEscape=!!I.windowsPathsNoEscape||I.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!I.partial,this.make()}debug(){}make(){let $=this.pattern,I=this.options;if(!I.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();let U=this.globSet=this.braceExpand();if(I.debug)this.debug=(...Y)=>console.error(...Y);this.debug(this.pattern,U),U=this.globParts=U.map((Y)=>Y.split(XI0)),this.debug(this.pattern,U),U=U.map((Y,J,Q)=>Y.map(this.parse,this)),this.debug(this.pattern,U),U=U.filter((Y)=>Y.indexOf(!1)===-1),this.debug(this.pattern,U),this.set=U}parseNegate(){if(this.options.nonegate)return;let $=this.pattern,I=!1,U=0;for(let Y=0;Y<$.length&&$.charAt(Y)==="!";Y++)I=!I,U++;if(U)this.pattern=$.slice(U);this.negate=I}matchOne($,I,U){if(I.indexOf(j6)!==-1)return this._matchGlobstar($,I,U,0,0);return this._matchOne($,I,U,0,0)}_matchGlobstar($,I,U,Y,J){let Q=-1;for(let F=J;F=0;F--)if(I[F]===j6){K=F;break}let q=I.slice(J,Q),G=U?I.slice(Q+1):I.slice(Q+1,K),H=U?[]:I.slice(K+1);if(q.length){let F=$.slice(Y,Y+q.length);if(!this._matchOne(F,q,U,0,0))return!1;Y+=q.length}let W=0;if(H.length){if(H.length+Y>$.length)return!1;let F=$.length-H.length;if(this._matchOne($,H,U,F,0))W=H.length;else{if($[$.length-1]!==""||Y+H.length===$.length)return!1;if(!this._matchOne($,H,U,F-1,0))return!1;W=H.length+1}}if(!G.length){let F=!!W;for(let E=Y;E<$.length-W;E++){let T=String($[E]);if(F=!0,T==="."||T===".."||!this.options.dot&&T.charAt(0)===".")return!1}return U||F}let V=[[[],0]],w=V[0],Z=0,z=[0];for(let F of G)if(F===j6)z.push(Z),w=[[],0],V.push(w);else w[0].push(F),Z++;let L=V.length-1,D=$.length-W;for(let F of V)F[1]=D-(z[L--]+F[0].length);return!!this._matchGlobStarBodySections($,V,Y,0,U,0,!!W)}_matchGlobStarBodySections($,I,U,Y,J,Q,K){let q=I[Y];if(!q){for(let W=U;W<$.length;W++){K=!0;let V=$[W];if(V==="."||V===".."||!this.options.dot&&V.charAt(0)===".")return!1}return K}let[G,H]=q;while(U<=H){if(this._matchOne($.slice(0,U+G.length),G,J,U,0)&&QL?"":D?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=(u)=>u.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",T=()=>{if(G){switch(G){case"*":Y+=cj,J=!0;break;case"?":Y+=lj,J=!0;break;default:Y+="\\"+G;break}this.debug("clearStateChar %j %j",G,Y),G=!1}};for(let u=0,g;u<$.length&&(g=$.charAt(u));u++){if(this.debug("%s\t%s %s %j",$,u,Y,g),Q){if(g==="/")return!1;if(ZI0[g])Y+="\\";Y+=g,Q=!1;continue}switch(g){case"/":return!1;case"\\":if(H&&$.charAt(u+1)==="-"){Y+=g;continue}T(),Q=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,u,Y,g),H){if(this.debug(" in class"),g==="!"&&u===V+1)g="^";Y+=g;continue}if(g==="*"&&G==="*")continue;if(this.debug("call clearStateChar %j",G),T(),G=g,U.noext)T();continue;case"(":{if(H){Y+="(";continue}if(!G){Y+="\\(";continue}let b={type:G,start:u-1,reStart:Y.length,open:wI0[G].open,close:wI0[G].close};if(this.debug(this.pattern,"\t",b),K.push(b),Y+=b.open,b.start===0&&b.type!=="!")L=!0,Y+=E($.slice(u+1));this.debug("plType %j %j",G,Y),G=!1;continue}case")":{let b=K[K.length-1];if(H||!b){Y+="\\)";continue}if(K.pop(),T(),J=!0,Z=b,Y+=Z.close,Z.type==="!")q.push(Object.assign(Z,{reEnd:Y.length}));continue}case"|":{let b=K[K.length-1];if(H||!b){Y+="\\|";continue}if(T(),Y+="|",b.start===0&&b.type!=="!")L=!0,Y+=E($.slice(u+1));continue}case"[":if(T(),H){Y+="\\"+g;continue}H=!0,V=u,W=Y.length,Y+=g;continue;case"]":if(u===V+1||!H){Y+="\\"+g;continue}w=$.substring(V+1,u);try{RegExp("["+Z01(V01(w))+"]"),Y+=g}catch(b){Y=Y.substring(0,W)+"(?:$.)"}J=!0,H=!1;continue;default:if(T(),ZI0[g]&&!(g==="^"&&H))Y+="\\";Y+=g;break}}if(H)w=$.slice(V+1),z=this.parse(w,dj),Y=Y.substring(0,W)+"\\["+z[0],J=J||z[1];for(Z=K.pop();Z;Z=K.pop()){let u;u=Y.slice(Z.reStart+Z.open.length),this.debug("setting tail",Y,Z),u=u.replace(/((?:\\{2}){0,64})(\\?)\|/g,(b,C,p)=>{if(!p)p="\\";return C+C+p+"|"}),this.debug(`tail=%j + %s`,u,u,Z,Y);let g=Z.type==="*"?cj:Z.type==="?"?lj:"\\"+Z.type;J=!0,Y=Y.slice(0,Z.reStart)+g+"\\("+u}if(T(),Q)Y+="\\\\";let A=G01[Y.charAt(0)];for(let u=q.length-1;u>-1;u--){let g=q[u],b=Y.slice(0,g.reStart),C=Y.slice(g.reStart,g.reEnd-8),p=Y.slice(g.reEnd),n=Y.slice(g.reEnd-8,g.reEnd)+p,S=b.split(")").length,f=b.split("(").length-S,i=p;for(let B=0;B{return Q=Q.map((K)=>typeof K==="string"?w01(K):K===j6?j6:K._src).reduce((K,q)=>{if(!(K[K.length-1]===j6&&q===j6))K.push(q);return K},[]),Q.forEach((K,q)=>{if(K!==j6||Q[q-1]===j6)return;if(q===0)if(Q.length>1)Q[q+1]="(?:\\/|"+U+"\\/)?"+Q[q+1];else Q[q]=U;else if(q===Q.length-1)Q[q-1]+="(?:\\/|"+U+")?";else Q[q-1]+="(?:\\/|\\/"+U+"\\/)"+Q[q+1],Q[q+1]=j6}),Q.filter((K)=>K!==j6).join("/")}).join("|");if(J="^(?:"+J+")$",this.negate)J="^(?!"+J+").*$";try{this.regexp=new RegExp(J,Y)}catch(Q){this.regexp=!1}return this.regexp}match($,I=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&I)return!0;let U=this.options;if(mj.sep!=="/")$=$.split(mj.sep).join("/");$=$.split(XI0),this.debug(this.pattern,"split",$);let Y=this.set;this.debug(this.pattern,"set",Y);let J;for(let Q=$.length-1;Q>=0;Q--)if(J=$[Q],J)break;for(let Q=0;Q{MI0.exports=NI0;var tj=r("fs"),{EventEmitter:X01}=r("events"),{Minimatch:rj}=DI0(),{resolve:z01}=r("path");function L01($,I){return new Promise((U,Y)=>{tj.readdir($,{withFileTypes:!0},(J,Q)=>{if(J)switch(J.code){case"ENOTDIR":if(I)Y(J);else U([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":U([]);break;case"ELOOP":default:Y(J);break}else U(Q)})})}function OI0($,I){return new Promise((U,Y)=>{(I?tj.stat:tj.lstat)($,(Q,K)=>{if(Q)switch(Q.code){case"ENOENT":if(I)U(OI0($,!1));else U(null);break;default:U(null);break}else U(K)})})}async function*FI0($,I,U,Y,J,Q){let K=await L01(I+$,Q);for(let q of K){let G=q.name;if(G===void 0)G=q,Y=!0;let H=$+"/"+G,W=H.slice(1),V=I+"/"+W,w=null;if(Y||U)w=await OI0(V,U);if(!w&&q.name!==void 0)w=q;if(w===null)w={isDirectory:()=>!1};if(w.isDirectory()){if(!J(W))yield{relative:W,absolute:V,stats:w},yield*FI0(H,I,U,Y,J,!1)}else yield{relative:W,absolute:V,stats:w}}}async function*D01($,I,U,Y){yield*FI0("",$,I,U,Y,!0)}function O01($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}class aj extends X01{constructor($,I,U){super();if(typeof I==="function")U=I,I=null;if(this.options=O01(I||{}),this.matchers=[],this.options.pattern){let Y=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=Y.map((J)=>new rj(J,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let Y=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=Y.map((J)=>new rj(J,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let Y=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=Y.map((J)=>new rj(J,{dot:!0}))}if(this.iterator=D01(z01($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,U)this._matches=[],this.on("match",(Y)=>this._matches.push(this.options.absolute?Y.absolute:Y.relative)),this.on("error",(Y)=>U(Y)),this.on("end",()=>U(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory($){return this.skipMatchers.some((I)=>I.match($))}_fileMatches($,I){let U=$+(I?"/":"");return(this.matchers.length===0||this.matchers.some((Y)=>Y.match(U)))&&!this.ignoreMatchers.some((Y)=>Y.match(U))&&(!this.options.nodir||!I)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let I=$.value.stats.isDirectory();if(this._fileMatches($.value.relative,I)){let U=$.value.relative,Y=$.value.absolute;if(this.options.mark&&I)U+="/",Y+="/";if(this.options.stat)this.emit("match",{relative:U,absolute:Y,stat:$.value.stats});else this.emit("match",{relative:U,absolute:Y})}this._next(this.iterator)}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}}function NI0($,I,U){return new aj($,I,U)}NI0.ReaddirGlob=aj});var TI0=O((gX,PI0)=>{(function($,I){typeof gX==="object"&&typeof PI0<"u"?I(gX):typeof define==="function"&&define.amd?define(["exports"],I):($=typeof globalThis<"u"?globalThis:$||self,I($.async={}))})(gX,function($){function I(P,...v){return(...y)=>P(...v,...y)}function U(P){return function(...v){var y=v.pop();return P.call(this,v,y)}}var Y=typeof queueMicrotask==="function"&&queueMicrotask,J=typeof setImmediate==="function"&&setImmediate,Q=typeof process==="object"&&typeof process.nextTick==="function";function K(P){setTimeout(P,0)}function q(P){return(v,...y)=>P(()=>v(...y))}var G;if(Y)G=queueMicrotask;else if(J)G=setImmediate;else if(Q)G=process.nextTick;else G=K;var H=q(G);function W(P){if(Z(P))return function(...v){let y=v.pop(),c=P.apply(this,v);return V(c,y)};return U(function(v,y){var c;try{c=P.apply(this,v)}catch($0){return y($0)}if(c&&typeof c.then==="function")return V(c,y);else y(null,c)})}function V(P,v){return P.then((y)=>{w(v,null,y)},(y)=>{w(v,y&&(y instanceof Error||y.message)?y:Error(y))})}function w(P,v,y){try{P(v,y)}catch(c){H(($0)=>{throw $0},c)}}function Z(P){return P[Symbol.toStringTag]==="AsyncFunction"}function z(P){return P[Symbol.toStringTag]==="AsyncGenerator"}function L(P){return typeof P[Symbol.asyncIterator]==="function"}function D(P){if(typeof P!=="function")throw Error("expected a function");return Z(P)?W(P):P}function F(P,v){if(!v)v=P.length;if(!v)throw Error("arity is undefined");function y(...c){if(typeof c[v-1]==="function")return P.apply(this,c);return new Promise(($0,U0)=>{c[v-1]=(q0,...G0)=>{if(q0)return U0(q0);$0(G0.length>1?G0:G0[0])},P.apply(this,c)})}return y}function E(P){return function(y,...c){return F(function(U0){var q0=this;return P(y,(G0,Z0)=>{D(G0).apply(q0,c.concat(Z0))},U0)})}}function T(P,v,y,c){v=v||[];var $0=[],U0=0,q0=D(y);return P(v,(G0,Z0,j0)=>{var K1=U0++;q0(G0,(D1,W1)=>{$0[K1]=W1,j0(D1)})},(G0)=>{c(G0,$0)})}function A(P){return P&&typeof P.length==="number"&&P.length>=0&&P.length%1===0}let R={};function u(P){function v(...y){if(P===null)return;var c=P;P=null,c.apply(this,y)}return Object.assign(v,P),v}function g(P){return P[Symbol.iterator]&&P[Symbol.iterator]()}function b(P){var v=-1,y=P.length;return function(){return++v=v||q0||$0)return;q0=!0,P.next().then(({value:W1,done:Z$})=>{if(U0||$0)return;if(q0=!1,Z$){if($0=!0,G0<=0)c(null);return}G0++,y(W1,Z0,K1),Z0++,j0()}).catch(D1)}function K1(W1,Z$){if(G0-=1,U0)return;if(W1)return D1(W1);if(W1===!1){$0=!0,U0=!0;return}if(Z$===R||$0&&G0<=0)return $0=!0,c(null);j0()}function D1(W1){if(U0)return;q0=!1,$0=!0,c(W1)}j0()}var i=(P)=>{return(v,y,c)=>{if(c=u(c),P<=0)throw RangeError("concurrency limit cannot be less than 1");if(!v)return c(null);if(z(v))return f(v,P,y,c);if(L(v))return f(v[Symbol.asyncIterator](),P,y,c);var $0=n(v),U0=!1,q0=!1,G0=0,Z0=!1;function j0(D1,W1){if(q0)return;if(G0-=1,D1)U0=!0,c(D1);else if(D1===!1)U0=!0,q0=!0;else if(W1===R||U0&&G0<=0)return U0=!0,c(null);else if(!Z0)K1()}function K1(){Z0=!0;while(G01?$0:$0[0])}return y[m0]=new Promise((c,$0)=>{P=c,v=$0}),y}function j4(P,v,y){if(typeof v!=="number")y=v,v=null;y=u(y||K4());var c=Object.keys(P).length;if(!c)return y(null);if(!v)v=c;var $0={},U0=0,q0=!1,G0=!1,Z0=Object.create(null),j0=[],K1=[],D1={};Object.keys(P).forEach((R0)=>{var x0=P[R0];if(!Array.isArray(x0)){W1(R0,[x0]),K1.push(R0);return}var V1=x0.slice(0,x0.length-1),U4=V1.length;if(U4===0){W1(R0,x0),K1.push(R0);return}D1[R0]=U4,V1.forEach((u4)=>{if(!P[u4])throw Error("async.auto task `"+R0+"` has a non-existent dependency `"+u4+"` in "+V1.join(", "));VI(u4,()=>{if(U4--,U4===0)W1(R0,x0)})})}),O1(),Z$();function W1(R0,x0){j0.push(()=>gJ(R0,x0))}function Z$(){if(q0)return;if(j0.length===0&&U0===0)return y(null,$0);while(j0.length&&U0V1()),Z$()}function gJ(R0,x0){if(G0)return;var V1=S((u4,...X$)=>{if(U0--,u4===!1){q0=!0;return}if(X$.length<2)[X$]=X$;if(u4){var wI={};if(Object.keys($0).forEach((F7)=>{wI[F7]=$0[F7]}),wI[R0]=X$,G0=!0,Z0=Object.create(null),q0)return;y(u4,wI)}else $0[R0]=X$,O7(R0)});U0++;var U4=D(x0[x0.length-1]);if(x0.length>1)U4($0,V1);else U4(V1)}function O1(){var R0,x0=0;while(K1.length)R0=K1.pop(),x0++,h0(R0).forEach((V1)=>{if(--D1[V1]===0)K1.push(V1)});if(x0!==c)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function h0(R0){var x0=[];return Object.keys(P).forEach((V1)=>{let U4=P[V1];if(Array.isArray(U4)&&U4.indexOf(R0)>=0)x0.push(V1)}),x0}return y[m0]}var V$=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,k$=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,m8=/,/,u$=/(=.+)?(\s*)$/;function w$(P){let v="",y=0,c=P.indexOf("*/");while(y$0.replace(k$,"").trim())}function a6(P,R){var y={};return Object.keys(P).forEach((c)=>{var $0=P[c],U0,q0=Z($0),G0=!q0&&$0.length===1||q0&&$0.length===0;if(Array.isArray($0))U0=[...$0],$0=U0.pop(),y[c]=U0.concat(U0.length>0?Z0:$0);else if(G0)y[c]=$0;else{if(U0=d8($0),$0.length===0&&!q0&&U0.length===0)throw Error("autoInject task functions require explicit parameters.");if(!q0)U0.pop();y[c]=U0.concat(Z0)}function Z0(C0,Q1){var L1=U0.map((H1)=>C0[H1]);L1.push(Q1),D($0)(...L1)}}),j4(y,R)}class w7{constructor(){this.head=this.tail=null,this.length=0}removeLink(P){if(P.prev)P.prev.next=P.next;else this.head=P.next;if(P.next)P.next.prev=P.prev;else this.tail=P.prev;return P.prev=P.next=null,this.length-=1,P}empty(){while(this.head)this.shift();return this}insertAfter(P,R){if(R.prev=P,R.next=P.next,P.next)P.next.prev=R;else this.tail=R;P.next=R,this.length+=1}insertBefore(P,R){if(R.prev=P.prev,R.next=P,P.prev)P.prev.next=R;else this.head=R;P.prev=R,this.length+=1}unshift(P){if(this.head)this.insertBefore(this.head,P);else s6(this,P)}push(P){if(this.tail)this.insertAfter(this.tail,P);else s6(this,P)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var P=this.head;while(P)yield P.data,P=P.next}remove(P){var R=this.head;while(R){var{next:y}=R;if(P(R))this.removeLink(R);R=y}return this}}function s6(P,R){P.length=1,P.head=P.tail=R}function p5(P,R,y){if(R==null)R=1;else if(R===0)throw RangeError("Concurrency must not be zero");var c=D(P),$0=0,U0=[];let q0={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function G0(h0,R0){q0[h0].push(R0)}function Z0(h0,R0){let x0=(...W1)=>{C0(h0,x0),R0(...W1)};q0[h0].push(x0)}function C0(h0,R0){if(!h0)return Object.keys(q0).forEach((x0)=>q0[x0]=[]);if(!R0)return q0[h0]=[];q0[h0]=q0[h0].filter((x0)=>x0!==R0)}function Q1(h0,...R0){q0[h0].forEach((x0)=>x0(...R0))}var L1=!1;function H1(h0,R0,x0,W1){if(W1!=null&&typeof W1!=="function")throw Error("task callback must be a function");D1.started=!0;var I4,u4;function z$(D7,..._J){if(D7)return x0?u4(D7):I4();if(_J.length<=1)return I4(_J[0]);I4(_J)}var WI=D1._createTaskItem(h0,x0?z$:W1||z$);if(R0)D1._tasks.unshift(WI);else D1._tasks.push(WI);if(!L1)L1=!0,H(()=>{L1=!1,D1.process()});if(x0||!W1)return new Promise((D7,_J)=>{I4=D7,u4=_J})}function Z$(h0){return function(R0,...x0){$0-=1;for(var W1=0,I4=h0.length;W10)U0.splice(z$,1);if(u4.callback(R0,...x0),R0!=null)Q1("error",R0,u4.data)}if($0<=D1.concurrency-D1.buffer)Q1("unsaturated");if(D1.idle())Q1("drain");D1.process()}}function HI(h0){if(h0.length===0&&D1.idle())return H(()=>Q1("drain")),!0;return!1}let L7=(h0)=>(R0)=>{if(!R0)return new Promise((x0,W1)=>{Z0(h0,(I4,u4)=>{if(I4)return W1(I4);x0(u4)})});C0(h0),G0(h0,R0)};var jJ=!1,D1={_tasks:new w7,_createTaskItem(h0,R0){return{data:h0,callback:R0}},*[Symbol.iterator](){yield*D1._tasks[Symbol.iterator]()},concurrency:R,payload:y,buffer:R/4,started:!1,paused:!1,push(h0,R0){if(Array.isArray(h0)){if(HI(h0))return;return h0.map((x0)=>H1(x0,!1,!1,R0))}return H1(h0,!1,!1,R0)},pushAsync(h0,R0){if(Array.isArray(h0)){if(HI(h0))return;return h0.map((x0)=>H1(x0,!1,!0,R0))}return H1(h0,!1,!0,R0)},kill(){C0(),D1._tasks.empty()},unshift(h0,R0){if(Array.isArray(h0)){if(HI(h0))return;return h0.map((x0)=>H1(x0,!0,!1,R0))}return H1(h0,!0,!1,R0)},unshiftAsync(h0,R0){if(Array.isArray(h0)){if(HI(h0))return;return h0.map((x0)=>H1(x0,!0,!0,R0))}return H1(h0,!0,!0,R0)},remove(h0){D1._tasks.remove(h0)},process(){if(jJ)return;jJ=!0;while(!D1.paused&&$0{$0(R,U0,(Z0,C0)=>{R=C0,G0(Z0)})},(U0)=>c(U0,R))}var M=N(F,4);function j(...P){var R=P.map(D);return function(...y){var c=this,$0=y[y.length-1];if(typeof $0=="function")y.pop();else $0=Q4();return M(R,y,(U0,q0,G0)=>{q0.apply(c,U0.concat((Z0,...C0)=>{G0(Z0,C0)}))},(U0,q0)=>$0(U0,...q0)),$0[d0]}}function x(...P){return j(...P.reverse())}function s(P,R,y,c){return T(i(R),P,y,c)}var m=N(s,4);function e(P,R,y,c){var $0=D(y);return m(P,R,(U0,q0)=>{$0(U0,(G0,...Z0)=>{if(G0)return q0(G0);return q0(G0,Z0)})},(U0,q0)=>{var G0=[];for(var Z0=0;Z0{var q0=!1,G0;let Z0=D($0);y(c,(C0,Q1,L1)=>{Z0(C0,(H1,Z$)=>{if(H1||H1===!1)return L1(H1);if(P(Z$)&&!G0)return q0=!0,G0=R(!0,C0),L1(null,v);L1()})},(C0)=>{if(C0)return U0(C0);U0(null,q0?G0:R(!1))})}}function V6(P,R,y){return K4((c)=>c,(c,$0)=>$0)(K0,P,R,y)}var c5=N(V6,3);function EJ(P,R,y,c){return K4(($0)=>$0,($0,U0)=>U0)(i(R),P,y,c)}var DG=N(EJ,4);function CX0(P,R,y){return K4((c)=>c,(c,$0)=>$0)(i(1),P,R,y)}var OG=N(CX0,3);function Px(P){return(R,...y)=>D(R)(...y,(c,...$0)=>{if(typeof console==="object"){if(c){if(console.error)console.error(c)}else if(console[P])$0.forEach((U0)=>console[P](U0))}})}var Tx=Px("dir");function jX0(P,R,y){y=S(y);var c=D(P),$0=D(R),U0;function q0(Z0,...C0){if(Z0)return y(Z0);if(Z0===!1)return;U0=C0,$0(...C0,G0)}function G0(Z0,C0){if(Z0)return y(Z0);if(Z0===!1)return;if(!C0)return y(null,...U0);c(q0)}return G0(null,!0)}var BJ=N(jX0,3);function Ex(P,R,y){let c=D(R);return BJ(P,(...$0)=>{let U0=$0.pop();c(...$0,(q0,G0)=>U0(q0,!G0))},y)}function Bx(P){return(R,y,c)=>P(R,c)}function _X0(P,R,y){return K0(P,Bx(D(R)),y)}var NG=N(_X0,3);function SX0(P,R,y,c){return i(R)(P,Bx(D(y)),c)}var RJ=N(SX0,4);function gX0(P,R,y){return RJ(P,1,R,y)}var vJ=N(gX0,3);function ND(P){if(Z(P))return P;return function(...R){var y=R.pop(),c=!0;R.push((...$0)=>{if(c)H(()=>y(...$0));else y(...$0)}),P.apply(this,R),c=!1}}function yX0(P,R,y){return K4((c)=>!c,(c)=>!c)(K0,P,R,y)}var FG=N(yX0,3);function hX0(P,R,y,c){return K4(($0)=>!$0,($0)=>!$0)(i(R),P,y,c)}var MG=N(hX0,4);function xX0(P,R,y){return K4((c)=>!c,(c)=>!c)(f0,P,R,y)}var AG=N(xX0,3);function kX0(P,R,y,c){var $0=Array(R.length);P(R,(U0,q0,G0)=>{y(U0,(Z0,C0)=>{$0[q0]=!!C0,G0(Z0)})},(U0)=>{if(U0)return c(U0);var q0=[];for(var G0=0;G0{y(U0,(Z0,C0)=>{if(Z0)return G0(Z0);if(C0)$0.push({index:q0,value:U0});G0(Z0)})},(U0)=>{if(U0)return c(U0);c(null,$0.sort((q0,G0)=>q0.index-G0.index).map((q0)=>q0.value))})}function PG(P,R,y,c){var $0=A(R)?kX0:uX0;return $0(P,R,D(y),c)}function fX0(P,R,y){return PG(K0,P,R,y)}var TG=N(fX0,3);function bX0(P,R,y,c){return PG(i(R),P,y,c)}var EG=N(bX0,4);function iX0(P,R,y){return PG(f0,P,R,y)}var BG=N(iX0,3);function nX0(P,R){var y=S(R),c=D(ND(P));function $0(U0){if(U0)return y(U0);if(U0===!1)return;c($0)}return $0()}var Rx=N(nX0,2);function pX0(P,R,y,c){var $0=D(y);return m(P,R,(U0,q0)=>{$0(U0,(G0,Z0)=>{if(G0)return q0(G0);return q0(G0,{key:Z0,val:U0})})},(U0,q0)=>{var G0={},{hasOwnProperty:Z0}=Object.prototype;for(var C0=0;C0{U0(q0,G0,(C0,Q1)=>{if(C0)return Z0(C0);$0[G0]=Q1,Z0(C0)})},(q0)=>c(q0,$0))}var vG=N(cX0,4);function _x(P,R,y){return vG(P,1/0,R,y)}function Sx(P,R,y){return vG(P,1,R,y)}function gx(P,R=(y)=>y){var y=Object.create(null),c=Object.create(null),$0=D(P),U0=U((q0,G0)=>{var Z0=R(...q0);if(Z0 in y)H(()=>G0(null,...y[Z0]));else if(Z0 in c)c[Z0].push(G0);else c[Z0]=[G0],$0(...q0,(C0,...Q1)=>{if(!C0)y[Z0]=Q1;var L1=c[Z0];delete c[Z0];for(var H1=0,Z$=L1.length;H1{var c=A(R)?[]:{};P(R,($0,U0,q0)=>{D($0)((G0,...Z0)=>{if(Z0.length<2)[Z0]=Z0;c[U0]=Z0,q0(G0)})},($0)=>y($0,c))},3);function hx(P,R){return FD(K0,P,R)}function xx(P,R,y){return FD(i(R),P,y)}function MD(P,R){var y=D(P);return p5((c,$0)=>{y(c[0],$0)},R,1)}class kx{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(P){let R;while(P>0&&AD(this.heap[P],this.heap[R=ux(P)])){let y=this.heap[P];this.heap[P]=this.heap[R],this.heap[R]=y,P=R}}percDown(P){let R;while((R=dX0(P))=0;y--)this.percDown(y);return this}}function dX0(P){return(P<<1)+1}function ux(P){return(P+1>>1)-1}function AD(P,R){if(P.priority!==R.priority)return P.priority{return{data:q0,priority:G0,callback:Z0}};function U0(q0,G0){if(!Array.isArray(q0))return{data:q0,priority:G0};return q0.map((Z0)=>{return{data:Z0,priority:G0}})}return y.push=function(q0,G0=0,Z0){return c(U0(q0,G0),Z0)},y.pushAsync=function(q0,G0=0,Z0){return $0(U0(q0,G0),Z0)},delete y.unshift,delete y.unshiftAsync,y}function mX0(P,R){if(R=u(R),!Array.isArray(P))return R(TypeError("First argument to race must be an array of functions"));if(!P.length)return R();for(var y=0,c=P.length;y{let G0={};if(U0)G0.error=U0;if(q0.length>0){var Z0=q0;if(q0.length<=1)[Z0]=q0;G0.value=Z0}$0(null,G0)}),R.apply(this,c)})}function ix(P){var R;if(Array.isArray(P))R=P.map(_G);else R={},Object.keys(P).forEach((y)=>{R[y]=_G.call(this,P[y])});return R}function PD(P,R,y,c){let $0=D(y);return PG(P,R,(U0,q0)=>{$0(U0,(G0,Z0)=>{q0(G0,!Z0)})},c)}function lX0(P,R,y){return PD(K0,P,R,y)}var nx=N(lX0,3);function oX0(P,R,y,c){return PD(i(R),P,y,c)}var px=N(oX0,4);function rX0(P,R,y){return PD(f0,P,R,y)}var cx=N(rX0,3);function dx(P){return function(){return P}}let TD=5,mx=0;function SG(P,R,y){var c={times:TD,intervalFunc:dx(mx)};if(arguments.length<3&&typeof P==="function")y=R||Q4(),R=P;else tX0(c,P),y=y||Q4();if(typeof R!=="function")throw Error("Invalid arguments for async.retry");var $0=D(R),U0=1;function q0(){$0((G0,...Z0)=>{if(G0===!1)return;if(G0&&U0++{if($0.lengthc)(K0,P,R,y)}var gG=N(aX0,3);function sX0(P,R,y,c){return K4(Boolean,($0)=>$0)(i(R),P,y,c)}var yG=N(sX0,4);function eX0(P,R,y){return K4(Boolean,(c)=>c)(f0,P,R,y)}var hG=N(eX0,3);function $w0(P,R,y){var c=D(R);return M0(P,(U0,q0)=>{c(U0,(G0,Z0)=>{if(G0)return q0(G0);q0(G0,{value:U0,criteria:Z0})})},(U0,q0)=>{if(U0)return y(U0);y(null,q0.sort($0).map((G0)=>G0.value))});function $0(U0,q0){var G0=U0.criteria,Z0=q0.criteria;return G0Z0?1:0}}var rx=N($w0,3);function tx(P,R,y){var c=D(P);return U(($0,U0)=>{var q0=!1,G0;function Z0(){var C0=P.name||"anonymous",Q1=Error('Callback function "'+C0+'" timed out.');if(Q1.code="ETIMEDOUT",y)Q1.info=y;q0=!0,U0(Q1)}$0.push((...C0)=>{if(!q0)U0(...C0),clearTimeout(G0)}),G0=setTimeout(Z0,R),c(...$0)})}function Iw0(P){var R=Array(P);while(P--)R[P]=P;return R}function xG(P,R,y,c){var $0=D(y);return m(Iw0(P),R,$0,c)}function ax(P,R,y){return xG(P,1/0,R,y)}function sx(P,R,y){return xG(P,1,R,y)}function ex(P,R,y,c){if(arguments.length<=3&&typeof R==="function")c=y,y=R,R=Array.isArray(P)?[]:{};c=u(c||Q4());var $0=D(y);return K0(P,(U0,q0,G0)=>{$0(R,U0,q0,G0)},(U0)=>c(U0,R)),c[d0]}function Uw0(P,R){var y=null,c;return vJ(P,($0,U0)=>{D($0)((q0,...G0)=>{if(q0===!1)return U0(q0);if(G0.length<2)[c]=G0;else c=G0;y=q0,U0(q0?null:{})})},()=>R(y,c))}var $k=N(Uw0);function Ik(P){return(...R)=>{return(P.unmemoized||P)(...R)}}function Yw0(P,R,y){y=S(y);var c=D(R),$0=D(P),U0=[];function q0(Z0,...C0){if(Z0)return y(Z0);if(U0=C0,Z0===!1)return;$0(G0)}function G0(Z0,C0){if(Z0)return y(Z0);if(Z0===!1)return;if(!C0)return y(null,...U0);c(q0)}return $0(G0)}var CJ=N(Yw0,3);function Uk(P,R,y){let c=D(P);return CJ(($0)=>c((U0,q0)=>$0(U0,!q0)),R,y)}function Jw0(P,R){if(R=u(R),!Array.isArray(P))return R(Error("First argument to waterfall must be an array of functions"));if(!P.length)return R();var y=0;function c(U0){var q0=D(P[y++]);q0(...U0,S($0))}function $0(U0,...q0){if(U0===!1)return;if(U0||y===P.length)return R(U0,...q0);c(q0)}c([])}var Yk=N(Jw0),Qw0={apply:I,applyEach:B0,applyEachSeries:g0,asyncify:W,auto:j4,autoInject:a6,cargo:T0,cargoQueue:a,compose:x,concat:v0,concatLimit:J0,concatSeries:k0,constant:J1,detect:c5,detectLimit:DG,detectSeries:OG,dir:Tx,doUntil:Ex,doWhilst:BJ,each:NG,eachLimit:RJ,eachOf:K0,eachOfLimit:B,eachOfSeries:f0,eachSeries:vJ,ensureAsync:ND,every:FG,everyLimit:MG,everySeries:AG,filter:TG,filterLimit:EG,filterSeries:BG,forever:Rx,groupBy:vx,groupByLimit:RG,groupBySeries:Cx,log:jx,map:M0,mapLimit:m,mapSeries:O0,mapValues:_x,mapValuesLimit:vG,mapValuesSeries:Sx,memoize:gx,nextTick:yx,parallel:hx,parallelLimit:xx,priorityQueue:fx,queue:MD,race:bx,reduce:M,reduceRight:jG,reflect:_G,reflectAll:ix,reject:nx,rejectLimit:px,rejectSeries:cx,retry:SG,retryable:lx,seq:j,series:ox,setImmediate:H,some:gG,someLimit:yG,someSeries:hG,sortBy:rx,timeout:tx,times:ax,timesLimit:xG,timesSeries:sx,transform:ex,tryEach:$k,unmemoize:Ik,until:Uk,waterfall:Yk,whilst:CJ,all:FG,allLimit:MG,allSeries:AG,any:gG,anyLimit:yG,anySeries:hG,find:c5,findLimit:DG,findSeries:OG,flatMap:v0,flatMapLimit:J0,flatMapSeries:k0,forEach:NG,forEachSeries:vJ,forEachLimit:RJ,forEachOf:K0,forEachOfSeries:f0,forEachOfLimit:B,inject:M,foldl:M,foldr:jG,select:TG,selectLimit:EG,selectSeries:BG,wrapSync:W,during:CJ,doDuring:BJ};$.all=FG,$.allLimit=MG,$.allSeries=AG,$.any=gG,$.anyLimit=yG,$.anySeries=hG,$.apply=I,$.applyEach=B0,$.applyEachSeries=g0,$.asyncify=W,$.auto=j4,$.autoInject=a6,$.cargo=T0,$.cargoQueue=a,$.compose=x,$.concat=v0,$.concatLimit=J0,$.concatSeries=k0,$.constant=J1,$.default=Qw0,$.detect=c5,$.detectLimit=DG,$.detectSeries=OG,$.dir=Tx,$.doDuring=BJ,$.doUntil=Ex,$.doWhilst=BJ,$.during=CJ,$.each=NG,$.eachLimit=RJ,$.eachOf=K0,$.eachOfLimit=B,$.eachOfSeries=f0,$.eachSeries=vJ,$.ensureAsync=ND,$.every=FG,$.everyLimit=MG,$.everySeries=AG,$.filter=TG,$.filterLimit=EG,$.filterSeries=BG,$.find=c5,$.findLimit=DG,$.findSeries=OG,$.flatMap=v0,$.flatMapLimit=J0,$.flatMapSeries=k0,$.foldl=M,$.foldr=jG,$.forEach=NG,$.forEachLimit=RJ,$.forEachOf=K0,$.forEachOfLimit=B,$.forEachOfSeries=f0,$.forEachSeries=vJ,$.forever=Rx,$.groupBy=vx,$.groupByLimit=RG,$.groupBySeries=Cx,$.inject=M,$.log=jx,$.map=M0,$.mapLimit=m,$.mapSeries=O0,$.mapValues=_x,$.mapValuesLimit=vG,$.mapValuesSeries=Sx,$.memoize=gx,$.nextTick=yx,$.parallel=hx,$.parallelLimit=xx,$.priorityQueue=fx,$.queue=MD,$.race=bx,$.reduce=M,$.reduceRight=jG,$.reflect=_G,$.reflectAll=ix,$.reject=nx,$.rejectLimit=px,$.rejectSeries=cx,$.retry=SG,$.retryable=lx,$.select=TG,$.selectLimit=EG,$.selectSeries=BG,$.seq=j,$.series=ox,$.setImmediate=H,$.some=gG,$.someLimit=yG,$.someSeries=hG,$.sortBy=rx,$.timeout=tx,$.times=ax,$.timesLimit=xG,$.timesSeries=sx,$.transform=ex,$.tryEach=$k,$.unmemoize=Ik,$.until=Uk,$.waterfall=Yk,$.whilst=CJ,$.wrapSync=W,Object.defineProperty($,"__esModule",{value:!0})})});var c30=O((IB1,p30)=>{var c9=r("constants"),Re0=process.cwd,BX=null,ve0=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!BX)BX=Re0.call(process);return BX};try{process.cwd()}catch($){}if(typeof process.chdir==="function"){if(RX=process.chdir,process.chdir=function($){BX=null,RX.call(process,$)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,RX)}var RX;p30.exports=Ce0;function Ce0($){if(c9.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))I($);if(!$.lutimes)U($);if($.chown=Q($.chown),$.fchown=Q($.fchown),$.lchown=Q($.lchown),$.chmod=Y($.chmod),$.fchmod=Y($.fchmod),$.lchmod=Y($.lchmod),$.chownSync=K($.chownSync),$.fchownSync=K($.fchownSync),$.lchownSync=K($.lchownSync),$.chmodSync=J($.chmodSync),$.fchmodSync=J($.fchmodSync),$.lchmodSync=J($.lchmodSync),$.stat=q($.stat),$.fstat=q($.fstat),$.lstat=q($.lstat),$.statSync=G($.statSync),$.fstatSync=G($.fstatSync),$.lstatSync=G($.lstatSync),$.chmod&&!$.lchmod)$.lchmod=function(W,V,z){if(z)process.nextTick(z)},$.lchmodSync=function(){};if($.chown&&!$.lchown)$.lchown=function(W,V,z,Z){if(Z)process.nextTick(Z)},$.lchownSync=function(){};if(ve0==="win32")$.rename=typeof $.rename!=="function"?$.rename:function(W){function V(z,Z,w){var L=Date.now(),D=0;W(z,Z,function N(E){if(E&&(E.code==="EACCES"||E.code==="EPERM"||E.code==="EBUSY")&&Date.now()-L<60000){if(setTimeout(function(){$.stat(Z,function(T,A){if(T&&T.code==="ENOENT")W(z,Z,N);else w(E)})},D),D<100)D+=10;return}if(w)w(E)})}if(Object.setPrototypeOf)Object.setPrototypeOf(V,W);return V}($.rename);$.read=typeof $.read!=="function"?$.read:function(W){function V(z,Z,w,L,D,N){var E;if(N&&typeof N==="function"){var T=0;E=function(A,v,u){if(A&&A.code==="EAGAIN"&&T<10)return T++,W.call($,z,Z,w,L,D,E);N.apply(this,arguments)}}return W.call($,z,Z,w,L,D,E)}if(Object.setPrototypeOf)Object.setPrototypeOf(V,W);return V}($.read),$.readSync=typeof $.readSync!=="function"?$.readSync:function(W){return function(V,z,Z,w,L){var D=0;while(!0)try{return W.call($,V,z,Z,w,L)}catch(N){if(N.code==="EAGAIN"&&D<10){D++;continue}throw N}}}($.readSync);function I(W){W.lchmod=function(V,z,Z){W.open(V,c9.O_WRONLY|c9.O_SYMLINK,z,function(w,L){if(w){if(Z)Z(w);return}W.fchmod(L,z,function(D){W.close(L,function(N){if(Z)Z(D||N)})})})},W.lchmodSync=function(V,z){var Z=W.openSync(V,c9.O_WRONLY|c9.O_SYMLINK,z),w=!0,L;try{L=W.fchmodSync(Z,z),w=!1}finally{if(w)try{W.closeSync(Z)}catch(D){}else W.closeSync(Z)}return L}}function U(W){if(c9.hasOwnProperty("O_SYMLINK")&&W.futimes)W.lutimes=function(V,z,Z,w){W.open(V,c9.O_SYMLINK,function(L,D){if(L){if(w)w(L);return}W.futimes(D,z,Z,function(N){W.close(D,function(E){if(w)w(N||E)})})})},W.lutimesSync=function(V,z,Z){var w=W.openSync(V,c9.O_SYMLINK),L,D=!0;try{L=W.futimesSync(w,z,Z),D=!1}finally{if(D)try{W.closeSync(w)}catch(N){}else W.closeSync(w)}return L};else if(W.futimes)W.lutimes=function(V,z,Z,w){if(w)process.nextTick(w)},W.lutimesSync=function(){}}function Y(W){if(!W)return W;return function(V,z,Z){return W.call($,V,z,function(w){if(H(w))w=null;if(Z)Z.apply(this,arguments)})}}function J(W){if(!W)return W;return function(V,z){try{return W.call($,V,z)}catch(Z){if(!H(Z))throw Z}}}function Q(W){if(!W)return W;return function(V,z,Z,w){return W.call($,V,z,Z,function(L){if(H(L))L=null;if(w)w.apply(this,arguments)})}}function K(W){if(!W)return W;return function(V,z,Z){try{return W.call($,V,z,Z)}catch(w){if(!H(w))throw w}}}function q(W){if(!W)return W;return function(V,z,Z){if(typeof z==="function")Z=z,z=null;function w(L,D){if(D){if(D.uid<0)D.uid+=4294967296;if(D.gid<0)D.gid+=4294967296}if(Z)Z.apply(this,arguments)}return z?W.call($,V,z,w):W.call($,V,w)}}function G(W){if(!W)return W;return function(V,z){var Z=z?W.call($,V,z):W.call($,V);if(Z){if(Z.uid<0)Z.uid+=4294967296;if(Z.gid<0)Z.gid+=4294967296}return Z}}function H(W){if(!W)return!0;if(W.code==="ENOSYS")return!0;var V=!process.getuid||process.getuid()!==0;if(V){if(W.code==="EINVAL"||W.code==="EPERM")return!0}return!1}}});var l30=O((UB1,m30)=>{var d30=r("stream").Stream;m30.exports=je0;function je0($){return{ReadStream:I,WriteStream:U};function I(Y,J){if(!(this instanceof I))return new I(Y,J);d30.call(this);var Q=this;this.path=Y,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,J=J||{};var K=Object.keys(J);for(var q=0,G=K.length;qthis.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){Q._read()});return}$.open(this.path,this.flags,this.mode,function(W,V){if(W){Q.emit("error",W),Q.readable=!1;return}Q.fd=V,Q.emit("open",V),Q._read()})}function U(Y,J){if(!(this instanceof U))return new U(Y,J);d30.call(this),this.path=Y,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,J=J||{};var Q=Object.keys(J);for(var K=0,q=Q.length;K= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=$.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var r30=O((YB1,o30)=>{o30.exports=Se0;var _e0=Object.getPrototypeOf||function($){return $.__proto__};function Se0($){if($===null||typeof $!=="object")return $;if($ instanceof Object)var I={__proto__:_e0($)};else var I=Object.create(null);return Object.getOwnPropertyNames($).forEach(function(U){Object.defineProperty(I,U,Object.getOwnPropertyDescriptor($,U))}),I}});var m6=O((JB1,ij)=>{var V4=r("fs"),ge0=c30(),ye0=l30(),he0=r30(),vX=r("util"),Y6,jX;if(typeof Symbol==="function"&&typeof Symbol.for==="function")Y6=Symbol.for("graceful-fs.queue"),jX=Symbol.for("graceful-fs.previous");else Y6="___graceful-fs.queue",jX="___graceful-fs.previous";function xe0(){}function a30($,I){Object.defineProperty($,Y6,{get:function(){return I}})}var O3=xe0;if(vX.debuglog)O3=vX.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))O3=function(){var $=vX.format.apply(vX,arguments);$="GFS4: "+$.split(/\n/).join(` -GFS4: `),console.error($)};if(!V4[Y6]){if(uj=global[Y6]||[],a30(V4,uj),V4.close=function($){function I(U,Y){return $.call(V4,U,function(J){if(!J)t30();if(typeof Y==="function")Y.apply(this,arguments)})}return Object.defineProperty(I,jX,{value:$}),I}(V4.close),V4.closeSync=function($){function I(U){$.apply(V4,arguments),t30()}return Object.defineProperty(I,jX,{value:$}),I}(V4.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){O3(V4[Y6]),r("assert").equal(V4[Y6].length,0)})}var uj;if(!global[Y6])a30(global,V4[Y6]);ij.exports=fj(he0(V4));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!V4.__patched)ij.exports=fj(V4),V4.__patched=!0;function fj($){ge0($),$.gracefulify=fj,$.createReadStream=v,$.createWriteStream=u;var I=$.readFile;$.readFile=U;function U(C,p,n){if(typeof p==="function")n=p,p=null;return S(C,p,n);function S(f,i,Y0,B){return I(f,i,function(k){if(k&&(k.code==="EMFILE"||k.code==="ENFILE"))EY([S,[f,i,Y0],k,B||Date.now(),Date.now()]);else if(typeof Y0==="function")Y0.apply(this,arguments)})}}var Y=$.writeFile;$.writeFile=J;function J(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return Y(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))EY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var Q=$.appendFile;if(Q)$.appendFile=K;function K(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return Q(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))EY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var q=$.copyFile;if(q)$.copyFile=G;function G(C,p,n,S){if(typeof n==="function")S=n,n=0;return f(C,p,n,S);function f(i,Y0,B,k,d){return q(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))EY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var H=$.readdir;$.readdir=V;var W=/^v[0-5]\./;function V(C,p,n){if(typeof p==="function")n=p,p=null;var S=W.test(process.version)?function(Y0,B,k,d){return H(Y0,f(Y0,B,k,d))}:function(Y0,B,k,d){return H(Y0,B,f(Y0,B,k,d))};return S(C,p,n);function f(i,Y0,B,k){return function(d,t){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))EY([S,[i,Y0,B],d,k||Date.now(),Date.now()]);else{if(t&&t.sort)t.sort();if(typeof B==="function")B.call(this,d,t)}}}}if(process.version.substr(0,4)==="v0.8"){var z=ye0($);N=z.ReadStream,T=z.WriteStream}var Z=$.ReadStream;if(Z)N.prototype=Object.create(Z.prototype),N.prototype.open=E;var w=$.WriteStream;if(w)T.prototype=Object.create(w.prototype),T.prototype.open=A;Object.defineProperty($,"ReadStream",{get:function(){return N},set:function(C){N=C},enumerable:!0,configurable:!0}),Object.defineProperty($,"WriteStream",{get:function(){return T},set:function(C){T=C},enumerable:!0,configurable:!0});var L=N;Object.defineProperty($,"FileReadStream",{get:function(){return L},set:function(C){L=C},enumerable:!0,configurable:!0});var D=T;Object.defineProperty($,"FileWriteStream",{get:function(){return D},set:function(C){D=C},enumerable:!0,configurable:!0});function N(C,p){if(this instanceof N)return Z.apply(this,arguments),this;else return N.apply(Object.create(N.prototype),arguments)}function E(){var C=this;b(C.path,C.flags,C.mode,function(p,n){if(p){if(C.autoClose)C.destroy();C.emit("error",p)}else C.fd=n,C.emit("open",n),C.read()})}function T(C,p){if(this instanceof T)return w.apply(this,arguments),this;else return T.apply(Object.create(T.prototype),arguments)}function A(){var C=this;b(C.path,C.flags,C.mode,function(p,n){if(p)C.destroy(),C.emit("error",p);else C.fd=n,C.emit("open",n)})}function v(C,p){return new $.ReadStream(C,p)}function u(C,p){return new $.WriteStream(C,p)}var g=$.open;$.open=b;function b(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return g(i,Y0,B,function(t,K0){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))EY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}return $}function EY($){O3("ENQUEUE",$[0].name,$[1]),V4[Y6].push($),bj()}var CX;function t30(){var $=Date.now();for(var I=0;I2)V4[Y6][I][3]=$,V4[Y6][I][4]=$;bj()}function bj(){if(clearTimeout(CX),CX=void 0,V4[Y6].length===0)return;var $=V4[Y6].shift(),I=$[0],U=$[1],Y=$[2],J=$[3],Q=$[4];if(J===void 0)O3("RETRY",I.name,U),I.apply(null,U);else if(Date.now()-J>=60000){O3("TIMEOUT",I.name,U);var K=U.pop();if(typeof K==="function")K.call(null,Y)}else{var q=Date.now()-Q,G=Math.max(Q-J,1),H=Math.min(G*1.2,100);if(q>=H)O3("RETRY",I.name,U),I.apply(null,U.concat([J]));else V4[Y6].push($)}if(CX===void 0)CX=setTimeout(bj,0)}});var e30=O((QB1,nj)=>{function ke0($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var s30=M4().Buffer,vK=r("util");function ue0($,I,U){$.copy(I,U)}nj.exports=function(){function $(){ke0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return s30.alloc(0);var Y=s30.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)ue0(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(vK&&vK.inspect&&vK.inspect.custom)nj.exports.prototype[vK.inspect.custom]=function(){var $=vK.inspect({length:this.length});return this.constructor.name+" "+$}});var pj=O((KB1,$I0)=>{var _X=F4();function fe0($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)_X.nextTick(SX,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,_X.nextTick(SX,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)_X.nextTick(SX,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,_X.nextTick(SX,U,Q)}else if(I)I(Q)}),this}function be0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function SX($,I){$.emit("error",I)}$I0.exports={destroy:fe0,undestroy:be0}});var dj=O((qB1,GI0)=>{var N3=F4();GI0.exports=T4;function UI0($){var I=this;this.next=null,this.entry=null,this.finish=function(){J01(I,$)}}var ie0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:N3.nextTick,BY;T4.WritableState=jK;var YI0=Object.create(n1());YI0.inherits=p0();var ne0={deprecate:x7()},JI0=r("stream"),yX=M4().Buffer,pe0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ce0($){return yX.from($)}function de0($){return yX.isBuffer($)||$ instanceof pe0}var QI0=pj();YI0.inherits(T4,JI0);function me0(){}function jK($,I){BY=BY||F3(),$=$||{};var U=I instanceof BY;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){ee0(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new UI0(this)}jK.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(jK.prototype,"buffer",{get:ne0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var gX;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")gX=Function.prototype[Symbol.hasInstance],Object.defineProperty(T4,Symbol.hasInstance,{value:function($){if(gX.call(this,$))return!0;if(this!==T4)return!1;return $&&$._writableState instanceof jK}});else gX=function($){return $ instanceof this};function T4($){if(BY=BY||F3(),!gX.call(T4,this)&&!(this instanceof BY))return new T4($);if(this._writableState=new jK($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}JI0.call(this)}T4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function le0($,I){var U=Error("write after end");$.emit("error",U),N3.nextTick(I,U)}function oe0($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),N3.nextTick(Y,Q),J=!1;return J}T4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&de0($);if(Q&&!yX.isBuffer($))$=ce0($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=me0;if(Y.ended)le0(this,U);else if(Q||oe0(this,Y,$,U))Y.pendingcb++,J=te0(this,Y,Q,$,I,U);return J};T4.prototype.cork=function(){var $=this._writableState;$.corked++};T4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)KI0(this,$)}};T4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function re0($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=yX.from(I,U);return I}Object.defineProperty(T4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function te0($,I,U,Y,J,Q){if(!U){var K=re0(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var HI0=F4(),Q01=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};ZI0.exports=P5;var WI0=Object.create(n1());WI0.inherits=p0();var VI0=lj(),mj=dj();WI0.inherits(P5,VI0);{hX=Q01(mj.prototype);for(_K=0;_K{var rj=M4().Buffer,zI0=rj.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function G01($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function H01($){var I=G01($);if(typeof I!=="string"&&(rj.isEncoding===zI0||!zI0($)))throw Error("Unknown encoding: "+$);return I||$}M01.StringDecoder=gK;function gK($){this.encoding=H01($);var I;switch(this.encoding){case"utf16le":this.text=w01,this.end=L01,I=4;break;case"utf8":this.fillLast=Z01,I=4;break;case"base64":this.text=D01,this.end=O01,I=3;break;default:this.write=N01,this.end=F01;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=rj.allocUnsafe(I)}gK.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};gK.prototype.end=X01;gK.prototype.text=z01;gK.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function oj($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function W01($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function V01($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function Z01($){var I=this.lastTotal-this.lastNeed,U=V01(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function z01($,I){var U=W01(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function X01($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function w01($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function L01($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function D01($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function O01($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function N01($){return $.toString(this.encoding)}function F01($){return $&&$.length?this.write($):""}});var lj=O((VB1,EI0)=>{var vY=F4();EI0.exports=t1;var P01=OU(),yK;t1.ReadableState=FI0;var WB1=r("events").EventEmitter,DI0=function($,I){return $.listeners(I).length},I_=r("stream"),hK=M4().Buffer,T01=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function E01($){return hK.from($)}function B01($){return hK.isBuffer($)||$ instanceof T01}var OI0=Object.create(n1());OI0.inherits=p0();var aj=r("util"),P1=void 0;if(aj&&aj.debuglog)P1=aj.debuglog("stream");else P1=function(){};var R01=e30(),NI0=pj(),RY;OI0.inherits(t1,I_);var sj=["error","close","destroy","pause","resume"];function v01($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(P01($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function FI0($,I){yK=yK||F3(),$=$||{};var U=I instanceof yK;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new R01,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!RY)RY=tj().StringDecoder;this.decoder=new RY($.encoding),this.encoding=$.encoding}}function t1($){if(yK=yK||F3(),!(this instanceof t1))return new t1($);if(this._readableState=new FI0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}I_.call(this)}Object.defineProperty(t1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});t1.prototype.destroy=NI0.destroy;t1.prototype._undestroy=NI0.undestroy;t1.prototype._destroy=function($,I){this.push(null),I($)};t1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=hK.from($,I),I="";Y=!0}}else Y=!0;return MI0(this,$,I,!1,Y)};t1.prototype.unshift=function($){return MI0(this,$,null,!0,!1)};function MI0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,S01($,Q);else{var K;if(!J)K=C01(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==hK.prototype)I=E01(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else ej($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)ej($,Q,I,!1);else AI0($,Q);else ej($,Q,I,!1)}else if(!Y)Q.reading=!1}return j01(Q)}function ej($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)xX($)}AI0($,I)}function C01($,I){var U;if(!B01(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function j01($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}t1.prototype.isPaused=function(){return this._readableState.flowing===!1};t1.prototype.setEncoding=function($){if(!RY)RY=tj().StringDecoder;return this._readableState.decoder=new RY($),this._readableState.encoding=$,this};var XI0=8388608;function _01($){if($>=XI0)$=XI0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function wI0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=_01($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}t1.prototype.read=function($){P1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(P1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)$_(this);else xX(this);return null}if($=wI0($,I),$===0&&I.ended){if(I.length===0)$_(this);return null}var Y=I.needReadable;if(P1("need readable",Y),I.length===0||I.length-$0)J=PI0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)$_(this)}if(J!==null)this.emit("data",J);return J};function S01($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,xX($)}function xX($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(P1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)vY.nextTick(LI0,$);else LI0($)}function LI0($){P1("emit readable"),$.emit("readable"),U_($)}function AI0($,I){if(!I.readingMore)I.readingMore=!0,vY.nextTick(g01,$,I)}function g01($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&TI0(Y.pipes,$)!==-1)&&!H)P1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(P1("onerror",N),D(),$.removeListener("error",Z),DI0($,"error")===0)$.emit("error",N)}v01($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){P1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){P1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)P1("pipe resume"),U.resume();return $};function y01($){return function(){var I=$._readableState;if(P1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&DI0($,"data"))I.flowing=!0,U_($)}}t1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=u01($,I.buffer,I.decoder);return U}function u01($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function b01($,I){var U=hK.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function $_($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,vY.nextTick(i01,I,$)}function i01($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function TI0($,I){for(var U=0,Y=$.length;U{vI0.exports=T5;var kX=F3(),RI0=Object.create(n1());RI0.inherits=p0();RI0.inherits(T5,kX);function n01($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{_I0.exports=xK;var CI0=Y_(),jI0=Object.create(n1());jI0.inherits=p0();jI0.inherits(xK,CI0);function xK($){if(!(this instanceof xK))return new xK($);CI0.call(this,$)}xK.prototype._transform=function($,I,U){U(null,$)}});var gI0=O((J6,uX)=>{var _8=r("stream");if(process.env.READABLE_STREAM==="disable"&&_8)uX.exports=_8,J6=uX.exports=_8.Readable,J6.Readable=_8.Readable,J6.Writable=_8.Writable,J6.Duplex=_8.Duplex,J6.Transform=_8.Transform,J6.PassThrough=_8.PassThrough,J6.Stream=_8;else J6=uX.exports=lj(),J6.Stream=_8||J6,J6.Readable=J6,J6.Writable=dj(),J6.Duplex=F3(),J6.Transform=Y_(),J6.PassThrough=SI0()});var hI0=O((XB1,yI0)=>{yI0.exports=gI0().PassThrough});var J_=O((wB1,uI0)=>{var xI0=r("util"),iX=hI0();uI0.exports={Readable:fX,Writable:bX};xI0.inherits(fX,iX);xI0.inherits(bX,iX);function kI0($,I,U){$[I]=function(){return delete $[I],U.apply(this,arguments),this[I].apply(this,arguments)}}function fX($,I){if(!(this instanceof fX))return new fX($,I);iX.call(this,I),kI0(this,"_read",function(){var U=$.call(this,I),Y=this.emit.bind(this,"error");U.on("error",Y),U.pipe(this)}),this.emit("readable")}function bX($,I){if(!(this instanceof bX))return new bX($,I);iX.call(this,I),kI0(this,"_write",function(){var U=$.call(this,I),Y=this.emit.bind(this,"error");U.on("error",Y),this.pipe(U)}),this.emit("writable")}});var nX=O((LB1,fI0)=>{/*! +`+v);let[,c]=y;return c.replace(/\s/g,"").split(m8).map(($0)=>$0.replace(u$,"").trim())}function a6(P,v){var y={};return Object.keys(P).forEach((c)=>{var $0=P[c],U0,q0=Z($0),G0=!q0&&$0.length===1||q0&&$0.length===0;if(Array.isArray($0))U0=[...$0],$0=U0.pop(),y[c]=U0.concat(U0.length>0?Z0:$0);else if(G0)y[c]=$0;else{if(U0=l8($0),$0.length===0&&!q0&&U0.length===0)throw Error("autoInject task functions require explicit parameters.");if(!q0)U0.pop();y[c]=U0.concat(Z0)}function Z0(j0,K1){var D1=U0.map((W1)=>j0[W1]);D1.push(K1),D($0)(...D1)}}),j4(y,v)}class D7{constructor(){this.head=this.tail=null,this.length=0}removeLink(P){if(P.prev)P.prev.next=P.next;else this.head=P.next;if(P.next)P.next.prev=P.prev;else this.tail=P.prev;return P.prev=P.next=null,this.length-=1,P}empty(){while(this.head)this.shift();return this}insertAfter(P,v){if(v.prev=P,v.next=P.next,P.next)P.next.prev=v;else this.tail=v;P.next=v,this.length+=1}insertBefore(P,v){if(v.prev=P.prev,v.next=P,P.prev)P.prev.next=v;else this.head=v;P.prev=v,this.length+=1}unshift(P){if(this.head)this.insertBefore(this.head,P);else s6(this,P)}push(P){if(this.tail)this.insertAfter(this.tail,P);else s6(this,P)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var P=this.head;while(P)yield P.data,P=P.next}remove(P){var v=this.head;while(v){var{next:y}=v;if(P(v))this.removeLink(v);v=y}return this}}function s6(P,v){P.length=1,P.head=P.tail=v}function d5(P,v,y){if(v==null)v=1;else if(v===0)throw RangeError("Concurrency must not be zero");var c=D(P),$0=0,U0=[];let q0={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function G0(h0,R0){q0[h0].push(R0)}function Z0(h0,R0){let x0=(...V1)=>{j0(h0,x0),R0(...V1)};q0[h0].push(x0)}function j0(h0,R0){if(!h0)return Object.keys(q0).forEach((x0)=>q0[x0]=[]);if(!R0)return q0[h0]=[];q0[h0]=q0[h0].filter((x0)=>x0!==R0)}function K1(h0,...R0){q0[h0].forEach((x0)=>x0(...R0))}var D1=!1;function W1(h0,R0,x0,V1){if(V1!=null&&typeof V1!=="function")throw Error("task callback must be a function");O1.started=!0;var U4,u4;function X$(F7,...yJ){if(F7)return x0?u4(F7):U4();if(yJ.length<=1)return U4(yJ[0]);U4(yJ)}var wI=O1._createTaskItem(h0,x0?X$:V1||X$);if(R0)O1._tasks.unshift(wI);else O1._tasks.push(wI);if(!D1)D1=!0,H(()=>{D1=!1,O1.process()});if(x0||!V1)return new Promise((F7,yJ)=>{U4=F7,u4=yJ})}function Z$(h0){return function(R0,...x0){$0-=1;for(var V1=0,U4=h0.length;V10)U0.splice(X$,1);if(u4.callback(R0,...x0),R0!=null)K1("error",R0,u4.data)}if($0<=O1.concurrency-O1.buffer)K1("unsaturated");if(O1.idle())K1("drain");O1.process()}}function VI(h0){if(h0.length===0&&O1.idle())return H(()=>K1("drain")),!0;return!1}let O7=(h0)=>(R0)=>{if(!R0)return new Promise((x0,V1)=>{Z0(h0,(U4,u4)=>{if(U4)return V1(U4);x0(u4)})});j0(h0),G0(h0,R0)};var gJ=!1,O1={_tasks:new D7,_createTaskItem(h0,R0){return{data:h0,callback:R0}},*[Symbol.iterator](){yield*O1._tasks[Symbol.iterator]()},concurrency:v,payload:y,buffer:v/4,started:!1,paused:!1,push(h0,R0){if(Array.isArray(h0)){if(VI(h0))return;return h0.map((x0)=>W1(x0,!1,!1,R0))}return W1(h0,!1,!1,R0)},pushAsync(h0,R0){if(Array.isArray(h0)){if(VI(h0))return;return h0.map((x0)=>W1(x0,!1,!0,R0))}return W1(h0,!1,!0,R0)},kill(){j0(),O1._tasks.empty()},unshift(h0,R0){if(Array.isArray(h0)){if(VI(h0))return;return h0.map((x0)=>W1(x0,!0,!1,R0))}return W1(h0,!0,!1,R0)},unshiftAsync(h0,R0){if(Array.isArray(h0)){if(VI(h0))return;return h0.map((x0)=>W1(x0,!0,!0,R0))}return W1(h0,!0,!0,R0)},remove(h0){O1._tasks.remove(h0)},process(){if(gJ)return;gJ=!0;while(!O1.paused&&$0{$0(v,U0,(Z0,j0)=>{v=j0,G0(Z0)})},(U0)=>c(U0,v))}var M=F(N,4);function j(...P){var v=P.map(D);return function(...y){var c=this,$0=y[y.length-1];if(typeof $0=="function")y.pop();else $0=K4();return M(v,y,(U0,q0,G0)=>{q0.apply(c,U0.concat((Z0,...j0)=>{G0(Z0,j0)}))},(U0,q0)=>$0(U0,...q0)),$0[m0]}}function x(...P){return j(...P.reverse())}function s(P,v,y,c){return T(i(v),P,y,c)}var m=F(s,4);function e(P,v,y,c){var $0=D(y);return m(P,v,(U0,q0)=>{$0(U0,(G0,...Z0)=>{if(G0)return q0(G0);return q0(G0,Z0)})},(U0,q0)=>{var G0=[];for(var Z0=0;Z0{var q0=!1,G0;let Z0=D($0);y(c,(j0,K1,D1)=>{Z0(j0,(W1,Z$)=>{if(W1||W1===!1)return D1(W1);if(P(Z$)&&!G0)return q0=!0,G0=v(!0,j0),D1(null,R);D1()})},(j0)=>{if(j0)return U0(j0);U0(null,q0?G0:v(!1))})}}function V6(P,v,y){return q4((c)=>c,(c,$0)=>$0)(K0,P,v,y)}var m5=F(V6,3);function RJ(P,v,y,c){return q4(($0)=>$0,($0,U0)=>U0)(i(v),P,y,c)}var MG=F(RJ,4);function Dz0(P,v,y){return q4((c)=>c,(c,$0)=>$0)(i(1),P,v,y)}var AG=F(Dz0,3);function fx(P){return(v,...y)=>D(v)(...y,(c,...$0)=>{if(typeof console==="object"){if(c){if(console.error)console.error(c)}else if(console[P])$0.forEach((U0)=>console[P](U0))}})}var bx=fx("dir");function Oz0(P,v,y){y=S(y);var c=D(P),$0=D(v),U0;function q0(Z0,...j0){if(Z0)return y(Z0);if(Z0===!1)return;U0=j0,$0(...j0,G0)}function G0(Z0,j0){if(Z0)return y(Z0);if(Z0===!1)return;if(!j0)return y(null,...U0);c(q0)}return G0(null,!0)}var CJ=F(Oz0,3);function ix(P,v,y){let c=D(v);return CJ(P,(...$0)=>{let U0=$0.pop();c(...$0,(q0,G0)=>U0(q0,!G0))},y)}function nx(P){return(v,y,c)=>P(v,c)}function Fz0(P,v,y){return K0(P,nx(D(v)),y)}var PG=F(Fz0,3);function Nz0(P,v,y,c){return i(v)(P,nx(D(y)),c)}var jJ=F(Nz0,4);function Mz0(P,v,y){return jJ(P,1,v,y)}var _J=F(Mz0,3);function SD(P){if(Z(P))return P;return function(...v){var y=v.pop(),c=!0;v.push((...$0)=>{if(c)H(()=>y(...$0));else y(...$0)}),P.apply(this,v),c=!1}}function Az0(P,v,y){return q4((c)=>!c,(c)=>!c)(K0,P,v,y)}var TG=F(Az0,3);function Pz0(P,v,y,c){return q4(($0)=>!$0,($0)=>!$0)(i(v),P,y,c)}var EG=F(Pz0,4);function Tz0(P,v,y){return q4((c)=>!c,(c)=>!c)(f0,P,v,y)}var BG=F(Tz0,3);function Ez0(P,v,y,c){var $0=Array(v.length);P(v,(U0,q0,G0)=>{y(U0,(Z0,j0)=>{$0[q0]=!!j0,G0(Z0)})},(U0)=>{if(U0)return c(U0);var q0=[];for(var G0=0;G0{y(U0,(Z0,j0)=>{if(Z0)return G0(Z0);if(j0)$0.push({index:q0,value:U0});G0(Z0)})},(U0)=>{if(U0)return c(U0);c(null,$0.sort((q0,G0)=>q0.index-G0.index).map((q0)=>q0.value))})}function vG(P,v,y,c){var $0=A(v)?Ez0:Bz0;return $0(P,v,D(y),c)}function vz0(P,v,y){return vG(K0,P,v,y)}var RG=F(vz0,3);function Rz0(P,v,y,c){return vG(i(v),P,y,c)}var CG=F(Rz0,4);function Cz0(P,v,y){return vG(f0,P,v,y)}var jG=F(Cz0,3);function jz0(P,v){var y=S(v),c=D(SD(P));function $0(U0){if(U0)return y(U0);if(U0===!1)return;c($0)}return $0()}var px=F(jz0,2);function _z0(P,v,y,c){var $0=D(y);return m(P,v,(U0,q0)=>{$0(U0,(G0,Z0)=>{if(G0)return q0(G0);return q0(G0,{key:Z0,val:U0})})},(U0,q0)=>{var G0={},{hasOwnProperty:Z0}=Object.prototype;for(var j0=0;j0{U0(q0,G0,(j0,K1)=>{if(j0)return Z0(j0);$0[G0]=K1,Z0(j0)})},(q0)=>c(q0,$0))}var SG=F(Sz0,4);function lx(P,v,y){return SG(P,1/0,v,y)}function ox(P,v,y){return SG(P,1,v,y)}function rx(P,v=(y)=>y){var y=Object.create(null),c=Object.create(null),$0=D(P),U0=U((q0,G0)=>{var Z0=v(...q0);if(Z0 in y)H(()=>G0(null,...y[Z0]));else if(Z0 in c)c[Z0].push(G0);else c[Z0]=[G0],$0(...q0,(j0,...K1)=>{if(!j0)y[Z0]=K1;var D1=c[Z0];delete c[Z0];for(var W1=0,Z$=D1.length;W1{var c=A(v)?[]:{};P(v,($0,U0,q0)=>{D($0)((G0,...Z0)=>{if(Z0.length<2)[Z0]=Z0;c[U0]=Z0,q0(G0)})},($0)=>y($0,c))},3);function ax(P,v){return gD(K0,P,v)}function sx(P,v,y){return gD(i(v),P,y)}function yD(P,v){var y=D(P);return d5((c,$0)=>{y(c[0],$0)},v,1)}class ex{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(P){let v;while(P>0&&hD(this.heap[P],this.heap[v=$k(P)])){let y=this.heap[P];this.heap[P]=this.heap[v],this.heap[v]=y,P=v}}percDown(P){let v;while((v=gz0(P))=0;y--)this.percDown(y);return this}}function gz0(P){return(P<<1)+1}function $k(P){return(P+1>>1)-1}function hD(P,v){if(P.priority!==v.priority)return P.priority{return{data:q0,priority:G0,callback:Z0}};function U0(q0,G0){if(!Array.isArray(q0))return{data:q0,priority:G0};return q0.map((Z0)=>{return{data:Z0,priority:G0}})}return y.push=function(q0,G0=0,Z0){return c(U0(q0,G0),Z0)},y.pushAsync=function(q0,G0=0,Z0){return $0(U0(q0,G0),Z0)},delete y.unshift,delete y.unshiftAsync,y}function yz0(P,v){if(v=u(v),!Array.isArray(P))return v(TypeError("First argument to race must be an array of functions"));if(!P.length)return v();for(var y=0,c=P.length;y{let G0={};if(U0)G0.error=U0;if(q0.length>0){var Z0=q0;if(q0.length<=1)[Z0]=q0;G0.value=Z0}$0(null,G0)}),v.apply(this,c)})}function Yk(P){var v;if(Array.isArray(P))v=P.map(hG);else v={},Object.keys(P).forEach((y)=>{v[y]=hG.call(this,P[y])});return v}function xD(P,v,y,c){let $0=D(y);return vG(P,v,(U0,q0)=>{$0(U0,(G0,Z0)=>{q0(G0,!Z0)})},c)}function hz0(P,v,y){return xD(K0,P,v,y)}var Jk=F(hz0,3);function xz0(P,v,y,c){return xD(i(v),P,y,c)}var Qk=F(xz0,4);function kz0(P,v,y){return xD(f0,P,v,y)}var Kk=F(kz0,3);function qk(P){return function(){return P}}let kD=5,Gk=0;function xG(P,v,y){var c={times:kD,intervalFunc:qk(Gk)};if(arguments.length<3&&typeof P==="function")y=v||K4(),v=P;else uz0(c,P),y=y||K4();if(typeof v!=="function")throw Error("Invalid arguments for async.retry");var $0=D(v),U0=1;function q0(){$0((G0,...Z0)=>{if(G0===!1)return;if(G0&&U0++{if($0.lengthc)(K0,P,v,y)}var kG=F(fz0,3);function bz0(P,v,y,c){return q4(Boolean,($0)=>$0)(i(v),P,y,c)}var uG=F(bz0,4);function iz0(P,v,y){return q4(Boolean,(c)=>c)(f0,P,v,y)}var fG=F(iz0,3);function nz0(P,v,y){var c=D(v);return A0(P,(U0,q0)=>{c(U0,(G0,Z0)=>{if(G0)return q0(G0);q0(G0,{value:U0,criteria:Z0})})},(U0,q0)=>{if(U0)return y(U0);y(null,q0.sort($0).map((G0)=>G0.value))});function $0(U0,q0){var G0=U0.criteria,Z0=q0.criteria;return G0Z0?1:0}}var Vk=F(nz0,3);function wk(P,v,y){var c=D(P);return U(($0,U0)=>{var q0=!1,G0;function Z0(){var j0=P.name||"anonymous",K1=Error('Callback function "'+j0+'" timed out.');if(K1.code="ETIMEDOUT",y)K1.info=y;q0=!0,U0(K1)}$0.push((...j0)=>{if(!q0)U0(...j0),clearTimeout(G0)}),G0=setTimeout(Z0,v),c(...$0)})}function pz0(P){var v=Array(P);while(P--)v[P]=P;return v}function bG(P,v,y,c){var $0=D(y);return m(pz0(P),v,$0,c)}function Zk(P,v,y){return bG(P,1/0,v,y)}function Xk(P,v,y){return bG(P,1,v,y)}function zk(P,v,y,c){if(arguments.length<=3&&typeof v==="function")c=y,y=v,v=Array.isArray(P)?[]:{};c=u(c||K4());var $0=D(y);return K0(P,(U0,q0,G0)=>{$0(v,U0,q0,G0)},(U0)=>c(U0,v)),c[m0]}function cz0(P,v){var y=null,c;return _J(P,($0,U0)=>{D($0)((q0,...G0)=>{if(q0===!1)return U0(q0);if(G0.length<2)[c]=G0;else c=G0;y=q0,U0(q0?null:{})})},()=>v(y,c))}var Lk=F(cz0);function Dk(P){return(...v)=>{return(P.unmemoized||P)(...v)}}function dz0(P,v,y){y=S(y);var c=D(v),$0=D(P),U0=[];function q0(Z0,...j0){if(Z0)return y(Z0);if(U0=j0,Z0===!1)return;$0(G0)}function G0(Z0,j0){if(Z0)return y(Z0);if(Z0===!1)return;if(!j0)return y(null,...U0);c(q0)}return $0(G0)}var SJ=F(dz0,3);function Ok(P,v,y){let c=D(P);return SJ(($0)=>c((U0,q0)=>$0(U0,!q0)),v,y)}function mz0(P,v){if(v=u(v),!Array.isArray(P))return v(Error("First argument to waterfall must be an array of functions"));if(!P.length)return v();var y=0;function c(U0){var q0=D(P[y++]);q0(...U0,S($0))}function $0(U0,...q0){if(U0===!1)return;if(U0||y===P.length)return v(U0,...q0);c(q0)}c([])}var Fk=F(mz0),lz0={apply:I,applyEach:v0,applyEachSeries:g0,asyncify:W,auto:j4,autoInject:a6,cargo:E0,cargoQueue:a,compose:x,concat:C0,concatLimit:J0,concatSeries:k0,constant:Q1,detect:m5,detectLimit:MG,detectSeries:AG,dir:bx,doUntil:ix,doWhilst:CJ,each:PG,eachLimit:jJ,eachOf:K0,eachOfLimit:B,eachOfSeries:f0,eachSeries:_J,ensureAsync:SD,every:TG,everyLimit:EG,everySeries:BG,filter:RG,filterLimit:CG,filterSeries:jG,forever:px,groupBy:cx,groupByLimit:_G,groupBySeries:dx,log:mx,map:A0,mapLimit:m,mapSeries:F0,mapValues:lx,mapValuesLimit:SG,mapValuesSeries:ox,memoize:rx,nextTick:tx,parallel:ax,parallelLimit:sx,priorityQueue:Ik,queue:yD,race:Uk,reduce:M,reduceRight:yG,reflect:hG,reflectAll:Yk,reject:Jk,rejectLimit:Qk,rejectSeries:Kk,retry:xG,retryable:Hk,seq:j,series:Wk,setImmediate:H,some:kG,someLimit:uG,someSeries:fG,sortBy:Vk,timeout:wk,times:Zk,timesLimit:bG,timesSeries:Xk,transform:zk,tryEach:Lk,unmemoize:Dk,until:Ok,waterfall:Fk,whilst:SJ,all:TG,allLimit:EG,allSeries:BG,any:kG,anyLimit:uG,anySeries:fG,find:m5,findLimit:MG,findSeries:AG,flatMap:C0,flatMapLimit:J0,flatMapSeries:k0,forEach:PG,forEachSeries:_J,forEachLimit:jJ,forEachOf:K0,forEachOfSeries:f0,forEachOfLimit:B,inject:M,foldl:M,foldr:yG,select:RG,selectLimit:CG,selectSeries:jG,wrapSync:W,during:SJ,doDuring:CJ};$.all=TG,$.allLimit=EG,$.allSeries=BG,$.any=kG,$.anyLimit=uG,$.anySeries=fG,$.apply=I,$.applyEach=v0,$.applyEachSeries=g0,$.asyncify=W,$.auto=j4,$.autoInject=a6,$.cargo=E0,$.cargoQueue=a,$.compose=x,$.concat=C0,$.concatLimit=J0,$.concatSeries=k0,$.constant=Q1,$.default=lz0,$.detect=m5,$.detectLimit=MG,$.detectSeries=AG,$.dir=bx,$.doDuring=CJ,$.doUntil=ix,$.doWhilst=CJ,$.during=SJ,$.each=PG,$.eachLimit=jJ,$.eachOf=K0,$.eachOfLimit=B,$.eachOfSeries=f0,$.eachSeries=_J,$.ensureAsync=SD,$.every=TG,$.everyLimit=EG,$.everySeries=BG,$.filter=RG,$.filterLimit=CG,$.filterSeries=jG,$.find=m5,$.findLimit=MG,$.findSeries=AG,$.flatMap=C0,$.flatMapLimit=J0,$.flatMapSeries=k0,$.foldl=M,$.foldr=yG,$.forEach=PG,$.forEachLimit=jJ,$.forEachOf=K0,$.forEachOfLimit=B,$.forEachOfSeries=f0,$.forEachSeries=_J,$.forever=px,$.groupBy=cx,$.groupByLimit=_G,$.groupBySeries=dx,$.inject=M,$.log=mx,$.map=A0,$.mapLimit=m,$.mapSeries=F0,$.mapValues=lx,$.mapValuesLimit=SG,$.mapValuesSeries=ox,$.memoize=rx,$.nextTick=tx,$.parallel=ax,$.parallelLimit=sx,$.priorityQueue=Ik,$.queue=yD,$.race=Uk,$.reduce=M,$.reduceRight=yG,$.reflect=hG,$.reflectAll=Yk,$.reject=Jk,$.rejectLimit=Qk,$.rejectSeries=Kk,$.retry=xG,$.retryable=Hk,$.select=RG,$.selectLimit=CG,$.selectSeries=jG,$.seq=j,$.series=Wk,$.setImmediate=H,$.some=kG,$.someLimit=uG,$.someSeries=fG,$.sortBy=Vk,$.timeout=wk,$.times=Zk,$.timesLimit=bG,$.timesSeries=Xk,$.transform=zk,$.tryEach=Lk,$.unmemoize=Dk,$.until=Ok,$.waterfall=Fk,$.whilst=SJ,$.wrapSync=W,Object.defineProperty($,"__esModule",{value:!0})})});var BI0=O((Kv1,EI0)=>{var m9=r("constants"),F01=process.cwd,yX=null,N01=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!yX)yX=F01.call(process);return yX};try{process.cwd()}catch($){}if(typeof process.chdir==="function"){if(hX=process.chdir,process.chdir=function($){yX=null,hX.call(process,$)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,hX)}var hX;EI0.exports=M01;function M01($){if(m9.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))I($);if(!$.lutimes)U($);if($.chown=Q($.chown),$.fchown=Q($.fchown),$.lchown=Q($.lchown),$.chmod=Y($.chmod),$.fchmod=Y($.fchmod),$.lchmod=Y($.lchmod),$.chownSync=K($.chownSync),$.fchownSync=K($.fchownSync),$.lchownSync=K($.lchownSync),$.chmodSync=J($.chmodSync),$.fchmodSync=J($.fchmodSync),$.lchmodSync=J($.lchmodSync),$.stat=q($.stat),$.fstat=q($.fstat),$.lstat=q($.lstat),$.statSync=G($.statSync),$.fstatSync=G($.fstatSync),$.lstatSync=G($.lstatSync),$.chmod&&!$.lchmod)$.lchmod=function(W,V,w){if(w)process.nextTick(w)},$.lchmodSync=function(){};if($.chown&&!$.lchown)$.lchown=function(W,V,w,Z){if(Z)process.nextTick(Z)},$.lchownSync=function(){};if(N01==="win32")$.rename=typeof $.rename!=="function"?$.rename:function(W){function V(w,Z,z){var L=Date.now(),D=0;W(w,Z,function F(E){if(E&&(E.code==="EACCES"||E.code==="EPERM"||E.code==="EBUSY")&&Date.now()-L<60000){if(setTimeout(function(){$.stat(Z,function(T,A){if(T&&T.code==="ENOENT")W(w,Z,F);else z(E)})},D),D<100)D+=10;return}if(z)z(E)})}if(Object.setPrototypeOf)Object.setPrototypeOf(V,W);return V}($.rename);$.read=typeof $.read!=="function"?$.read:function(W){function V(w,Z,z,L,D,F){var E;if(F&&typeof F==="function"){var T=0;E=function(A,R,u){if(A&&A.code==="EAGAIN"&&T<10)return T++,W.call($,w,Z,z,L,D,E);F.apply(this,arguments)}}return W.call($,w,Z,z,L,D,E)}if(Object.setPrototypeOf)Object.setPrototypeOf(V,W);return V}($.read),$.readSync=typeof $.readSync!=="function"?$.readSync:function(W){return function(V,w,Z,z,L){var D=0;while(!0)try{return W.call($,V,w,Z,z,L)}catch(F){if(F.code==="EAGAIN"&&D<10){D++;continue}throw F}}}($.readSync);function I(W){W.lchmod=function(V,w,Z){W.open(V,m9.O_WRONLY|m9.O_SYMLINK,w,function(z,L){if(z){if(Z)Z(z);return}W.fchmod(L,w,function(D){W.close(L,function(F){if(Z)Z(D||F)})})})},W.lchmodSync=function(V,w){var Z=W.openSync(V,m9.O_WRONLY|m9.O_SYMLINK,w),z=!0,L;try{L=W.fchmodSync(Z,w),z=!1}finally{if(z)try{W.closeSync(Z)}catch(D){}else W.closeSync(Z)}return L}}function U(W){if(m9.hasOwnProperty("O_SYMLINK")&&W.futimes)W.lutimes=function(V,w,Z,z){W.open(V,m9.O_SYMLINK,function(L,D){if(L){if(z)z(L);return}W.futimes(D,w,Z,function(F){W.close(D,function(E){if(z)z(F||E)})})})},W.lutimesSync=function(V,w,Z){var z=W.openSync(V,m9.O_SYMLINK),L,D=!0;try{L=W.futimesSync(z,w,Z),D=!1}finally{if(D)try{W.closeSync(z)}catch(F){}else W.closeSync(z)}return L};else if(W.futimes)W.lutimes=function(V,w,Z,z){if(z)process.nextTick(z)},W.lutimesSync=function(){}}function Y(W){if(!W)return W;return function(V,w,Z){return W.call($,V,w,function(z){if(H(z))z=null;if(Z)Z.apply(this,arguments)})}}function J(W){if(!W)return W;return function(V,w){try{return W.call($,V,w)}catch(Z){if(!H(Z))throw Z}}}function Q(W){if(!W)return W;return function(V,w,Z,z){return W.call($,V,w,Z,function(L){if(H(L))L=null;if(z)z.apply(this,arguments)})}}function K(W){if(!W)return W;return function(V,w,Z){try{return W.call($,V,w,Z)}catch(z){if(!H(z))throw z}}}function q(W){if(!W)return W;return function(V,w,Z){if(typeof w==="function")Z=w,w=null;function z(L,D){if(D){if(D.uid<0)D.uid+=4294967296;if(D.gid<0)D.gid+=4294967296}if(Z)Z.apply(this,arguments)}return w?W.call($,V,w,z):W.call($,V,z)}}function G(W){if(!W)return W;return function(V,w){var Z=w?W.call($,V,w):W.call($,V);if(Z){if(Z.uid<0)Z.uid+=4294967296;if(Z.gid<0)Z.gid+=4294967296}return Z}}function H(W){if(!W)return!0;if(W.code==="ENOSYS")return!0;var V=!process.getuid||process.getuid()!==0;if(V){if(W.code==="EINVAL"||W.code==="EPERM")return!0}return!1}}});var CI0=O((qv1,RI0)=>{var vI0=r("stream").Stream;RI0.exports=A01;function A01($){return{ReadStream:I,WriteStream:U};function I(Y,J){if(!(this instanceof I))return new I(Y,J);vI0.call(this);var Q=this;this.path=Y,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,J=J||{};var K=Object.keys(J);for(var q=0,G=K.length;qthis.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){Q._read()});return}$.open(this.path,this.flags,this.mode,function(W,V){if(W){Q.emit("error",W),Q.readable=!1;return}Q.fd=V,Q.emit("open",V),Q._read()})}function U(Y,J){if(!(this instanceof U))return new U(Y,J);vI0.call(this),this.path=Y,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,J=J||{};var Q=Object.keys(J);for(var K=0,q=Q.length;K= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=$.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var _I0=O((Gv1,jI0)=>{jI0.exports=T01;var P01=Object.getPrototypeOf||function($){return $.__proto__};function T01($){if($===null||typeof $!=="object")return $;if($ instanceof Object)var I={__proto__:P01($)};else var I=Object.create(null);return Object.getOwnPropertyNames($).forEach(function(U){Object.defineProperty(I,U,Object.getOwnPropertyDescriptor($,U))}),I}});var m6=O((Hv1,I_)=>{var V4=r("fs"),E01=BI0(),B01=CI0(),v01=_I0(),xX=r("util"),Y6,uX;if(typeof Symbol==="function"&&typeof Symbol.for==="function")Y6=Symbol.for("graceful-fs.queue"),uX=Symbol.for("graceful-fs.previous");else Y6="___graceful-fs.queue",uX="___graceful-fs.previous";function R01(){}function gI0($,I){Object.defineProperty($,Y6,{get:function(){return I}})}var N3=R01;if(xX.debuglog)N3=xX.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))N3=function(){var $=xX.format.apply(xX,arguments);$="GFS4: "+$.split(/\n/).join(` +GFS4: `),console.error($)};if(!V4[Y6]){if(sj=global[Y6]||[],gI0(V4,sj),V4.close=function($){function I(U,Y){return $.call(V4,U,function(J){if(!J)SI0();if(typeof Y==="function")Y.apply(this,arguments)})}return Object.defineProperty(I,uX,{value:$}),I}(V4.close),V4.closeSync=function($){function I(U){$.apply(V4,arguments),SI0()}return Object.defineProperty(I,uX,{value:$}),I}(V4.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){N3(V4[Y6]),r("assert").equal(V4[Y6].length,0)})}var sj;if(!global[Y6])gI0(global,V4[Y6]);I_.exports=ej(v01(V4));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!V4.__patched)I_.exports=ej(V4),V4.__patched=!0;function ej($){E01($),$.gracefulify=ej,$.createReadStream=R,$.createWriteStream=u;var I=$.readFile;$.readFile=U;function U(C,p,n){if(typeof p==="function")n=p,p=null;return S(C,p,n);function S(f,i,Y0,B){return I(f,i,function(k){if(k&&(k.code==="EMFILE"||k.code==="ENFILE"))vY([S,[f,i,Y0],k,B||Date.now(),Date.now()]);else if(typeof Y0==="function")Y0.apply(this,arguments)})}}var Y=$.writeFile;$.writeFile=J;function J(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return Y(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))vY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var Q=$.appendFile;if(Q)$.appendFile=K;function K(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return Q(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))vY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var q=$.copyFile;if(q)$.copyFile=G;function G(C,p,n,S){if(typeof n==="function")S=n,n=0;return f(C,p,n,S);function f(i,Y0,B,k,d){return q(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))vY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var H=$.readdir;$.readdir=V;var W=/^v[0-5]\./;function V(C,p,n){if(typeof p==="function")n=p,p=null;var S=W.test(process.version)?function(Y0,B,k,d){return H(Y0,f(Y0,B,k,d))}:function(Y0,B,k,d){return H(Y0,B,f(Y0,B,k,d))};return S(C,p,n);function f(i,Y0,B,k){return function(d,t){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))vY([S,[i,Y0,B],d,k||Date.now(),Date.now()]);else{if(t&&t.sort)t.sort();if(typeof B==="function")B.call(this,d,t)}}}}if(process.version.substr(0,4)==="v0.8"){var w=B01($);F=w.ReadStream,T=w.WriteStream}var Z=$.ReadStream;if(Z)F.prototype=Object.create(Z.prototype),F.prototype.open=E;var z=$.WriteStream;if(z)T.prototype=Object.create(z.prototype),T.prototype.open=A;Object.defineProperty($,"ReadStream",{get:function(){return F},set:function(C){F=C},enumerable:!0,configurable:!0}),Object.defineProperty($,"WriteStream",{get:function(){return T},set:function(C){T=C},enumerable:!0,configurable:!0});var L=F;Object.defineProperty($,"FileReadStream",{get:function(){return L},set:function(C){L=C},enumerable:!0,configurable:!0});var D=T;Object.defineProperty($,"FileWriteStream",{get:function(){return D},set:function(C){D=C},enumerable:!0,configurable:!0});function F(C,p){if(this instanceof F)return Z.apply(this,arguments),this;else return F.apply(Object.create(F.prototype),arguments)}function E(){var C=this;b(C.path,C.flags,C.mode,function(p,n){if(p){if(C.autoClose)C.destroy();C.emit("error",p)}else C.fd=n,C.emit("open",n),C.read()})}function T(C,p){if(this instanceof T)return z.apply(this,arguments),this;else return T.apply(Object.create(T.prototype),arguments)}function A(){var C=this;b(C.path,C.flags,C.mode,function(p,n){if(p)C.destroy(),C.emit("error",p);else C.fd=n,C.emit("open",n)})}function R(C,p){return new $.ReadStream(C,p)}function u(C,p){return new $.WriteStream(C,p)}var g=$.open;$.open=b;function b(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return g(i,Y0,B,function(t,K0){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))vY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}return $}function vY($){N3("ENQUEUE",$[0].name,$[1]),V4[Y6].push($),$_()}var kX;function SI0(){var $=Date.now();for(var I=0;I2)V4[Y6][I][3]=$,V4[Y6][I][4]=$;$_()}function $_(){if(clearTimeout(kX),kX=void 0,V4[Y6].length===0)return;var $=V4[Y6].shift(),I=$[0],U=$[1],Y=$[2],J=$[3],Q=$[4];if(J===void 0)N3("RETRY",I.name,U),I.apply(null,U);else if(Date.now()-J>=60000){N3("TIMEOUT",I.name,U);var K=U.pop();if(typeof K==="function")K.call(null,Y)}else{var q=Date.now()-Q,G=Math.max(Q-J,1),H=Math.min(G*1.2,100);if(q>=H)N3("RETRY",I.name,U),I.apply(null,U.concat([J]));else V4[Y6].push($)}if(kX===void 0)kX=setTimeout($_,0)}});var hI0=O((Wv1,U_)=>{function C01($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var yI0=M4().Buffer,SK=r("util");function j01($,I,U){$.copy(I,U)}U_.exports=function(){function $(){C01(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return yI0.alloc(0);var Y=yI0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)j01(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(SK&&SK.inspect&&SK.inspect.custom)U_.exports.prototype[SK.inspect.custom]=function(){var $=SK.inspect({length:this.length});return this.constructor.name+" "+$}});var Y_=O((Vv1,xI0)=>{var fX=N4();function _01($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)fX.nextTick(bX,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,fX.nextTick(bX,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)fX.nextTick(bX,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,fX.nextTick(bX,U,Q)}else if(I)I(Q)}),this}function S01(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function bX($,I){$.emit("error",I)}xI0.exports={destroy:_01,undestroy:S01}});var Q_=O((wv1,cI0)=>{var M3=N4();cI0.exports=T4;function uI0($){var I=this;this.next=null,this.entry=null,this.finish=function(){t01(I,$)}}var g01=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:M3.nextTick,RY;T4.WritableState=yK;var fI0=Object.create(p1());fI0.inherits=p0();var y01={deprecate:u7()},bI0=r("stream"),nX=M4().Buffer,h01=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function x01($){return nX.from($)}function k01($){return nX.isBuffer($)||$ instanceof h01}var iI0=Y_();fI0.inherits(T4,bI0);function u01(){}function yK($,I){RY=RY||A3(),$=$||{};var U=I instanceof RY;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){d01(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new uI0(this)}yK.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(yK.prototype,"buffer",{get:y01.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var iX;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")iX=Function.prototype[Symbol.hasInstance],Object.defineProperty(T4,Symbol.hasInstance,{value:function($){if(iX.call(this,$))return!0;if(this!==T4)return!1;return $&&$._writableState instanceof yK}});else iX=function($){return $ instanceof this};function T4($){if(RY=RY||A3(),!iX.call(T4,this)&&!(this instanceof RY))return new T4($);if(this._writableState=new yK($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}bI0.call(this)}T4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function f01($,I){var U=Error("write after end");$.emit("error",U),M3.nextTick(I,U)}function b01($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),M3.nextTick(Y,Q),J=!1;return J}T4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&k01($);if(Q&&!nX.isBuffer($))$=x01($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=u01;if(Y.ended)f01(this,U);else if(Q||b01(this,Y,$,U))Y.pendingcb++,J=n01(this,Y,Q,$,I,U);return J};T4.prototype.cork=function(){var $=this._writableState;$.corked++};T4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)nI0(this,$)}};T4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function i01($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=nX.from(I,U);return I}Object.defineProperty(T4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function n01($,I,U,Y,J,Q){if(!U){var K=i01(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var dI0=N4(),a01=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};oI0.exports=E5;var mI0=Object.create(p1());mI0.inherits=p0();var lI0=q_(),K_=Q_();mI0.inherits(E5,lI0);{pX=a01(K_.prototype);for(hK=0;hK{var H_=M4().Buffer,rI0=H_.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function $11($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function I11($){var I=$11($);if(typeof I!=="string"&&(H_.isEncoding===rI0||!rI0($)))throw Error("Unknown encoding: "+$);return I||$}Z11.StringDecoder=kK;function kK($){this.encoding=I11($);var I;switch(this.encoding){case"utf16le":this.text=q11,this.end=G11,I=4;break;case"utf8":this.fillLast=J11,I=4;break;case"base64":this.text=H11,this.end=W11,I=3;break;default:this.write=V11,this.end=w11;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=H_.allocUnsafe(I)}kK.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};kK.prototype.end=K11;kK.prototype.text=Q11;kK.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function G_($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function U11($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function Y11($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function J11($){var I=this.lastTotal-this.lastNeed,U=Y11(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function Q11($,I){var U=U11(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function K11($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function q11($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function G11($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function H11($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function W11($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function V11($){return $.toString(this.encoding)}function w11($){return $&&$.length?this.write($):""}});var q_=O((Lv1,qU0)=>{var jY=N4();qU0.exports=a1;var z11=NU(),uK;a1.ReadableState=UU0;var zv1=r("events").EventEmitter,eI0=function($,I){return $.listeners(I).length},z_=r("stream"),fK=M4().Buffer,L11=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function D11($){return fK.from($)}function O11($){return fK.isBuffer($)||$ instanceof L11}var $U0=Object.create(p1());$U0.inherits=p0();var V_=r("util"),P1=void 0;if(V_&&V_.debuglog)P1=V_.debuglog("stream");else P1=function(){};var F11=hI0(),IU0=Y_(),CY;$U0.inherits(a1,z_);var w_=["error","close","destroy","pause","resume"];function N11($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(z11($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function UU0($,I){uK=uK||A3(),$=$||{};var U=I instanceof uK;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new F11,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!CY)CY=W_().StringDecoder;this.decoder=new CY($.encoding),this.encoding=$.encoding}}function a1($){if(uK=uK||A3(),!(this instanceof a1))return new a1($);if(this._readableState=new UU0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}z_.call(this)}Object.defineProperty(a1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});a1.prototype.destroy=IU0.destroy;a1.prototype._undestroy=IU0.undestroy;a1.prototype._destroy=function($,I){this.push(null),I($)};a1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=fK.from($,I),I="";Y=!0}}else Y=!0;return YU0(this,$,I,!1,Y)};a1.prototype.unshift=function($){return YU0(this,$,null,!0,!1)};function YU0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,T11($,Q);else{var K;if(!J)K=M11(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==fK.prototype)I=D11(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Z_($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)Z_($,Q,I,!1);else JU0($,Q);else Z_($,Q,I,!1)}else if(!Y)Q.reading=!1}return A11(Q)}function Z_($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)cX($)}JU0($,I)}function M11($,I){var U;if(!O11(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function A11($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}a1.prototype.isPaused=function(){return this._readableState.flowing===!1};a1.prototype.setEncoding=function($){if(!CY)CY=W_().StringDecoder;return this._readableState.decoder=new CY($),this._readableState.encoding=$,this};var tI0=8388608;function P11($){if($>=tI0)$=tI0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function aI0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=P11($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}a1.prototype.read=function($){P1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(P1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)X_(this);else cX(this);return null}if($=aI0($,I),$===0&&I.ended){if(I.length===0)X_(this);return null}var Y=I.needReadable;if(P1("need readable",Y),I.length===0||I.length-$0)J=QU0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)X_(this)}if(J!==null)this.emit("data",J);return J};function T11($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,cX($)}function cX($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(P1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)jY.nextTick(sI0,$);else sI0($)}function sI0($){P1("emit readable"),$.emit("readable"),L_($)}function JU0($,I){if(!I.readingMore)I.readingMore=!0,jY.nextTick(E11,$,I)}function E11($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&KU0(Y.pipes,$)!==-1)&&!H)P1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(F){if(P1("onerror",F),D(),$.removeListener("error",Z),eI0($,"error")===0)$.emit("error",F)}N11($,"error",Z);function z(){$.removeListener("finish",L),D()}$.once("close",z);function L(){P1("onfinish"),$.removeListener("close",z),D()}$.once("finish",L);function D(){P1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)P1("pipe resume"),U.resume();return $};function B11($){return function(){var I=$._readableState;if(P1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&eI0($,"data"))I.flowing=!0,L_($)}}a1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=j11($,I.buffer,I.decoder);return U}function j11($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function S11($,I){var U=fK.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function X_($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,jY.nextTick(g11,I,$)}function g11($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function KU0($,I){for(var U=0,Y=$.length;U{WU0.exports=B5;var dX=A3(),HU0=Object.create(p1());HU0.inherits=p0();HU0.inherits(B5,dX);function y11($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{ZU0.exports=bK;var VU0=D_(),wU0=Object.create(p1());wU0.inherits=p0();wU0.inherits(bK,VU0);function bK($){if(!(this instanceof bK))return new bK($);VU0.call(this,$)}bK.prototype._transform=function($,I,U){U(null,$)}});var zU0=O((J6,mX)=>{var _8=r("stream");if(process.env.READABLE_STREAM==="disable"&&_8)mX.exports=_8,J6=mX.exports=_8.Readable,J6.Readable=_8.Readable,J6.Writable=_8.Writable,J6.Duplex=_8.Duplex,J6.Transform=_8.Transform,J6.PassThrough=_8.PassThrough,J6.Stream=_8;else J6=mX.exports=q_(),J6.Stream=_8||J6,J6.Readable=J6,J6.Writable=Q_(),J6.Duplex=A3(),J6.Transform=D_(),J6.PassThrough=XU0()});var DU0=O((Fv1,LU0)=>{LU0.exports=zU0().PassThrough});var O_=O((Nv1,NU0)=>{var OU0=r("util"),rX=DU0();NU0.exports={Readable:lX,Writable:oX};OU0.inherits(lX,rX);OU0.inherits(oX,rX);function FU0($,I,U){$[I]=function(){return delete $[I],U.apply(this,arguments),this[I].apply(this,arguments)}}function lX($,I){if(!(this instanceof lX))return new lX($,I);rX.call(this,I),FU0(this,"_read",function(){var U=$.call(this,I),Y=this.emit.bind(this,"error");U.on("error",Y),U.pipe(this)}),this.emit("readable")}function oX($,I){if(!(this instanceof oX))return new oX($,I);rX.call(this,I),FU0(this,"_write",function(){var U=$.call(this,I),Y=this.emit.bind(this,"error");U.on("error",Y),this.pipe(U)}),this.emit("writable")}});var tX=O((Mv1,MU0)=>{/*! * normalize-path * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. - */fI0.exports=function($,I){if(typeof $!=="string")throw TypeError("expected path to be a string");if($==="\\"||$==="/")return"/";var U=$.length;if(U<=1)return $;var Y="";if(U>4&&$[3]==="\\"){var J=$[2];if((J==="?"||J===".")&&$.slice(0,2)==="\\\\")$=$.slice(2),Y="//"}var Q=$.split(/[/\\]+/);if(I!==!1&&Q[Q.length-1]==="")Q.pop();return Y+Q.join("/")}});var G_=O((DB1,mI0)=>{var iI0=9007199254740991,c01="[object Arguments]",d01="[object Function]",m01="[object GeneratorFunction]",l01=/^(?:0|[1-9]\d*)$/;function nI0($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function o01($,I){var U=-1,Y=Array($);while(++U<$)Y[U]=I(U);return Y}var kK=Object.prototype,uK=kK.hasOwnProperty,pI0=kK.toString,r01=kK.propertyIsEnumerable,bI0=Math.max;function t01($,I){var U=K11($)||Q11($)?o01($.length,String):[],Y=U.length,J=!!Y;for(var Q in $)if((I||uK.call($,Q))&&!(J&&(Q=="length"||dI0(Q,Y))))U.push(Q);return U}function a01($,I,U,Y){if($===void 0||Q_($,kK[U])&&!uK.call(Y,U))return I;return $}function s01($,I,U){var Y=$[I];if(!(uK.call($,I)&&Q_(Y,U))||U===void 0&&!(I in $))$[I]=U}function e01($){if(!q_($))return J11($);var I=Y11($),U=[];for(var Y in $)if(!(Y=="constructor"&&(I||!uK.call($,Y))))U.push(Y);return U}function cI0($,I){return I=bI0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=bI0(U.length-I,0),Q=Array(J);while(++Y1?U[J-1]:void 0,K=J>2?U[2]:void 0;if(Q=$.length>3&&typeof Q=="function"?(J--,Q):void 0,K&&U11(U[0],U[1],K))Q=J<3?void 0:Q,J=1;I=Object(I);while(++Y-1&&$%1==0&&$-1&&$%1==0&&$<=iI0}function q_($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function W11($){return!!$&&typeof $=="object"}var V11=I11(function($,I,U,Y){$11(I,z11(I),$,Y)}),Z11=cI0(function($){return $.push(void 0,a01),nI0(V11,void 0,$)});function z11($){return K_($)?t01($,!0):e01($)}mI0.exports=Z11});var oI0=O((OB1,H_)=>{function X11($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var lI0=M4().Buffer,fK=r("util");function w11($,I,U){$.copy(I,U)}H_.exports=function(){function $(){X11(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return lI0.alloc(0);var Y=lI0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)w11(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(fK&&fK.inspect&&fK.inspect.custom)H_.exports.prototype[fK.inspect.custom]=function(){var $=fK.inspect({length:this.length});return this.constructor.name+" "+$}});var W_=O((NB1,rI0)=>{var pX=F4();function L11($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)pX.nextTick(cX,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,pX.nextTick(cX,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)pX.nextTick(cX,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,pX.nextTick(cX,U,Q)}else if(I)I(Q)}),this}function D11(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function cX($,I){$.emit("error",I)}rI0.exports={destroy:L11,undestroy:D11}});var Z_=O((FB1,YU0)=>{var M3=F4();YU0.exports=E4;function aI0($){var I=this;this.next=null,this.entry=null,this.finish=function(){h11(I,$)}}var O11=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:M3.nextTick,CY;E4.WritableState=iK;var sI0=Object.create(n1());sI0.inherits=p0();var N11={deprecate:x7()},eI0=r("stream"),mX=M4().Buffer,F11=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function M11($){return mX.from($)}function A11($){return mX.isBuffer($)||$ instanceof F11}var $U0=W_();sI0.inherits(E4,eI0);function P11(){}function iK($,I){CY=CY||A3(),$=$||{};var U=I instanceof CY;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){j11(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new aI0(this)}iK.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(iK.prototype,"buffer",{get:N11.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var dX;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")dX=Function.prototype[Symbol.hasInstance],Object.defineProperty(E4,Symbol.hasInstance,{value:function($){if(dX.call(this,$))return!0;if(this!==E4)return!1;return $&&$._writableState instanceof iK}});else dX=function($){return $ instanceof this};function E4($){if(CY=CY||A3(),!dX.call(E4,this)&&!(this instanceof CY))return new E4($);if(this._writableState=new iK($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}eI0.call(this)}E4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function T11($,I){var U=Error("write after end");$.emit("error",U),M3.nextTick(I,U)}function E11($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),M3.nextTick(Y,Q),J=!1;return J}E4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&A11($);if(Q&&!mX.isBuffer($))$=M11($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=P11;if(Y.ended)T11(this,U);else if(Q||E11(this,Y,$,U))Y.pendingcb++,J=R11(this,Y,Q,$,I,U);return J};E4.prototype.cork=function(){var $=this._writableState;$.corked++};E4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)IU0(this,$)}};E4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function B11($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=mX.from(I,U);return I}Object.defineProperty(E4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function R11($,I,U,Y,J,Q){if(!U){var K=B11(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var JU0=F4(),x11=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};qU0.exports=E5;var QU0=Object.create(n1());QU0.inherits=p0();var KU0=X_(),z_=Z_();QU0.inherits(E5,KU0);{lX=x11(z_.prototype);for(nK=0;nK{var L_=M4().Buffer,GU0=L_.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function f11($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function b11($){var I=f11($);if(typeof I!=="string"&&(L_.isEncoding===GU0||!GU0($)))throw Error("Unknown encoding: "+$);return I||$}s11.StringDecoder=cK;function cK($){this.encoding=b11($);var I;switch(this.encoding){case"utf16le":this.text=m11,this.end=l11,I=4;break;case"utf8":this.fillLast=p11,I=4;break;case"base64":this.text=o11,this.end=r11,I=3;break;default:this.write=t11,this.end=a11;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=L_.allocUnsafe(I)}cK.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};cK.prototype.end=d11;cK.prototype.text=c11;cK.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function w_($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function i11($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function n11($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function p11($){var I=this.lastTotal-this.lastNeed,U=n11(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function c11($,I){var U=i11(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function d11($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function m11($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function l11($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function o11($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function r11($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function t11($){return $.toString(this.encoding)}function a11($){return $&&$.length?this.write($):""}});var X_=O((TB1,FU0)=>{var _Y=F4();FU0.exports=a1;var $41=OU(),dK;a1.ReadableState=wU0;var PB1=r("events").EventEmitter,ZU0=function($,I){return $.listeners(I).length},A_=r("stream"),mK=M4().Buffer,I41=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function U41($){return mK.from($)}function Y41($){return mK.isBuffer($)||$ instanceof I41}var zU0=Object.create(n1());zU0.inherits=p0();var O_=r("util"),T1=void 0;if(O_&&O_.debuglog)T1=O_.debuglog("stream");else T1=function(){};var J41=oI0(),XU0=W_(),jY;zU0.inherits(a1,A_);var N_=["error","close","destroy","pause","resume"];function Q41($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if($41($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function wU0($,I){dK=dK||A3(),$=$||{};var U=I instanceof dK;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new J41,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!jY)jY=D_().StringDecoder;this.decoder=new jY($.encoding),this.encoding=$.encoding}}function a1($){if(dK=dK||A3(),!(this instanceof a1))return new a1($);if(this._readableState=new wU0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}A_.call(this)}Object.defineProperty(a1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});a1.prototype.destroy=XU0.destroy;a1.prototype._undestroy=XU0.undestroy;a1.prototype._destroy=function($,I){this.push(null),I($)};a1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=mK.from($,I),I="";Y=!0}}else Y=!0;return LU0(this,$,I,!1,Y)};a1.prototype.unshift=function($){return LU0(this,$,null,!0,!1)};function LU0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,H41($,Q);else{var K;if(!J)K=K41(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==mK.prototype)I=U41(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else F_($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)F_($,Q,I,!1);else DU0($,Q);else F_($,Q,I,!1)}else if(!Y)Q.reading=!1}return q41(Q)}function F_($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)oX($)}DU0($,I)}function K41($,I){var U;if(!Y41(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function q41($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}a1.prototype.isPaused=function(){return this._readableState.flowing===!1};a1.prototype.setEncoding=function($){if(!jY)jY=D_().StringDecoder;return this._readableState.decoder=new jY($),this._readableState.encoding=$,this};var HU0=8388608;function G41($){if($>=HU0)$=HU0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function WU0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=G41($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}a1.prototype.read=function($){T1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(T1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)M_(this);else oX(this);return null}if($=WU0($,I),$===0&&I.ended){if(I.length===0)M_(this);return null}var Y=I.needReadable;if(T1("need readable",Y),I.length===0||I.length-$0)J=OU0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)M_(this)}if(J!==null)this.emit("data",J);return J};function H41($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,oX($)}function oX($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(T1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)_Y.nextTick(VU0,$);else VU0($)}function VU0($){T1("emit readable"),$.emit("readable"),P_($)}function DU0($,I){if(!I.readingMore)I.readingMore=!0,_Y.nextTick(W41,$,I)}function W41($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&NU0(Y.pipes,$)!==-1)&&!H)T1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(T1("onerror",N),D(),$.removeListener("error",Z),ZU0($,"error")===0)$.emit("error",N)}Q41($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){T1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){T1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)T1("pipe resume"),U.resume();return $};function V41($){return function(){var I=$._readableState;if(T1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&ZU0($,"data"))I.flowing=!0,P_($)}}a1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=w41($,I.buffer,I.decoder);return U}function w41($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function D41($,I){var U=mK.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function M_($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,_Y.nextTick(O41,I,$)}function O41($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function NU0($,I){for(var U=0,Y=$.length;U{PU0.exports=B5;var rX=A3(),AU0=Object.create(n1());AU0.inherits=p0();AU0.inherits(B5,rX);function N41($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{BU0.exports=lK;var TU0=T_(),EU0=Object.create(n1());EU0.inherits=p0();EU0.inherits(lK,TU0);function lK($){if(!(this instanceof lK))return new lK($);TU0.call(this,$)}lK.prototype._transform=function($,I,U){U(null,$)}});var vU0=O((Q6,tX)=>{var S8=r("stream");if(process.env.READABLE_STREAM==="disable"&&S8)tX.exports=S8,Q6=tX.exports=S8.Readable,Q6.Readable=S8.Readable,Q6.Writable=S8.Writable,Q6.Duplex=S8.Duplex,Q6.Transform=S8.Transform,Q6.PassThrough=S8.PassThrough,Q6.Stream=S8;else Q6=tX.exports=X_(),Q6.Stream=S8||Q6,Q6.Readable=Q6,Q6.Writable=Z_(),Q6.Duplex=A3(),Q6.Transform=T_(),Q6.PassThrough=RU0()});var B_=O((RB1,gU0)=>{var M41=9007199254740991,A41="[object Arguments]",P41="[object Function]",T41="[object GeneratorFunction]",E41=typeof global=="object"&&global&&global.Object===Object&&global,B41=typeof self=="object"&&self&&self.Object===Object&&self,R41=E41||B41||Function("return this")();function v41($,I){var U=-1,Y=I.length,J=$.length;while(++U0&&U(q))if(I>1)SU0(q,I-1,U,Y,J);else v41(J,q);else if(!Y)J[J.length]=q}return J}function _41($){return y41($)||g41($)||!!(jU0&&$&&$[jU0])}function S41($){var I=$?$.length:0;return I?SU0($,1):[]}function g41($){return x41($)&&C41.call($,"callee")&&(!j41.call($,"callee")||_U0.call($)==A41)}var y41=Array.isArray;function h41($){return $!=null&&u41($.length)&&!k41($)}function x41($){return b41($)&&h41($)}function k41($){var I=f41($)?_U0.call($):"";return I==P41||I==T41}function u41($){return typeof $=="number"&&$>-1&&$%1==0&&$<=M41}function f41($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function b41($){return!!$&&typeof $=="object"}gU0.exports=S41});var S_=O((vB1,cU0)=>{var i41=200,C_="__lodash_hash_undefined__",n41=9007199254740991,p41="[object Arguments]",c41="[object Function]",d41="[object GeneratorFunction]",m41=/[\\^$.*+?()[\]{}|]/g,l41=/^\[object .+?Constructor\]$/,o41=typeof global=="object"&&global&&global.Object===Object&&global,r41=typeof self=="object"&&self&&self.Object===Object&&self,j_=o41||r41||Function("return this")();function t41($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function a41($,I){var U=$?$.length:0;return!!U&&U61($,I,0)>-1}function s41($,I,U){var Y=-1,J=$?$.length:0;while(++Y-1}function P61($,I){var U=this.__data__,Y=eX(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}SY.prototype.clear=N61;SY.prototype.delete=F61;SY.prototype.get=M61;SY.prototype.has=A61;SY.prototype.set=P61;function gY($){var I=-1,U=$?$.length:0;this.clear();while(++I=i41)Q=Q61,K=!1,I=new aX(I);$:while(++J0&&U(q))if(I>1)bU0(q,I-1,U,Y,J);else $61(J,q);else if(!Y)J[J.length]=q}return J}function S61($){if(!pU0($)||x61($))return!1;var I=nU0($)||q61($)?W61:l41;return I.test(k61($))}function g61($,I){return I=kU0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=kU0(U.length-I,0),Q=Array(J);while(++Y-1&&$%1==0&&$<=n41}function pU0($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function c61($){return!!$&&typeof $=="object"}cU0.exports=u61});var u_=O((CB1,UY0)=>{var d61=200,h_="__lodash_hash_undefined__",m61=1/0,l61=9007199254740991,o61="[object Arguments]",r61="[object Function]",t61="[object GeneratorFunction]",a61=/[\\^$.*+?()[\]{}|]/g,s61=/^\[object .+?Constructor\]$/,e61=typeof global=="object"&&global&&global.Object===Object&&global,$$1=typeof self=="object"&&self&&self.Object===Object&&self,Uw=e61||$$1||Function("return this")();function I$1($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function U$1($,I){var U=$?$.length:0;return!!U&&K$1($,I,0)>-1}function Y$1($,I,U){var Y=-1,J=$?$.length:0;while(++Y-1}function B$1($,I){var U=this.__data__,Y=Jw(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}yY.prototype.clear=A$1;yY.prototype.delete=P$1;yY.prototype.get=T$1;yY.prototype.has=E$1;yY.prototype.set=B$1;function hY($){var I=-1,U=$?$.length:0;this.clear();while(++I0&&U(q))if(I>1)sU0(q,I-1,U,Y,J);else J$1(J,q);else if(!Y)J[J.length]=q}return J}function y$1($){if(!IY0($)||b$1($))return!1;var I=$Y0($)||W$1($)?z$1:s61;return I.test(i$1($))}function h$1($,I){return I=oU0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=oU0(U.length-I,0),Q=Array(J);while(++Y=d61){var H=I?null:k$1($);if(H)return rU0(H);K=!1,J=G$1,G=new Iw}else G=I?[]:q;$:while(++Y-1&&$%1==0&&$<=l61}function IY0($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function o$1($){return!!$&&typeof $=="object"}function r$1(){}UY0.exports=n$1});var f_=O((jB1,QY0)=>{var t$1="[object Object]";function a$1($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function s$1($,I){return function(U){return $(I(U))}}var e$1=Function.prototype,YY0=Object.prototype,JY0=e$1.toString,$81=YY0.hasOwnProperty,I81=JY0.call(Object),U81=YY0.toString,Y81=s$1(Object.getPrototypeOf,Object);function J81($){return!!$&&typeof $=="object"}function Q81($){if(!J81($)||U81.call($)!=t$1||a$1($))return!1;var I=Y81($);if(I===null)return!0;var U=$81.call(I,"constructor")&&I.constructor;return typeof U=="function"&&U instanceof U&&JY0.call(U)==I81}QY0.exports=Q81});var KY0=O((H81)=>{var E3=r("path"),m9=process.platform==="win32",d9=r("fs"),K81=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function q81(){var $;if(K81){var I=Error();$=U}else $=Y;return $;function U(J){if(J)I.message=J.message,J=I,Y(J)}function Y(J){if(J){if(process.throwDeprecation)throw J;else if(!process.noDeprecation){var Q="fs: missing callback "+(J.stack||J.message);if(process.traceDeprecation)console.trace(Q);else console.error(Q)}}}}function G81($){return typeof $==="function"?$:q81()}var _B1=E3.normalize;if(m9)g8=/(.*?)(?:[\/\\]+|$)/g;else g8=/(.*?)(?:[\/]+|$)/g;var g8;if(m9)xY=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else xY=/^[\/]*/;var xY;H81.realpathSync=function(I,U){if(I=E3.resolve(I),U&&Object.prototype.hasOwnProperty.call(U,I))return U[I];var Y=I,J={},Q={},K,q,G,H;W();function W(){var D=xY.exec(I);if(K=D[0].length,q=D[0],G=D[0],H="",m9&&!Q[G])d9.lstatSync(G),Q[G]=!0}while(K=I.length){if(U)U[J]=I;return Y(null,I)}g8.lastIndex=q;var D=g8.exec(I);if(W=G,G+=D[0],H=W+D[1],q=g8.lastIndex,K[H]||U&&U[H]===H)return process.nextTick(z);if(U&&Object.prototype.hasOwnProperty.call(U,H))return L(U[H]);return d9.lstat(H,Z)}function Z(D,N){if(D)return Y(D);if(!N.isSymbolicLink()){if(K[H]=!0,U)U[H]=H;return process.nextTick(z)}if(!m9){var E=N.dev.toString(32)+":"+N.ino.toString(32);if(Q.hasOwnProperty(E))return w(null,Q[E],H)}d9.stat(H,function(T){if(T)return Y(T);d9.readlink(H,function(A,v){if(!m9)Q[E]=v;w(A,v)})})}function w(D,N,E){if(D)return Y(D);var T=E3.resolve(W,N);if(U)U[E]=T;L(T)}function L(D){I=E3.resolve(D,I.slice(q)),V()}}});var p_=O((gB1,WY0)=>{WY0.exports=l9;l9.realpath=l9;l9.sync=n_;l9.realpathSync=n_;l9.monkeypatch=z81;l9.unmonkeypatch=X81;var kY=r("fs"),b_=kY.realpath,i_=kY.realpathSync,Z81=process.version,qY0=/^v[0-5]\./.test(Z81),GY0=KY0();function HY0($){return $&&$.syscall==="realpath"&&($.code==="ELOOP"||$.code==="ENOMEM"||$.code==="ENAMETOOLONG")}function l9($,I,U){if(qY0)return b_($,I,U);if(typeof I==="function")U=I,I=null;b_($,I,function(Y,J){if(HY0(Y))GY0.realpath($,I,U);else U(Y,J)})}function n_($,I){if(qY0)return i_($,I);try{return i_($,I)}catch(U){if(HY0(U))return GY0.realpathSync($,I);else throw U}}function z81(){kY.realpath=l9,kY.realpathSync=n_}function X81(){kY.realpath=b_,kY.realpathSync=i_}});var ZY0=O((yB1,VY0)=>{VY0.exports=function($,I){var U=[];for(var Y=0;Y<$.length;Y++){var J=I($[Y],Y);if(w81(J))U.push.apply(U,J);else U.push(J)}return U};var w81=Array.isArray||function($){return Object.prototype.toString.call($)==="[object Array]"}});var FY0=O((xB1,NY0)=>{var hB1=ZY0(),zY0=Bj();NY0.exports=F81;var XY0="\x00SLASH"+Math.random()+"\x00",wY0="\x00OPEN"+Math.random()+"\x00",m_="\x00CLOSE"+Math.random()+"\x00",LY0="\x00COMMA"+Math.random()+"\x00",DY0="\x00PERIOD"+Math.random()+"\x00",L81=1e5,D81=4000000;function c_($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function O81($){return $.split("\\\\").join(XY0).split("\\{").join(wY0).split("\\}").join(m_).split("\\,").join(LY0).split("\\.").join(DY0)}function N81($){return $.split(XY0).join("\\").split(wY0).join("{").split(m_).join("}").split(LY0).join(",").split(DY0).join(".")}function OY0($){if(!$)return[""];var I=[],U=zY0("{","}",$);if(!U)return $.split(",");var{pre:Y,body:J,post:Q}=U,K=Y.split(",");K[K.length-1]+="{"+J+"}";var q=OY0(Q);if(Q.length)K[K.length-1]+=q.shift(),K.push.apply(K,q);return I.push.apply(I,K),I}function F81($,I){if(!$)return[];I=I||{};var U=I.max==null?L81:I.max,Y=I.maxLength==null?D81:I.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return d_(O81($),U,Y,!0).map(N81)}function M81($){return"{"+$+"}"}function A81($){return/^-?0\d/.test($)}function P81($,I){return $<=I}function T81($,I){return $>=I}function tK($,I,U,Y,J,Q,K,q){var G=[],H=0;for(var W=0;W<$.length;W++)for(var V=0;V=J)return G;var z=$[W]+U+Y[V];if(K&&z.length===I[W])continue;if(H+z.length>Q)return G;G.push(z),q.push(I[W]),H+=z.length}return G}function E81($,I,U,Y){var J=$.split(/\.\./),Q=[];if(J[0]===void 0||J[1]===void 0)return Q;var K=c_(J[0]),q=c_(J[1]),G=Math.max(J[0].length,J[1].length),H=J.length===3&&J[2]!==void 0?Math.max(Math.abs(c_(J[2])),1):1,W=P81,V=q0){var N=Array(D+1).join("0");if(w<0)L="-"+N+L.slice(1);else L=N+L}}if(Z+L.length>Y)break;Q.push(L),Z+=L.length}return Q}function d_($,I,U,Y){var J=[""],Q=[0],K=!1,q=!0,G;for(;;){var H=zY0("{","}",$);if(!H)return tK(J,Q,$,[""],I,U,K,[]);var W=H.pre;if(/\$$/.test(W))return tK(J,Q,$,[""],I,U,K,[]);var V=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(H.body),z=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(H.body),Z=V||z,w=H.body.indexOf(",")>=0;if(!Z&&!w){if(H.post.match(/,(?!,).*\}/)){$=H.pre+"{"+H.body+m_+H.post,Y=!0,q=!0,K=!1,Q=[];for(var L=0;L=I||A+b.length>U)break $;D.push(b),A+=b.length}}}if(G=[],J=tK(J,Q,W,D,I,U,K&&!H.post.length,G),Q=G,!H.post.length)break;$=H.post}return J}});var Gw=O((kB1,EY0)=>{EY0.exports=K$;K$.Minimatch=B4;var aK=function(){try{return r("path")}catch($){}}()||{sep:"/"};K$.sep=aK.sep;var B3=K$.GLOBSTAR=B4.GLOBSTAR={},B81=FY0(),MY0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},l_="[^/]",o_=l_+"*?",R81="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",v81="(?:(?!(?:\\/|^)\\.).)*?",AY0=C81("().*{}+?[]^$\\!");function C81($){return $.split("").reduce(function(I,U){return I[U]=!0,I},{})}var PY0=/\/+/;K$.filter=j81;function j81($,I){return I=I||{},function(U,Y,J){return K$(U,$,I)}}function o9($,I){I=I||{};var U={};return Object.keys($).forEach(function(Y){U[Y]=$[Y]}),Object.keys(I).forEach(function(Y){U[Y]=I[Y]}),U}K$.defaults=function($){if(!$||typeof $!=="object"||!Object.keys($).length)return K$;var I=K$,U=function(J,Q,K){return I(J,Q,o9($,K))};return U.Minimatch=function(J,Q){return new I.Minimatch(J,o9($,Q))},U.Minimatch.defaults=function(J){return I.defaults(o9($,J)).Minimatch},U.filter=function(J,Q){return I.filter(J,o9($,Q))},U.defaults=function(J){return I.defaults(o9($,J))},U.makeRe=function(J,Q){return I.makeRe(J,o9($,Q))},U.braceExpand=function(J,Q){return I.braceExpand(J,o9($,Q))},U.match=function(Y,J,Q){return I.match(Y,J,o9($,Q))},U};B4.defaults=function($){return K$.defaults($).Minimatch};function K$($,I,U){if(qw(I),!U)U={};if(!U.nocomment&&I.charAt(0)==="#")return!1;return new B4(I,U).match($)}function B4($,I){if(!(this instanceof B4))return new B4($,I);if(qw($),!I)I={};if($=$.trim(),!I.allowWindowsEscape&&aK.sep!=="/")$=$.split(aK.sep).join("/");this.options=I,this.maxGlobstarRecursion=I.maxGlobstarRecursion!==void 0?I.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!I.partial,this.make()}B4.prototype.debug=function(){};B4.prototype.make=_81;function _81(){var $=this.pattern,I=this.options;if(!I.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();var U=this.globSet=this.braceExpand();if(I.debug)this.debug=function(){console.error.apply(console,arguments)};this.debug(this.pattern,U),U=this.globParts=U.map(function(Y){return Y.split(PY0)}),this.debug(this.pattern,U),U=U.map(function(Y,J,Q){return Y.map(this.parse,this)},this),this.debug(this.pattern,U),U=U.filter(function(Y){return Y.indexOf(!1)===-1}),this.debug(this.pattern,U),this.set=U}B4.prototype.parseNegate=S81;function S81(){var $=this.pattern,I=!1,U=this.options,Y=0;if(U.nonegate)return;for(var J=0,Q=$.length;J"u"?this.pattern:$,qw($),I.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return B81($)}var g81=65536,qw=function($){if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>g81)throw TypeError("pattern is too long")};B4.prototype.parse=y81;var Kw={};function y81($,I){qw($);var U=this.options;if($==="**")if(!U.noglobstar)return B3;else $="*";if($==="")return"";var Y="",J=!!U.nocase,Q=!1,K=[],q=[],G,H=!1,W=-1,V=-1,z=$.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",Z=this;function w(){if(G){switch(G){case"*":Y+=o_,J=!0;break;case"?":Y+=l_,J=!0;break;default:Y+="\\"+G;break}Z.debug("clearStateChar %j %j",G,Y),G=!1}}for(var L=0,D=$.length,N;L-1;b--){var C=q[b],p=Y.slice(0,C.reStart),n=Y.slice(C.reStart,C.reEnd-8),S=Y.slice(C.reEnd-8,C.reEnd),f=Y.slice(C.reEnd);S+=f;var i=p.split("(").length-1,Y0=f;for(L=0;L"u")U=this.partial;if(this.debug("match",I,this.pattern),this.comment)return!1;if(this.empty)return I==="";if(I==="/"&&U)return!0;var Y=this.options;if(aK.sep!=="/")I=I.split(aK.sep).join("/");I=I.split(PY0),this.debug(this.pattern,"split",I);var J=this.set;this.debug(this.pattern,"set",J);var Q,K;for(K=I.length-1;K>=0;K--)if(Q=I[K],Q)break;for(K=0;K=0;Q--)if(I[Q]===B3){q=Q;break}var G=I.slice(J,K),H=U?I.slice(K+1):I.slice(K+1,q),W=U?[]:I.slice(q+1);if(G.length){var V=$.slice(Y,Y+G.length);if(!this._matchOne(V,G,U,0,0))return!1;Y+=G.length}var z=0;if(W.length){if(W.length+Y>$.length)return!1;var Z=$.length-W.length;if(this._matchOne($,W,U,Z,0))z=W.length;else{if($[$.length-1]!==""||Y+W.length===$.length)return!1;if(Z--,!this._matchOne($,W,U,Z,0))return!1;z=W.length+1}}if(!H.length){var w=!!z;for(Q=Y;Q<$.length-z;Q++){var L=String($[Q]);if(w=!0,L==="."||L===".."||!this.options.dot&&L.charAt(0)===".")return!1}return U||w}var D=[[[],0]],N=D[0],E=0,T=[0];for(var A=0;A{function BY0($){return $.charAt(0)==="/"}function RY0($){var I=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,U=I.exec($),Y=U[1]||"",J=Boolean(Y&&Y.charAt(1)!==":");return Boolean(U[2]||J)}Hw.exports=process.platform==="win32"?RY0:BY0;Hw.exports.posix=BY0;Hw.exports.win32=RY0});var t_=O((l81)=>{l81.setopts=p81;l81.ownProp=vY0;l81.makeAbs=sK;l81.finish=c81;l81.mark=d81;l81.isIgnored=jY0;l81.childrenIgnored=m81;function vY0($,I){return Object.prototype.hasOwnProperty.call($,I)}var u81=r("fs"),uY=r("path"),f81=Gw(),CY0=Ww(),r_=f81.Minimatch;function b81($,I){return $.localeCompare(I,"en")}function i81($,I){if($.ignore=I.ignore||[],!Array.isArray($.ignore))$.ignore=[$.ignore];if($.ignore.length)$.ignore=$.ignore.map(n81)}function n81($){var I=null;if($.slice(-3)==="/**"){var U=$.replace(/(\/\*\*)+$/,"");I=new r_(U,{dot:!0})}return{matcher:new r_($,{dot:!0}),gmatcher:I}}function p81($,I,U){if(!U)U={};if(U.matchBase&&I.indexOf("/")===-1){if(U.noglobstar)throw Error("base matching requires globstar");I="**/"+I}if($.silent=!!U.silent,$.pattern=I,$.strict=U.strict!==!1,$.realpath=!!U.realpath,$.realpathCache=U.realpathCache||Object.create(null),$.follow=!!U.follow,$.dot=!!U.dot,$.mark=!!U.mark,$.nodir=!!U.nodir,$.nodir)$.mark=!0;$.sync=!!U.sync,$.nounique=!!U.nounique,$.nonull=!!U.nonull,$.nosort=!!U.nosort,$.nocase=!!U.nocase,$.stat=!!U.stat,$.noprocess=!!U.noprocess,$.absolute=!!U.absolute,$.fs=U.fs||u81,$.maxLength=U.maxLength||1/0,$.cache=U.cache||Object.create(null),$.statCache=U.statCache||Object.create(null),$.symlinks=U.symlinks||Object.create(null),i81($,U),$.changedCwd=!1;var Y=process.cwd();if(!vY0(U,"cwd"))$.cwd=Y;else $.cwd=uY.resolve(U.cwd),$.changedCwd=$.cwd!==Y;if($.root=U.root||uY.resolve($.cwd,"/"),$.root=uY.resolve($.root),process.platform==="win32")$.root=$.root.replace(/\\/g,"/");if($.cwdAbs=CY0($.cwd)?$.cwd:sK($,$.cwd),process.platform==="win32")$.cwdAbs=$.cwdAbs.replace(/\\/g,"/");$.nomount=!!U.nomount,U.nonegate=!0,U.nocomment=!0,U.allowWindowsEscape=!1,$.minimatch=new r_(I,U),$.options=$.minimatch.options}function c81($){var I=$.nounique,U=I?[]:Object.create(null);for(var Y=0,J=$.matches.length;Y{yY0.exports=gY0;gY0.GlobSync=y4;var I51=p_(),_Y0=Gw(),bB1=_Y0.Minimatch,iB1=eK().Glob,nB1=r("util"),a_=r("path"),SY0=r("assert"),Vw=Ww(),R3=t_(),U51=R3.setopts,s_=R3.ownProp,Y51=R3.childrenIgnored,J51=R3.isIgnored;function gY0($,I){if(typeof I==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob + */MU0.exports=function($,I){if(typeof $!=="string")throw TypeError("expected path to be a string");if($==="\\"||$==="/")return"/";var U=$.length;if(U<=1)return $;var Y="";if(U>4&&$[3]==="\\"){var J=$[2];if((J==="?"||J===".")&&$.slice(0,2)==="\\\\")$=$.slice(2),Y="//"}var Q=$.split(/[/\\]+/);if(I!==!1&&Q[Q.length-1]==="")Q.pop();return Y+Q.join("/")}});var A_=O((Av1,RU0)=>{var PU0=9007199254740991,x11="[object Arguments]",k11="[object Function]",u11="[object GeneratorFunction]",f11=/^(?:0|[1-9]\d*)$/;function TU0($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function b11($,I){var U=-1,Y=Array($);while(++U<$)Y[U]=I(U);return Y}var iK=Object.prototype,nK=iK.hasOwnProperty,EU0=iK.toString,i11=iK.propertyIsEnumerable,AU0=Math.max;function n11($,I){var U=s11($)||a11($)?b11($.length,String):[],Y=U.length,J=!!Y;for(var Q in $)if((I||nK.call($,Q))&&!(J&&(Q=="length"||vU0(Q,Y))))U.push(Q);return U}function p11($,I,U,Y){if($===void 0||F_($,iK[U])&&!nK.call(Y,U))return I;return $}function c11($,I,U){var Y=$[I];if(!(nK.call($,I)&&F_(Y,U))||U===void 0&&!(I in $))$[I]=U}function d11($){if(!M_($))return t11($);var I=r11($),U=[];for(var Y in $)if(!(Y=="constructor"&&(I||!nK.call($,Y))))U.push(Y);return U}function BU0($,I){return I=AU0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=AU0(U.length-I,0),Q=Array(J);while(++Y1?U[J-1]:void 0,K=J>2?U[2]:void 0;if(Q=$.length>3&&typeof Q=="function"?(J--,Q):void 0,K&&o11(U[0],U[1],K))Q=J<3?void 0:Q,J=1;I=Object(I);while(++Y-1&&$%1==0&&$-1&&$%1==0&&$<=PU0}function M_($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function U41($){return!!$&&typeof $=="object"}var Y41=l11(function($,I,U,Y){m11(I,Q41(I),$,Y)}),J41=BU0(function($){return $.push(void 0,p11),TU0(Y41,void 0,$)});function Q41($){return N_($)?n11($,!0):d11($)}RU0.exports=J41});var jU0=O((Pv1,P_)=>{function K41($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var CU0=M4().Buffer,pK=r("util");function q41($,I,U){$.copy(I,U)}P_.exports=function(){function $(){K41(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return CU0.alloc(0);var Y=CU0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)q41(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(pK&&pK.inspect&&pK.inspect.custom)P_.exports.prototype[pK.inspect.custom]=function(){var $=pK.inspect({length:this.length});return this.constructor.name+" "+$}});var T_=O((Tv1,_U0)=>{var aX=N4();function G41($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)aX.nextTick(sX,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,aX.nextTick(sX,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)aX.nextTick(sX,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,aX.nextTick(sX,U,Q)}else if(I)I(Q)}),this}function H41(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function sX($,I){$.emit("error",I)}_U0.exports={destroy:G41,undestroy:H41}});var B_=O((Ev1,fU0)=>{var P3=N4();fU0.exports=E4;function gU0($){var I=this;this.next=null,this.entry=null,this.finish=function(){v41(I,$)}}var W41=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:P3.nextTick,_Y;E4.WritableState=dK;var yU0=Object.create(p1());yU0.inherits=p0();var V41={deprecate:u7()},hU0=r("stream"),$z=M4().Buffer,w41=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Z41($){return $z.from($)}function X41($){return $z.isBuffer($)||$ instanceof w41}var xU0=T_();yU0.inherits(E4,hU0);function z41(){}function dK($,I){_Y=_Y||T3(),$=$||{};var U=I instanceof _Y;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){A41(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new gU0(this)}dK.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(dK.prototype,"buffer",{get:V41.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var eX;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")eX=Function.prototype[Symbol.hasInstance],Object.defineProperty(E4,Symbol.hasInstance,{value:function($){if(eX.call(this,$))return!0;if(this!==E4)return!1;return $&&$._writableState instanceof dK}});else eX=function($){return $ instanceof this};function E4($){if(_Y=_Y||T3(),!eX.call(E4,this)&&!(this instanceof _Y))return new E4($);if(this._writableState=new dK($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}hU0.call(this)}E4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function L41($,I){var U=Error("write after end");$.emit("error",U),P3.nextTick(I,U)}function D41($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),P3.nextTick(Y,Q),J=!1;return J}E4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&X41($);if(Q&&!$z.isBuffer($))$=Z41($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=z41;if(Y.ended)L41(this,U);else if(Q||D41(this,Y,$,U))Y.pendingcb++,J=F41(this,Y,Q,$,I,U);return J};E4.prototype.cork=function(){var $=this._writableState;$.corked++};E4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)kU0(this,$)}};E4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function O41($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=$z.from(I,U);return I}Object.defineProperty(E4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function F41($,I,U,Y,J,Q){if(!U){var K=O41(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var bU0=N4(),R41=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};pU0.exports=v5;var iU0=Object.create(p1());iU0.inherits=p0();var nU0=R_(),v_=B_();iU0.inherits(v5,nU0);{Iz=R41(v_.prototype);for(mK=0;mK{var j_=M4().Buffer,cU0=j_.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _41($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function S41($){var I=_41($);if(typeof I!=="string"&&(j_.isEncoding===cU0||!cU0($)))throw Error("Unknown encoding: "+$);return I||$}c41.StringDecoder=oK;function oK($){this.encoding=S41($);var I;switch(this.encoding){case"utf16le":this.text=u41,this.end=f41,I=4;break;case"utf8":this.fillLast=h41,I=4;break;case"base64":this.text=b41,this.end=i41,I=3;break;default:this.write=n41,this.end=p41;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=j_.allocUnsafe(I)}oK.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};oK.prototype.end=k41;oK.prototype.text=x41;oK.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function C_($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function g41($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function y41($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function h41($){var I=this.lastTotal-this.lastNeed,U=y41(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function x41($,I){var U=g41(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function k41($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function u41($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function f41($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function b41($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function i41($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function n41($){return $.toString(this.encoding)}function p41($){return $&&$.length?this.write($):""}});var R_=O((Cv1,UY0)=>{var gY=N4();UY0.exports=s1;var m41=NU(),rK;s1.ReadableState=aU0;var Rv1=r("events").EventEmitter,oU0=function($,I){return $.listeners(I).length},x_=r("stream"),tK=M4().Buffer,l41=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o41($){return tK.from($)}function r41($){return tK.isBuffer($)||$ instanceof l41}var rU0=Object.create(p1());rU0.inherits=p0();var S_=r("util"),T1=void 0;if(S_&&S_.debuglog)T1=S_.debuglog("stream");else T1=function(){};var t41=jU0(),tU0=T_(),SY;rU0.inherits(s1,x_);var g_=["error","close","destroy","pause","resume"];function a41($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(m41($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function aU0($,I){rK=rK||T3(),$=$||{};var U=I instanceof rK;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new t41,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!SY)SY=__().StringDecoder;this.decoder=new SY($.encoding),this.encoding=$.encoding}}function s1($){if(rK=rK||T3(),!(this instanceof s1))return new s1($);if(this._readableState=new aU0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}x_.call(this)}Object.defineProperty(s1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});s1.prototype.destroy=tU0.destroy;s1.prototype._undestroy=tU0.undestroy;s1.prototype._destroy=function($,I){this.push(null),I($)};s1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=tK.from($,I),I="";Y=!0}}else Y=!0;return sU0(this,$,I,!1,Y)};s1.prototype.unshift=function($){return sU0(this,$,null,!0,!1)};function sU0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,I61($,Q);else{var K;if(!J)K=s41(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==tK.prototype)I=o41(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else y_($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)y_($,Q,I,!1);else eU0($,Q);else y_($,Q,I,!1)}else if(!Y)Q.reading=!1}return e41(Q)}function y_($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)Uz($)}eU0($,I)}function s41($,I){var U;if(!r41(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function e41($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}s1.prototype.isPaused=function(){return this._readableState.flowing===!1};s1.prototype.setEncoding=function($){if(!SY)SY=__().StringDecoder;return this._readableState.decoder=new SY($),this._readableState.encoding=$,this};var dU0=8388608;function $61($){if($>=dU0)$=dU0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function mU0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=$61($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}s1.prototype.read=function($){T1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(T1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)h_(this);else Uz(this);return null}if($=mU0($,I),$===0&&I.ended){if(I.length===0)h_(this);return null}var Y=I.needReadable;if(T1("need readable",Y),I.length===0||I.length-$0)J=$Y0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)h_(this)}if(J!==null)this.emit("data",J);return J};function I61($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,Uz($)}function Uz($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(T1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)gY.nextTick(lU0,$);else lU0($)}function lU0($){T1("emit readable"),$.emit("readable"),k_($)}function eU0($,I){if(!I.readingMore)I.readingMore=!0,gY.nextTick(U61,$,I)}function U61($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&IY0(Y.pipes,$)!==-1)&&!H)T1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(F){if(T1("onerror",F),D(),$.removeListener("error",Z),oU0($,"error")===0)$.emit("error",F)}a41($,"error",Z);function z(){$.removeListener("finish",L),D()}$.once("close",z);function L(){T1("onfinish"),$.removeListener("close",z),D()}$.once("finish",L);function D(){T1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)T1("pipe resume"),U.resume();return $};function Y61($){return function(){var I=$._readableState;if(T1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&oU0($,"data"))I.flowing=!0,k_($)}}s1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=q61($,I.buffer,I.decoder);return U}function q61($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function H61($,I){var U=tK.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function h_($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,gY.nextTick(W61,I,$)}function W61($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function IY0($,I){for(var U=0,Y=$.length;U{QY0.exports=R5;var Yz=T3(),JY0=Object.create(p1());JY0.inherits=p0();JY0.inherits(R5,Yz);function V61($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{GY0.exports=aK;var KY0=u_(),qY0=Object.create(p1());qY0.inherits=p0();qY0.inherits(aK,KY0);function aK($){if(!(this instanceof aK))return new aK($);KY0.call(this,$)}aK.prototype._transform=function($,I,U){U(null,$)}});var WY0=O((Q6,Jz)=>{var S8=r("stream");if(process.env.READABLE_STREAM==="disable"&&S8)Jz.exports=S8,Q6=Jz.exports=S8.Readable,Q6.Readable=S8.Readable,Q6.Writable=S8.Writable,Q6.Duplex=S8.Duplex,Q6.Transform=S8.Transform,Q6.PassThrough=S8.PassThrough,Q6.Stream=S8;else Q6=Jz.exports=R_(),Q6.Stream=S8||Q6,Q6.Readable=Q6,Q6.Writable=B_(),Q6.Duplex=T3(),Q6.Transform=u_(),Q6.PassThrough=HY0()});var b_=O((Sv1,zY0)=>{var Z61=9007199254740991,X61="[object Arguments]",z61="[object Function]",L61="[object GeneratorFunction]",D61=typeof global=="object"&&global&&global.Object===Object&&global,O61=typeof self=="object"&&self&&self.Object===Object&&self,F61=D61||O61||Function("return this")();function N61($,I){var U=-1,Y=I.length,J=$.length;while(++U0&&U(q))if(I>1)XY0(q,I-1,U,Y,J);else N61(J,q);else if(!Y)J[J.length]=q}return J}function P61($){return B61($)||E61($)||!!(wY0&&$&&$[wY0])}function T61($){var I=$?$.length:0;return I?XY0($,1):[]}function E61($){return R61($)&&M61.call($,"callee")&&(!A61.call($,"callee")||ZY0.call($)==X61)}var B61=Array.isArray;function v61($){return $!=null&&j61($.length)&&!C61($)}function R61($){return S61($)&&v61($)}function C61($){var I=_61($)?ZY0.call($):"";return I==z61||I==L61}function j61($){return typeof $=="number"&&$>-1&&$%1==0&&$<=Z61}function _61($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function S61($){return!!$&&typeof $=="object"}zY0.exports=T61});var m_=O((gv1,BY0)=>{var g61=200,p_="__lodash_hash_undefined__",y61=9007199254740991,h61="[object Arguments]",x61="[object Function]",k61="[object GeneratorFunction]",u61=/[\\^$.*+?()[\]{}|]/g,f61=/^\[object .+?Constructor\]$/,b61=typeof global=="object"&&global&&global.Object===Object&&global,i61=typeof self=="object"&&self&&self.Object===Object&&self,c_=b61||i61||Function("return this")();function n61($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function p61($,I){var U=$?$.length:0;return!!U&&o61($,I,0)>-1}function c61($,I,U){var Y=-1,J=$?$.length:0;while(++Y-1}function z$1($,I){var U=this.__data__,Y=qz(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}yY.prototype.clear=V$1;yY.prototype.delete=w$1;yY.prototype.get=Z$1;yY.prototype.has=X$1;yY.prototype.set=z$1;function hY($){var I=-1,U=$?$.length:0;this.clear();while(++I=g61)Q=a61,K=!1,I=new Qz(I);$:while(++J0&&U(q))if(I>1)AY0(q,I-1,U,Y,J);else m61(J,q);else if(!Y)J[J.length]=q}return J}function T$1($){if(!EY0($)||R$1($))return!1;var I=TY0($)||e61($)?U$1:f61;return I.test(C$1($))}function E$1($,I){return I=FY0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=FY0(U.length-I,0),Q=Array(J);while(++Y-1&&$%1==0&&$<=y61}function EY0($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function x$1($){return!!$&&typeof $=="object"}BY0.exports=j$1});var s_=O((yv1,uY0)=>{var k$1=200,r_="__lodash_hash_undefined__",u$1=1/0,f$1=9007199254740991,b$1="[object Arguments]",i$1="[object Function]",n$1="[object GeneratorFunction]",p$1=/[\\^$.*+?()[\]{}|]/g,c$1=/^\[object .+?Constructor\]$/,d$1=typeof global=="object"&&global&&global.Object===Object&&global,m$1=typeof self=="object"&&self&&self.Object===Object&&self,Wz=d$1||m$1||Function("return this")();function l$1($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function o$1($,I){var U=$?$.length:0;return!!U&&s$1($,I,0)>-1}function r$1($,I,U){var Y=-1,J=$?$.length:0;while(++Y-1}function O81($,I){var U=this.__data__,Y=wz(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}xY.prototype.clear=X81;xY.prototype.delete=z81;xY.prototype.get=L81;xY.prototype.has=D81;xY.prototype.set=O81;function kY($){var I=-1,U=$?$.length:0;this.clear();while(++I0&&U(q))if(I>1)yY0(q,I-1,U,Y,J);else t$1(J,q);else if(!Y)J[J.length]=q}return J}function B81($){if(!kY0($)||S81($))return!1;var I=xY0($)||U81($)?Q81:c$1;return I.test(g81($))}function v81($,I){return I=jY0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=jY0(U.length-I,0),Q=Array(J);while(++Y=k$1){var H=I?null:C81($);if(H)return _Y0(H);K=!1,J=$81,G=new Hz}else G=I?[]:q;$:while(++Y-1&&$%1==0&&$<=f$1}function kY0($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function b81($){return!!$&&typeof $=="object"}function i81(){}uY0.exports=y81});var e_=O((hv1,iY0)=>{var n81="[object Object]";function p81($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function c81($,I){return function(U){return $(I(U))}}var d81=Function.prototype,fY0=Object.prototype,bY0=d81.toString,m81=fY0.hasOwnProperty,l81=bY0.call(Object),o81=fY0.toString,r81=c81(Object.getPrototypeOf,Object);function t81($){return!!$&&typeof $=="object"}function a81($){if(!t81($)||o81.call($)!=n81||p81($))return!1;var I=r81($);if(I===null)return!0;var U=m81.call(I,"constructor")&&I.constructor;return typeof U=="function"&&U instanceof U&&bY0.call(U)==l81}iY0.exports=a81});var nY0=O((I51)=>{var v3=r("path"),o9=process.platform==="win32",l9=r("fs"),s81=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function e81(){var $;if(s81){var I=Error();$=U}else $=Y;return $;function U(J){if(J)I.message=J.message,J=I,Y(J)}function Y(J){if(J){if(process.throwDeprecation)throw J;else if(!process.noDeprecation){var Q="fs: missing callback "+(J.stack||J.message);if(process.traceDeprecation)console.trace(Q);else console.error(Q)}}}}function $51($){return typeof $==="function"?$:e81()}var xv1=v3.normalize;if(o9)g8=/(.*?)(?:[\/\\]+|$)/g;else g8=/(.*?)(?:[\/]+|$)/g;var g8;if(o9)uY=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else uY=/^[\/]*/;var uY;I51.realpathSync=function(I,U){if(I=v3.resolve(I),U&&Object.prototype.hasOwnProperty.call(U,I))return U[I];var Y=I,J={},Q={},K,q,G,H;W();function W(){var D=uY.exec(I);if(K=D[0].length,q=D[0],G=D[0],H="",o9&&!Q[G])l9.lstatSync(G),Q[G]=!0}while(K=I.length){if(U)U[J]=I;return Y(null,I)}g8.lastIndex=q;var D=g8.exec(I);if(W=G,G+=D[0],H=W+D[1],q=g8.lastIndex,K[H]||U&&U[H]===H)return process.nextTick(w);if(U&&Object.prototype.hasOwnProperty.call(U,H))return L(U[H]);return l9.lstat(H,Z)}function Z(D,F){if(D)return Y(D);if(!F.isSymbolicLink()){if(K[H]=!0,U)U[H]=H;return process.nextTick(w)}if(!o9){var E=F.dev.toString(32)+":"+F.ino.toString(32);if(Q.hasOwnProperty(E))return z(null,Q[E],H)}l9.stat(H,function(T){if(T)return Y(T);l9.readlink(H,function(A,R){if(!o9)Q[E]=R;z(A,R)})})}function z(D,F,E){if(D)return Y(D);var T=v3.resolve(W,F);if(U)U[E]=T;L(T)}function L(D){I=v3.resolve(D,I.slice(q)),V()}}});var YS=O((uv1,mY0)=>{mY0.exports=r9;r9.realpath=r9;r9.sync=US;r9.realpathSync=US;r9.monkeypatch=Q51;r9.unmonkeypatch=K51;var fY=r("fs"),$S=fY.realpath,IS=fY.realpathSync,J51=process.version,pY0=/^v[0-5]\./.test(J51),cY0=nY0();function dY0($){return $&&$.syscall==="realpath"&&($.code==="ELOOP"||$.code==="ENOMEM"||$.code==="ENAMETOOLONG")}function r9($,I,U){if(pY0)return $S($,I,U);if(typeof I==="function")U=I,I=null;$S($,I,function(Y,J){if(dY0(Y))cY0.realpath($,I,U);else U(Y,J)})}function US($,I){if(pY0)return IS($,I);try{return IS($,I)}catch(U){if(dY0(U))return cY0.realpathSync($,I);else throw U}}function Q51(){fY.realpath=r9,fY.realpathSync=US}function K51(){fY.realpath=$S,fY.realpathSync=IS}});var oY0=O((fv1,lY0)=>{lY0.exports=function($,I){var U=[];for(var Y=0;Y<$.length;Y++){var J=I($[Y],Y);if(q51(J))U.push.apply(U,J);else U.push(J)}return U};var q51=Array.isArray||function($){return Object.prototype.toString.call($)==="[object Array]"}});var UJ0=O((iv1,IJ0)=>{var bv1=oY0(),rY0=bj();IJ0.exports=w51;var tY0="\x00SLASH"+Math.random()+"\x00",aY0="\x00OPEN"+Math.random()+"\x00",KS="\x00CLOSE"+Math.random()+"\x00",sY0="\x00COMMA"+Math.random()+"\x00",eY0="\x00PERIOD"+Math.random()+"\x00",G51=1e5,H51=4000000;function JS($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function W51($){return $.split("\\\\").join(tY0).split("\\{").join(aY0).split("\\}").join(KS).split("\\,").join(sY0).split("\\.").join(eY0)}function V51($){return $.split(tY0).join("\\").split(aY0).join("{").split(KS).join("}").split(sY0).join(",").split(eY0).join(".")}function $J0($){if(!$)return[""];var I=[],U=rY0("{","}",$);if(!U)return $.split(",");var{pre:Y,body:J,post:Q}=U,K=Y.split(",");K[K.length-1]+="{"+J+"}";var q=$J0(Q);if(Q.length)K[K.length-1]+=q.shift(),K.push.apply(K,q);return I.push.apply(I,K),I}function w51($,I){if(!$)return[];I=I||{};var U=I.max==null?G51:I.max,Y=I.maxLength==null?H51:I.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return QS(W51($),U,Y,!0).map(V51)}function Z51($){return"{"+$+"}"}function X51($){return/^-?0\d/.test($)}function z51($,I){return $<=I}function L51($,I){return $>=I}function $q($,I,U,Y,J,Q,K,q){var G=[],H=0;for(var W=0;W<$.length;W++)for(var V=0;V=J)return G;var w=$[W]+U+Y[V];if(K&&w.length===I[W])continue;if(H+w.length>Q)return G;G.push(w),q.push(I[W]),H+=w.length}return G}function D51($,I,U,Y){var J=$.split(/\.\./),Q=[];if(J[0]===void 0||J[1]===void 0)return Q;var K=JS(J[0]),q=JS(J[1]),G=Math.max(J[0].length,J[1].length),H=J.length===3&&J[2]!==void 0?Math.max(Math.abs(JS(J[2])),1):1,W=z51,V=q0){var F=Array(D+1).join("0");if(z<0)L="-"+F+L.slice(1);else L=F+L}}if(Z+L.length>Y)break;Q.push(L),Z+=L.length}return Q}function QS($,I,U,Y){var J=[""],Q=[0],K=!1,q=!0,G;for(;;){var H=rY0("{","}",$);if(!H)return $q(J,Q,$,[""],I,U,K,[]);var W=H.pre;if(/\$$/.test(W))return $q(J,Q,$,[""],I,U,K,[]);var V=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(H.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(H.body),Z=V||w,z=H.body.indexOf(",")>=0;if(!Z&&!z){if(H.post.match(/,(?!,).*\}/)){$=H.pre+"{"+H.body+KS+H.post,Y=!0,q=!0,K=!1,Q=[];for(var L=0;L=I||A+b.length>U)break $;D.push(b),A+=b.length}}}if(G=[],J=$q(J,Q,W,D,I,U,K&&!H.post.length,G),Q=G,!H.post.length)break;$=H.post}return J}});var Lz=O((nv1,qJ0)=>{qJ0.exports=q$;q$.Minimatch=B4;var Iq=function(){try{return r("path")}catch($){}}()||{sep:"/"};q$.sep=Iq.sep;var R3=q$.GLOBSTAR=B4.GLOBSTAR={},O51=UJ0(),YJ0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qS="[^/]",GS=qS+"*?",F51="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",N51="(?:(?!(?:\\/|^)\\.).)*?",JJ0=M51("().*{}+?[]^$\\!");function M51($){return $.split("").reduce(function(I,U){return I[U]=!0,I},{})}var QJ0=/\/+/;q$.filter=A51;function A51($,I){return I=I||{},function(U,Y,J){return q$(U,$,I)}}function t9($,I){I=I||{};var U={};return Object.keys($).forEach(function(Y){U[Y]=$[Y]}),Object.keys(I).forEach(function(Y){U[Y]=I[Y]}),U}q$.defaults=function($){if(!$||typeof $!=="object"||!Object.keys($).length)return q$;var I=q$,U=function(J,Q,K){return I(J,Q,t9($,K))};return U.Minimatch=function(J,Q){return new I.Minimatch(J,t9($,Q))},U.Minimatch.defaults=function(J){return I.defaults(t9($,J)).Minimatch},U.filter=function(J,Q){return I.filter(J,t9($,Q))},U.defaults=function(J){return I.defaults(t9($,J))},U.makeRe=function(J,Q){return I.makeRe(J,t9($,Q))},U.braceExpand=function(J,Q){return I.braceExpand(J,t9($,Q))},U.match=function(Y,J,Q){return I.match(Y,J,t9($,Q))},U};B4.defaults=function($){return q$.defaults($).Minimatch};function q$($,I,U){if(zz(I),!U)U={};if(!U.nocomment&&I.charAt(0)==="#")return!1;return new B4(I,U).match($)}function B4($,I){if(!(this instanceof B4))return new B4($,I);if(zz($),!I)I={};if($=$.trim(),!I.allowWindowsEscape&&Iq.sep!=="/")$=$.split(Iq.sep).join("/");this.options=I,this.maxGlobstarRecursion=I.maxGlobstarRecursion!==void 0?I.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!I.partial,this.make()}B4.prototype.debug=function(){};B4.prototype.make=P51;function P51(){var $=this.pattern,I=this.options;if(!I.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();var U=this.globSet=this.braceExpand();if(I.debug)this.debug=function(){console.error.apply(console,arguments)};this.debug(this.pattern,U),U=this.globParts=U.map(function(Y){return Y.split(QJ0)}),this.debug(this.pattern,U),U=U.map(function(Y,J,Q){return Y.map(this.parse,this)},this),this.debug(this.pattern,U),U=U.filter(function(Y){return Y.indexOf(!1)===-1}),this.debug(this.pattern,U),this.set=U}B4.prototype.parseNegate=T51;function T51(){var $=this.pattern,I=!1,U=this.options,Y=0;if(U.nonegate)return;for(var J=0,Q=$.length;J"u"?this.pattern:$,zz($),I.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return O51($)}var E51=65536,zz=function($){if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>E51)throw TypeError("pattern is too long")};B4.prototype.parse=B51;var Xz={};function B51($,I){zz($);var U=this.options;if($==="**")if(!U.noglobstar)return R3;else $="*";if($==="")return"";var Y="",J=!!U.nocase,Q=!1,K=[],q=[],G,H=!1,W=-1,V=-1,w=$.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",Z=this;function z(){if(G){switch(G){case"*":Y+=GS,J=!0;break;case"?":Y+=qS,J=!0;break;default:Y+="\\"+G;break}Z.debug("clearStateChar %j %j",G,Y),G=!1}}for(var L=0,D=$.length,F;L-1;b--){var C=q[b],p=Y.slice(0,C.reStart),n=Y.slice(C.reStart,C.reEnd-8),S=Y.slice(C.reEnd-8,C.reEnd),f=Y.slice(C.reEnd);S+=f;var i=p.split("(").length-1,Y0=f;for(L=0;L"u")U=this.partial;if(this.debug("match",I,this.pattern),this.comment)return!1;if(this.empty)return I==="";if(I==="/"&&U)return!0;var Y=this.options;if(Iq.sep!=="/")I=I.split(Iq.sep).join("/");I=I.split(QJ0),this.debug(this.pattern,"split",I);var J=this.set;this.debug(this.pattern,"set",J);var Q,K;for(K=I.length-1;K>=0;K--)if(Q=I[K],Q)break;for(K=0;K=0;Q--)if(I[Q]===R3){q=Q;break}var G=I.slice(J,K),H=U?I.slice(K+1):I.slice(K+1,q),W=U?[]:I.slice(q+1);if(G.length){var V=$.slice(Y,Y+G.length);if(!this._matchOne(V,G,U,0,0))return!1;Y+=G.length}var w=0;if(W.length){if(W.length+Y>$.length)return!1;var Z=$.length-W.length;if(this._matchOne($,W,U,Z,0))w=W.length;else{if($[$.length-1]!==""||Y+W.length===$.length)return!1;if(Z--,!this._matchOne($,W,U,Z,0))return!1;w=W.length+1}}if(!H.length){var z=!!w;for(Q=Y;Q<$.length-w;Q++){var L=String($[Q]);if(z=!0,L==="."||L===".."||!this.options.dot&&L.charAt(0)===".")return!1}return U||z}var D=[[[],0]],F=D[0],E=0,T=[0];for(var A=0;A{function GJ0($){return $.charAt(0)==="/"}function HJ0($){var I=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,U=I.exec($),Y=U[1]||"",J=Boolean(Y&&Y.charAt(1)!==":");return Boolean(U[2]||J)}Dz.exports=process.platform==="win32"?HJ0:GJ0;Dz.exports.posix=GJ0;Dz.exports.win32=HJ0});var WS=O((f51)=>{f51.setopts=h51;f51.ownProp=WJ0;f51.makeAbs=Uq;f51.finish=x51;f51.mark=k51;f51.isIgnored=wJ0;f51.childrenIgnored=u51;function WJ0($,I){return Object.prototype.hasOwnProperty.call($,I)}var j51=r("fs"),bY=r("path"),_51=Lz(),VJ0=Oz(),HS=_51.Minimatch;function S51($,I){return $.localeCompare(I,"en")}function g51($,I){if($.ignore=I.ignore||[],!Array.isArray($.ignore))$.ignore=[$.ignore];if($.ignore.length)$.ignore=$.ignore.map(y51)}function y51($){var I=null;if($.slice(-3)==="/**"){var U=$.replace(/(\/\*\*)+$/,"");I=new HS(U,{dot:!0})}return{matcher:new HS($,{dot:!0}),gmatcher:I}}function h51($,I,U){if(!U)U={};if(U.matchBase&&I.indexOf("/")===-1){if(U.noglobstar)throw Error("base matching requires globstar");I="**/"+I}if($.silent=!!U.silent,$.pattern=I,$.strict=U.strict!==!1,$.realpath=!!U.realpath,$.realpathCache=U.realpathCache||Object.create(null),$.follow=!!U.follow,$.dot=!!U.dot,$.mark=!!U.mark,$.nodir=!!U.nodir,$.nodir)$.mark=!0;$.sync=!!U.sync,$.nounique=!!U.nounique,$.nonull=!!U.nonull,$.nosort=!!U.nosort,$.nocase=!!U.nocase,$.stat=!!U.stat,$.noprocess=!!U.noprocess,$.absolute=!!U.absolute,$.fs=U.fs||j51,$.maxLength=U.maxLength||1/0,$.cache=U.cache||Object.create(null),$.statCache=U.statCache||Object.create(null),$.symlinks=U.symlinks||Object.create(null),g51($,U),$.changedCwd=!1;var Y=process.cwd();if(!WJ0(U,"cwd"))$.cwd=Y;else $.cwd=bY.resolve(U.cwd),$.changedCwd=$.cwd!==Y;if($.root=U.root||bY.resolve($.cwd,"/"),$.root=bY.resolve($.root),process.platform==="win32")$.root=$.root.replace(/\\/g,"/");if($.cwdAbs=VJ0($.cwd)?$.cwd:Uq($,$.cwd),process.platform==="win32")$.cwdAbs=$.cwdAbs.replace(/\\/g,"/");$.nomount=!!U.nomount,U.nonegate=!0,U.nocomment=!0,U.allowWindowsEscape=!1,$.minimatch=new HS(I,U),$.options=$.minimatch.options}function x51($){var I=$.nounique,U=I?[]:Object.create(null);for(var Y=0,J=$.matches.length;Y{LJ0.exports=zJ0;zJ0.GlobSync=y4;var l51=YS(),ZJ0=Lz(),dv1=ZJ0.Minimatch,mv1=Yq().Glob,lv1=r("util"),VS=r("path"),XJ0=r("assert"),Fz=Oz(),C3=WS(),o51=C3.setopts,wS=C3.ownProp,r51=C3.childrenIgnored,t51=C3.isIgnored;function zJ0($,I){if(typeof I==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob See: https://github.com/isaacs/node-glob/issues/167`);return new y4($,I).found}function y4($,I){if(!$)throw Error("must provide pattern");if(typeof I==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob -See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof y4))return new y4($,I);if(U51(this,$,I),this.noprocess)return this;var U=this.minimatch.set.length;this.matches=Array(U);for(var Y=0;Ythis.maxLength)return!1;if(!this.stat&&s_(this.cache,I)){var K=this.cache[I];if(Array.isArray(K))K="DIR";if(!U||K==="DIR")return K;if(U&&K==="FILE")return!1}var Y,J=this.statCache[I];if(!J){var Q;try{Q=this.fs.lstatSync(I)}catch(q){if(q&&(q.code==="ENOENT"||q.code==="ENOTDIR"))return this.statCache[I]=!1,!1}if(Q&&Q.isSymbolicLink())try{J=this.fs.statSync(I)}catch(q){J=Q}else J=Q}this.statCache[I]=J;var K=!0;if(J)K=J.isDirectory()?"DIR":"FILE";if(this.cache[I]=this.cache[I]||K,U&&K==="FILE")return!1;return K};y4.prototype._mark=function($){return R3.mark(this,$)};y4.prototype._makeAbs=function($){return R3.makeAbs(this,$)}});var e_=O((cB1,kY0)=>{kY0.exports=xY0;function xY0($,I){if($&&I)return xY0($)(I);if(typeof $!=="function")throw TypeError("need wrapper function");return Object.keys($).forEach(function(Y){U[Y]=$[Y]}),U;function U(){var Y=Array(arguments.length);for(var J=0;J{var uY0=e_();$S.exports=uY0(Zw);$S.exports.strict=uY0(fY0);Zw.proto=Zw(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return Zw(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return fY0(this)},configurable:!0})});function Zw($){var I=function(){if(I.called)return I.value;return I.called=!0,I.value=$.apply(this,arguments)};return I.called=!1,I}function fY0($){var I=function(){if(I.called)throw Error(I.onceError);return I.called=!0,I.value=$.apply(this,arguments)},U=$.name||"Function wrapped with `once`";return I.onceError=U+" shouldn't be called more than once",I.called=!1,I}});var iY0=O((mB1,bY0)=>{var Q51=e_(),$q=Object.create(null),K51=zw();bY0.exports=Q51(q51);function q51($,I){if($q[$])return $q[$].push(I),null;else return $q[$]=[I],G51($)}function G51($){return K51(function I(){var U=$q[$],Y=U.length,J=H51(arguments);try{for(var Q=0;QY)U.splice(0,Y),process.nextTick(function(){I.apply(null,J)});else delete $q[$]}})}function H51($){var I=$.length,U=[];for(var Y=0;Y{pY0.exports=v3;var W51=p_(),nY0=Gw(),lB1=nY0.Minimatch,V51=p0(),Z51=r("events").EventEmitter,IS=r("path"),US=r("assert"),Iq=Ww(),JS=hY0(),C3=t_(),z51=C3.setopts,YS=C3.ownProp,QS=iY0(),oB1=r("util"),X51=C3.childrenIgnored,w51=C3.isIgnored,L51=zw();function v3($,I,U){if(typeof I==="function")U=I,I={};if(!I)I={};if(I.sync){if(U)throw TypeError("callback provided to sync glob");return JS($,I)}return new j1($,I,U)}v3.sync=JS;var D51=v3.GlobSync=JS.GlobSync;v3.glob=v3;function O51($,I){if(I===null||typeof I!=="object")return $;var U=Object.keys(I),Y=U.length;while(Y--)$[U[Y]]=I[U[Y]];return $}v3.hasMagic=function($,I){var U=O51({},I);U.noprocess=!0;var Y=new j1($,U),J=Y.minimatch.set;if(!$)return!1;if(J.length>1)return!0;for(var Q=0;Qthis.maxLength)return I();if(!this.stat&&YS(this.cache,U)){var J=this.cache[U];if(Array.isArray(J))J="DIR";if(!Y||J==="DIR")return I(null,J);if(Y&&J==="FILE")return I()}var Q,K=this.statCache[U];if(K!==void 0)if(K===!1)return I(null,K);else{var q=K.isDirectory()?"DIR":"FILE";if(Y&&q==="FILE")return I();else return I(null,q,K)}var G=this,H=QS("stat\x00"+U,W);if(H)G.fs.lstat(U,H);function W(V,z){if(z&&z.isSymbolicLink())return G.fs.stat(U,function(Z,w){if(Z)G._stat2($,U,null,z,I);else G._stat2($,U,Z,w,I)});else G._stat2($,U,V,z,I)}};j1.prototype._stat2=function($,I,U,Y,J){if(U&&(U.code==="ENOENT"||U.code==="ENOTDIR"))return this.statCache[I]=!1,J();var Q=$.slice(-1)==="/";if(this.statCache[I]=Y,I.slice(-1)==="/"&&Y&&!Y.isDirectory())return J(null,!1,Y);var K=!0;if(Y)K=Y.isDirectory()?"DIR":"FILE";if(this.cache[I]=this.cache[I]||K,Q&&K==="FILE")return J();return J(null,K,Y)}});var lY0=O((tB1,mY0)=>{var dY0=m6(),fY=r("path"),KS=B_(),F51=S_(),M51=u_(),A51=f_(),P51=eK(),j3=mY0.exports={},cY0=/[\/\\]/g,T51=function($,I){var U=[];return KS($).forEach(function(Y){var J=Y.indexOf("!")===0;if(J)Y=Y.slice(1);var Q=I(Y);if(J)U=F51(U,Q);else U=M51(U,Q)}),U};j3.exists=function(){var $=fY.join.apply(fY,arguments);return dY0.existsSync($)};j3.expand=function(...$){var I=A51($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var Y=T51(U,function(J){return P51.sync(J,I)});if(I.filter)Y=Y.filter(function(J){J=fY.join(I.cwd||"",J);try{if(typeof I.filter==="function")return I.filter(J);else return dY0.statSync(J)[I.filter]()}catch(Q){return!1}});return Y};j3.expandMapping=function($,I,U){U=Object.assign({rename:function(Q,K){return fY.join(Q||"",K)}},U);var Y=[],J={};return j3.expand(U,$).forEach(function(Q){var K=Q;if(U.flatten)K=fY.basename(K);if(U.ext)K=K.replace(/(\.[^\/]*)?$/,U.ext);var q=U.rename(I,K,U);if(U.cwd)Q=fY.join(U.cwd,Q);if(q=q.replace(cY0,"/"),Q=Q.replace(cY0,"/"),J[q])J[q].src.push(Q);else Y.push({src:[Q],dest:q}),J[q]=Y[Y.length-1]}),Y};j3.normalizeFilesArray=function($){var I=[];if($.forEach(function(U){var Y;if("src"in U||"dest"in U)I.push(U)}),I.length===0)return[];return I=_(I).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=KS(U.src);else U.src=[U.src]}).map(function(U){var Y=Object.assign({},U);if(delete Y.src,delete Y.dest,U.expand)return j3.expandMapping(U.src,U.dest,Y).map(function(Q){var K=Object.assign({},U);return K.orig=Object.assign({},U),K.src=Q.src,K.dest=Q.dest,["expand","cwd","flatten","rename","ext"].forEach(function(q){delete K[q]}),K});var J=Object.assign({},U);if(J.orig=Object.assign({},U),"src"in J)Object.defineProperty(J,"src",{enumerable:!0,get:function Q(){var K;if(!("result"in Q))K=U.src,K=Array.isArray(K)?KS(K):[K],Q.result=j3.expand(Y,K);return Q.result}});if("dest"in J)J.dest=U.dest;return J}).flatten().value(),I}});var Uq=O((sB1,tY0)=>{var qS=m6(),oY0=r("path"),aB1=r("util"),E51=J_(),rY0=nX(),B51=G_(),R51=r("stream").Stream,v51=vU0().PassThrough,q$=tY0.exports={};q$.file=lY0();q$.collectStream=function($,I){var U=[],Y=0;$.on("error",I),$.on("data",function(J){U.push(J),Y+=J.length}),$.on("end",function(){var J=new Buffer(Y),Q=0;U.forEach(function(K){K.copy(J,Q),Q+=K.length}),I(null,J)})};q$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};q$.defaults=function($,I,U){var Y=arguments;return Y[0]=Y[0]||{},B51(...Y)};q$.isStream=function($){return $ instanceof R51};q$.lazyReadStream=function($){return new E51.Readable(function(){return qS.createReadStream($)})};q$.normalizeInputSource=function($){if($===null)return new Buffer(0);else if(typeof $==="string")return new Buffer($);else if(q$.isStream($)&&!$._readableState){var I=new v51;return $.pipe(I),I}return $};q$.sanitizePath=function($){return rY0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};q$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};q$.unixifyPath=function($){return rY0($,!1).replace(/^\w+:/,"")};q$.walkdir=function($,I,U){var Y=[];if(typeof I==="function")U=I,I=$;qS.readdir($,function(J,Q){var K=0,q,G;if(J)return U(J);(function H(){if(q=Q[K++],!q)return U(null,Y);G=oY0.join($,q),qS.stat(G,function(W,V){if(Y.push({path:G,relative:oY0.relative(I,G).replace(/\\/g,"/"),stats:V}),V&&V.isDirectory())q$.walkdir(G,I,function(z,Z){Z.forEach(function(w){Y.push(w)}),H()});else H()})})()})}});var $J0=O((sY0,eY0)=>{var C51=r("util"),j51={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function aY0($,I){Error.captureStackTrace(this,this.constructor),this.message=j51[$]||$,this.code=$,this.data=I}C51.inherits(aY0,Error);sY0=eY0.exports=aY0});var QJ0=O((eB1,JJ0)=>{var WS=r("fs"),UJ0=b30(),IJ0=n30(),GS=r("path"),y8=Uq(),_51=r("util").inherits,w4=$J0(),YJ0=w6().Transform,HS=process.platform==="win32",M1=function($,I){if(!(this instanceof M1))return new M1($,I);if(typeof $!=="string")I=$,$="zip";I=this.options=y8.defaults(I,{highWaterMark:1048576,statConcurrency:4}),YJ0.call(this,I),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=IJ0.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=IJ0.queue(this._onStatQueueTask.bind(this),I.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};_51(M1,YJ0);M1.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};M1.prototype._append=function($,I){I=I||{};var U={source:null,filepath:$};if(!I.name)I.name=$;if(I.sourcePath=$,U.data=I,this._entriesCount++,I.stats&&I.stats instanceof WS.Stats){if(U=this._updateQueueTaskWithStats(U,I.stats),U){if(I.stats.size)this._fsEntriesTotalBytes+=I.stats.size;this._queue.push(U)}}else this._statQueue.push(U)};M1.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0};M1.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1};M1.prototype._moduleAppend=function($,I,U){if(this._state.aborted){U();return}this._module.append($,I,function(Y){if(this._task=null,this._state.aborted){this._shutdown();return}if(Y){this.emit("error",Y),setImmediate(U);return}if(this.emit("entry",I),this._entriesProcessedCount++,I.stats&&I.stats.size)this._fsEntriesProcessedBytes+=I.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(U)}.bind(this))};M1.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new w4("NOENDMETHOD"))};M1.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};M1.prototype._moduleSupports=function($){if(!this._module.supports||!this._module.supports[$])return!1;return this._module.supports[$]};M1.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};M1.prototype._normalizeEntryData=function($,I){if($=y8.defaults($,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),I&&$.stats===!1)$.stats=I;var U=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=y8.sanitizePath($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")U=!0,$.type="directory";else if(U)$.name+="/"}if(typeof $.mode==="number")if(HS)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(HS)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(HS&&U)$.mode=493}else if($.mode===null)$.mode=U?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=y8.dateify($.date);return $};M1.prototype._onModuleError=function($){this.emit("error",$)};M1.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()};M1.prototype._onQueueTask=function($,I){var U=()=>{if($.data.callback)$.data.callback();I()};if(this._state.finalizing||this._state.finalized||this._state.aborted){U();return}this._task=$,this._moduleAppend($.source,$.data,U)};M1.prototype._onStatQueueTask=function($,I){if(this._state.finalizing||this._state.finalized||this._state.aborted){I();return}WS.lstat($.filepath,function(U,Y){if(this._state.aborted){setImmediate(I);return}if(U){this._entriesCount--,this.emit("warning",U),setImmediate(I);return}if($=this._updateQueueTaskWithStats($,Y),$){if(Y.size)this._fsEntriesTotalBytes+=Y.size;this._queue.push($)}setImmediate(I)}.bind(this))};M1.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};M1.prototype._transform=function($,I,U){if($)this._pointer+=$.length;U(null,$)};M1.prototype._updateQueueTaskWithStats=function($,I){if(I.isFile())$.data.type="file",$.data.sourceType="stream",$.source=y8.lazyReadStream($.filepath);else if(I.isDirectory()&&this._moduleSupports("directory"))$.data.name=y8.trailingSlashIt($.data.name),$.data.type="directory",$.data.sourcePath=y8.trailingSlashIt($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(I.isSymbolicLink()&&this._moduleSupports("symlink")){var U=WS.readlinkSync($.filepath),Y=GS.dirname($.filepath);$.data.type="symlink",$.data.linkname=GS.relative(Y,GS.resolve(Y,U)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(I.isDirectory())this.emit("warning",new w4("DIRECTORYNOTSUPPORTED",$.data));else if(I.isSymbolicLink())this.emit("warning",new w4("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new w4("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,I),$};M1.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};M1.prototype.append=function($,I){if(this._state.finalize||this._state.aborted)return this.emit("error",new w4("QUEUECLOSED")),this;if(I=this._normalizeEntryData(I),typeof I.name!=="string"||I.name.length===0)return this.emit("error",new w4("ENTRYNAMEREQUIRED")),this;if(I.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new w4("DIRECTORYNOTSUPPORTED",{name:I.name})),this;if($=y8.normalizeInputSource($),Buffer.isBuffer($))I.sourceType="buffer";else if(y8.isStream($))I.sourceType="stream";else return this.emit("error",new w4("INPUTSTEAMBUFFERREQUIRED",{name:I.name})),this;return this._entriesCount++,this._queue.push({data:I,source:$}),this};M1.prototype.directory=function($,I,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new w4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new w4("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,I===!1)I="";else if(typeof I!=="string")I=$;var Y=!1;if(typeof U==="function")Y=U,U={};else if(typeof U!=="object")U={};var J={stat:!0,dot:!0};function Q(){this._pending--,this._maybeFinalize()}function K(H){this.emit("error",H)}function q(H){G.pause();var W=!1,V=Object.assign({},U);V.name=H.relative,V.prefix=I,V.stats=H.stat,V.callback=G.resume.bind(G);try{if(Y){if(V=Y(V),V===!1)W=!0;else if(typeof V!=="object")throw new w4("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(z){this.emit("error",z);return}if(W){G.resume();return}this._append(H.absolute,V)}var G=UJ0($,J);return G.on("error",K.bind(this)),G.on("match",q.bind(this)),G.on("end",Q.bind(this)),this};M1.prototype.file=function($,I){if(this._state.finalize||this._state.aborted)return this.emit("error",new w4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new w4("FILEFILEPATHREQUIRED")),this;return this._append($,I),this};M1.prototype.glob=function($,I,U){this._pending++,I=y8.defaults(I,{stat:!0,pattern:$});function Y(){this._pending--,this._maybeFinalize()}function J(q){this.emit("error",q)}function Q(q){K.pause();var G=Object.assign({},U);G.callback=K.resume.bind(K),G.stats=q.stat,G.name=q.relative,this._append(q.absolute,G)}var K=UJ0(I.cwd||".",I);return K.on("error",J.bind(this)),K.on("match",Q.bind(this)),K.on("end",Y.bind(this)),this};M1.prototype.finalize=function(){if(this._state.aborted){var $=new w4("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var I=new w4("FINALIZING");return this.emit("error",I),Promise.reject(I)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var U=this;return new Promise(function(Y,J){var Q;U._module.on("end",function(){if(!Q)Y()}),U._module.on("error",function(K){Q=!0,J(K)})})};M1.prototype.setFormat=function($){if(this._format)return this.emit("error",new w4("FORMATSET")),this;return this._format=$,this};M1.prototype.setModule=function($){if(this._state.aborted)return this.emit("error",new w4("ABORTED")),this;if(this._state.module)return this.emit("error",new w4("MODULESET")),this;return this._module=$,this._modulePipe(),this};M1.prototype.symlink=function($,I,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new w4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new w4("SYMLINKFILEPATHREQUIRED")),this;if(typeof I!=="string"||I.length===0)return this.emit("error",new w4("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new w4("SYMLINKNOTSUPPORTED",{filepath:$})),this;var Y={};if(Y.type="symlink",Y.name=$.replace(/\\/g,"/"),Y.linkname=I.replace(/\\/g,"/"),Y.sourceType="buffer",typeof U==="number")Y.mode=U;return this._entriesCount++,this._queue.push({data:Y,source:Buffer.concat([])}),this};M1.prototype.pointer=function(){return this._pointer};M1.prototype.use=function($){return this._streams.push($),this};JJ0.exports=M1});var ww=O(($R1,KJ0)=>{var Xw=KJ0.exports=function(){};Xw.prototype.getName=function(){};Xw.prototype.getSize=function(){};Xw.prototype.getLastModifiedDate=function(){};Xw.prototype.isDirectory=function(){}});var Lw=O((IR1,qJ0)=>{var C$=qJ0.exports={};C$.dateToDos=function($,I){I=I||!1;var U=I?$.getFullYear():$.getUTCFullYear();if(U<1980)return 2162688;else if(U>=2044)return 2141175677;var Y={year:U,month:I?$.getMonth():$.getUTCMonth(),date:I?$.getDate():$.getUTCDate(),hours:I?$.getHours():$.getUTCHours(),minutes:I?$.getMinutes():$.getUTCMinutes(),seconds:I?$.getSeconds():$.getUTCSeconds()};return Y.year-1980<<25|Y.month+1<<21|Y.date<<16|Y.hours<<11|Y.minutes<<5|Y.seconds/2};C$.dosToDate=function($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)};C$.fromDosTime=function($){return C$.dosToDate($.readUInt32LE(0))};C$.getEightBytes=function($){var I=Buffer.alloc(8);return I.writeUInt32LE($%4294967296,0),I.writeUInt32LE($/4294967296|0,4),I};C$.getShortBytes=function($){var I=Buffer.alloc(2);return I.writeUInt16LE(($&65535)>>>0,0),I};C$.getShortBytesValue=function($,I){return $.readUInt16LE(I)};C$.getLongBytes=function($){var I=Buffer.alloc(4);return I.writeUInt32LE(($&4294967295)>>>0,0),I};C$.getLongBytesValue=function($,I){return $.readUInt32LE(I)};C$.toDosTime=function($){return C$.getLongBytes(C$.dateToDos($))}});var VS=O((UR1,zJ0)=>{var GJ0=Lw(),HJ0=8,WJ0=1,S51=4,g51=2,VJ0=64,ZJ0=2048,K6=zJ0.exports=function(){if(!(this instanceof K6))return new K6;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};K6.prototype.encode=function(){return GJ0.getShortBytes((this.descriptor?HJ0:0)|(this.utf8?ZJ0:0)|(this.encryption?WJ0:0)|(this.strongEncryption?VJ0:0))};K6.prototype.parse=function($,I){var U=GJ0.getShortBytesValue($,I),Y=new K6;return Y.useDataDescriptor((U&HJ0)!==0),Y.useUTF8ForNames((U&ZJ0)!==0),Y.useStrongEncryption((U&VJ0)!==0),Y.useEncryption((U&WJ0)!==0),Y.setSlidingDictionarySize((U&g51)!==0?8192:4096),Y.setNumberOfShannonFanoTrees((U&S51)!==0?3:2),Y};K6.prototype.setNumberOfShannonFanoTrees=function($){this.numberOfShannonFanoTrees=$};K6.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};K6.prototype.setSlidingDictionarySize=function($){this.slidingDictionarySize=$};K6.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};K6.prototype.useDataDescriptor=function($){this.descriptor=$};K6.prototype.usesDataDescriptor=function(){return this.descriptor};K6.prototype.useEncryption=function($){this.encryption=$};K6.prototype.usesEncryption=function(){return this.encryption};K6.prototype.useStrongEncryption=function($){this.strongEncryption=$};K6.prototype.usesStrongEncryption=function(){return this.strongEncryption};K6.prototype.useUTF8ForNames=function($){this.utf8=$};K6.prototype.usesUTF8ForNames=function(){return this.utf8}});var wJ0=O((YR1,XJ0)=>{XJ0.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var ZS=O((JR1,LJ0)=>{LJ0.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var zS=O((QR1,MJ0)=>{var y51=r("util").inherits,h51=nX(),OJ0=ww(),NJ0=VS(),DJ0=wJ0(),j6=ZS(),FJ0=Lw(),U1=MJ0.exports=function($){if(!(this instanceof U1))return new U1($);if(OJ0.call(this),this.platform=j6.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new NJ0,this.crc=0,this.time=-1,this.minver=j6.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)};y51(U1,OJ0);U1.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};U1.prototype.getComment=function(){return this.comment!==null?this.comment:""};U1.prototype.getCompressedSize=function(){return this.csize};U1.prototype.getCrc=function(){return this.crc};U1.prototype.getExternalAttributes=function(){return this.exattr};U1.prototype.getExtra=function(){return this.extra!==null?this.extra:j6.EMPTY};U1.prototype.getGeneralPurposeBit=function(){return this.gpb};U1.prototype.getInternalAttributes=function(){return this.inattr};U1.prototype.getLastModifiedDate=function(){return this.getTime()};U1.prototype.getLocalFileDataExtra=function(){return this.getExtra()};U1.prototype.getMethod=function(){return this.method};U1.prototype.getName=function(){return this.name};U1.prototype.getPlatform=function(){return this.platform};U1.prototype.getSize=function(){return this.size};U1.prototype.getTime=function(){return this.time!==-1?FJ0.dosToDate(this.time):-1};U1.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};U1.prototype.getUnixMode=function(){return this.platform!==j6.PLATFORM_UNIX?0:this.getExternalAttributes()>>j6.SHORT_SHIFT&j6.SHORT_MASK};U1.prototype.getVersionNeededToExtract=function(){return this.minver};U1.prototype.setComment=function($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$};U1.prototype.setCompressedSize=function($){if($<0)throw Error("invalid entry compressed size");this.csize=$};U1.prototype.setCrc=function($){if($<0)throw Error("invalid entry crc32");this.crc=$};U1.prototype.setExternalAttributes=function($){this.exattr=$>>>0};U1.prototype.setExtra=function($){this.extra=$};U1.prototype.setGeneralPurposeBit=function($){if(!($ instanceof NJ0))throw Error("invalid entry GeneralPurposeBit");this.gpb=$};U1.prototype.setInternalAttributes=function($){this.inattr=$};U1.prototype.setMethod=function($){if($<0)throw Error("invalid entry compression method");this.method=$};U1.prototype.setName=function($,I=!1){if($=h51($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),I)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$};U1.prototype.setPlatform=function($){this.platform=$};U1.prototype.setSize=function($){if($<0)throw Error("invalid entry size");this.size=$};U1.prototype.setTime=function($,I){if(!($ instanceof Date))throw Error("invalid entry time");this.time=FJ0.dateToDos($,I)};U1.prototype.setUnixMode=function($){$|=this.isDirectory()?j6.S_IFDIR:j6.S_IFREG;var I=0;I|=$<j6.ZIP64_MAGIC||this.size>j6.ZIP64_MAGIC}});var wS=O((KR1,AJ0)=>{var x51=r("stream").Stream,k51=w6().PassThrough,XS=AJ0.exports={};XS.isStream=function($){return $ instanceof x51};XS.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(XS.isStream($)&&!$._readableState){var I=new k51;return $.pipe(I),I}return $}});var DS=O((qR1,TJ0)=>{var u51=r("util").inherits,LS=w6().Transform,f51=ww(),PJ0=wS(),G$=TJ0.exports=function($){if(!(this instanceof G$))return new G$($);LS.call(this,$),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};u51(G$,LS);G$.prototype._appendBuffer=function($,I,U){};G$.prototype._appendStream=function($,I,U){};G$.prototype._emitErrorCallback=function($){if($)this.emit("error",$)};G$.prototype._finish=function($){};G$.prototype._normalizeEntry=function($){};G$.prototype._transform=function($,I,U){U(null,$)};G$.prototype.entry=function($,I,U){if(I=I||null,typeof U!=="function")U=this._emitErrorCallback.bind(this);if(!($ instanceof f51)){U(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){U(Error("unacceptable entry after finish"));return}if(this._archive.processing){U(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,I=PJ0.normalizeInputSource(I),Buffer.isBuffer(I))this._appendBuffer($,I,U);else if(PJ0.isStream(I))this._appendStream($,I,U);else{this._archive.processing=!1,U(Error("input source must be valid Stream or Buffer instance"));return}return this};G$.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};G$.prototype.getBytesWritten=function(){return this.offset};G$.prototype.write=function($,I){if($)this.offset+=$.length;return LS.prototype.write.call(this,$,I)}});var MS=O((GR1,BJ0)=>{var r9=r("buffer").Buffer,OS=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array<"u")OS=new Int32Array(OS);function EJ0($){if(r9.isBuffer($))return $;var I=typeof r9.alloc==="function"&&typeof r9.from==="function";if(typeof $==="number")return I?r9.alloc($):new r9($);else if(typeof $==="string")return I?r9.from($):new r9($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function b51($){var I=EJ0(4);return I.writeInt32BE($,0),I}function NS($,I){if($=EJ0($),r9.isBuffer(I))I=I.readUInt32BE(0);var U=~~I^-1;for(var Y=0;Y<$.length;Y++)U=OS[(U^$[Y])&255]^U>>>8;return U^-1}function FS(){return b51(NS.apply(null,arguments))}FS.signed=function(){return NS.apply(null,arguments)};FS.unsigned=function(){return NS.apply(null,arguments)>>>0};BJ0.exports=FS});var PS=O((AS)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var RJ0;(function($){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof AS==="object")$(AS);else if(typeof define==="function"&&define.amd)define(function(){var I={};return $(I),I});else $(RJ0={});else $(RJ0={})})(function($){$.version="1.2.2";function I(){var g=0,b=Array(256);for(var C=0;C!=256;++C)g=C,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,b[C]=g;return typeof Int32Array<"u"?new Int32Array(b):b}var U=I();function Y(g){var b=0,C=0,p=0,n=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(p=0;p!=256;++p)n[p]=g[p];for(p=0;p!=256;++p){C=g[p];for(b=256+p;b<4096;b+=256)C=n[b]=C>>>8^g[C&255]}var S=[];for(p=1;p!=16;++p)S[p-1]=typeof Int32Array<"u"?n.subarray(p*256,p*256+256):n.slice(p*256,p*256+256);return S}var J=Y(U),Q=J[0],K=J[1],q=J[2],G=J[3],H=J[4],W=J[5],V=J[6],z=J[7],Z=J[8],w=J[9],L=J[10],D=J[11],N=J[12],E=J[13],T=J[14];function A(g,b){var C=b^-1;for(var p=0,n=g.length;p>>8^U[(C^g.charCodeAt(p++))&255];return~C}function v(g,b){var C=b^-1,p=g.length-15,n=0;for(;n>8&255]^N[g[n++]^C>>16&255]^D[g[n++]^C>>>24]^L[g[n++]]^w[g[n++]]^Z[g[n++]]^z[g[n++]]^V[g[n++]]^W[g[n++]]^H[g[n++]]^G[g[n++]]^q[g[n++]]^K[g[n++]]^Q[g[n++]]^U[g[n++]];p+=15;while(n>>8^U[(C^g[n++])&255];return~C}function u(g,b){var C=b^-1;for(var p=0,n=g.length,S=0,f=0;p>>8^U[(C^S)&255];else if(S<2048)C=C>>>8^U[(C^(192|S>>6&31))&255],C=C>>>8^U[(C^(128|S&63))&255];else if(S>=55296&&S<57344)S=(S&1023)+64,f=g.charCodeAt(p++)&1023,C=C>>>8^U[(C^(240|S>>8&7))&255],C=C>>>8^U[(C^(128|S>>2&63))&255],C=C>>>8^U[(C^(128|f>>6&15|(S&3)<<4))&255],C=C>>>8^U[(C^(128|f&63))&255];else C=C>>>8^U[(C^(224|S>>12&15))&255],C=C>>>8^U[(C^(128|S>>6&63))&255],C=C>>>8^U[(C^(128|S&63))&255];return~C}$.table=U,$.bstr=A,$.buf=v,$.str=u})});var jJ0=O((WR1,CJ0)=>{var{Transform:i51}=w6(),n51=PS();class vJ0 extends i51{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,I,U){if($)this.checksum=n51.buf($,this.checksum)>>>0,this.rawSize+=$.length;U(null,$)}digest($){let I=Buffer.allocUnsafe(4);return I.writeUInt32BE(this.checksum>>>0,0),$?I.toString($):I}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}CJ0.exports=vJ0});var gJ0=O((VR1,SJ0)=>{var{DeflateRaw:p51}=r("zlib"),c51=PS();class _J0 extends p51{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,I){if($)this.compressedSize+=$.length;return super.push($,I)}_transform($,I,U){if($)this.checksum=c51.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,I,U)}digest($){let I=Buffer.allocUnsafe(4);return I.writeUInt32BE(this.checksum>>>0,0),$?I.toString($):I}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}SJ0.exports=_J0});var TS=O((ZR1,yJ0)=>{yJ0.exports={CRC32Stream:jJ0(),DeflateCRC32Stream:gJ0()}});var kJ0=O((LR1,xJ0)=>{var d51=r("util").inherits,m51=MS(),{CRC32Stream:l51}=TS(),{DeflateCRC32Stream:o51}=TS(),hJ0=DS(),zR1=zS(),XR1=VS(),l0=ZS(),wR1=wS(),y0=Lw(),b4=xJ0.exports=function($){if(!(this instanceof b4))return new b4($);$=this.options=this._defaults($),hJ0.call(this,$),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:$.forceZip64,forceLocalTime:$.forceLocalTime}};d51(b4,hJ0);b4.prototype._afterAppend=function($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()};b4.prototype._appendBuffer=function($,I,U){if(I.length===0)$.setMethod(l0.METHOD_STORED);var Y=$.getMethod();if(Y===l0.METHOD_STORED)$.setSize(I.length),$.setCompressedSize(I.length),$.setCrc(m51.unsigned(I));if(this._writeLocalFileHeader($),Y===l0.METHOD_STORED){this.write(I),this._afterAppend($),U(null,$);return}else if(Y===l0.METHOD_DEFLATED){this._smartStream($,U).end(I);return}else{U(Error("compression method "+Y+" not implemented"));return}};b4.prototype._appendStream=function($,I,U){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(l0.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader($);var Y=this._smartStream($,U);I.once("error",function(J){Y.emit("error",J),Y.end()}),I.pipe(Y)};b4.prototype._defaults=function($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=l0.ZLIB_BEST_SPEED;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$};b4.prototype._finish=function(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};b4.prototype._normalizeEntry=function($){if($.getMethod()===-1)$.setMethod(l0.METHOD_DEFLATED);if($.getMethod()===l0.METHOD_DEFLATED)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(l0.MIN_VERSION_DATA_DESCRIPTOR);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}};b4.prototype._smartStream=function($,I){var U=$.getMethod()===l0.METHOD_DEFLATED,Y=U?new o51(this.options.zlib):new l51,J=null;function Q(){var K=Y.digest().readUInt32BE(0);$.setCrc(K),$.setSize(Y.size()),$.setCompressedSize(Y.size(!0)),this._afterAppend($),I(J,$)}return Y.once("end",Q.bind(this)),Y.once("error",function(K){J=K}),Y.pipe(this,{end:!1}),Y};b4.prototype._writeCentralDirectoryEnd=function(){var $=this._entries.length,I=this._archive.centralLength,U=this._archive.centralOffset;if(this.isZip64())$=l0.ZIP64_MAGIC_SHORT,I=l0.ZIP64_MAGIC,U=l0.ZIP64_MAGIC;this.write(y0.getLongBytes(l0.SIG_EOCD)),this.write(l0.SHORT_ZERO),this.write(l0.SHORT_ZERO),this.write(y0.getShortBytes($)),this.write(y0.getShortBytes($)),this.write(y0.getLongBytes(I)),this.write(y0.getLongBytes(U));var Y=this.getComment(),J=Buffer.byteLength(Y);this.write(y0.getShortBytes(J)),this.write(Y)};b4.prototype._writeCentralDirectoryZip64=function(){this.write(y0.getLongBytes(l0.SIG_ZIP64_EOCD)),this.write(y0.getEightBytes(44)),this.write(y0.getShortBytes(l0.MIN_VERSION_ZIP64)),this.write(y0.getShortBytes(l0.MIN_VERSION_ZIP64)),this.write(l0.LONG_ZERO),this.write(l0.LONG_ZERO),this.write(y0.getEightBytes(this._entries.length)),this.write(y0.getEightBytes(this._entries.length)),this.write(y0.getEightBytes(this._archive.centralLength)),this.write(y0.getEightBytes(this._archive.centralOffset)),this.write(y0.getLongBytes(l0.SIG_ZIP64_EOCD_LOC)),this.write(l0.LONG_ZERO),this.write(y0.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(y0.getLongBytes(1))};b4.prototype._writeCentralFileHeader=function($){var I=$.getGeneralPurposeBit(),U=$.getMethod(),Y=$._offsets,J=$.getSize(),Q=$.getCompressedSize();if($.isZip64()||Y.file>l0.ZIP64_MAGIC){J=l0.ZIP64_MAGIC,Q=l0.ZIP64_MAGIC,$.setVersionNeededToExtract(l0.MIN_VERSION_ZIP64);var K=Buffer.concat([y0.getShortBytes(l0.ZIP64_EXTRA_ID),y0.getShortBytes(24),y0.getEightBytes($.getSize()),y0.getEightBytes($.getCompressedSize()),y0.getEightBytes(Y.file)],28);$.setExtra(K)}this.write(y0.getLongBytes(l0.SIG_CFH)),this.write(y0.getShortBytes($.getPlatform()<<8|l0.VERSION_MADEBY)),this.write(y0.getShortBytes($.getVersionNeededToExtract())),this.write(I.encode()),this.write(y0.getShortBytes(U)),this.write(y0.getLongBytes($.getTimeDos())),this.write(y0.getLongBytes($.getCrc())),this.write(y0.getLongBytes(Q)),this.write(y0.getLongBytes(J));var q=$.getName(),G=$.getComment(),H=$.getCentralDirectoryExtra();if(I.usesUTF8ForNames())q=Buffer.from(q),G=Buffer.from(G);if(this.write(y0.getShortBytes(q.length)),this.write(y0.getShortBytes(H.length)),this.write(y0.getShortBytes(G.length)),this.write(l0.SHORT_ZERO),this.write(y0.getShortBytes($.getInternalAttributes())),this.write(y0.getLongBytes($.getExternalAttributes())),Y.file>l0.ZIP64_MAGIC)this.write(y0.getLongBytes(l0.ZIP64_MAGIC));else this.write(y0.getLongBytes(Y.file));this.write(q),this.write(H),this.write(G)};b4.prototype._writeDataDescriptor=function($){if(this.write(y0.getLongBytes(l0.SIG_DD)),this.write(y0.getLongBytes($.getCrc())),$.isZip64())this.write(y0.getEightBytes($.getCompressedSize())),this.write(y0.getEightBytes($.getSize()));else this.write(y0.getLongBytes($.getCompressedSize())),this.write(y0.getLongBytes($.getSize()))};b4.prototype._writeLocalFileHeader=function($){var I=$.getGeneralPurposeBit(),U=$.getMethod(),Y=$.getName(),J=$.getLocalFileDataExtra();if($.isZip64())I.useDataDescriptor(!0),$.setVersionNeededToExtract(l0.MIN_VERSION_ZIP64);if(I.usesUTF8ForNames())Y=Buffer.from(Y);if($._offsets.file=this.offset,this.write(y0.getLongBytes(l0.SIG_LFH)),this.write(y0.getShortBytes($.getVersionNeededToExtract())),this.write(I.encode()),this.write(y0.getShortBytes(U)),this.write(y0.getLongBytes($.getTimeDos())),$._offsets.data=this.offset,I.usesDataDescriptor())this.write(l0.LONG_ZERO),this.write(l0.LONG_ZERO),this.write(l0.LONG_ZERO);else this.write(y0.getLongBytes($.getCrc())),this.write(y0.getLongBytes($.getCompressedSize())),this.write(y0.getLongBytes($.getSize()));this.write(y0.getShortBytes(Y.length)),this.write(y0.getShortBytes(J.length)),this.write(Y),this.write(J),$._offsets.contents=this.offset};b4.prototype.getComment=function($){return this._archive.comment!==null?this._archive.comment:""};b4.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>l0.ZIP64_MAGIC_SHORT||this._archive.centralLength>l0.ZIP64_MAGIC||this._archive.centralOffset>l0.ZIP64_MAGIC};b4.prototype.setComment=function($){this._archive.comment=$}});var ES=O((DR1,uJ0)=>{uJ0.exports={ArchiveEntry:ww(),ZipArchiveEntry:zS(),ArchiveOutputStream:DS(),ZipArchiveOutputStream:kJ0()}});var nJ0=O((OR1,iJ0)=>{var bJ0=m6(),bY=r("path"),BS=B_(),r51=S_(),t51=u_(),a51=f_(),s51=eK(),_3=iJ0.exports={},fJ0=/[\/\\]/g,e51=function($,I){var U=[];return BS($).forEach(function(Y){var J=Y.indexOf("!")===0;if(J)Y=Y.slice(1);var Q=I(Y);if(J)U=r51(U,Q);else U=t51(U,Q)}),U};_3.exists=function(){var $=bY.join.apply(bY,arguments);return bJ0.existsSync($)};_3.expand=function(...$){var I=a51($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var Y=e51(U,function(J){return s51.sync(J,I)});if(I.filter)Y=Y.filter(function(J){J=bY.join(I.cwd||"",J);try{if(typeof I.filter==="function")return I.filter(J);else return bJ0.statSync(J)[I.filter]()}catch(Q){return!1}});return Y};_3.expandMapping=function($,I,U){U=Object.assign({rename:function(Q,K){return bY.join(Q||"",K)}},U);var Y=[],J={};return _3.expand(U,$).forEach(function(Q){var K=Q;if(U.flatten)K=bY.basename(K);if(U.ext)K=K.replace(/(\.[^\/]*)?$/,U.ext);var q=U.rename(I,K,U);if(U.cwd)Q=bY.join(U.cwd,Q);if(q=q.replace(fJ0,"/"),Q=Q.replace(fJ0,"/"),J[q])J[q].src.push(Q);else Y.push({src:[Q],dest:q}),J[q]=Y[Y.length-1]}),Y};_3.normalizeFilesArray=function($){var I=[];if($.forEach(function(U){var Y;if("src"in U||"dest"in U)I.push(U)}),I.length===0)return[];return I=_(I).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=BS(U.src);else U.src=[U.src]}).map(function(U){var Y=Object.assign({},U);if(delete Y.src,delete Y.dest,U.expand)return _3.expandMapping(U.src,U.dest,Y).map(function(Q){var K=Object.assign({},U);return K.orig=Object.assign({},U),K.src=Q.src,K.dest=Q.dest,["expand","cwd","flatten","rename","ext"].forEach(function(q){delete K[q]}),K});var J=Object.assign({},U);if(J.orig=Object.assign({},U),"src"in J)Object.defineProperty(J,"src",{enumerable:!0,get:function Q(){var K;if(!("result"in Q))K=U.src,K=Array.isArray(K)?BS(K):[K],Q.result=_3.expand(Y,K);return Q.result}});if("dest"in J)J.dest=U.dest;return J}).flatten().value(),I}});var mJ0=O((NR1,dJ0)=>{var RS=m6(),pJ0=r("path"),$91=J_(),cJ0=nX(),I91=G_(),U91=r("stream").Stream,Y91=w6().PassThrough,H$=dJ0.exports={};H$.file=nJ0();H$.collectStream=function($,I){var U=[],Y=0;$.on("error",I),$.on("data",function(J){U.push(J),Y+=J.length}),$.on("end",function(){var J=Buffer.alloc(Y),Q=0;U.forEach(function(K){K.copy(J,Q),Q+=K.length}),I(null,J)})};H$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};H$.defaults=function($,I,U){var Y=arguments;return Y[0]=Y[0]||{},I91(...Y)};H$.isStream=function($){return $ instanceof U91};H$.lazyReadStream=function($){return new $91.Readable(function(){return RS.createReadStream($)})};H$.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(H$.isStream($))return $.pipe(new Y91);return $};H$.sanitizePath=function($){return cJ0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};H$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};H$.unixifyPath=function($){return cJ0($,!1).replace(/^\w+:/,"")};H$.walkdir=function($,I,U){var Y=[];if(typeof I==="function")U=I,I=$;RS.readdir($,function(J,Q){var K=0,q,G;if(J)return U(J);(function H(){if(q=Q[K++],!q)return U(null,Y);G=pJ0.join($,q),RS.stat(G,function(W,V){if(Y.push({path:G,relative:pJ0.relative(I,G).replace(/\\/g,"/"),stats:V}),V&&V.isDirectory())H$.walkdir(G,I,function(z,Z){Z.forEach(function(w){Y.push(w)}),H()});else H()})})()})}});var oJ0=O((FR1,lJ0)=>{var J91=r("util").inherits,CS=ES().ZipArchiveOutputStream,Q91=ES().ZipArchiveEntry,vS=mJ0(),iY=lJ0.exports=function($){if(!(this instanceof iY))return new iY($);if($=this.options=$||{},$.zlib=$.zlib||{},CS.call(this,$),typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;if($.namePrependSlash=$.namePrependSlash||!1,$.comment&&$.comment.length>0)this.setComment($.comment)};J91(iY,CS);iY.prototype._normalizeFileData=function($){$=vS.defaults($,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var I=$.type==="directory",U=$.type==="symlink";if($.name){if($.name=vS.sanitizePath($.name),!U&&$.name.slice(-1)==="/")I=!0,$.type="directory";else if(I)$.name+="/"}if(I||U)$.store=!0;return $.date=vS.dateify($.date),$};iY.prototype.entry=function($,I,U){if(typeof U!=="function")U=this._emitErrorCallback.bind(this);if(I=this._normalizeFileData(I),I.type!=="file"&&I.type!=="directory"&&I.type!=="symlink"){U(Error(I.type+" entries not currently supported"));return}if(typeof I.name!=="string"||I.name.length===0){U(Error("entry name must be a non-empty string value"));return}if(I.type==="symlink"&&typeof I.linkname!=="string"){U(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var Y=new Q91(I.name);if(Y.setTime(I.date,this.options.forceLocalTime),I.namePrependSlash)Y.setName(I.name,!0);if(I.store)Y.setMethod(0);if(I.comment.length>0)Y.setComment(I.comment);if(I.type==="symlink"&&typeof I.mode!=="number")I.mode=40960;if(typeof I.mode==="number"){if(I.type==="symlink")I.mode|=40960;Y.setUnixMode(I.mode)}if(I.type==="symlink"&&typeof I.linkname==="string")$=Buffer.from(I.linkname);return CS.prototype.entry.call(this,Y,$,U)};iY.prototype.finalize=function(){this.finish()}});var tJ0=O((MR1,rJ0)=>{var K91=oJ0(),q91=Uq(),t9=function($){if(!(this instanceof t9))return new t9($);$=this.options=q91.defaults($,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new K91($)};t9.prototype.append=function($,I,U){this.engine.entry($,I,U)};t9.prototype.finalize=function(){this.engine.finalize()};t9.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};t9.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};t9.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};rJ0.exports=t9});var eJ0=O((AR1,sJ0)=>{var{Buffer:U8}=r("buffer"),aJ0=Symbol.for("BufferList");function c1($){if(!(this instanceof c1))return new c1($);c1._init.call(this,$)}c1._init=function(I){if(Object.defineProperty(this,aJ0,{value:!0}),this._bufs=[],this.length=0,I)this.append(I)};c1.prototype._new=function(I){return new c1(I)};c1.prototype._offset=function(I){if(I===0)return[0,0];let U=0;for(let Y=0;Ythis.length||I<0)return;let U=this._offset(I);return this._bufs[U[0]][U[1]]};c1.prototype.slice=function(I,U){if(typeof I==="number"&&I<0)I+=this.length;if(typeof U==="number"&&U<0)U+=this.length;return this.copy(null,0,I,U)};c1.prototype.copy=function(I,U,Y,J){if(typeof Y!=="number"||Y<0)Y=0;if(typeof J!=="number"||J>this.length)J=this.length;if(Y>=this.length)return I||U8.alloc(0);if(J<=0)return I||U8.alloc(0);let Q=!!I,K=this._offset(Y),q=J-Y,G=q,H=Q&&U||0,W=K[1];if(Y===0&&J===this.length){if(!Q)return this._bufs.length===1?this._bufs[0]:U8.concat(this._bufs,this.length);for(let V=0;Vz)this._bufs[V].copy(I,H,W),H+=z;else{this._bufs[V].copy(I,H,W,W+G),H+=z;break}if(G-=z,W)W=0}if(I.length>H)return I.slice(0,H);return I};c1.prototype.shallowSlice=function(I,U){if(I=I||0,U=typeof U!=="number"?this.length:U,I<0)I+=this.length;if(U<0)U+=this.length;if(I===U)return this._new();let Y=this._offset(I),J=this._offset(U),Q=this._bufs.slice(Y[0],J[0]+1);if(J[1]===0)Q.pop();else Q[Q.length-1]=Q[Q.length-1].slice(0,J[1]);if(Y[1]!==0)Q[0]=Q[0].slice(Y[1]);return this._new(Q)};c1.prototype.toString=function(I,U,Y){return this.slice(U,Y).toString(I)};c1.prototype.consume=function(I){if(I=Math.trunc(I),Number.isNaN(I)||I<=0)return this;while(this._bufs.length)if(I>=this._bufs[0].length)I-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(I),this.length-=I;break}return this};c1.prototype.duplicate=function(){let I=this._new();for(let U=0;Uthis.length?this.length:I;let Y=this._offset(I),J=Y[0],Q=Y[1];for(;J=$.length){let G=K.indexOf($,Q);if(G!==-1)return this._reverseOffset([J,G]);Q=K.length-$.length+1}else{let G=this._reverseOffset([J,Q]);if(this._match(G,$))return G;Q++}Q=0}return-1};c1.prototype._match=function($,I){if(this.length-${var jS=w6().Duplex,G91=p0(),Yq=eJ0();function N6($){if(!(this instanceof N6))return new N6($);if(typeof $==="function"){this._callback=$;let I=function(Y){if(this._callback)this._callback(Y),this._callback=null}.bind(this);this.on("pipe",function(Y){Y.on("error",I)}),this.on("unpipe",function(Y){Y.removeListener("error",I)}),$=null}Yq._init.call(this,$),jS.call(this)}G91(N6,jS);Object.assign(N6.prototype,Yq.prototype);N6.prototype._new=function(I){return new N6(I)};N6.prototype._write=function(I,U,Y){if(this._appendBuffer(I),typeof Y==="function")Y()};N6.prototype._read=function(I){if(!this.length)return this.push(null);I=Math.min(I,this.length),this.push(this.slice(0,I)),this.consume(I)};N6.prototype.end=function(I){if(jS.prototype.end.call(this,I),this._callback)this._callback(null,this.slice()),this._callback=null};N6.prototype._destroy=function(I,U){this._bufs.length=0,this.length=0,U(I)};N6.prototype._isBufferList=function(I){return I instanceof N6||I instanceof Yq||N6.isBufferList(I)};N6.isBufferList=Yq.isBufferList;Dw.exports=N6;Dw.exports.BufferListStream=N6;Dw.exports.BufferList=Yq});var gS=O((F91)=>{var H91=Buffer.alloc,W91="0000000000000000000",V91="7777777777777777777",IQ0=48,UQ0=Buffer.from("ustar\x00","binary"),Z91=Buffer.from("00","binary"),z91=Buffer.from("ustar ","binary"),X91=Buffer.from(" \x00","binary"),w91=parseInt("7777",8),Jq=257,SS=263,L91=function($,I,U){if(typeof $!=="number")return U;if($=~~$,$>=I)return I;if($>=0)return $;if($+=I,$>=0)return $;return 0},D91=function($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},O91=function($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},YQ0=function($,I,U,Y){for(;UI)return V91.slice(0,I)+" ";else return W91.slice(0,I-$.length)+$+" "};function N91($){var I;if($[0]===128)I=!0;else if($[0]===255)I=!1;else return null;var U=[];for(var Y=$.length-1;Y>0;Y--){var J=$[Y];if(I)U.push(J);else U.push(255-J)}var Q=0,K=U.length;for(Y=0;Y=Math.pow(10,U))U++;return I+U+$};F91.decodeLongPath=function($,I){return nY($,0,$.length,I)};F91.encodePax=function($){var I="";if($.name)I+=_S(" path="+$.name+` -`);if($.linkname)I+=_S(" linkpath="+$.linkname+` -`);var U=$.pax;if(U)for(var Y in U)I+=_S(" "+Y+"="+U[Y]+` -`);return Buffer.from(I)};F91.decodePax=function($){var I={};while($.length){var U=0;while(U<$.length&&$[U]!==32)U++;var Y=parseInt($.slice(0,U).toString(),10);if(!Y)return I;var J=$.slice(U+1,Y-1).toString(),Q=J.indexOf("=");if(Q===-1)return I;I[J.slice(0,Q)]=J.slice(Q+1),$=$.slice(Y)}return I};F91.encode=function($){var I=H91(512),U=$.name,Y="";if($.typeflag===5&&U[U.length-1]!=="/")U+="/";if(Buffer.byteLength(U)!==U.length)return null;while(Buffer.byteLength(U)>100){var J=U.indexOf("/");if(J===-1)return null;Y+=Y?"/"+U.slice(0,J):U.slice(0,J),U=U.slice(J+1)}if(Buffer.byteLength(U)>100||Buffer.byteLength(Y)>155)return null;if($.linkname&&Buffer.byteLength($.linkname)>100)return null;if(I.write(U),I.write(a9($.mode&w91,6),100),I.write(a9($.uid,6),108),I.write(a9($.gid,6),116),I.write(a9($.size,11),124),I.write(a9($.mtime.getTime()/1000|0,11),136),I[156]=IQ0+O91($.type),$.linkname)I.write($.linkname,157);if(UQ0.copy(I,Jq),Z91.copy(I,SS),$.uname)I.write($.uname,265);if($.gname)I.write($.gname,297);if(I.write(a9($.devmajor||0,6),329),I.write(a9($.devminor||0,6),337),Y)I.write(Y,345);return I.write(a9(JQ0(I),6),148),I};F91.decode=function($,I,U){var Y=$[156]===0?0:$[156]-IQ0,J=nY($,0,100,I),Q=s9($,100,8),K=s9($,108,8),q=s9($,116,8),G=s9($,124,12),H=s9($,136,12),W=D91(Y),V=$[157]===0?null:nY($,157,100,I),z=nY($,265,32),Z=nY($,297,32),w=s9($,329,8),L=s9($,337,8),D=JQ0($);if(D===256)return null;if(D!==s9($,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(UQ0.compare($,Jq,Jq+6)===0){if($[345])J=nY($,345,155,I)+"/"+J}else if(z91.compare($,Jq,Jq+6)===0&&X91.compare($,SS,SS+2)===0);else if(!U)throw Error("Invalid tar header: unknown format.");if(Y===0&&J&&J[J.length-1]==="/")Y=5;return{name:J,mode:Q,uid:K,gid:q,size:G,mtime:new Date(1000*H),type:W,linkname:V,uname:z,gname:Z,devmajor:w,devminor:L}}});var VQ0=O((ER1,WQ0)=>{var KQ0=r("util"),B91=$Q0(),Qq=gS(),qQ0=w6().Writable,GQ0=w6().PassThrough,HQ0=function(){},QQ0=function($){return $&=511,$&&512-$},R91=function($,I){var U=new Ow($,I);return U.end(),U},v91=function($,I){if(I.path)$.name=I.path;if(I.linkpath)$.linkname=I.linkpath;if(I.size)$.size=parseInt(I.size,10);return $.pax=I,$},Ow=function($,I){this._parent=$,this.offset=I,GQ0.call(this,{autoDestroy:!1})};KQ0.inherits(Ow,GQ0);Ow.prototype.destroy=function($){this._parent.destroy($)};var R5=function($){if(!(this instanceof R5))return new R5($);qQ0.call(this,$),$=$||{},this._offset=0,this._buffer=B91(),this._missing=0,this._partial=!1,this._onparse=HQ0,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var I=this,U=I._buffer,Y=function(){I._continue()},J=function(z){if(I._locked=!1,z)return I.destroy(z);if(!I._stream)Y()},Q=function(){I._stream=null;var z=QQ0(I._header.size);if(z)I._parse(z,K);else I._parse(512,V);if(!I._locked)Y()},K=function(){I._buffer.consume(QQ0(I._header.size)),I._parse(512,V),Y()},q=function(){var z=I._header.size;I._paxGlobal=Qq.decodePax(U.slice(0,z)),U.consume(z),Q()},G=function(){var z=I._header.size;if(I._pax=Qq.decodePax(U.slice(0,z)),I._paxGlobal)I._pax=Object.assign({},I._paxGlobal,I._pax);U.consume(z),Q()},H=function(){var z=I._header.size;this._gnuLongPath=Qq.decodeLongPath(U.slice(0,z),$.filenameEncoding),U.consume(z),Q()},W=function(){var z=I._header.size;this._gnuLongLinkPath=Qq.decodeLongPath(U.slice(0,z),$.filenameEncoding),U.consume(z),Q()},V=function(){var z=I._offset,Z;try{Z=I._header=Qq.decode(U.slice(0,512),$.filenameEncoding,$.allowUnknownFormat)}catch(w){I.emit("error",w)}if(U.consume(512),!Z){I._parse(512,V),Y();return}if(Z.type==="gnu-long-path"){I._parse(Z.size,H),Y();return}if(Z.type==="gnu-long-link-path"){I._parse(Z.size,W),Y();return}if(Z.type==="pax-global-header"){I._parse(Z.size,q),Y();return}if(Z.type==="pax-header"){I._parse(Z.size,G),Y();return}if(I._gnuLongPath)Z.name=I._gnuLongPath,I._gnuLongPath=null;if(I._gnuLongLinkPath)Z.linkname=I._gnuLongLinkPath,I._gnuLongLinkPath=null;if(I._pax)I._header=Z=v91(Z,I._pax),I._pax=null;if(I._locked=!0,!Z.size||Z.type==="directory"){I._parse(512,V),I.emit("entry",Z,R91(I,z),J);return}I._stream=new Ow(I,z),I.emit("entry",Z,I._stream,J),I._parse(Z.size,Q),Y()};this._onheader=V,this._parse(512,V)};KQ0.inherits(R5,qQ0);R5.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream)this._stream.emit("close")};R5.prototype._parse=function($,I){if(this._destroyed)return;if(this._offset+=$,this._missing=$,I===this._onheader)this._partial=!1;this._onparse=I};R5.prototype._continue=function(){if(this._destroyed)return;var $=this._cb;if(this._cb=HQ0,this._overflow)this._write(this._overflow,void 0,$);else $()};R5.prototype._write=function($,I,U){if(this._destroyed)return;var Y=this._stream,J=this._buffer,Q=this._missing;if($.length)this._partial=!0;if($.lengthQ)K=$.slice(Q),$=$.slice(0,Q);if(Y)Y.end($);else J.append($);this._overflow=K,this._onparse()};R5.prototype._final=function($){if(this._partial)return this.destroy(Error("Unexpected end of data"));$()};WQ0.exports=R5});var zQ0=O((BR1,ZQ0)=>{ZQ0.exports=r("fs").constants||r("constants")});var LQ0=O((RR1,wQ0)=>{var C91=zw(),j91=function(){},_91=global.Bare?queueMicrotask:process.nextTick.bind(process),S91=function($){return $.setHeader&&typeof $.abort==="function"},g91=function($){return $.stdio&&Array.isArray($.stdio)&&$.stdio.length===3},XQ0=function($,I,U){if(typeof I==="function")return XQ0($,null,I);if(!I)I={};U=C91(U||j91);var{_writableState:Y,_readableState:J}=$,Q=I.readable||I.readable!==!1&&$.readable,K=I.writable||I.writable!==!1&&$.writable,q=!1,G=function(){if(!$.writable)H()},H=function(){if(K=!1,!Q)U.call($)},W=function(){if(Q=!1,!K)U.call($)},V=function(D){U.call($,D?Error("exited with error code: "+D):null)},z=function(D){U.call($,D)},Z=function(){_91(w)},w=function(){if(q)return;if(Q&&!(J&&(J.ended&&!J.destroyed)))return U.call($,Error("premature close"));if(K&&!(Y&&(Y.ended&&!Y.destroyed)))return U.call($,Error("premature close"))},L=function(){$.req.on("finish",H)};if(S91($))if($.on("complete",H),$.on("abort",Z),$.req)L();else $.on("request",L);else if(K&&!Y)$.on("end",G),$.on("close",G);if(g91($))$.on("exit",V);if($.on("end",W),$.on("finish",H),I.error!==!1)$.on("error",z);return $.on("close",Z),function(){if(q=!0,$.removeListener("complete",H),$.removeListener("abort",Z),$.removeListener("request",L),$.req)$.req.removeListener("finish",H);$.removeListener("end",G),$.removeListener("close",G),$.removeListener("finish",H),$.removeListener("exit",V),$.removeListener("end",W),$.removeListener("error",z),$.removeListener("close",Z)}};wQ0.exports=XQ0});var MQ0=O((vR1,FQ0)=>{var pY=zQ0(),DQ0=LQ0(),Fw=p0(),y91=Buffer.alloc,OQ0=w6().Readable,cY=w6().Writable,h91=r("string_decoder").StringDecoder,Nw=gS(),x91=parseInt("755",8),k91=parseInt("644",8),NQ0=y91(1024),hS=function(){},yS=function($,I){if(I&=511,I)$.push(NQ0.slice(0,512-I))};function u91($){switch($&pY.S_IFMT){case pY.S_IFBLK:return"block-device";case pY.S_IFCHR:return"character-device";case pY.S_IFDIR:return"directory";case pY.S_IFIFO:return"fifo";case pY.S_IFLNK:return"symlink"}return"file"}var Mw=function($){cY.call(this),this.written=0,this._to=$,this._destroyed=!1};Fw(Mw,cY);Mw.prototype._write=function($,I,U){if(this.written+=$.length,this._to.push($))return U();this._to._drain=U};Mw.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var Aw=function(){cY.call(this),this.linkname="",this._decoder=new h91("utf-8"),this._destroyed=!1};Fw(Aw,cY);Aw.prototype._write=function($,I,U){this.linkname+=this._decoder.write($),U()};Aw.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var Kq=function(){cY.call(this),this._destroyed=!1};Fw(Kq,cY);Kq.prototype._write=function($,I,U){U(Error("No body allowed for this entry"))};Kq.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var h8=function($){if(!(this instanceof h8))return new h8($);OQ0.call(this,$),this._drain=hS,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};Fw(h8,OQ0);h8.prototype.entry=function($,I,U){if(this._stream)throw Error("already piping an entry");if(this._finalized||this._destroyed)return;if(typeof I==="function")U=I,I=null;if(!U)U=hS;var Y=this;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=u91($.mode);if(!$.mode)$.mode=$.type==="directory"?x91:k91;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof I==="string")I=Buffer.from(I);if(Buffer.isBuffer(I)){$.size=I.length,this._encode($);var J=this.push(I);if(yS(Y,$.size),J)process.nextTick(U);else this._drain=U;return new Kq}if($.type==="symlink"&&!$.linkname){var Q=new Aw;return DQ0(Q,function(q){if(q)return Y.destroy(),U(q);$.linkname=Q.linkname,Y._encode($),U()}),Q}if(this._encode($),$.type!=="file"&&$.type!=="contiguous-file")return process.nextTick(U),new Kq;var K=new Mw(this);return this._stream=K,DQ0(K,function(q){if(Y._stream=null,q)return Y.destroy(),U(q);if(K.written!==$.size)return Y.destroy(),U(Error("size mismatch"));if(yS(Y,$.size),Y._finalizing)Y.finalize();U()}),K};h8.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(NQ0),this.push(null)};h8.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream&&this._stream.destroy)this._stream.destroy()};h8.prototype._encode=function($){if(!$.pax){var I=Nw.encode($);if(I){this.push(I);return}}this._encodePax($)};h8.prototype._encodePax=function($){var I=Nw.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),U={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:I.length,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(Nw.encode(U)),this.push(I),yS(this,I.length),U.size=$.size,U.type=$.type,this.push(Nw.encode(U))};h8.prototype._read=function($){var I=this._drain;this._drain=hS,I()};FQ0.exports=h8});var AQ0=O((f91)=>{f91.extract=VQ0();f91.pack=MQ0()});var EQ0=O((jR1,TQ0)=>{var n91=r("zlib"),p91=AQ0(),PQ0=Uq(),v5=function($){if(!(this instanceof v5))return new v5($);if($=this.options=PQ0.defaults($,{gzip:!1}),typeof $.gzipOptions!=="object")$.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=p91.pack($),this.compressor=!1,$.gzip)this.compressor=n91.createGzip($.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};v5.prototype._onCompressorError=function($){this.engine.emit("error",$)};v5.prototype.append=function($,I,U){var Y=this;I.mtime=I.date;function J(K,q){if(K){U(K);return}Y.engine.entry(I,q,function(G){U(G,I)})}if(I.sourceType==="buffer")J(null,$);else if(I.sourceType==="stream"&&I.stats){I.size=I.stats.size;var Q=Y.engine.entry(I,function(K){U(K,I)});$.pipe(Q)}else if(I.sourceType==="stream")PQ0.collectStream($,J)};v5.prototype.finalize=function(){this.engine.finalize()};v5.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};v5.prototype.pipe=function($,I){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe($,I);else return this.engine.pipe.apply(this.engine,arguments)};v5.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};TQ0.exports=v5});var CQ0=O((_R1,vQ0)=>{var c91=r("util").inherits,BQ0=w6().Transform,d91=MS(),RQ0=Uq(),e9=function($){if(!(this instanceof e9))return new e9($);$=this.options=RQ0.defaults($,{}),BQ0.call(this,$),this.supports={directory:!0,symlink:!0},this.files=[]};c91(e9,BQ0);e9.prototype._transform=function($,I,U){U(null,$)};e9.prototype._writeStringified=function(){var $=JSON.stringify(this.files);this.write($)};e9.prototype.append=function($,I,U){var Y=this;I.crc32=0;function J(Q,K){if(Q){U(Q);return}I.size=K.length||0,I.crc32=d91.unsigned(K),Y.files.push(I),U(null,I)}if(I.sourceType==="buffer")J(null,$);else if(I.sourceType==="stream")RQ0.collectStream($,J)};e9.prototype.finalize=function(){this._writeStringified(),this.end()};vQ0.exports=e9});var _Q0=O((SR1,jQ0)=>{var m91=QJ0(),qq={},$7=function($,I){return $7.create($,I)};$7.create=function($,I){if(qq[$]){var U=new m91($,I);return U.setFormat($),U.setModule(new qq[$](I)),U}else throw Error("create("+$+"): format not registered")};$7.registerFormat=function($,I){if(qq[$])throw Error("register("+$+"): format already registered");if(typeof I!=="function")throw Error("register("+$+"): format module invalid");if(typeof I.prototype.append!=="function"||typeof I.prototype.finalize!=="function")throw Error("register("+$+"): format module missing methods");qq[$]=I};$7.isRegisteredFormat=function($){if(qq[$])return!0;return!1};$7.registerFormat("zip",tJ0());$7.registerFormat("tar",EQ0());$7.registerFormat("json",CQ0());jQ0.exports=$7});var yQ0=O((gR1,gQ0)=>{class SQ0{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString($){return this._values[$]}add($){let I=this._hash[$];if(I===void 0)I=this._hash[$]=this._values.length,this._values.push($);return this._totalRefs++,I}}gQ0.exports=SQ0});var uQ0=O((yR1,kQ0)=>{var l91=L6(),o91=y9();class hQ0{constructor($){this.writer=$}push($){this.writer.addHyperlink($)}}class xQ0{constructor($){this.id=$.id,this.count=0,this._hyperlinks=[],this._workbook=$.workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/_rels/sheet${this.id}.xml.rels`);return this._stream}get length(){return this._hyperlinks.length}each($){return this._hyperlinks.forEach($)}get hyperlinksProxy(){return this._hyperlinksProxy||(this._hyperlinksProxy=new hQ0(this))}addHyperlink($){let I={Target:$.target,Type:o91.Hyperlink,TargetMode:"External"},U=this._writeRelationship(I);this._hyperlinks.push({rId:U,address:$.address})}addMedia($){return this._writeRelationship($)}addRelationship($){return this._writeRelationship($)}commit(){if(this.count)this._writeClose(),this.stream.end()}_writeOpen(){this.stream.write(` - `)}_writeRelationship($){if(!this.count)this._writeOpen();let I=`rId${++this.count}`;if($.TargetMode)this.stream.write(``);else this.stream.write(``);return I}_writeClose(){this.stream.write("")}}kQ0.exports=xQ0});var pQ0=O((hR1,nQ0)=>{var fQ0=$6(),bQ0=y9(),r91=G4(),t91=ZC(),a91=XC();class iQ0{constructor($,I,U){this.id=U.id,this.count=0,this._worksheet=$,this._workbook=U.workbook,this._sheetRelsWriter=I}get commentsStream(){if(!this._commentsStream)this._commentsStream=this._workbook._openStream(`/xl/comments${this.id}.xml`);return this._commentsStream}get vmlStream(){if(!this._vmlStream)this._vmlStream=this._workbook._openStream(`xl/drawings/vmlDrawing${this.id}.vml`);return this._vmlStream}_addRelationships(){let $={Type:bQ0.Comments,Target:`../comments${this.id}.xml`};this._sheetRelsWriter.addRelationship($);let I={Type:bQ0.VmlDrawing,Target:`../drawings/vmlDrawing${this.id}.vml`};this.vmlRelId=this._sheetRelsWriter.addRelationship(I)}_addCommentRefs(){this._workbook.commentRefs.push({commentName:`comments${this.id}`,vmlDrawing:`vmlDrawing${this.id}`})}_writeOpen(){this.commentsStream.write('Author'),this.vmlStream.write('')}_writeComment($,I){let U=new t91,Y=new fQ0;U.render(Y,$),this.commentsStream.write(Y.xml);let J=new a91,Q=new fQ0;J.render(Q,$,I),this.vmlStream.write(Q.xml)}_writeClose(){this.commentsStream.write(""),this.vmlStream.write("")}addComments($){if($&&$.length){if(!this.startedData)this._worksheet.comments=[],this._writeOpen(),this._addRelationships(),this._addCommentRefs(),this.startedData=!0;$.forEach((I)=>{I.refAddress=r91.decodeAddress(I.ref)}),$.forEach((I)=>{this._writeComment(I,this.count),this.count+=1})}}commit(){if(this.count)this._writeClose(),this.commentsStream.end(),this.vmlStream.end()}}nQ0.exports=iQ0});var rQ0=O((xR1,oQ0)=>{var s91=z4(),e91=y9(),xS=G4(),cQ0=jE(),dQ0=Q5(),$71=dR(),mQ0=xV(),kS=uV(),I71=uQ0(),U71=pQ0(),Y71=vE(),i4=new $71,uS=_9(),J71=bv(),Q71=iv(),K71=nv(),q71=xv(),G71=yv(),H71=kv(),W71=pv(),V71=cv(),Z71=dv(),z71=mv(),X71=lv(),w71=ov(),L71=ev(),D71=tv(),O71=rv(),n4={dataValidations:new J71,sheetProperties:new Q71,sheetFormatProperties:new K71,columns:new uS({tag:"cols",length:!1,childXform:new q71}),row:new G71,hyperlinks:new uS({tag:"hyperlinks",length:!1,childXform:new H71}),sheetViews:new uS({tag:"sheetViews",length:!1,childXform:new W71}),sheetProtection:new V71,pageMargins:new Z71,pageSeteup:new z71,autoFilter:new X71,picture:new w71,conditionalFormattings:new L71,headerFooter:new D71,rowBreaks:new O71};class lQ0{constructor($){this.id=$.id,this.name=$.name||`Sheet${this.id}`,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new I71($),this._sheetCommentsWriter=new U71(this,this._sheetRelsWriter,$),this._dimensions=new dQ0,this._rowZero=1,this.committed=!1,this.dataValidations=new Y71,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.useSharedStrings=$.useSharedStrings||!1,this._workbook=$.workbook,this.hasComments=!1,this._views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/sheet${this.id}.xml`),this._stream.pause();return this._stream}destroy(){throw Error("Invalid Operation: destroy")}commit(){if(this.committed)return;if(this._rows.forEach(($)=>{if($)this._writeRow($)}),this._rows=null,!this.startedData)this._writeOpenSheetData();this._writeCloseSheetData(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writeSheetProtection(),this._writePageMargins(),this._writePageSetup(),this._writeBackground(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeLegacyData(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((Y,J)=>{let Q=J.header&&1||J.headers&&J.headers.length||0;return Math.max(Y,Q)},0);let I=1,U=this._columns=[];$.forEach((Y)=>{let J=new kS(this,I++,!1);U.push(J),J.defn=Y})}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){s91.each(this._keys,$)}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=xS.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new kS(this,I++))}return this._columns[$-1]}get _nextRow(){return this._rowZero+this._rows.length}eachRow($,I){if(!I)I=$,$=void 0;if($&&$.includeEmpty){let U=this._nextRow;for(let Y=this._rowZero;Y{if(U.hasValues)I(U,U.number)})}_commitRow($){let I=!1;while(this._rows.length&&!I){let U=this._rows.shift();if(this._rowZero++,U)this._writeRow(U),I=U.number===$.number,this._rowZero=U.number+1}}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){let I=$-this._rowZero;return this._rows[I]}getRow($){let I=$-this._rowZero;if(I<0)throw Error("Out of bounds: this row has been committed");let U=this._rows[I];if(!U)this._rows[I]=U=new mQ0(this,$);return U}addRow($){let I=new mQ0(this,this._nextRow);return this._rows[I.number-this._rowZero]=I,I.values=$,I}findCell($,I){let U=xS.getAddress($,I),Y=this.findRow(U.row);return Y?Y.findCell(U.column):void 0}getCell($,I){let U=xS.getAddress($,I);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let I=new dQ0($);this._merges.forEach((Y)=>{if(Y.intersects(I))throw Error("Cannot merge already merged cells")});let U=this.getCell(I.top,I.left);for(let Y=I.top;Y<=I.bottom;Y++)for(let J=I.left;J<=I.right;J++)if(Y>I.top||J>I.left)this.getCell(Y,J).merge(U);this._merges.push(I)}addConditionalFormatting($){this.conditionalFormatting.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormatting.splice($,1);else if($ instanceof Function)this.conditionalFormatting=this.conditionalFormatting.filter($);else this.conditionalFormatting=[]}addBackgroundImage($){this._background={imageId:$}}getBackgroundImageId(){return this._background&&this._background.imageId}protect($,I){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},I&&"spinCount"in I)I.spinCount=Number.isFinite(I.spinCount)?Math.round(Math.max(0,I.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=cQ0.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=I&&"spinCount"in I?I.spinCount:1e5,this.sheetProtection.hashValue=cQ0.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(I){if(this.sheetProtection=Object.assign(this.sheetProtection,I),!$&&"spinCount"in I)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}_write($){i4.reset(),i4.addText($),this.stream.write(i4)}_writeSheetProperties($,I,U){let Y={outlineProperties:I&&I.outlineProperties,tabColor:I&&I.tabColor,pageSetup:U&&U.fitToPage?{fitToPage:U.fitToPage}:void 0};$.addText(n4.sheetProperties.toXml(Y))}_writeSheetFormatProperties($,I){let U=I?{defaultRowHeight:I.defaultRowHeight,dyDescent:I.dyDescent,outlineLevelCol:I.outlineLevelCol,outlineLevelRow:I.outlineLevelRow}:void 0;if(I.defaultColWidth)U.defaultColWidth=I.defaultColWidth;$.addText(n4.sheetFormatProperties.toXml(U))}_writeOpenWorksheet(){i4.reset(),i4.addText(''),i4.addText(''),this._writeSheetProperties(i4,this.properties,this.pageSetup),i4.addText(n4.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(i4,this.properties),this.stream.write(i4)}_writeColumns(){let $=kS.toModel(this.columns);if($)n4.columns.prepare($,{styles:this._workbook.styles}),this.stream.write(n4.columns.toXml($))}_writeOpenSheetData(){this._write("")}_writeRow($){if(!this.startedData)this._writeColumns(),this._writeOpenSheetData(),this.startedData=!0;if($.hasValues||$.height){let{model:I}=$,U={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};if(n4.row.prepare(I,U),this.stream.write(n4.row.toXml(I)),U.comments.length)this.hasComments=!0,this._sheetCommentsWriter.addComments(U.comments)}}_writeCloseSheetData(){this._write("")}_writeMergeCells(){if(this._merges.length)i4.reset(),i4.addText(``),this._merges.forEach(($)=>{i4.addText(``)}),i4.addText(""),this.stream.write(i4)}_writeHyperlinks(){this.stream.write(n4.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let $={styles:this._workbook.styles};n4.conditionalFormattings.prepare(this.conditionalFormatting,$),this.stream.write(n4.conditionalFormattings.toXml(this.conditionalFormatting))}_writeRowBreaks(){this.stream.write(n4.rowBreaks.toXml(this.rowBreaks))}_writeDataValidations(){this.stream.write(n4.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(n4.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(n4.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(n4.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(n4.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(n4.autoFilter.toXml(this.autoFilter))}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let $=this._workbook.getImage(this._background.imageId),I=this._sheetRelsWriter.addMedia({Target:`../media/${$.name}`,Type:e91.Image});this._background={...this._background,rId:I}}this.stream.write(n4.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){if(this.hasComments)i4.reset(),i4.addText(``),this.stream.write(i4)}_writeDimensions(){}_writeCloseWorksheet(){this._write("")}}oQ0.exports=lQ0});var I20=O((kR1,$20)=>{var N71=r("fs"),F71=_Q0(),tQ0=qK(),S3=y9(),aQ0=wz(),M71=yQ0(),A71=SE(),P71=Rv(),sQ0=Nz(),T71=Cv(),E71=jv(),B71=Mz(),R71=vv(),v71=rQ0(),C71=wC();class eQ0{constructor($){if($=$||{},this.created=$.created||new Date,this.modified=$.modified||this.created,this.creator=$.creator||"ExcelJS",this.lastModifiedBy=$.lastModifiedBy||"ExcelJS",this.lastPrinted=$.lastPrinted,this.useSharedStrings=$.useSharedStrings||!1,this.sharedStrings=new M71,this.styles=$.useStyles?new aQ0(!0):new aQ0.Mock(!0),this._definedNames=new A71,this._worksheets=[],this.views=[],this.zipOptions=$.zip,this.media=[],this.commentRefs=[],this.zip=F71("zip",this.zipOptions),$.stream)this.stream=$.stream;else if($.filename)this.stream=N71.createWriteStream($.filename);else this.stream=new tQ0;this.zip.pipe(this.stream),this.promise=Promise.all([this.addThemes(),this.addOfficeRels()])}get definedNames(){return this._definedNames}_openStream($){let I=new tQ0({bufSize:65536,batch:!0});return this.zip.append(I,{name:$}),I.on("finish",()=>{I.emit("zipped")}),I}_commitWorksheets(){let $=function(U){if(!U.committed)return new Promise((Y)=>{U.stream.on("zipped",()=>{Y()}),U.commit()});return Promise.resolve()},I=this._worksheets.map($);if(I.length)return Promise.all(I);return Promise.resolve()}async commit(){return await this.promise,await this.addMedia(),await this._commitWorksheets(),await Promise.all([this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addWorkbookRels()]),await this.addWorkbook(),this._finalize()}get nextId(){let $;for($=1;$!0);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((I)=>I&&I.name===$);return}addStyles(){return new Promise(($)=>{this.zip.append(this.styles.xml,{name:"xl/styles.xml"}),$()})}addThemes(){return new Promise(($)=>{this.zip.append(C71,{name:"xl/theme/theme1.xml"}),$()})}addOfficeRels(){return new Promise(($)=>{let U=new sQ0().toXml([{Id:"rId1",Type:S3.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:S3.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:S3.ExtenderProperties,Target:"docProps/app.xml"}]);this.zip.append(U,{name:"/_rels/.rels"}),$()})}addContentTypes(){return new Promise(($)=>{let I={worksheets:this._worksheets.filter(Boolean),sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media},Y=new T71().toXml(I);this.zip.append(Y,{name:"[Content_Types].xml"}),$()})}addMedia(){return Promise.all(this.media.map(($)=>{if($.type==="image"){let I=`xl/media/${$.name}`;if($.filename)return this.zip.file($.filename,{name:I});if($.buffer)return this.zip.append($.buffer,{name:I});if($.base64){let U=$.base64,Y=U.substring(U.indexOf(",")+1);return this.zip.append(Y,{name:I,base64:!0})}}throw Error("Unsupported media")}))}addApp(){return new Promise(($)=>{let I={worksheets:this._worksheets.filter(Boolean)},Y=new E71().toXml(I);this.zip.append(Y,{name:"docProps/app.xml"}),$()})}addCore(){return new Promise(($)=>{let U=new P71().toXml(this);this.zip.append(U,{name:"docProps/core.xml"}),$()})}addSharedStrings(){if(this.sharedStrings.count)return new Promise(($)=>{let U=new R71().toXml(this.sharedStrings);this.zip.append(U,{name:"/xl/sharedStrings.xml"}),$()});return Promise.resolve()}addWorkbookRels(){let $=1,I=[{Id:`rId${$++}`,Type:S3.Styles,Target:"styles.xml"},{Id:`rId${$++}`,Type:S3.Theme,Target:"theme/theme1.xml"}];if(this.sharedStrings.count)I.push({Id:`rId${$++}`,Type:S3.SharedStrings,Target:"sharedStrings.xml"});return this._worksheets.forEach((U)=>{if(U)U.rId=`rId${$++}`,I.push({Id:U.rId,Type:S3.Worksheet,Target:`worksheets/sheet${U.id}.xml`})}),new Promise((U)=>{let J=new sQ0().toXml(I);this.zip.append(J,{name:"/xl/_rels/workbook.xml.rels"}),U()})}addWorkbook(){let{zip:$}=this,I={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},calcProperties:{}};return new Promise((U)=>{let Y=new B71;Y.prepare(I),$.append(Y.toXml(I),{name:"/xl/workbook.xml"}),U()})}_finalize(){return new Promise(($,I)=>{this.stream.on("error",I),this.stream.on("finish",()=>{$(this)}),this.zip.on("error",I),this.zip.finalize()})}}$20.exports=eQ0});var Y20=O((uR1,U20)=>{var fS=r("events").listenerCount;fS=fS||function($,I){var U=$&&$._events&&$._events[I];if(Array.isArray(U))return U.length;else if(typeof U==="function")return 1;else return 0};U20.exports=fS});var Q20=O((fR1,J20)=>{J20.exports=function(I){var U=process&&process.version?process.version:"v5.0.0",Y=U.split(".")[0].replace("v","");return Y<6?new Buffer(I):Buffer.from(I)}});var q20=O(()=>{var Gq=Q20();if(!Buffer.prototype.indexOf)Buffer.prototype.indexOf=function($,I){if(I=I||0,typeof $==="string"||$ instanceof String)$=Gq($);else if(typeof $==="number"||$ instanceof Number)$=Gq([$]);var U=$.length;for(var Y=I;Y<=this.length-U;Y++){var J=!1;for(var Q=0;Q=0;Y--){var J=!1;for(var Q=0;Q{W20.exports=F6;function F6($){if(!(this instanceof F6))return new F6($);this.value=$}F6.prototype.get=function($){var I=this.value;for(var U=0;U<$.length;U++){var Y=$[U];if(!Object.hasOwnProperty.call(I,Y)){I=void 0;break}I=I[Y]}return I};F6.prototype.set=function($,I){var U=this.value;for(var Y=0;Y<$.length-1;Y++){var J=$[Y];if(!Object.hasOwnProperty.call(U,J))U[J]={};U=U[J]}return U[$[Y]]=I,I};F6.prototype.map=function($){return G20(this.value,$,!0)};F6.prototype.forEach=function($){return this.value=G20(this.value,$,!1),this.value};F6.prototype.reduce=function($,I){var U=arguments.length===1,Y=U?this.value:I;return this.forEach(function(J){if(!this.isRoot||!U)Y=$.call(this,Y,J)}),Y};F6.prototype.deepEqual=function($){if(arguments.length!==1)throw Error("deepEqual requires exactly one object to compare against");var I=!0,U=$;return this.forEach(function(Y){var J=function(){I=!1;return}.bind(this);if(!this.isRoot){if(typeof U!=="object")return J();U=U[this.key]}var Q=U;this.post(function(){U=Q});var K=function(V){return Object.prototype.toString.call(V)};if(this.circular){if(F6($).get(this.circular.path)!==Q)J()}else if(typeof Q!==typeof Y)J();else if(Q===null||Y===null||Q===void 0||Y===void 0){if(Q!==Y)J()}else if(Q.__proto__!==Y.__proto__)J();else if(Q===Y);else if(typeof Q==="function"){if(Q instanceof RegExp){if(Q.toString()!=Y.toString())J()}else if(Q!==Y)J()}else if(typeof Q==="object")if(K(Y)==="[object Arguments]"||K(Q)==="[object Arguments]"){if(K(Q)!==K(Y))J()}else if(Q instanceof Date||Y instanceof Date){if(!(Q instanceof Date)||!(Y instanceof Date)||Q.getTime()!==Y.getTime())J()}else{var q=Object.keys(Q),G=Object.keys(Y);if(q.length!==G.length)return J();for(var H=0;H{var j71=V20(),_71=r("events").EventEmitter;Z20.exports=dY;function dY($){var I=dY.saw($,{}),U=$.call(I.handlers,I);if(U!==void 0)I.handlers=U;return I.record(),I.chain()}dY.light=function(I){var U=dY.saw(I,{}),Y=I.call(U.handlers,U);if(Y!==void 0)U.handlers=Y;return U.chain()};dY.saw=function($,I){var U=new _71;return U.handlers=I,U.actions=[],U.chain=function(){var Y=j71(U.handlers).map(function(J){if(this.isRoot)return J;var Q=this.path;if(typeof J==="function")this.update(function(){return U.actions.push({path:Q,args:[].slice.call(arguments)}),Y})});return process.nextTick(function(){U.emit("begin"),U.next()}),Y},U.pop=function(){return U.actions.shift()},U.next=function(){var Y=U.pop();if(!Y)U.emit("end");else if(!Y.trap){var J=U.handlers;Y.path.forEach(function(Q){J=J[Q]}),J.apply(U.handlers,Y.args)}},U.nest=function(Y){var J=[].slice.call(arguments,1),Q=!0;if(typeof Y==="boolean"){var Q=Y;Y=J.shift()}var K=dY.saw($,{}),q=$.call(K.handlers,K);if(q!==void 0)K.handlers=q;if(typeof U.step<"u")K.record();if(Y.apply(K.chain(),J),Q!==!1)K.on("end",U.next)},U.record=function(){S71(U)},["trap","down","jump"].forEach(function(Y){U[Y]=function(){throw Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),U};function S71($){$.step=0,$.pop=function(){return $.actions[$.step++]},$.trap=function(I,U){var Y=Array.isArray(I)?I:[I];$.actions.push({path:Y,step:$.step,cb:U,trap:!0})},$.down=function(I){var U=(Array.isArray(I)?I:[I]).join("/"),Y=$.actions.slice($.step).map(function(Q){if(Q.trap&&Q.step<=$.step)return!1;return Q.path.join("/")==U}).indexOf(!0);if(Y>=0)$.step+=Y;else $.step=$.actions.length;var J=$.actions[$.step-1];if(J&&J.trap)$.step=J.step,J.cb();else $.next()},$.jump=function(I){$.step=I,$.next()}}});var w20=O((cR1,X20)=>{X20.exports=_6;function _6($){if(!(this instanceof _6))return new _6($);this.buffers=$||[],this.length=this.buffers.reduce(function(I,U){return I+U.length},0)}_6.prototype.push=function(){for(var $=0;$=0?$:this.length-$,J=[].slice.call(arguments,2);if(I===void 0)I=this.length-Y;else if(I>this.length-Y)I=this.length-Y;for(var $=0;$0){var H=Y-q;if(H+I0){var Z=J.slice();Z.unshift(V),Z.push(z),U.splice.apply(U,[G,1].concat(Z)),G+=Z.length,J=[]}else U.splice(G,1,V,z),G+=2}else Q.push(U[G].slice(H)),U[G]=U[G].slice(0,H),G++}if(J.length>0)U.splice.apply(U,[G,0].concat(J)),G+=J.length;while(Q.lengththis.length)I=this.length;var Y=0;for(var J=0;J=I-$?Math.min(H+(I-$)-K,G):G;U[q].copy(Q,K,H,W),K+=W-H}return Q};_6.prototype.pos=function($){if($<0||$>=this.length)throw Error("oob");var I=$,U=0,Y=null;for(;;){if(Y=this.buffers[U],I=this.buffers[U].length)if(Y=0,U++,U>=this.buffers.length)return-1;var G=this.buffers[U][Y];if(G==$[J]){if(J==0)Q={i:U,j:Y,pos:K};if(J++,J==$.length)return Q.pos}else if(J!=0)U=Q.i,Y=Q.j,K=Q.pos,J=0;Y++,K++}};_6.prototype.toBuffer=function(){return this.slice()};_6.prototype.toString=function($,I,U){return this.slice(I,U).toString($)}});var D20=O((dR1,L20)=>{L20.exports=function($){function I(Y,J){var Q=U.store,K=Y.split(".");K.slice(0,-1).forEach(function(G){if(Q[G]===void 0)Q[G]={};Q=Q[G]});var q=K[K.length-1];if(arguments.length==1)return Q[q];else return Q[q]=J}var U={get:function(Y){return I(Y)},set:function(Y,J){return I(Y,J)},store:$||{}};return U}});var Hq=O((g3,A20)=>{var g71=z20(),O20=r("events").EventEmitter,y71=w20(),Pw=D20(),h71=r("stream").Stream;g3=A20.exports=function($,I){if(Buffer.isBuffer($))return g3.parse($);var U=g3.stream();if($&&$.pipe)$.pipe(U);else if($)$.on(I||"data",function(Y){U.write(Y)}),$.on("end",function(){U.end()});return U};g3.stream=function($){if($)return g3.apply(null,arguments);var I=null;function U(V,z,Z){I={bytes:V,skip:Z,cb:function(w){I=null,z(w)}},J()}var Y=null;function J(){if(!I){if(W)H=!0;return}if(typeof I==="function")I();else{var V=Y+I.bytes;if(q.length>=V){var z;if(Y==null){if(z=q.splice(0,V),!I.skip)z=z.slice()}else{if(!I.skip)z=q.slice(Y,V);Y=V}if(I.skip)I.cb();else I.cb(z)}}}function Q(V){function z(){if(!H)V.next()}var Z=M20(function(w,L){return function(D){U(w,function(N){G.set(D,L(N)),z()})}});return Z.tap=function(w){V.nest(w,G.store)},Z.into=function(w,L){if(!G.get(w))G.set(w,{});var D=G;G=Pw(D.get(w)),V.nest(function(){L.apply(this,arguments),this.tap(function(){G=D})},G.store)},Z.flush=function(){G.store={},z()},Z.loop=function(w){var L=!1;V.nest(!1,function D(){this.vars=G.store,w.call(this,function(){L=!0,z()},G.store),this.tap(function(){if(L)V.next();else D.call(this)}.bind(this))},G.store)},Z.buffer=function(w,L){if(typeof L==="string")L=G.get(L);U(L,function(D){G.set(w,D),z()})},Z.skip=function(w){if(typeof w==="string")w=G.get(w);U(w,function(){z()})},Z.scan=function(L,D){if(typeof D==="string")D=new Buffer(D);else if(!Buffer.isBuffer(D))throw Error("search must be a Buffer or a string");var N=0;I=function(){var E=q.indexOf(D,Y+N),T=E-Y-N;if(E!==-1){if(I=null,Y!=null)G.set(L,q.slice(Y,Y+N+T)),Y+=N+T+D.length;else G.set(L,q.slice(0,N+T)),q.splice(0,N+T+D.length);z(),J()}else T=Math.max(q.length-D.length-Y-N,0);N+=T},J()},Z.peek=function(w){Y=0,V.nest(function(){w.call(this,G.store),this.tap(function(){Y=null})})},Z}var K=g71.light(Q);K.writable=!0;var q=y71();K.write=function(V){q.push(V),J()};var G=Pw(),H=!1,W=!1;return K.end=function(){W=!0},K.pipe=h71.prototype.pipe,Object.getOwnPropertyNames(O20.prototype).forEach(function(V){K[V]=O20.prototype[V]}),K};g3.parse=function(I){var U=M20(function(Q,K){return function(q){if(Y+Q<=I.length){var G=I.slice(Y,Y+Q);Y+=Q,J.set(q,K(G))}else J.set(q,null);return U}}),Y=0,J=Pw();return U.vars=J.store,U.tap=function(Q){return Q.call(U,J.store),U},U.into=function(Q,K){if(!J.get(Q))J.set(Q,{});var q=J;return J=Pw(q.get(Q)),K.call(U,J.store),J=q,U},U.loop=function(Q){var K=!1,q=function(){K=!0};while(K===!1)Q.call(U,q,J.store);return U},U.buffer=function(Q,K){if(typeof K==="string")K=J.get(K);var q=I.slice(Y,Math.min(I.length,Y+K));return Y+=K,J.set(Q,q),U},U.skip=function(Q){if(typeof Q==="string")Q=J.get(Q);return Y+=Q,U},U.scan=function(Q,K){if(typeof K==="string")K=new Buffer(K);else if(!Buffer.isBuffer(K))throw Error("search must be a Buffer or a string");J.set(Q,null);for(var q=0;q+Y<=I.length-K.length+1;q++){for(var G=0;G=I.length},U};function N20($){var I=0;for(var U=0;U<$.length;U++)I+=Math.pow(256,U)*$[U];return I}function F20($){var I=0;for(var U=0;U<$.length;U++)I+=Math.pow(256,$.length-U-1)*$[U];return I}function x71($){var I=F20($);if(($[0]&128)==128)I-=Math.pow(256,$.length);return I}function k71($){var I=N20($);if(($[$.length-1]&128)==128)I-=Math.pow(256,$.length);return I}function M20($){var I={};return[1,2,4,8].forEach(function(U){var Y=U*8;I["word"+Y+"le"]=I["word"+Y+"lu"]=$(U,N20),I["word"+Y+"ls"]=$(U,k71),I["word"+Y+"be"]=I["word"+Y+"bu"]=$(U,F20),I["word"+Y+"bs"]=$(U,x71)}),I.word8=I.word8u=I.word8be,I.word8s=I.word8bs,I}});var y3=O((mR1,rS)=>{var bS=function(){return this===void 0}();if(bS)rS.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:bS,propertyIsWritable:function($,I){var U=Object.getOwnPropertyDescriptor($,I);return!!(!U||U.writable||U.set)}};else iS={}.hasOwnProperty,nS={}.toString,pS={}.constructor.prototype,Tw=function($){var I=[];for(var U in $)if(iS.call($,U))I.push(U);return I},cS=function($,I){return{value:$[I]}},dS=function($,I,U){return $[I]=U.value,$},mS=function($){return $},lS=function($){try{return Object($).constructor.prototype}catch(I){return pS}},oS=function($){try{return nS.call($)==="[object Array]"}catch(I){return!1}},rS.exports={isArray:oS,keys:Tw,names:Tw,defineProperty:dS,getDescriptor:cS,freeze:mS,getPrototypeOf:lS,isES5:bS,propertyIsWritable:function(){return!0}};var iS,nS,pS,Tw,cS,dS,mS,lS,oS});var b1=O((Bw,Ig)=>{var l6=y3(),u71=typeof navigator>"u",tS={e:{}},aS,f71=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Bw!==void 0?Bw:null;function b71(){try{var $=aS;return aS=null,$.apply(this,arguments)}catch(I){return tS.e=I,tS}}function i71($){return aS=$,b71}var n71=function($,I){var U={}.hasOwnProperty;function Y(){this.constructor=$,this.constructor$=I;for(var J in I.prototype)if(U.call(I.prototype,J)&&J.charAt(J.length-1)!=="$")this[J+"$"]=I.prototype[J]}return Y.prototype=I.prototype,$.prototype=new Y,$.prototype};function $g($){return $==null||$===!0||$===!1||typeof $==="string"||typeof $==="number"}function p71($){return typeof $==="function"||typeof $==="object"&&$!==null}function c71($){if(!$g($))return $;return Error(Ew($))}function d71($,I){var U=$.length,Y=Array(U+1),J;for(J=0;J1,Y=I.length>0&&!(I.length===1&&I[0]==="constructor"),J=r71.test($+"")&&l6.names($).length>0;if(U||Y||J)return!0}return!1}catch(Q){return!1}}function a71(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var s71=/^[a-z$_][a-z$_0-9]*$/i;function e71($){return s71.test($)}function $31($,I,U){var Y=Array($);for(var J=0;J<$;++J)Y[J]=I+J+U;return Y}function Ew($){try{return $+""}catch(I){return"[no string representation]"}}function T20($){return $!==null&&typeof $==="object"&&typeof $.message==="string"&&typeof $.name==="string"}function I31($){try{P20($,"isOperational",!0)}catch(I){}}function U31($){if($==null)return!1;return $ instanceof Error.__BluebirdErrorTypes__.OperationalError||$.isOperational===!0}function sS($){return T20($)&&l6.propertyIsWritable($,"stack")}var Y31=function(){if(!("stack"in Error()))return function($){if(sS($))return $;try{throw Error(Ew($))}catch(I){return I}};else return function($){if(sS($))return $;return Error(Ew($))}}();function E20($){return{}.toString.call($)}function J31($,I,U){var Y=l6.names($);for(var J=0;J10||$[0]>0}();if(mY.isNode)mY.toFastProperties(process);try{throw Error()}catch($){mY.lastLineError=$}Ig.exports=mY});var C20=O((lR1,v20)=>{var Yg=b1(),h3,H31=function(){throw Error(`No async scheduler available +See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof y4))return new y4($,I);if(o51(this,$,I),this.noprocess)return this;var U=this.minimatch.set.length;this.matches=Array(U);for(var Y=0;Ythis.maxLength)return!1;if(!this.stat&&wS(this.cache,I)){var K=this.cache[I];if(Array.isArray(K))K="DIR";if(!U||K==="DIR")return K;if(U&&K==="FILE")return!1}var Y,J=this.statCache[I];if(!J){var Q;try{Q=this.fs.lstatSync(I)}catch(q){if(q&&(q.code==="ENOENT"||q.code==="ENOTDIR"))return this.statCache[I]=!1,!1}if(Q&&Q.isSymbolicLink())try{J=this.fs.statSync(I)}catch(q){J=Q}else J=Q}this.statCache[I]=J;var K=!0;if(J)K=J.isDirectory()?"DIR":"FILE";if(this.cache[I]=this.cache[I]||K,U&&K==="FILE")return!1;return K};y4.prototype._mark=function($){return C3.mark(this,$)};y4.prototype._makeAbs=function($){return C3.makeAbs(this,$)}});var ZS=O((rv1,FJ0)=>{FJ0.exports=OJ0;function OJ0($,I){if($&&I)return OJ0($)(I);if(typeof $!=="function")throw TypeError("need wrapper function");return Object.keys($).forEach(function(Y){U[Y]=$[Y]}),U;function U(){var Y=Array(arguments.length);for(var J=0;J{var NJ0=ZS();XS.exports=NJ0(Nz);XS.exports.strict=NJ0(MJ0);Nz.proto=Nz(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return Nz(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return MJ0(this)},configurable:!0})});function Nz($){var I=function(){if(I.called)return I.value;return I.called=!0,I.value=$.apply(this,arguments)};return I.called=!1,I}function MJ0($){var I=function(){if(I.called)throw Error(I.onceError);return I.called=!0,I.value=$.apply(this,arguments)},U=$.name||"Function wrapped with `once`";return I.onceError=U+" shouldn't be called more than once",I.called=!1,I}});var PJ0=O((av1,AJ0)=>{var a51=ZS(),Jq=Object.create(null),s51=Mz();AJ0.exports=a51(e51);function e51($,I){if(Jq[$])return Jq[$].push(I),null;else return Jq[$]=[I],$91($)}function $91($){return s51(function I(){var U=Jq[$],Y=U.length,J=I91(arguments);try{for(var Q=0;QY)U.splice(0,Y),process.nextTick(function(){I.apply(null,J)});else delete Jq[$]}})}function I91($){var I=$.length,U=[];for(var Y=0;Y{EJ0.exports=j3;var U91=YS(),TJ0=Lz(),sv1=TJ0.Minimatch,Y91=p0(),J91=r("events").EventEmitter,zS=r("path"),LS=r("assert"),Qq=Oz(),OS=DJ0(),_3=WS(),Q91=_3.setopts,DS=_3.ownProp,FS=PJ0(),ev1=r("util"),K91=_3.childrenIgnored,q91=_3.isIgnored,G91=Mz();function j3($,I,U){if(typeof I==="function")U=I,I={};if(!I)I={};if(I.sync){if(U)throw TypeError("callback provided to sync glob");return OS($,I)}return new j1($,I,U)}j3.sync=OS;var H91=j3.GlobSync=OS.GlobSync;j3.glob=j3;function W91($,I){if(I===null||typeof I!=="object")return $;var U=Object.keys(I),Y=U.length;while(Y--)$[U[Y]]=I[U[Y]];return $}j3.hasMagic=function($,I){var U=W91({},I);U.noprocess=!0;var Y=new j1($,U),J=Y.minimatch.set;if(!$)return!1;if(J.length>1)return!0;for(var Q=0;Qthis.maxLength)return I();if(!this.stat&&DS(this.cache,U)){var J=this.cache[U];if(Array.isArray(J))J="DIR";if(!Y||J==="DIR")return I(null,J);if(Y&&J==="FILE")return I()}var Q,K=this.statCache[U];if(K!==void 0)if(K===!1)return I(null,K);else{var q=K.isDirectory()?"DIR":"FILE";if(Y&&q==="FILE")return I();else return I(null,q,K)}var G=this,H=FS("stat\x00"+U,W);if(H)G.fs.lstat(U,H);function W(V,w){if(w&&w.isSymbolicLink())return G.fs.stat(U,function(Z,z){if(Z)G._stat2($,U,null,w,I);else G._stat2($,U,Z,z,I)});else G._stat2($,U,V,w,I)}};j1.prototype._stat2=function($,I,U,Y,J){if(U&&(U.code==="ENOENT"||U.code==="ENOTDIR"))return this.statCache[I]=!1,J();var Q=$.slice(-1)==="/";if(this.statCache[I]=Y,I.slice(-1)==="/"&&Y&&!Y.isDirectory())return J(null,!1,Y);var K=!0;if(Y)K=Y.isDirectory()?"DIR":"FILE";if(this.cache[I]=this.cache[I]||K,Q&&K==="FILE")return J();return J(null,K,Y)}});var CJ0=O((IR1,RJ0)=>{var vJ0=m6(),iY=r("path"),NS=b_(),w91=m_(),Z91=s_(),X91=e_(),z91=Yq(),S3=RJ0.exports={},BJ0=/[\/\\]/g,L91=function($,I){var U=[];return NS($).forEach(function(Y){var J=Y.indexOf("!")===0;if(J)Y=Y.slice(1);var Q=I(Y);if(J)U=w91(U,Q);else U=Z91(U,Q)}),U};S3.exists=function(){var $=iY.join.apply(iY,arguments);return vJ0.existsSync($)};S3.expand=function(...$){var I=X91($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var Y=L91(U,function(J){return z91.sync(J,I)});if(I.filter)Y=Y.filter(function(J){J=iY.join(I.cwd||"",J);try{if(typeof I.filter==="function")return I.filter(J);else return vJ0.statSync(J)[I.filter]()}catch(Q){return!1}});return Y};S3.expandMapping=function($,I,U){U=Object.assign({rename:function(Q,K){return iY.join(Q||"",K)}},U);var Y=[],J={};return S3.expand(U,$).forEach(function(Q){var K=Q;if(U.flatten)K=iY.basename(K);if(U.ext)K=K.replace(/(\.[^\/]*)?$/,U.ext);var q=U.rename(I,K,U);if(U.cwd)Q=iY.join(U.cwd,Q);if(q=q.replace(BJ0,"/"),Q=Q.replace(BJ0,"/"),J[q])J[q].src.push(Q);else Y.push({src:[Q],dest:q}),J[q]=Y[Y.length-1]}),Y};S3.normalizeFilesArray=function($){var I=[];if($.forEach(function(U){var Y;if("src"in U||"dest"in U)I.push(U)}),I.length===0)return[];return I=_(I).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=NS(U.src);else U.src=[U.src]}).map(function(U){var Y=Object.assign({},U);if(delete Y.src,delete Y.dest,U.expand)return S3.expandMapping(U.src,U.dest,Y).map(function(Q){var K=Object.assign({},U);return K.orig=Object.assign({},U),K.src=Q.src,K.dest=Q.dest,["expand","cwd","flatten","rename","ext"].forEach(function(q){delete K[q]}),K});var J=Object.assign({},U);if(J.orig=Object.assign({},U),"src"in J)Object.defineProperty(J,"src",{enumerable:!0,get:function Q(){var K;if(!("result"in Q))K=U.src,K=Array.isArray(K)?NS(K):[K],Q.result=S3.expand(Y,K);return Q.result}});if("dest"in J)J.dest=U.dest;return J}).flatten().value(),I}});var Kq=O((YR1,SJ0)=>{var MS=m6(),jJ0=r("path"),UR1=r("util"),D91=O_(),_J0=tX(),O91=A_(),F91=r("stream").Stream,N91=WY0().PassThrough,G$=SJ0.exports={};G$.file=CJ0();G$.collectStream=function($,I){var U=[],Y=0;$.on("error",I),$.on("data",function(J){U.push(J),Y+=J.length}),$.on("end",function(){var J=new Buffer(Y),Q=0;U.forEach(function(K){K.copy(J,Q),Q+=K.length}),I(null,J)})};G$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};G$.defaults=function($,I,U){var Y=arguments;return Y[0]=Y[0]||{},O91(...Y)};G$.isStream=function($){return $ instanceof F91};G$.lazyReadStream=function($){return new D91.Readable(function(){return MS.createReadStream($)})};G$.normalizeInputSource=function($){if($===null)return new Buffer(0);else if(typeof $==="string")return new Buffer($);else if(G$.isStream($)&&!$._readableState){var I=new N91;return $.pipe(I),I}return $};G$.sanitizePath=function($){return _J0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};G$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};G$.unixifyPath=function($){return _J0($,!1).replace(/^\w+:/,"")};G$.walkdir=function($,I,U){var Y=[];if(typeof I==="function")U=I,I=$;MS.readdir($,function(J,Q){var K=0,q,G;if(J)return U(J);(function H(){if(q=Q[K++],!q)return U(null,Y);G=jJ0.join($,q),MS.stat(G,function(W,V){if(Y.push({path:G,relative:jJ0.relative(I,G).replace(/\\/g,"/"),stats:V}),V&&V.isDirectory())G$.walkdir(G,I,function(w,Z){Z.forEach(function(z){Y.push(z)}),H()});else H()})})()})}});var xJ0=O((yJ0,hJ0)=>{var M91=r("util"),A91={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function gJ0($,I){Error.captureStackTrace(this,this.constructor),this.message=A91[$]||$,this.code=$,this.data=I}M91.inherits(gJ0,Error);yJ0=hJ0.exports=gJ0});var iJ0=O((JR1,bJ0)=>{var TS=r("fs"),uJ0=AI0(),kJ0=TI0(),AS=r("path"),y8=Kq(),P91=r("util").inherits,z4=xJ0(),fJ0=z6().Transform,PS=process.platform==="win32",M1=function($,I){if(!(this instanceof M1))return new M1($,I);if(typeof $!=="string")I=$,$="zip";I=this.options=y8.defaults(I,{highWaterMark:1048576,statConcurrency:4}),fJ0.call(this,I),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=kJ0.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=kJ0.queue(this._onStatQueueTask.bind(this),I.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};P91(M1,fJ0);M1.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};M1.prototype._append=function($,I){I=I||{};var U={source:null,filepath:$};if(!I.name)I.name=$;if(I.sourcePath=$,U.data=I,this._entriesCount++,I.stats&&I.stats instanceof TS.Stats){if(U=this._updateQueueTaskWithStats(U,I.stats),U){if(I.stats.size)this._fsEntriesTotalBytes+=I.stats.size;this._queue.push(U)}}else this._statQueue.push(U)};M1.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0};M1.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1};M1.prototype._moduleAppend=function($,I,U){if(this._state.aborted){U();return}this._module.append($,I,function(Y){if(this._task=null,this._state.aborted){this._shutdown();return}if(Y){this.emit("error",Y),setImmediate(U);return}if(this.emit("entry",I),this._entriesProcessedCount++,I.stats&&I.stats.size)this._fsEntriesProcessedBytes+=I.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(U)}.bind(this))};M1.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new z4("NOENDMETHOD"))};M1.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};M1.prototype._moduleSupports=function($){if(!this._module.supports||!this._module.supports[$])return!1;return this._module.supports[$]};M1.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};M1.prototype._normalizeEntryData=function($,I){if($=y8.defaults($,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),I&&$.stats===!1)$.stats=I;var U=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=y8.sanitizePath($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")U=!0,$.type="directory";else if(U)$.name+="/"}if(typeof $.mode==="number")if(PS)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(PS)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(PS&&U)$.mode=493}else if($.mode===null)$.mode=U?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=y8.dateify($.date);return $};M1.prototype._onModuleError=function($){this.emit("error",$)};M1.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()};M1.prototype._onQueueTask=function($,I){var U=()=>{if($.data.callback)$.data.callback();I()};if(this._state.finalizing||this._state.finalized||this._state.aborted){U();return}this._task=$,this._moduleAppend($.source,$.data,U)};M1.prototype._onStatQueueTask=function($,I){if(this._state.finalizing||this._state.finalized||this._state.aborted){I();return}TS.lstat($.filepath,function(U,Y){if(this._state.aborted){setImmediate(I);return}if(U){this._entriesCount--,this.emit("warning",U),setImmediate(I);return}if($=this._updateQueueTaskWithStats($,Y),$){if(Y.size)this._fsEntriesTotalBytes+=Y.size;this._queue.push($)}setImmediate(I)}.bind(this))};M1.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};M1.prototype._transform=function($,I,U){if($)this._pointer+=$.length;U(null,$)};M1.prototype._updateQueueTaskWithStats=function($,I){if(I.isFile())$.data.type="file",$.data.sourceType="stream",$.source=y8.lazyReadStream($.filepath);else if(I.isDirectory()&&this._moduleSupports("directory"))$.data.name=y8.trailingSlashIt($.data.name),$.data.type="directory",$.data.sourcePath=y8.trailingSlashIt($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(I.isSymbolicLink()&&this._moduleSupports("symlink")){var U=TS.readlinkSync($.filepath),Y=AS.dirname($.filepath);$.data.type="symlink",$.data.linkname=AS.relative(Y,AS.resolve(Y,U)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(I.isDirectory())this.emit("warning",new z4("DIRECTORYNOTSUPPORTED",$.data));else if(I.isSymbolicLink())this.emit("warning",new z4("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new z4("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,I),$};M1.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};M1.prototype.append=function($,I){if(this._state.finalize||this._state.aborted)return this.emit("error",new z4("QUEUECLOSED")),this;if(I=this._normalizeEntryData(I),typeof I.name!=="string"||I.name.length===0)return this.emit("error",new z4("ENTRYNAMEREQUIRED")),this;if(I.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new z4("DIRECTORYNOTSUPPORTED",{name:I.name})),this;if($=y8.normalizeInputSource($),Buffer.isBuffer($))I.sourceType="buffer";else if(y8.isStream($))I.sourceType="stream";else return this.emit("error",new z4("INPUTSTEAMBUFFERREQUIRED",{name:I.name})),this;return this._entriesCount++,this._queue.push({data:I,source:$}),this};M1.prototype.directory=function($,I,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new z4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z4("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,I===!1)I="";else if(typeof I!=="string")I=$;var Y=!1;if(typeof U==="function")Y=U,U={};else if(typeof U!=="object")U={};var J={stat:!0,dot:!0};function Q(){this._pending--,this._maybeFinalize()}function K(H){this.emit("error",H)}function q(H){G.pause();var W=!1,V=Object.assign({},U);V.name=H.relative,V.prefix=I,V.stats=H.stat,V.callback=G.resume.bind(G);try{if(Y){if(V=Y(V),V===!1)W=!0;else if(typeof V!=="object")throw new z4("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(w){this.emit("error",w);return}if(W){G.resume();return}this._append(H.absolute,V)}var G=uJ0($,J);return G.on("error",K.bind(this)),G.on("match",q.bind(this)),G.on("end",Q.bind(this)),this};M1.prototype.file=function($,I){if(this._state.finalize||this._state.aborted)return this.emit("error",new z4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z4("FILEFILEPATHREQUIRED")),this;return this._append($,I),this};M1.prototype.glob=function($,I,U){this._pending++,I=y8.defaults(I,{stat:!0,pattern:$});function Y(){this._pending--,this._maybeFinalize()}function J(q){this.emit("error",q)}function Q(q){K.pause();var G=Object.assign({},U);G.callback=K.resume.bind(K),G.stats=q.stat,G.name=q.relative,this._append(q.absolute,G)}var K=uJ0(I.cwd||".",I);return K.on("error",J.bind(this)),K.on("match",Q.bind(this)),K.on("end",Y.bind(this)),this};M1.prototype.finalize=function(){if(this._state.aborted){var $=new z4("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var I=new z4("FINALIZING");return this.emit("error",I),Promise.reject(I)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var U=this;return new Promise(function(Y,J){var Q;U._module.on("end",function(){if(!Q)Y()}),U._module.on("error",function(K){Q=!0,J(K)})})};M1.prototype.setFormat=function($){if(this._format)return this.emit("error",new z4("FORMATSET")),this;return this._format=$,this};M1.prototype.setModule=function($){if(this._state.aborted)return this.emit("error",new z4("ABORTED")),this;if(this._state.module)return this.emit("error",new z4("MODULESET")),this;return this._module=$,this._modulePipe(),this};M1.prototype.symlink=function($,I,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new z4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z4("SYMLINKFILEPATHREQUIRED")),this;if(typeof I!=="string"||I.length===0)return this.emit("error",new z4("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new z4("SYMLINKNOTSUPPORTED",{filepath:$})),this;var Y={};if(Y.type="symlink",Y.name=$.replace(/\\/g,"/"),Y.linkname=I.replace(/\\/g,"/"),Y.sourceType="buffer",typeof U==="number")Y.mode=U;return this._entriesCount++,this._queue.push({data:Y,source:Buffer.concat([])}),this};M1.prototype.pointer=function(){return this._pointer};M1.prototype.use=function($){return this._streams.push($),this};bJ0.exports=M1});var Pz=O((QR1,nJ0)=>{var Az=nJ0.exports=function(){};Az.prototype.getName=function(){};Az.prototype.getSize=function(){};Az.prototype.getLastModifiedDate=function(){};Az.prototype.isDirectory=function(){}});var Tz=O((KR1,pJ0)=>{var j$=pJ0.exports={};j$.dateToDos=function($,I){I=I||!1;var U=I?$.getFullYear():$.getUTCFullYear();if(U<1980)return 2162688;else if(U>=2044)return 2141175677;var Y={year:U,month:I?$.getMonth():$.getUTCMonth(),date:I?$.getDate():$.getUTCDate(),hours:I?$.getHours():$.getUTCHours(),minutes:I?$.getMinutes():$.getUTCMinutes(),seconds:I?$.getSeconds():$.getUTCSeconds()};return Y.year-1980<<25|Y.month+1<<21|Y.date<<16|Y.hours<<11|Y.minutes<<5|Y.seconds/2};j$.dosToDate=function($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)};j$.fromDosTime=function($){return j$.dosToDate($.readUInt32LE(0))};j$.getEightBytes=function($){var I=Buffer.alloc(8);return I.writeUInt32LE($%4294967296,0),I.writeUInt32LE($/4294967296|0,4),I};j$.getShortBytes=function($){var I=Buffer.alloc(2);return I.writeUInt16LE(($&65535)>>>0,0),I};j$.getShortBytesValue=function($,I){return $.readUInt16LE(I)};j$.getLongBytes=function($){var I=Buffer.alloc(4);return I.writeUInt32LE(($&4294967295)>>>0,0),I};j$.getLongBytesValue=function($,I){return $.readUInt32LE(I)};j$.toDosTime=function($){return j$.getLongBytes(j$.dateToDos($))}});var ES=O((qR1,rJ0)=>{var cJ0=Tz(),dJ0=8,mJ0=1,T91=4,E91=2,lJ0=64,oJ0=2048,K6=rJ0.exports=function(){if(!(this instanceof K6))return new K6;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};K6.prototype.encode=function(){return cJ0.getShortBytes((this.descriptor?dJ0:0)|(this.utf8?oJ0:0)|(this.encryption?mJ0:0)|(this.strongEncryption?lJ0:0))};K6.prototype.parse=function($,I){var U=cJ0.getShortBytesValue($,I),Y=new K6;return Y.useDataDescriptor((U&dJ0)!==0),Y.useUTF8ForNames((U&oJ0)!==0),Y.useStrongEncryption((U&lJ0)!==0),Y.useEncryption((U&mJ0)!==0),Y.setSlidingDictionarySize((U&E91)!==0?8192:4096),Y.setNumberOfShannonFanoTrees((U&T91)!==0?3:2),Y};K6.prototype.setNumberOfShannonFanoTrees=function($){this.numberOfShannonFanoTrees=$};K6.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};K6.prototype.setSlidingDictionarySize=function($){this.slidingDictionarySize=$};K6.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};K6.prototype.useDataDescriptor=function($){this.descriptor=$};K6.prototype.usesDataDescriptor=function(){return this.descriptor};K6.prototype.useEncryption=function($){this.encryption=$};K6.prototype.usesEncryption=function(){return this.encryption};K6.prototype.useStrongEncryption=function($){this.strongEncryption=$};K6.prototype.usesStrongEncryption=function(){return this.strongEncryption};K6.prototype.useUTF8ForNames=function($){this.utf8=$};K6.prototype.usesUTF8ForNames=function(){return this.utf8}});var aJ0=O((GR1,tJ0)=>{tJ0.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var BS=O((HR1,sJ0)=>{sJ0.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var vS=O((WR1,YQ0)=>{var B91=r("util").inherits,v91=tX(),$Q0=Pz(),IQ0=ES(),eJ0=aJ0(),_6=BS(),UQ0=Tz(),Y1=YQ0.exports=function($){if(!(this instanceof Y1))return new Y1($);if($Q0.call(this),this.platform=_6.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new IQ0,this.crc=0,this.time=-1,this.minver=_6.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)};B91(Y1,$Q0);Y1.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};Y1.prototype.getComment=function(){return this.comment!==null?this.comment:""};Y1.prototype.getCompressedSize=function(){return this.csize};Y1.prototype.getCrc=function(){return this.crc};Y1.prototype.getExternalAttributes=function(){return this.exattr};Y1.prototype.getExtra=function(){return this.extra!==null?this.extra:_6.EMPTY};Y1.prototype.getGeneralPurposeBit=function(){return this.gpb};Y1.prototype.getInternalAttributes=function(){return this.inattr};Y1.prototype.getLastModifiedDate=function(){return this.getTime()};Y1.prototype.getLocalFileDataExtra=function(){return this.getExtra()};Y1.prototype.getMethod=function(){return this.method};Y1.prototype.getName=function(){return this.name};Y1.prototype.getPlatform=function(){return this.platform};Y1.prototype.getSize=function(){return this.size};Y1.prototype.getTime=function(){return this.time!==-1?UQ0.dosToDate(this.time):-1};Y1.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};Y1.prototype.getUnixMode=function(){return this.platform!==_6.PLATFORM_UNIX?0:this.getExternalAttributes()>>_6.SHORT_SHIFT&_6.SHORT_MASK};Y1.prototype.getVersionNeededToExtract=function(){return this.minver};Y1.prototype.setComment=function($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$};Y1.prototype.setCompressedSize=function($){if($<0)throw Error("invalid entry compressed size");this.csize=$};Y1.prototype.setCrc=function($){if($<0)throw Error("invalid entry crc32");this.crc=$};Y1.prototype.setExternalAttributes=function($){this.exattr=$>>>0};Y1.prototype.setExtra=function($){this.extra=$};Y1.prototype.setGeneralPurposeBit=function($){if(!($ instanceof IQ0))throw Error("invalid entry GeneralPurposeBit");this.gpb=$};Y1.prototype.setInternalAttributes=function($){this.inattr=$};Y1.prototype.setMethod=function($){if($<0)throw Error("invalid entry compression method");this.method=$};Y1.prototype.setName=function($,I=!1){if($=v91($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),I)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$};Y1.prototype.setPlatform=function($){this.platform=$};Y1.prototype.setSize=function($){if($<0)throw Error("invalid entry size");this.size=$};Y1.prototype.setTime=function($,I){if(!($ instanceof Date))throw Error("invalid entry time");this.time=UQ0.dateToDos($,I)};Y1.prototype.setUnixMode=function($){$|=this.isDirectory()?_6.S_IFDIR:_6.S_IFREG;var I=0;I|=$<<_6.SHORT_SHIFT|(this.isDirectory()?_6.S_DOS_D:_6.S_DOS_A),this.setExternalAttributes(I),this.mode=$&_6.MODE_MASK,this.platform=_6.PLATFORM_UNIX};Y1.prototype.setVersionNeededToExtract=function($){this.minver=$};Y1.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};Y1.prototype.isUnixSymlink=function(){return(this.getUnixMode()&eJ0.FILE_TYPE_FLAG)===eJ0.LINK_FLAG};Y1.prototype.isZip64=function(){return this.csize>_6.ZIP64_MAGIC||this.size>_6.ZIP64_MAGIC}});var CS=O((VR1,JQ0)=>{var R91=r("stream").Stream,C91=z6().PassThrough,RS=JQ0.exports={};RS.isStream=function($){return $ instanceof R91};RS.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(RS.isStream($)&&!$._readableState){var I=new C91;return $.pipe(I),I}return $}});var _S=O((wR1,KQ0)=>{var j91=r("util").inherits,jS=z6().Transform,_91=Pz(),QQ0=CS(),H$=KQ0.exports=function($){if(!(this instanceof H$))return new H$($);jS.call(this,$),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};j91(H$,jS);H$.prototype._appendBuffer=function($,I,U){};H$.prototype._appendStream=function($,I,U){};H$.prototype._emitErrorCallback=function($){if($)this.emit("error",$)};H$.prototype._finish=function($){};H$.prototype._normalizeEntry=function($){};H$.prototype._transform=function($,I,U){U(null,$)};H$.prototype.entry=function($,I,U){if(I=I||null,typeof U!=="function")U=this._emitErrorCallback.bind(this);if(!($ instanceof _91)){U(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){U(Error("unacceptable entry after finish"));return}if(this._archive.processing){U(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,I=QQ0.normalizeInputSource(I),Buffer.isBuffer(I))this._appendBuffer($,I,U);else if(QQ0.isStream(I))this._appendStream($,I,U);else{this._archive.processing=!1,U(Error("input source must be valid Stream or Buffer instance"));return}return this};H$.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};H$.prototype.getBytesWritten=function(){return this.offset};H$.prototype.write=function($,I){if($)this.offset+=$.length;return jS.prototype.write.call(this,$,I)}});var hS=O((ZR1,GQ0)=>{var a9=r("buffer").Buffer,SS=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array<"u")SS=new Int32Array(SS);function qQ0($){if(a9.isBuffer($))return $;var I=typeof a9.alloc==="function"&&typeof a9.from==="function";if(typeof $==="number")return I?a9.alloc($):new a9($);else if(typeof $==="string")return I?a9.from($):new a9($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function S91($){var I=qQ0(4);return I.writeInt32BE($,0),I}function gS($,I){if($=qQ0($),a9.isBuffer(I))I=I.readUInt32BE(0);var U=~~I^-1;for(var Y=0;Y<$.length;Y++)U=SS[(U^$[Y])&255]^U>>>8;return U^-1}function yS(){return S91(gS.apply(null,arguments))}yS.signed=function(){return gS.apply(null,arguments)};yS.unsigned=function(){return gS.apply(null,arguments)>>>0};GQ0.exports=yS});var kS=O((xS)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var HQ0;(function($){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof xS==="object")$(xS);else if(typeof define==="function"&&define.amd)define(function(){var I={};return $(I),I});else $(HQ0={});else $(HQ0={})})(function($){$.version="1.2.2";function I(){var g=0,b=Array(256);for(var C=0;C!=256;++C)g=C,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,b[C]=g;return typeof Int32Array<"u"?new Int32Array(b):b}var U=I();function Y(g){var b=0,C=0,p=0,n=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(p=0;p!=256;++p)n[p]=g[p];for(p=0;p!=256;++p){C=g[p];for(b=256+p;b<4096;b+=256)C=n[b]=C>>>8^g[C&255]}var S=[];for(p=1;p!=16;++p)S[p-1]=typeof Int32Array<"u"?n.subarray(p*256,p*256+256):n.slice(p*256,p*256+256);return S}var J=Y(U),Q=J[0],K=J[1],q=J[2],G=J[3],H=J[4],W=J[5],V=J[6],w=J[7],Z=J[8],z=J[9],L=J[10],D=J[11],F=J[12],E=J[13],T=J[14];function A(g,b){var C=b^-1;for(var p=0,n=g.length;p>>8^U[(C^g.charCodeAt(p++))&255];return~C}function R(g,b){var C=b^-1,p=g.length-15,n=0;for(;n>8&255]^F[g[n++]^C>>16&255]^D[g[n++]^C>>>24]^L[g[n++]]^z[g[n++]]^Z[g[n++]]^w[g[n++]]^V[g[n++]]^W[g[n++]]^H[g[n++]]^G[g[n++]]^q[g[n++]]^K[g[n++]]^Q[g[n++]]^U[g[n++]];p+=15;while(n>>8^U[(C^g[n++])&255];return~C}function u(g,b){var C=b^-1;for(var p=0,n=g.length,S=0,f=0;p>>8^U[(C^S)&255];else if(S<2048)C=C>>>8^U[(C^(192|S>>6&31))&255],C=C>>>8^U[(C^(128|S&63))&255];else if(S>=55296&&S<57344)S=(S&1023)+64,f=g.charCodeAt(p++)&1023,C=C>>>8^U[(C^(240|S>>8&7))&255],C=C>>>8^U[(C^(128|S>>2&63))&255],C=C>>>8^U[(C^(128|f>>6&15|(S&3)<<4))&255],C=C>>>8^U[(C^(128|f&63))&255];else C=C>>>8^U[(C^(224|S>>12&15))&255],C=C>>>8^U[(C^(128|S>>6&63))&255],C=C>>>8^U[(C^(128|S&63))&255];return~C}$.table=U,$.bstr=A,$.buf=R,$.str=u})});var wQ0=O((zR1,VQ0)=>{var{Transform:g91}=z6(),y91=kS();class WQ0 extends g91{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,I,U){if($)this.checksum=y91.buf($,this.checksum)>>>0,this.rawSize+=$.length;U(null,$)}digest($){let I=Buffer.allocUnsafe(4);return I.writeUInt32BE(this.checksum>>>0,0),$?I.toString($):I}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}VQ0.exports=WQ0});var zQ0=O((LR1,XQ0)=>{var{DeflateRaw:h91}=r("zlib"),x91=kS();class ZQ0 extends h91{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,I){if($)this.compressedSize+=$.length;return super.push($,I)}_transform($,I,U){if($)this.checksum=x91.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,I,U)}digest($){let I=Buffer.allocUnsafe(4);return I.writeUInt32BE(this.checksum>>>0,0),$?I.toString($):I}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}XQ0.exports=ZQ0});var uS=O((DR1,LQ0)=>{LQ0.exports={CRC32Stream:wQ0(),DeflateCRC32Stream:zQ0()}});var FQ0=O((MR1,OQ0)=>{var k91=r("util").inherits,u91=hS(),{CRC32Stream:f91}=uS(),{DeflateCRC32Stream:b91}=uS(),DQ0=_S(),OR1=vS(),FR1=ES(),o0=BS(),NR1=CS(),y0=Tz(),b4=OQ0.exports=function($){if(!(this instanceof b4))return new b4($);$=this.options=this._defaults($),DQ0.call(this,$),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:$.forceZip64,forceLocalTime:$.forceLocalTime}};k91(b4,DQ0);b4.prototype._afterAppend=function($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()};b4.prototype._appendBuffer=function($,I,U){if(I.length===0)$.setMethod(o0.METHOD_STORED);var Y=$.getMethod();if(Y===o0.METHOD_STORED)$.setSize(I.length),$.setCompressedSize(I.length),$.setCrc(u91.unsigned(I));if(this._writeLocalFileHeader($),Y===o0.METHOD_STORED){this.write(I),this._afterAppend($),U(null,$);return}else if(Y===o0.METHOD_DEFLATED){this._smartStream($,U).end(I);return}else{U(Error("compression method "+Y+" not implemented"));return}};b4.prototype._appendStream=function($,I,U){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(o0.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader($);var Y=this._smartStream($,U);I.once("error",function(J){Y.emit("error",J),Y.end()}),I.pipe(Y)};b4.prototype._defaults=function($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=o0.ZLIB_BEST_SPEED;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$};b4.prototype._finish=function(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};b4.prototype._normalizeEntry=function($){if($.getMethod()===-1)$.setMethod(o0.METHOD_DEFLATED);if($.getMethod()===o0.METHOD_DEFLATED)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(o0.MIN_VERSION_DATA_DESCRIPTOR);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}};b4.prototype._smartStream=function($,I){var U=$.getMethod()===o0.METHOD_DEFLATED,Y=U?new b91(this.options.zlib):new f91,J=null;function Q(){var K=Y.digest().readUInt32BE(0);$.setCrc(K),$.setSize(Y.size()),$.setCompressedSize(Y.size(!0)),this._afterAppend($),I(J,$)}return Y.once("end",Q.bind(this)),Y.once("error",function(K){J=K}),Y.pipe(this,{end:!1}),Y};b4.prototype._writeCentralDirectoryEnd=function(){var $=this._entries.length,I=this._archive.centralLength,U=this._archive.centralOffset;if(this.isZip64())$=o0.ZIP64_MAGIC_SHORT,I=o0.ZIP64_MAGIC,U=o0.ZIP64_MAGIC;this.write(y0.getLongBytes(o0.SIG_EOCD)),this.write(o0.SHORT_ZERO),this.write(o0.SHORT_ZERO),this.write(y0.getShortBytes($)),this.write(y0.getShortBytes($)),this.write(y0.getLongBytes(I)),this.write(y0.getLongBytes(U));var Y=this.getComment(),J=Buffer.byteLength(Y);this.write(y0.getShortBytes(J)),this.write(Y)};b4.prototype._writeCentralDirectoryZip64=function(){this.write(y0.getLongBytes(o0.SIG_ZIP64_EOCD)),this.write(y0.getEightBytes(44)),this.write(y0.getShortBytes(o0.MIN_VERSION_ZIP64)),this.write(y0.getShortBytes(o0.MIN_VERSION_ZIP64)),this.write(o0.LONG_ZERO),this.write(o0.LONG_ZERO),this.write(y0.getEightBytes(this._entries.length)),this.write(y0.getEightBytes(this._entries.length)),this.write(y0.getEightBytes(this._archive.centralLength)),this.write(y0.getEightBytes(this._archive.centralOffset)),this.write(y0.getLongBytes(o0.SIG_ZIP64_EOCD_LOC)),this.write(o0.LONG_ZERO),this.write(y0.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(y0.getLongBytes(1))};b4.prototype._writeCentralFileHeader=function($){var I=$.getGeneralPurposeBit(),U=$.getMethod(),Y=$._offsets,J=$.getSize(),Q=$.getCompressedSize();if($.isZip64()||Y.file>o0.ZIP64_MAGIC){J=o0.ZIP64_MAGIC,Q=o0.ZIP64_MAGIC,$.setVersionNeededToExtract(o0.MIN_VERSION_ZIP64);var K=Buffer.concat([y0.getShortBytes(o0.ZIP64_EXTRA_ID),y0.getShortBytes(24),y0.getEightBytes($.getSize()),y0.getEightBytes($.getCompressedSize()),y0.getEightBytes(Y.file)],28);$.setExtra(K)}this.write(y0.getLongBytes(o0.SIG_CFH)),this.write(y0.getShortBytes($.getPlatform()<<8|o0.VERSION_MADEBY)),this.write(y0.getShortBytes($.getVersionNeededToExtract())),this.write(I.encode()),this.write(y0.getShortBytes(U)),this.write(y0.getLongBytes($.getTimeDos())),this.write(y0.getLongBytes($.getCrc())),this.write(y0.getLongBytes(Q)),this.write(y0.getLongBytes(J));var q=$.getName(),G=$.getComment(),H=$.getCentralDirectoryExtra();if(I.usesUTF8ForNames())q=Buffer.from(q),G=Buffer.from(G);if(this.write(y0.getShortBytes(q.length)),this.write(y0.getShortBytes(H.length)),this.write(y0.getShortBytes(G.length)),this.write(o0.SHORT_ZERO),this.write(y0.getShortBytes($.getInternalAttributes())),this.write(y0.getLongBytes($.getExternalAttributes())),Y.file>o0.ZIP64_MAGIC)this.write(y0.getLongBytes(o0.ZIP64_MAGIC));else this.write(y0.getLongBytes(Y.file));this.write(q),this.write(H),this.write(G)};b4.prototype._writeDataDescriptor=function($){if(this.write(y0.getLongBytes(o0.SIG_DD)),this.write(y0.getLongBytes($.getCrc())),$.isZip64())this.write(y0.getEightBytes($.getCompressedSize())),this.write(y0.getEightBytes($.getSize()));else this.write(y0.getLongBytes($.getCompressedSize())),this.write(y0.getLongBytes($.getSize()))};b4.prototype._writeLocalFileHeader=function($){var I=$.getGeneralPurposeBit(),U=$.getMethod(),Y=$.getName(),J=$.getLocalFileDataExtra();if($.isZip64())I.useDataDescriptor(!0),$.setVersionNeededToExtract(o0.MIN_VERSION_ZIP64);if(I.usesUTF8ForNames())Y=Buffer.from(Y);if($._offsets.file=this.offset,this.write(y0.getLongBytes(o0.SIG_LFH)),this.write(y0.getShortBytes($.getVersionNeededToExtract())),this.write(I.encode()),this.write(y0.getShortBytes(U)),this.write(y0.getLongBytes($.getTimeDos())),$._offsets.data=this.offset,I.usesDataDescriptor())this.write(o0.LONG_ZERO),this.write(o0.LONG_ZERO),this.write(o0.LONG_ZERO);else this.write(y0.getLongBytes($.getCrc())),this.write(y0.getLongBytes($.getCompressedSize())),this.write(y0.getLongBytes($.getSize()));this.write(y0.getShortBytes(Y.length)),this.write(y0.getShortBytes(J.length)),this.write(Y),this.write(J),$._offsets.contents=this.offset};b4.prototype.getComment=function($){return this._archive.comment!==null?this._archive.comment:""};b4.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>o0.ZIP64_MAGIC_SHORT||this._archive.centralLength>o0.ZIP64_MAGIC||this._archive.centralOffset>o0.ZIP64_MAGIC};b4.prototype.setComment=function($){this._archive.comment=$}});var fS=O((AR1,NQ0)=>{NQ0.exports={ArchiveEntry:Pz(),ZipArchiveEntry:vS(),ArchiveOutputStream:_S(),ZipArchiveOutputStream:FQ0()}});var TQ0=O((PR1,PQ0)=>{var AQ0=m6(),nY=r("path"),bS=b_(),i91=m_(),n91=s_(),p91=e_(),c91=Yq(),g3=PQ0.exports={},MQ0=/[\/\\]/g,d91=function($,I){var U=[];return bS($).forEach(function(Y){var J=Y.indexOf("!")===0;if(J)Y=Y.slice(1);var Q=I(Y);if(J)U=i91(U,Q);else U=n91(U,Q)}),U};g3.exists=function(){var $=nY.join.apply(nY,arguments);return AQ0.existsSync($)};g3.expand=function(...$){var I=p91($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var Y=d91(U,function(J){return c91.sync(J,I)});if(I.filter)Y=Y.filter(function(J){J=nY.join(I.cwd||"",J);try{if(typeof I.filter==="function")return I.filter(J);else return AQ0.statSync(J)[I.filter]()}catch(Q){return!1}});return Y};g3.expandMapping=function($,I,U){U=Object.assign({rename:function(Q,K){return nY.join(Q||"",K)}},U);var Y=[],J={};return g3.expand(U,$).forEach(function(Q){var K=Q;if(U.flatten)K=nY.basename(K);if(U.ext)K=K.replace(/(\.[^\/]*)?$/,U.ext);var q=U.rename(I,K,U);if(U.cwd)Q=nY.join(U.cwd,Q);if(q=q.replace(MQ0,"/"),Q=Q.replace(MQ0,"/"),J[q])J[q].src.push(Q);else Y.push({src:[Q],dest:q}),J[q]=Y[Y.length-1]}),Y};g3.normalizeFilesArray=function($){var I=[];if($.forEach(function(U){var Y;if("src"in U||"dest"in U)I.push(U)}),I.length===0)return[];return I=_(I).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=bS(U.src);else U.src=[U.src]}).map(function(U){var Y=Object.assign({},U);if(delete Y.src,delete Y.dest,U.expand)return g3.expandMapping(U.src,U.dest,Y).map(function(Q){var K=Object.assign({},U);return K.orig=Object.assign({},U),K.src=Q.src,K.dest=Q.dest,["expand","cwd","flatten","rename","ext"].forEach(function(q){delete K[q]}),K});var J=Object.assign({},U);if(J.orig=Object.assign({},U),"src"in J)Object.defineProperty(J,"src",{enumerable:!0,get:function Q(){var K;if(!("result"in Q))K=U.src,K=Array.isArray(K)?bS(K):[K],Q.result=g3.expand(Y,K);return Q.result}});if("dest"in J)J.dest=U.dest;return J}).flatten().value(),I}});var RQ0=O((TR1,vQ0)=>{var iS=m6(),EQ0=r("path"),m91=O_(),BQ0=tX(),l91=A_(),o91=r("stream").Stream,r91=z6().PassThrough,W$=vQ0.exports={};W$.file=TQ0();W$.collectStream=function($,I){var U=[],Y=0;$.on("error",I),$.on("data",function(J){U.push(J),Y+=J.length}),$.on("end",function(){var J=Buffer.alloc(Y),Q=0;U.forEach(function(K){K.copy(J,Q),Q+=K.length}),I(null,J)})};W$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};W$.defaults=function($,I,U){var Y=arguments;return Y[0]=Y[0]||{},l91(...Y)};W$.isStream=function($){return $ instanceof o91};W$.lazyReadStream=function($){return new m91.Readable(function(){return iS.createReadStream($)})};W$.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(W$.isStream($))return $.pipe(new r91);return $};W$.sanitizePath=function($){return BQ0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};W$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};W$.unixifyPath=function($){return BQ0($,!1).replace(/^\w+:/,"")};W$.walkdir=function($,I,U){var Y=[];if(typeof I==="function")U=I,I=$;iS.readdir($,function(J,Q){var K=0,q,G;if(J)return U(J);(function H(){if(q=Q[K++],!q)return U(null,Y);G=EQ0.join($,q),iS.stat(G,function(W,V){if(Y.push({path:G,relative:EQ0.relative(I,G).replace(/\\/g,"/"),stats:V}),V&&V.isDirectory())W$.walkdir(G,I,function(w,Z){Z.forEach(function(z){Y.push(z)}),H()});else H()})})()})}});var jQ0=O((ER1,CQ0)=>{var t91=r("util").inherits,pS=fS().ZipArchiveOutputStream,a91=fS().ZipArchiveEntry,nS=RQ0(),pY=CQ0.exports=function($){if(!(this instanceof pY))return new pY($);if($=this.options=$||{},$.zlib=$.zlib||{},pS.call(this,$),typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;if($.namePrependSlash=$.namePrependSlash||!1,$.comment&&$.comment.length>0)this.setComment($.comment)};t91(pY,pS);pY.prototype._normalizeFileData=function($){$=nS.defaults($,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var I=$.type==="directory",U=$.type==="symlink";if($.name){if($.name=nS.sanitizePath($.name),!U&&$.name.slice(-1)==="/")I=!0,$.type="directory";else if(I)$.name+="/"}if(I||U)$.store=!0;return $.date=nS.dateify($.date),$};pY.prototype.entry=function($,I,U){if(typeof U!=="function")U=this._emitErrorCallback.bind(this);if(I=this._normalizeFileData(I),I.type!=="file"&&I.type!=="directory"&&I.type!=="symlink"){U(Error(I.type+" entries not currently supported"));return}if(typeof I.name!=="string"||I.name.length===0){U(Error("entry name must be a non-empty string value"));return}if(I.type==="symlink"&&typeof I.linkname!=="string"){U(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var Y=new a91(I.name);if(Y.setTime(I.date,this.options.forceLocalTime),I.namePrependSlash)Y.setName(I.name,!0);if(I.store)Y.setMethod(0);if(I.comment.length>0)Y.setComment(I.comment);if(I.type==="symlink"&&typeof I.mode!=="number")I.mode=40960;if(typeof I.mode==="number"){if(I.type==="symlink")I.mode|=40960;Y.setUnixMode(I.mode)}if(I.type==="symlink"&&typeof I.linkname==="string")$=Buffer.from(I.linkname);return pS.prototype.entry.call(this,Y,$,U)};pY.prototype.finalize=function(){this.finish()}});var SQ0=O((BR1,_Q0)=>{var s91=jQ0(),e91=Kq(),s9=function($){if(!(this instanceof s9))return new s9($);$=this.options=e91.defaults($,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new s91($)};s9.prototype.append=function($,I,U){this.engine.entry($,I,U)};s9.prototype.finalize=function(){this.engine.finalize()};s9.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};s9.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};s9.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};_Q0.exports=s9});var hQ0=O((vR1,yQ0)=>{var{Buffer:Y8}=r("buffer"),gQ0=Symbol.for("BufferList");function d1($){if(!(this instanceof d1))return new d1($);d1._init.call(this,$)}d1._init=function(I){if(Object.defineProperty(this,gQ0,{value:!0}),this._bufs=[],this.length=0,I)this.append(I)};d1.prototype._new=function(I){return new d1(I)};d1.prototype._offset=function(I){if(I===0)return[0,0];let U=0;for(let Y=0;Ythis.length||I<0)return;let U=this._offset(I);return this._bufs[U[0]][U[1]]};d1.prototype.slice=function(I,U){if(typeof I==="number"&&I<0)I+=this.length;if(typeof U==="number"&&U<0)U+=this.length;return this.copy(null,0,I,U)};d1.prototype.copy=function(I,U,Y,J){if(typeof Y!=="number"||Y<0)Y=0;if(typeof J!=="number"||J>this.length)J=this.length;if(Y>=this.length)return I||Y8.alloc(0);if(J<=0)return I||Y8.alloc(0);let Q=!!I,K=this._offset(Y),q=J-Y,G=q,H=Q&&U||0,W=K[1];if(Y===0&&J===this.length){if(!Q)return this._bufs.length===1?this._bufs[0]:Y8.concat(this._bufs,this.length);for(let V=0;Vw)this._bufs[V].copy(I,H,W),H+=w;else{this._bufs[V].copy(I,H,W,W+G),H+=w;break}if(G-=w,W)W=0}if(I.length>H)return I.slice(0,H);return I};d1.prototype.shallowSlice=function(I,U){if(I=I||0,U=typeof U!=="number"?this.length:U,I<0)I+=this.length;if(U<0)U+=this.length;if(I===U)return this._new();let Y=this._offset(I),J=this._offset(U),Q=this._bufs.slice(Y[0],J[0]+1);if(J[1]===0)Q.pop();else Q[Q.length-1]=Q[Q.length-1].slice(0,J[1]);if(Y[1]!==0)Q[0]=Q[0].slice(Y[1]);return this._new(Q)};d1.prototype.toString=function(I,U,Y){return this.slice(U,Y).toString(I)};d1.prototype.consume=function(I){if(I=Math.trunc(I),Number.isNaN(I)||I<=0)return this;while(this._bufs.length)if(I>=this._bufs[0].length)I-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(I),this.length-=I;break}return this};d1.prototype.duplicate=function(){let I=this._new();for(let U=0;Uthis.length?this.length:I;let Y=this._offset(I),J=Y[0],Q=Y[1];for(;J=$.length){let G=K.indexOf($,Q);if(G!==-1)return this._reverseOffset([J,G]);Q=K.length-$.length+1}else{let G=this._reverseOffset([J,Q]);if(this._match(G,$))return G;Q++}Q=0}return-1};d1.prototype._match=function($,I){if(this.length-${var cS=z6().Duplex,$71=p0(),qq=hQ0();function F6($){if(!(this instanceof F6))return new F6($);if(typeof $==="function"){this._callback=$;let I=function(Y){if(this._callback)this._callback(Y),this._callback=null}.bind(this);this.on("pipe",function(Y){Y.on("error",I)}),this.on("unpipe",function(Y){Y.removeListener("error",I)}),$=null}qq._init.call(this,$),cS.call(this)}$71(F6,cS);Object.assign(F6.prototype,qq.prototype);F6.prototype._new=function(I){return new F6(I)};F6.prototype._write=function(I,U,Y){if(this._appendBuffer(I),typeof Y==="function")Y()};F6.prototype._read=function(I){if(!this.length)return this.push(null);I=Math.min(I,this.length),this.push(this.slice(0,I)),this.consume(I)};F6.prototype.end=function(I){if(cS.prototype.end.call(this,I),this._callback)this._callback(null,this.slice()),this._callback=null};F6.prototype._destroy=function(I,U){this._bufs.length=0,this.length=0,U(I)};F6.prototype._isBufferList=function(I){return I instanceof F6||I instanceof qq||F6.isBufferList(I)};F6.isBufferList=qq.isBufferList;Ez.exports=F6;Ez.exports.BufferListStream=F6;Ez.exports.BufferList=qq});var lS=O((w71)=>{var I71=Buffer.alloc,U71="0000000000000000000",Y71="7777777777777777777",kQ0=48,uQ0=Buffer.from("ustar\x00","binary"),J71=Buffer.from("00","binary"),Q71=Buffer.from("ustar ","binary"),K71=Buffer.from(" \x00","binary"),q71=parseInt("7777",8),Gq=257,mS=263,G71=function($,I,U){if(typeof $!=="number")return U;if($=~~$,$>=I)return I;if($>=0)return $;if($+=I,$>=0)return $;return 0},H71=function($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},W71=function($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},fQ0=function($,I,U,Y){for(;UI)return Y71.slice(0,I)+" ";else return U71.slice(0,I-$.length)+$+" "};function V71($){var I;if($[0]===128)I=!0;else if($[0]===255)I=!1;else return null;var U=[];for(var Y=$.length-1;Y>0;Y--){var J=$[Y];if(I)U.push(J);else U.push(255-J)}var Q=0,K=U.length;for(Y=0;Y=Math.pow(10,U))U++;return I+U+$};w71.decodeLongPath=function($,I){return cY($,0,$.length,I)};w71.encodePax=function($){var I="";if($.name)I+=dS(" path="+$.name+` +`);if($.linkname)I+=dS(" linkpath="+$.linkname+` +`);var U=$.pax;if(U)for(var Y in U)I+=dS(" "+Y+"="+U[Y]+` +`);return Buffer.from(I)};w71.decodePax=function($){var I={};while($.length){var U=0;while(U<$.length&&$[U]!==32)U++;var Y=parseInt($.slice(0,U).toString(),10);if(!Y)return I;var J=$.slice(U+1,Y-1).toString(),Q=J.indexOf("=");if(Q===-1)return I;I[J.slice(0,Q)]=J.slice(Q+1),$=$.slice(Y)}return I};w71.encode=function($){var I=I71(512),U=$.name,Y="";if($.typeflag===5&&U[U.length-1]!=="/")U+="/";if(Buffer.byteLength(U)!==U.length)return null;while(Buffer.byteLength(U)>100){var J=U.indexOf("/");if(J===-1)return null;Y+=Y?"/"+U.slice(0,J):U.slice(0,J),U=U.slice(J+1)}if(Buffer.byteLength(U)>100||Buffer.byteLength(Y)>155)return null;if($.linkname&&Buffer.byteLength($.linkname)>100)return null;if(I.write(U),I.write(e9($.mode&q71,6),100),I.write(e9($.uid,6),108),I.write(e9($.gid,6),116),I.write(e9($.size,11),124),I.write(e9($.mtime.getTime()/1000|0,11),136),I[156]=kQ0+W71($.type),$.linkname)I.write($.linkname,157);if(uQ0.copy(I,Gq),J71.copy(I,mS),$.uname)I.write($.uname,265);if($.gname)I.write($.gname,297);if(I.write(e9($.devmajor||0,6),329),I.write(e9($.devminor||0,6),337),Y)I.write(Y,345);return I.write(e9(bQ0(I),6),148),I};w71.decode=function($,I,U){var Y=$[156]===0?0:$[156]-kQ0,J=cY($,0,100,I),Q=$7($,100,8),K=$7($,108,8),q=$7($,116,8),G=$7($,124,12),H=$7($,136,12),W=H71(Y),V=$[157]===0?null:cY($,157,100,I),w=cY($,265,32),Z=cY($,297,32),z=$7($,329,8),L=$7($,337,8),D=bQ0($);if(D===256)return null;if(D!==$7($,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(uQ0.compare($,Gq,Gq+6)===0){if($[345])J=cY($,345,155,I)+"/"+J}else if(Q71.compare($,Gq,Gq+6)===0&&K71.compare($,mS,mS+2)===0);else if(!U)throw Error("Invalid tar header: unknown format.");if(Y===0&&J&&J[J.length-1]==="/")Y=5;return{name:J,mode:Q,uid:K,gid:q,size:G,mtime:new Date(1000*H),type:W,linkname:V,uname:w,gname:Z,devmajor:z,devminor:L}}});var lQ0=O((jR1,mQ0)=>{var nQ0=r("util"),O71=xQ0(),Hq=lS(),pQ0=z6().Writable,cQ0=z6().PassThrough,dQ0=function(){},iQ0=function($){return $&=511,$&&512-$},F71=function($,I){var U=new Bz($,I);return U.end(),U},N71=function($,I){if(I.path)$.name=I.path;if(I.linkpath)$.linkname=I.linkpath;if(I.size)$.size=parseInt(I.size,10);return $.pax=I,$},Bz=function($,I){this._parent=$,this.offset=I,cQ0.call(this,{autoDestroy:!1})};nQ0.inherits(Bz,cQ0);Bz.prototype.destroy=function($){this._parent.destroy($)};var C5=function($){if(!(this instanceof C5))return new C5($);pQ0.call(this,$),$=$||{},this._offset=0,this._buffer=O71(),this._missing=0,this._partial=!1,this._onparse=dQ0,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var I=this,U=I._buffer,Y=function(){I._continue()},J=function(w){if(I._locked=!1,w)return I.destroy(w);if(!I._stream)Y()},Q=function(){I._stream=null;var w=iQ0(I._header.size);if(w)I._parse(w,K);else I._parse(512,V);if(!I._locked)Y()},K=function(){I._buffer.consume(iQ0(I._header.size)),I._parse(512,V),Y()},q=function(){var w=I._header.size;I._paxGlobal=Hq.decodePax(U.slice(0,w)),U.consume(w),Q()},G=function(){var w=I._header.size;if(I._pax=Hq.decodePax(U.slice(0,w)),I._paxGlobal)I._pax=Object.assign({},I._paxGlobal,I._pax);U.consume(w),Q()},H=function(){var w=I._header.size;this._gnuLongPath=Hq.decodeLongPath(U.slice(0,w),$.filenameEncoding),U.consume(w),Q()},W=function(){var w=I._header.size;this._gnuLongLinkPath=Hq.decodeLongPath(U.slice(0,w),$.filenameEncoding),U.consume(w),Q()},V=function(){var w=I._offset,Z;try{Z=I._header=Hq.decode(U.slice(0,512),$.filenameEncoding,$.allowUnknownFormat)}catch(z){I.emit("error",z)}if(U.consume(512),!Z){I._parse(512,V),Y();return}if(Z.type==="gnu-long-path"){I._parse(Z.size,H),Y();return}if(Z.type==="gnu-long-link-path"){I._parse(Z.size,W),Y();return}if(Z.type==="pax-global-header"){I._parse(Z.size,q),Y();return}if(Z.type==="pax-header"){I._parse(Z.size,G),Y();return}if(I._gnuLongPath)Z.name=I._gnuLongPath,I._gnuLongPath=null;if(I._gnuLongLinkPath)Z.linkname=I._gnuLongLinkPath,I._gnuLongLinkPath=null;if(I._pax)I._header=Z=N71(Z,I._pax),I._pax=null;if(I._locked=!0,!Z.size||Z.type==="directory"){I._parse(512,V),I.emit("entry",Z,F71(I,w),J);return}I._stream=new Bz(I,w),I.emit("entry",Z,I._stream,J),I._parse(Z.size,Q),Y()};this._onheader=V,this._parse(512,V)};nQ0.inherits(C5,pQ0);C5.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream)this._stream.emit("close")};C5.prototype._parse=function($,I){if(this._destroyed)return;if(this._offset+=$,this._missing=$,I===this._onheader)this._partial=!1;this._onparse=I};C5.prototype._continue=function(){if(this._destroyed)return;var $=this._cb;if(this._cb=dQ0,this._overflow)this._write(this._overflow,void 0,$);else $()};C5.prototype._write=function($,I,U){if(this._destroyed)return;var Y=this._stream,J=this._buffer,Q=this._missing;if($.length)this._partial=!0;if($.lengthQ)K=$.slice(Q),$=$.slice(0,Q);if(Y)Y.end($);else J.append($);this._overflow=K,this._onparse()};C5.prototype._final=function($){if(this._partial)return this.destroy(Error("Unexpected end of data"));$()};mQ0.exports=C5});var rQ0=O((_R1,oQ0)=>{oQ0.exports=r("fs").constants||r("constants")});var sQ0=O((SR1,aQ0)=>{var M71=Mz(),A71=function(){},P71=global.Bare?queueMicrotask:process.nextTick.bind(process),T71=function($){return $.setHeader&&typeof $.abort==="function"},E71=function($){return $.stdio&&Array.isArray($.stdio)&&$.stdio.length===3},tQ0=function($,I,U){if(typeof I==="function")return tQ0($,null,I);if(!I)I={};U=M71(U||A71);var{_writableState:Y,_readableState:J}=$,Q=I.readable||I.readable!==!1&&$.readable,K=I.writable||I.writable!==!1&&$.writable,q=!1,G=function(){if(!$.writable)H()},H=function(){if(K=!1,!Q)U.call($)},W=function(){if(Q=!1,!K)U.call($)},V=function(D){U.call($,D?Error("exited with error code: "+D):null)},w=function(D){U.call($,D)},Z=function(){P71(z)},z=function(){if(q)return;if(Q&&!(J&&(J.ended&&!J.destroyed)))return U.call($,Error("premature close"));if(K&&!(Y&&(Y.ended&&!Y.destroyed)))return U.call($,Error("premature close"))},L=function(){$.req.on("finish",H)};if(T71($))if($.on("complete",H),$.on("abort",Z),$.req)L();else $.on("request",L);else if(K&&!Y)$.on("end",G),$.on("close",G);if(E71($))$.on("exit",V);if($.on("end",W),$.on("finish",H),I.error!==!1)$.on("error",w);return $.on("close",Z),function(){if(q=!0,$.removeListener("complete",H),$.removeListener("abort",Z),$.removeListener("request",L),$.req)$.req.removeListener("finish",H);$.removeListener("end",G),$.removeListener("close",G),$.removeListener("finish",H),$.removeListener("exit",V),$.removeListener("end",W),$.removeListener("error",w),$.removeListener("close",Z)}};aQ0.exports=tQ0});var Y20=O((gR1,U20)=>{var dY=rQ0(),eQ0=sQ0(),Rz=p0(),B71=Buffer.alloc,$20=z6().Readable,mY=z6().Writable,v71=r("string_decoder").StringDecoder,vz=lS(),R71=parseInt("755",8),C71=parseInt("644",8),I20=B71(1024),rS=function(){},oS=function($,I){if(I&=511,I)$.push(I20.slice(0,512-I))};function j71($){switch($&dY.S_IFMT){case dY.S_IFBLK:return"block-device";case dY.S_IFCHR:return"character-device";case dY.S_IFDIR:return"directory";case dY.S_IFIFO:return"fifo";case dY.S_IFLNK:return"symlink"}return"file"}var Cz=function($){mY.call(this),this.written=0,this._to=$,this._destroyed=!1};Rz(Cz,mY);Cz.prototype._write=function($,I,U){if(this.written+=$.length,this._to.push($))return U();this._to._drain=U};Cz.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var jz=function(){mY.call(this),this.linkname="",this._decoder=new v71("utf-8"),this._destroyed=!1};Rz(jz,mY);jz.prototype._write=function($,I,U){this.linkname+=this._decoder.write($),U()};jz.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var Wq=function(){mY.call(this),this._destroyed=!1};Rz(Wq,mY);Wq.prototype._write=function($,I,U){U(Error("No body allowed for this entry"))};Wq.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var h8=function($){if(!(this instanceof h8))return new h8($);$20.call(this,$),this._drain=rS,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};Rz(h8,$20);h8.prototype.entry=function($,I,U){if(this._stream)throw Error("already piping an entry");if(this._finalized||this._destroyed)return;if(typeof I==="function")U=I,I=null;if(!U)U=rS;var Y=this;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=j71($.mode);if(!$.mode)$.mode=$.type==="directory"?R71:C71;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof I==="string")I=Buffer.from(I);if(Buffer.isBuffer(I)){$.size=I.length,this._encode($);var J=this.push(I);if(oS(Y,$.size),J)process.nextTick(U);else this._drain=U;return new Wq}if($.type==="symlink"&&!$.linkname){var Q=new jz;return eQ0(Q,function(q){if(q)return Y.destroy(),U(q);$.linkname=Q.linkname,Y._encode($),U()}),Q}if(this._encode($),$.type!=="file"&&$.type!=="contiguous-file")return process.nextTick(U),new Wq;var K=new Cz(this);return this._stream=K,eQ0(K,function(q){if(Y._stream=null,q)return Y.destroy(),U(q);if(K.written!==$.size)return Y.destroy(),U(Error("size mismatch"));if(oS(Y,$.size),Y._finalizing)Y.finalize();U()}),K};h8.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(I20),this.push(null)};h8.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream&&this._stream.destroy)this._stream.destroy()};h8.prototype._encode=function($){if(!$.pax){var I=vz.encode($);if(I){this.push(I);return}}this._encodePax($)};h8.prototype._encodePax=function($){var I=vz.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),U={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:I.length,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(vz.encode(U)),this.push(I),oS(this,I.length),U.size=$.size,U.type=$.type,this.push(vz.encode(U))};h8.prototype._read=function($){var I=this._drain;this._drain=rS,I()};U20.exports=h8});var J20=O((_71)=>{_71.extract=lQ0();_71.pack=Y20()});var q20=O((hR1,K20)=>{var y71=r("zlib"),h71=J20(),Q20=Kq(),j5=function($){if(!(this instanceof j5))return new j5($);if($=this.options=Q20.defaults($,{gzip:!1}),typeof $.gzipOptions!=="object")$.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=h71.pack($),this.compressor=!1,$.gzip)this.compressor=y71.createGzip($.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};j5.prototype._onCompressorError=function($){this.engine.emit("error",$)};j5.prototype.append=function($,I,U){var Y=this;I.mtime=I.date;function J(K,q){if(K){U(K);return}Y.engine.entry(I,q,function(G){U(G,I)})}if(I.sourceType==="buffer")J(null,$);else if(I.sourceType==="stream"&&I.stats){I.size=I.stats.size;var Q=Y.engine.entry(I,function(K){U(K,I)});$.pipe(Q)}else if(I.sourceType==="stream")Q20.collectStream($,J)};j5.prototype.finalize=function(){this.engine.finalize()};j5.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};j5.prototype.pipe=function($,I){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe($,I);else return this.engine.pipe.apply(this.engine,arguments)};j5.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};K20.exports=j5});var V20=O((xR1,W20)=>{var x71=r("util").inherits,G20=z6().Transform,k71=hS(),H20=Kq(),I7=function($){if(!(this instanceof I7))return new I7($);$=this.options=H20.defaults($,{}),G20.call(this,$),this.supports={directory:!0,symlink:!0},this.files=[]};x71(I7,G20);I7.prototype._transform=function($,I,U){U(null,$)};I7.prototype._writeStringified=function(){var $=JSON.stringify(this.files);this.write($)};I7.prototype.append=function($,I,U){var Y=this;I.crc32=0;function J(Q,K){if(Q){U(Q);return}I.size=K.length||0,I.crc32=k71.unsigned(K),Y.files.push(I),U(null,I)}if(I.sourceType==="buffer")J(null,$);else if(I.sourceType==="stream")H20.collectStream($,J)};I7.prototype.finalize=function(){this._writeStringified(),this.end()};W20.exports=I7});var Z20=O((kR1,w20)=>{var u71=iJ0(),Vq={},U7=function($,I){return U7.create($,I)};U7.create=function($,I){if(Vq[$]){var U=new u71($,I);return U.setFormat($),U.setModule(new Vq[$](I)),U}else throw Error("create("+$+"): format not registered")};U7.registerFormat=function($,I){if(Vq[$])throw Error("register("+$+"): format already registered");if(typeof I!=="function")throw Error("register("+$+"): format module invalid");if(typeof I.prototype.append!=="function"||typeof I.prototype.finalize!=="function")throw Error("register("+$+"): format module missing methods");Vq[$]=I};U7.isRegisteredFormat=function($){if(Vq[$])return!0;return!1};U7.registerFormat("zip",SQ0());U7.registerFormat("tar",q20());U7.registerFormat("json",V20());w20.exports=U7});var L20=O((uR1,z20)=>{class X20{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString($){return this._values[$]}add($){let I=this._hash[$];if(I===void 0)I=this._hash[$]=this._values.length,this._values.push($);return this._totalRefs++,I}}z20.exports=X20});var N20=O((fR1,F20)=>{var f71=L6(),b71=x9();class D20{constructor($){this.writer=$}push($){this.writer.addHyperlink($)}}class O20{constructor($){this.id=$.id,this.count=0,this._hyperlinks=[],this._workbook=$.workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/_rels/sheet${this.id}.xml.rels`);return this._stream}get length(){return this._hyperlinks.length}each($){return this._hyperlinks.forEach($)}get hyperlinksProxy(){return this._hyperlinksProxy||(this._hyperlinksProxy=new D20(this))}addHyperlink($){let I={Target:$.target,Type:b71.Hyperlink,TargetMode:"External"},U=this._writeRelationship(I);this._hyperlinks.push({rId:U,address:$.address})}addMedia($){return this._writeRelationship($)}addRelationship($){return this._writeRelationship($)}commit(){if(this.count)this._writeClose(),this.stream.end()}_writeOpen(){this.stream.write(` + `)}_writeRelationship($){if(!this.count)this._writeOpen();let I=`rId${++this.count}`;if($.TargetMode)this.stream.write(``);else this.stream.write(``);return I}_writeClose(){this.stream.write("")}}F20.exports=O20});var E20=O((bR1,T20)=>{var M20=$6(),A20=x9(),i71=G4(),n71=BC(),p71=RC();class P20{constructor($,I,U){this.id=U.id,this.count=0,this._worksheet=$,this._workbook=U.workbook,this._sheetRelsWriter=I}get commentsStream(){if(!this._commentsStream)this._commentsStream=this._workbook._openStream(`/xl/comments${this.id}.xml`);return this._commentsStream}get vmlStream(){if(!this._vmlStream)this._vmlStream=this._workbook._openStream(`xl/drawings/vmlDrawing${this.id}.vml`);return this._vmlStream}_addRelationships(){let $={Type:A20.Comments,Target:`../comments${this.id}.xml`};this._sheetRelsWriter.addRelationship($);let I={Type:A20.VmlDrawing,Target:`../drawings/vmlDrawing${this.id}.vml`};this.vmlRelId=this._sheetRelsWriter.addRelationship(I)}_addCommentRefs(){this._workbook.commentRefs.push({commentName:`comments${this.id}`,vmlDrawing:`vmlDrawing${this.id}`})}_writeOpen(){this.commentsStream.write('Author'),this.vmlStream.write('')}_writeComment($,I){let U=new n71,Y=new M20;U.render(Y,$),this.commentsStream.write(Y.xml);let J=new p71,Q=new M20;J.render(Q,$,I),this.vmlStream.write(Q.xml)}_writeClose(){this.commentsStream.write(""),this.vmlStream.write("")}addComments($){if($&&$.length){if(!this.startedData)this._worksheet.comments=[],this._writeOpen(),this._addRelationships(),this._addCommentRefs(),this.startedData=!0;$.forEach((I)=>{I.refAddress=i71.decodeAddress(I.ref)}),$.forEach((I)=>{this._writeComment(I,this.count),this.count+=1})}}commit(){if(this.count)this._writeClose(),this.commentsStream.end(),this.vmlStream.end()}}T20.exports=P20});var _20=O((iR1,j20)=>{var c71=Z4(),d71=x9(),tS=G4(),B20=cE(),v20=q5(),m71=QR(),R20=cV(),aS=mV(),l71=N20(),o71=E20(),r71=nE(),i4=new m71,sS=g9(),t71=$C(),a71=IC(),s71=UC(),e71=tR(),$31=oR(),I31=aR(),U31=YC(),Y31=JC(),J31=QC(),Q31=KC(),K31=qC(),q31=GC(),G31=ZC(),H31=WC(),W31=HC(),n4={dataValidations:new t71,sheetProperties:new a71,sheetFormatProperties:new s71,columns:new sS({tag:"cols",length:!1,childXform:new e71}),row:new $31,hyperlinks:new sS({tag:"hyperlinks",length:!1,childXform:new I31}),sheetViews:new sS({tag:"sheetViews",length:!1,childXform:new U31}),sheetProtection:new Y31,pageMargins:new J31,pageSeteup:new Q31,autoFilter:new K31,picture:new q31,conditionalFormattings:new G31,headerFooter:new H31,rowBreaks:new W31};class C20{constructor($){this.id=$.id,this.name=$.name||`Sheet${this.id}`,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new l71($),this._sheetCommentsWriter=new o71(this,this._sheetRelsWriter,$),this._dimensions=new v20,this._rowZero=1,this.committed=!1,this.dataValidations=new r71,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.useSharedStrings=$.useSharedStrings||!1,this._workbook=$.workbook,this.hasComments=!1,this._views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/sheet${this.id}.xml`),this._stream.pause();return this._stream}destroy(){throw Error("Invalid Operation: destroy")}commit(){if(this.committed)return;if(this._rows.forEach(($)=>{if($)this._writeRow($)}),this._rows=null,!this.startedData)this._writeOpenSheetData();this._writeCloseSheetData(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writeSheetProtection(),this._writePageMargins(),this._writePageSetup(),this._writeBackground(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeLegacyData(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((Y,J)=>{let Q=J.header&&1||J.headers&&J.headers.length||0;return Math.max(Y,Q)},0);let I=1,U=this._columns=[];$.forEach((Y)=>{let J=new aS(this,I++,!1);U.push(J),J.defn=Y})}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){c71.each(this._keys,$)}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=tS.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new aS(this,I++))}return this._columns[$-1]}get _nextRow(){return this._rowZero+this._rows.length}eachRow($,I){if(!I)I=$,$=void 0;if($&&$.includeEmpty){let U=this._nextRow;for(let Y=this._rowZero;Y{if(U.hasValues)I(U,U.number)})}_commitRow($){let I=!1;while(this._rows.length&&!I){let U=this._rows.shift();if(this._rowZero++,U)this._writeRow(U),I=U.number===$.number,this._rowZero=U.number+1}}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){let I=$-this._rowZero;return this._rows[I]}getRow($){let I=$-this._rowZero;if(I<0)throw Error("Out of bounds: this row has been committed");let U=this._rows[I];if(!U)this._rows[I]=U=new R20(this,$);return U}addRow($){let I=new R20(this,this._nextRow);return this._rows[I.number-this._rowZero]=I,I.values=$,I}findCell($,I){let U=tS.getAddress($,I),Y=this.findRow(U.row);return Y?Y.findCell(U.column):void 0}getCell($,I){let U=tS.getAddress($,I);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let I=new v20($);this._merges.forEach((Y)=>{if(Y.intersects(I))throw Error("Cannot merge already merged cells")});let U=this.getCell(I.top,I.left);for(let Y=I.top;Y<=I.bottom;Y++)for(let J=I.left;J<=I.right;J++)if(Y>I.top||J>I.left)this.getCell(Y,J).merge(U);this._merges.push(I)}addConditionalFormatting($){this.conditionalFormatting.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormatting.splice($,1);else if($ instanceof Function)this.conditionalFormatting=this.conditionalFormatting.filter($);else this.conditionalFormatting=[]}addBackgroundImage($){this._background={imageId:$}}getBackgroundImageId(){return this._background&&this._background.imageId}protect($,I){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},I&&"spinCount"in I)I.spinCount=Number.isFinite(I.spinCount)?Math.round(Math.max(0,I.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=B20.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=I&&"spinCount"in I?I.spinCount:1e5,this.sheetProtection.hashValue=B20.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(I){if(this.sheetProtection=Object.assign(this.sheetProtection,I),!$&&"spinCount"in I)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}_write($){i4.reset(),i4.addText($),this.stream.write(i4)}_writeSheetProperties($,I,U){let Y={outlineProperties:I&&I.outlineProperties,tabColor:I&&I.tabColor,pageSetup:U&&U.fitToPage?{fitToPage:U.fitToPage}:void 0};$.addText(n4.sheetProperties.toXml(Y))}_writeSheetFormatProperties($,I){let U=I?{defaultRowHeight:I.defaultRowHeight,dyDescent:I.dyDescent,outlineLevelCol:I.outlineLevelCol,outlineLevelRow:I.outlineLevelRow}:void 0;if(I.defaultColWidth)U.defaultColWidth=I.defaultColWidth;$.addText(n4.sheetFormatProperties.toXml(U))}_writeOpenWorksheet(){i4.reset(),i4.addText(''),i4.addText(''),this._writeSheetProperties(i4,this.properties,this.pageSetup),i4.addText(n4.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(i4,this.properties),this.stream.write(i4)}_writeColumns(){let $=aS.toModel(this.columns);if($)n4.columns.prepare($,{styles:this._workbook.styles}),this.stream.write(n4.columns.toXml($))}_writeOpenSheetData(){this._write("")}_writeRow($){if(!this.startedData)this._writeColumns(),this._writeOpenSheetData(),this.startedData=!0;if($.hasValues||$.height){let{model:I}=$,U={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};if(n4.row.prepare(I,U),this.stream.write(n4.row.toXml(I)),U.comments.length)this.hasComments=!0,this._sheetCommentsWriter.addComments(U.comments)}}_writeCloseSheetData(){this._write("")}_writeMergeCells(){if(this._merges.length)i4.reset(),i4.addText(``),this._merges.forEach(($)=>{i4.addText(``)}),i4.addText(""),this.stream.write(i4)}_writeHyperlinks(){this.stream.write(n4.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let $={styles:this._workbook.styles};n4.conditionalFormattings.prepare(this.conditionalFormatting,$),this.stream.write(n4.conditionalFormattings.toXml(this.conditionalFormatting))}_writeRowBreaks(){this.stream.write(n4.rowBreaks.toXml(this.rowBreaks))}_writeDataValidations(){this.stream.write(n4.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(n4.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(n4.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(n4.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(n4.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(n4.autoFilter.toXml(this.autoFilter))}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let $=this._workbook.getImage(this._background.imageId),I=this._sheetRelsWriter.addMedia({Target:`../media/${$.name}`,Type:d71.Image});this._background={...this._background,rId:I}}this.stream.write(n4.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){if(this.hasComments)i4.reset(),i4.addText(``),this.stream.write(i4)}_writeDimensions(){}_writeCloseWorksheet(){this._write("")}}j20.exports=C20});var k20=O((nR1,x20)=>{var V31=r("fs"),w31=Z20(),S20=VK(),y3=x9(),g20=PZ(),Z31=L20(),X31=mE(),z31=iR(),y20=vZ(),L31=pR(),D31=cR(),O31=CZ(),F31=nR(),N31=_20(),M31=CC();class h20{constructor($){if($=$||{},this.created=$.created||new Date,this.modified=$.modified||this.created,this.creator=$.creator||"ExcelJS",this.lastModifiedBy=$.lastModifiedBy||"ExcelJS",this.lastPrinted=$.lastPrinted,this.useSharedStrings=$.useSharedStrings||!1,this.sharedStrings=new Z31,this.styles=$.useStyles?new g20(!0):new g20.Mock(!0),this._definedNames=new X31,this._worksheets=[],this.views=[],this.zipOptions=$.zip,this.media=[],this.commentRefs=[],this.zip=w31("zip",this.zipOptions),$.stream)this.stream=$.stream;else if($.filename)this.stream=V31.createWriteStream($.filename);else this.stream=new S20;this.zip.pipe(this.stream),this.promise=Promise.all([this.addThemes(),this.addOfficeRels()])}get definedNames(){return this._definedNames}_openStream($){let I=new S20({bufSize:65536,batch:!0});return this.zip.append(I,{name:$}),I.on("finish",()=>{I.emit("zipped")}),I}_commitWorksheets(){let $=function(U){if(!U.committed)return new Promise((Y)=>{U.stream.on("zipped",()=>{Y()}),U.commit()});return Promise.resolve()},I=this._worksheets.map($);if(I.length)return Promise.all(I);return Promise.resolve()}async commit(){return await this.promise,await this.addMedia(),await this._commitWorksheets(),await Promise.all([this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addWorkbookRels()]),await this.addWorkbook(),this._finalize()}get nextId(){let $;for($=1;$!0);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((I)=>I&&I.name===$);return}addStyles(){return new Promise(($)=>{this.zip.append(this.styles.xml,{name:"xl/styles.xml"}),$()})}addThemes(){return new Promise(($)=>{this.zip.append(M31,{name:"xl/theme/theme1.xml"}),$()})}addOfficeRels(){return new Promise(($)=>{let U=new y20().toXml([{Id:"rId1",Type:y3.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:y3.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:y3.ExtenderProperties,Target:"docProps/app.xml"}]);this.zip.append(U,{name:"/_rels/.rels"}),$()})}addContentTypes(){return new Promise(($)=>{let I={worksheets:this._worksheets.filter(Boolean),sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media},Y=new L31().toXml(I);this.zip.append(Y,{name:"[Content_Types].xml"}),$()})}addMedia(){return Promise.all(this.media.map(($)=>{if($.type==="image"){let I=`xl/media/${$.name}`;if($.filename)return this.zip.file($.filename,{name:I});if($.buffer)return this.zip.append($.buffer,{name:I});if($.base64){let U=$.base64,Y=U.substring(U.indexOf(",")+1);return this.zip.append(Y,{name:I,base64:!0})}}throw Error("Unsupported media")}))}addApp(){return new Promise(($)=>{let I={worksheets:this._worksheets.filter(Boolean)},Y=new D31().toXml(I);this.zip.append(Y,{name:"docProps/app.xml"}),$()})}addCore(){return new Promise(($)=>{let U=new z31().toXml(this);this.zip.append(U,{name:"docProps/core.xml"}),$()})}addSharedStrings(){if(this.sharedStrings.count)return new Promise(($)=>{let U=new F31().toXml(this.sharedStrings);this.zip.append(U,{name:"/xl/sharedStrings.xml"}),$()});return Promise.resolve()}addWorkbookRels(){let $=1,I=[{Id:`rId${$++}`,Type:y3.Styles,Target:"styles.xml"},{Id:`rId${$++}`,Type:y3.Theme,Target:"theme/theme1.xml"}];if(this.sharedStrings.count)I.push({Id:`rId${$++}`,Type:y3.SharedStrings,Target:"sharedStrings.xml"});return this._worksheets.forEach((U)=>{if(U)U.rId=`rId${$++}`,I.push({Id:U.rId,Type:y3.Worksheet,Target:`worksheets/sheet${U.id}.xml`})}),new Promise((U)=>{let J=new y20().toXml(I);this.zip.append(J,{name:"/xl/_rels/workbook.xml.rels"}),U()})}addWorkbook(){let{zip:$}=this,I={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},calcProperties:{}};return new Promise((U)=>{let Y=new O31;Y.prepare(I),$.append(Y.toXml(I),{name:"/xl/workbook.xml"}),U()})}_finalize(){return new Promise(($,I)=>{this.stream.on("error",I),this.stream.on("finish",()=>{$(this)}),this.zip.on("error",I),this.zip.finalize()})}}x20.exports=h20});var f20=O((pR1,u20)=>{var eS=r("events").listenerCount;eS=eS||function($,I){var U=$&&$._events&&$._events[I];if(Array.isArray(U))return U.length;else if(typeof U==="function")return 1;else return 0};u20.exports=eS});var i20=O((cR1,b20)=>{b20.exports=function(I){var U=process&&process.version?process.version:"v5.0.0",Y=U.split(".")[0].replace("v","");return Y<6?new Buffer(I):Buffer.from(I)}});var p20=O(()=>{var wq=i20();if(!Buffer.prototype.indexOf)Buffer.prototype.indexOf=function($,I){if(I=I||0,typeof $==="string"||$ instanceof String)$=wq($);else if(typeof $==="number"||$ instanceof Number)$=wq([$]);var U=$.length;for(var Y=I;Y<=this.length-U;Y++){var J=!1;for(var Q=0;Q=0;Y--){var J=!1;for(var Q=0;Q{m20.exports=N6;function N6($){if(!(this instanceof N6))return new N6($);this.value=$}N6.prototype.get=function($){var I=this.value;for(var U=0;U<$.length;U++){var Y=$[U];if(!Object.hasOwnProperty.call(I,Y)){I=void 0;break}I=I[Y]}return I};N6.prototype.set=function($,I){var U=this.value;for(var Y=0;Y<$.length-1;Y++){var J=$[Y];if(!Object.hasOwnProperty.call(U,J))U[J]={};U=U[J]}return U[$[Y]]=I,I};N6.prototype.map=function($){return c20(this.value,$,!0)};N6.prototype.forEach=function($){return this.value=c20(this.value,$,!1),this.value};N6.prototype.reduce=function($,I){var U=arguments.length===1,Y=U?this.value:I;return this.forEach(function(J){if(!this.isRoot||!U)Y=$.call(this,Y,J)}),Y};N6.prototype.deepEqual=function($){if(arguments.length!==1)throw Error("deepEqual requires exactly one object to compare against");var I=!0,U=$;return this.forEach(function(Y){var J=function(){I=!1;return}.bind(this);if(!this.isRoot){if(typeof U!=="object")return J();U=U[this.key]}var Q=U;this.post(function(){U=Q});var K=function(V){return Object.prototype.toString.call(V)};if(this.circular){if(N6($).get(this.circular.path)!==Q)J()}else if(typeof Q!==typeof Y)J();else if(Q===null||Y===null||Q===void 0||Y===void 0){if(Q!==Y)J()}else if(Q.__proto__!==Y.__proto__)J();else if(Q===Y);else if(typeof Q==="function"){if(Q instanceof RegExp){if(Q.toString()!=Y.toString())J()}else if(Q!==Y)J()}else if(typeof Q==="object")if(K(Y)==="[object Arguments]"||K(Q)==="[object Arguments]"){if(K(Q)!==K(Y))J()}else if(Q instanceof Date||Y instanceof Date){if(!(Q instanceof Date)||!(Y instanceof Date)||Q.getTime()!==Y.getTime())J()}else{var q=Object.keys(Q),G=Object.keys(Y);if(q.length!==G.length)return J();for(var H=0;H{var A31=l20(),P31=r("events").EventEmitter;o20.exports=lY;function lY($){var I=lY.saw($,{}),U=$.call(I.handlers,I);if(U!==void 0)I.handlers=U;return I.record(),I.chain()}lY.light=function(I){var U=lY.saw(I,{}),Y=I.call(U.handlers,U);if(Y!==void 0)U.handlers=Y;return U.chain()};lY.saw=function($,I){var U=new P31;return U.handlers=I,U.actions=[],U.chain=function(){var Y=A31(U.handlers).map(function(J){if(this.isRoot)return J;var Q=this.path;if(typeof J==="function")this.update(function(){return U.actions.push({path:Q,args:[].slice.call(arguments)}),Y})});return process.nextTick(function(){U.emit("begin"),U.next()}),Y},U.pop=function(){return U.actions.shift()},U.next=function(){var Y=U.pop();if(!Y)U.emit("end");else if(!Y.trap){var J=U.handlers;Y.path.forEach(function(Q){J=J[Q]}),J.apply(U.handlers,Y.args)}},U.nest=function(Y){var J=[].slice.call(arguments,1),Q=!0;if(typeof Y==="boolean"){var Q=Y;Y=J.shift()}var K=lY.saw($,{}),q=$.call(K.handlers,K);if(q!==void 0)K.handlers=q;if(typeof U.step<"u")K.record();if(Y.apply(K.chain(),J),Q!==!1)K.on("end",U.next)},U.record=function(){T31(U)},["trap","down","jump"].forEach(function(Y){U[Y]=function(){throw Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),U};function T31($){$.step=0,$.pop=function(){return $.actions[$.step++]},$.trap=function(I,U){var Y=Array.isArray(I)?I:[I];$.actions.push({path:Y,step:$.step,cb:U,trap:!0})},$.down=function(I){var U=(Array.isArray(I)?I:[I]).join("/"),Y=$.actions.slice($.step).map(function(Q){if(Q.trap&&Q.step<=$.step)return!1;return Q.path.join("/")==U}).indexOf(!0);if(Y>=0)$.step+=Y;else $.step=$.actions.length;var J=$.actions[$.step-1];if(J&&J.trap)$.step=J.step,J.cb();else $.next()},$.jump=function(I){$.step=I,$.next()}}});var a20=O((rR1,t20)=>{t20.exports=S6;function S6($){if(!(this instanceof S6))return new S6($);this.buffers=$||[],this.length=this.buffers.reduce(function(I,U){return I+U.length},0)}S6.prototype.push=function(){for(var $=0;$=0?$:this.length-$,J=[].slice.call(arguments,2);if(I===void 0)I=this.length-Y;else if(I>this.length-Y)I=this.length-Y;for(var $=0;$0){var H=Y-q;if(H+I0){var Z=J.slice();Z.unshift(V),Z.push(w),U.splice.apply(U,[G,1].concat(Z)),G+=Z.length,J=[]}else U.splice(G,1,V,w),G+=2}else Q.push(U[G].slice(H)),U[G]=U[G].slice(0,H),G++}if(J.length>0)U.splice.apply(U,[G,0].concat(J)),G+=J.length;while(Q.lengththis.length)I=this.length;var Y=0;for(var J=0;J=I-$?Math.min(H+(I-$)-K,G):G;U[q].copy(Q,K,H,W),K+=W-H}return Q};S6.prototype.pos=function($){if($<0||$>=this.length)throw Error("oob");var I=$,U=0,Y=null;for(;;){if(Y=this.buffers[U],I=this.buffers[U].length)if(Y=0,U++,U>=this.buffers.length)return-1;var G=this.buffers[U][Y];if(G==$[J]){if(J==0)Q={i:U,j:Y,pos:K};if(J++,J==$.length)return Q.pos}else if(J!=0)U=Q.i,Y=Q.j,K=Q.pos,J=0;Y++,K++}};S6.prototype.toBuffer=function(){return this.slice()};S6.prototype.toString=function($,I,U){return this.slice(I,U).toString($)}});var e20=O((tR1,s20)=>{s20.exports=function($){function I(Y,J){var Q=U.store,K=Y.split(".");K.slice(0,-1).forEach(function(G){if(Q[G]===void 0)Q[G]={};Q=Q[G]});var q=K[K.length-1];if(arguments.length==1)return Q[q];else return Q[q]=J}var U={get:function(Y){return I(Y)},set:function(Y,J){return I(Y,J)},store:$||{}};return U}});var Zq=O((h3,JK0)=>{var E31=r20(),$K0=r("events").EventEmitter,B31=a20(),_z=e20(),v31=r("stream").Stream;h3=JK0.exports=function($,I){if(Buffer.isBuffer($))return h3.parse($);var U=h3.stream();if($&&$.pipe)$.pipe(U);else if($)$.on(I||"data",function(Y){U.write(Y)}),$.on("end",function(){U.end()});return U};h3.stream=function($){if($)return h3.apply(null,arguments);var I=null;function U(V,w,Z){I={bytes:V,skip:Z,cb:function(z){I=null,w(z)}},J()}var Y=null;function J(){if(!I){if(W)H=!0;return}if(typeof I==="function")I();else{var V=Y+I.bytes;if(q.length>=V){var w;if(Y==null){if(w=q.splice(0,V),!I.skip)w=w.slice()}else{if(!I.skip)w=q.slice(Y,V);Y=V}if(I.skip)I.cb();else I.cb(w)}}}function Q(V){function w(){if(!H)V.next()}var Z=YK0(function(z,L){return function(D){U(z,function(F){G.set(D,L(F)),w()})}});return Z.tap=function(z){V.nest(z,G.store)},Z.into=function(z,L){if(!G.get(z))G.set(z,{});var D=G;G=_z(D.get(z)),V.nest(function(){L.apply(this,arguments),this.tap(function(){G=D})},G.store)},Z.flush=function(){G.store={},w()},Z.loop=function(z){var L=!1;V.nest(!1,function D(){this.vars=G.store,z.call(this,function(){L=!0,w()},G.store),this.tap(function(){if(L)V.next();else D.call(this)}.bind(this))},G.store)},Z.buffer=function(z,L){if(typeof L==="string")L=G.get(L);U(L,function(D){G.set(z,D),w()})},Z.skip=function(z){if(typeof z==="string")z=G.get(z);U(z,function(){w()})},Z.scan=function(L,D){if(typeof D==="string")D=new Buffer(D);else if(!Buffer.isBuffer(D))throw Error("search must be a Buffer or a string");var F=0;I=function(){var E=q.indexOf(D,Y+F),T=E-Y-F;if(E!==-1){if(I=null,Y!=null)G.set(L,q.slice(Y,Y+F+T)),Y+=F+T+D.length;else G.set(L,q.slice(0,F+T)),q.splice(0,F+T+D.length);w(),J()}else T=Math.max(q.length-D.length-Y-F,0);F+=T},J()},Z.peek=function(z){Y=0,V.nest(function(){z.call(this,G.store),this.tap(function(){Y=null})})},Z}var K=E31.light(Q);K.writable=!0;var q=B31();K.write=function(V){q.push(V),J()};var G=_z(),H=!1,W=!1;return K.end=function(){W=!0},K.pipe=v31.prototype.pipe,Object.getOwnPropertyNames($K0.prototype).forEach(function(V){K[V]=$K0.prototype[V]}),K};h3.parse=function(I){var U=YK0(function(Q,K){return function(q){if(Y+Q<=I.length){var G=I.slice(Y,Y+Q);Y+=Q,J.set(q,K(G))}else J.set(q,null);return U}}),Y=0,J=_z();return U.vars=J.store,U.tap=function(Q){return Q.call(U,J.store),U},U.into=function(Q,K){if(!J.get(Q))J.set(Q,{});var q=J;return J=_z(q.get(Q)),K.call(U,J.store),J=q,U},U.loop=function(Q){var K=!1,q=function(){K=!0};while(K===!1)Q.call(U,q,J.store);return U},U.buffer=function(Q,K){if(typeof K==="string")K=J.get(K);var q=I.slice(Y,Math.min(I.length,Y+K));return Y+=K,J.set(Q,q),U},U.skip=function(Q){if(typeof Q==="string")Q=J.get(Q);return Y+=Q,U},U.scan=function(Q,K){if(typeof K==="string")K=new Buffer(K);else if(!Buffer.isBuffer(K))throw Error("search must be a Buffer or a string");J.set(Q,null);for(var q=0;q+Y<=I.length-K.length+1;q++){for(var G=0;G=I.length},U};function IK0($){var I=0;for(var U=0;U<$.length;U++)I+=Math.pow(256,U)*$[U];return I}function UK0($){var I=0;for(var U=0;U<$.length;U++)I+=Math.pow(256,$.length-U-1)*$[U];return I}function R31($){var I=UK0($);if(($[0]&128)==128)I-=Math.pow(256,$.length);return I}function C31($){var I=IK0($);if(($[$.length-1]&128)==128)I-=Math.pow(256,$.length);return I}function YK0($){var I={};return[1,2,4,8].forEach(function(U){var Y=U*8;I["word"+Y+"le"]=I["word"+Y+"lu"]=$(U,IK0),I["word"+Y+"ls"]=$(U,C31),I["word"+Y+"be"]=I["word"+Y+"bu"]=$(U,UK0),I["word"+Y+"bs"]=$(U,R31)}),I.word8=I.word8u=I.word8be,I.word8s=I.word8bs,I}});var x3=O((aR1,Hg)=>{var $g=function(){return this===void 0}();if($g)Hg.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:$g,propertyIsWritable:function($,I){var U=Object.getOwnPropertyDescriptor($,I);return!!(!U||U.writable||U.set)}};else Ig={}.hasOwnProperty,Ug={}.toString,Yg={}.constructor.prototype,Sz=function($){var I=[];for(var U in $)if(Ig.call($,U))I.push(U);return I},Jg=function($,I){return{value:$[I]}},Qg=function($,I,U){return $[I]=U.value,$},Kg=function($){return $},qg=function($){try{return Object($).constructor.prototype}catch(I){return Yg}},Gg=function($){try{return Ug.call($)==="[object Array]"}catch(I){return!1}},Hg.exports={isArray:Gg,keys:Sz,names:Sz,defineProperty:Qg,getDescriptor:Jg,freeze:Kg,getPrototypeOf:qg,isES5:$g,propertyIsWritable:function(){return!0}};var Ig,Ug,Yg,Sz,Jg,Qg,Kg,qg,Gg});var b1=O((yz,zg)=>{var l6=x3(),j31=typeof navigator>"u",Wg={e:{}},Vg,_31=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:yz!==void 0?yz:null;function S31(){try{var $=Vg;return Vg=null,$.apply(this,arguments)}catch(I){return Wg.e=I,Wg}}function g31($){return Vg=$,S31}var y31=function($,I){var U={}.hasOwnProperty;function Y(){this.constructor=$,this.constructor$=I;for(var J in I.prototype)if(U.call(I.prototype,J)&&J.charAt(J.length-1)!=="$")this[J+"$"]=I.prototype[J]}return Y.prototype=I.prototype,$.prototype=new Y,$.prototype};function Xg($){return $==null||$===!0||$===!1||typeof $==="string"||typeof $==="number"}function h31($){return typeof $==="function"||typeof $==="object"&&$!==null}function x31($){if(!Xg($))return $;return Error(gz($))}function k31($,I){var U=$.length,Y=Array(U+1),J;for(J=0;J1,Y=I.length>0&&!(I.length===1&&I[0]==="constructor"),J=i31.test($+"")&&l6.names($).length>0;if(U||Y||J)return!0}return!1}catch(Q){return!1}}function p31(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var c31=/^[a-z$_][a-z$_0-9]*$/i;function d31($){return c31.test($)}function m31($,I,U){var Y=Array($);for(var J=0;J<$;++J)Y[J]=I+J+U;return Y}function gz($){try{return $+""}catch(I){return"[no string representation]"}}function KK0($){return $!==null&&typeof $==="object"&&typeof $.message==="string"&&typeof $.name==="string"}function l31($){try{QK0($,"isOperational",!0)}catch(I){}}function o31($){if($==null)return!1;return $ instanceof Error.__BluebirdErrorTypes__.OperationalError||$.isOperational===!0}function wg($){return KK0($)&&l6.propertyIsWritable($,"stack")}var r31=function(){if(!("stack"in Error()))return function($){if(wg($))return $;try{throw Error(gz($))}catch(I){return I}};else return function($){if(wg($))return $;return Error(gz($))}}();function qK0($){return{}.toString.call($)}function t31($,I,U){var Y=l6.names($);for(var J=0;J10||$[0]>0}();if(oY.isNode)oY.toFastProperties(process);try{throw Error()}catch($){oY.lastLineError=$}zg.exports=oY});var VK0=O((sR1,WK0)=>{var Dg=b1(),k3,II1=function(){throw Error(`No async scheduler available See http://goo.gl/MqrFmX -`)},Ug=Yg.getNativePromise();if(Yg.isNode&&typeof MutationObserver>"u")Jg=global.setImmediate,Qg=process.nextTick,h3=Yg.isRecentNode?function($){Jg.call(global,$)}:function($){Qg.call(process,$)};else if(typeof Ug==="function"&&typeof Ug.resolve==="function")Kg=Ug.resolve(),h3=function($){Kg.then($)};else if(typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)))h3=function(){var $=document.createElement("div"),I={attributes:!0},U=!1,Y=document.createElement("div"),J=new MutationObserver(function(){$.classList.toggle("foo"),U=!1});J.observe(Y,I);var Q=function(){if(U)return;U=!0,Y.classList.toggle("foo")};return function(q){var G=new MutationObserver(function(){G.disconnect(),q()});G.observe($,I),Q()}}();else if(typeof setImmediate<"u")h3=function($){setImmediate($)};else if(typeof setTimeout<"u")h3=function($){setTimeout($,0)};else h3=H31;var Jg,Qg,Kg;v20.exports=h3});var _20=O((oR1,j20)=>{function W31($,I,U,Y,J){for(var Q=0;Q{var x20;try{throw Error()}catch($){x20=$}var V31=C20(),S20=_20(),k20=b1();function p4(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new S20(16),this._normalQueue=new S20(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var $=this;this.drainQueues=function(){$._drainQueues()},this._schedule=V31}p4.prototype.setScheduler=function($){var I=this._schedule;return this._schedule=$,this._customScheduler=!0,I};p4.prototype.hasCustomScheduler=function(){return this._customScheduler};p4.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};p4.prototype.disableTrampolineIfNecessary=function(){if(k20.hasDevTools)this._trampolineEnabled=!1};p4.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};p4.prototype.fatalError=function($,I){if(I)process.stderr.write("Fatal "+($ instanceof Error?$.stack:$)+` +`)},Lg=Dg.getNativePromise();if(Dg.isNode&&typeof MutationObserver>"u")Og=global.setImmediate,Fg=process.nextTick,k3=Dg.isRecentNode?function($){Og.call(global,$)}:function($){Fg.call(process,$)};else if(typeof Lg==="function"&&typeof Lg.resolve==="function")Ng=Lg.resolve(),k3=function($){Ng.then($)};else if(typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)))k3=function(){var $=document.createElement("div"),I={attributes:!0},U=!1,Y=document.createElement("div"),J=new MutationObserver(function(){$.classList.toggle("foo"),U=!1});J.observe(Y,I);var Q=function(){if(U)return;U=!0,Y.classList.toggle("foo")};return function(q){var G=new MutationObserver(function(){G.disconnect(),q()});G.observe($,I),Q()}}();else if(typeof setImmediate<"u")k3=function($){setImmediate($)};else if(typeof setTimeout<"u")k3=function($){setTimeout($,0)};else k3=II1;var Og,Fg,Ng;WK0.exports=k3});var ZK0=O((eR1,wK0)=>{function UI1($,I,U,Y,J){for(var Q=0;Q{var OK0;try{throw Error()}catch($){OK0=$}var YI1=VK0(),XK0=ZK0(),FK0=b1();function p4(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new XK0(16),this._normalQueue=new XK0(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var $=this;this.drainQueues=function(){$._drainQueues()},this._schedule=YI1}p4.prototype.setScheduler=function($){var I=this._schedule;return this._schedule=$,this._customScheduler=!0,I};p4.prototype.hasCustomScheduler=function(){return this._customScheduler};p4.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};p4.prototype.disableTrampolineIfNecessary=function(){if(FK0.hasDevTools)this._trampolineEnabled=!1};p4.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};p4.prototype.fatalError=function($,I){if(I)process.stderr.write("Fatal "+($ instanceof Error?$.stack:$)+` `),process.exit(2);else this.throwLater($)};p4.prototype.throwLater=function($,I){if(arguments.length===1)I=$,$=function(){throw I};if(typeof setTimeout<"u")setTimeout(function(){$(I)},0);else try{this._schedule(function(){$(I)})}catch(U){throw Error(`No async scheduler available See http://goo.gl/MqrFmX -`)}};function g20($,I,U){this._lateQueue.push($,I,U),this._queueTick()}function y20($,I,U){this._normalQueue.push($,I,U),this._queueTick()}function h20($){this._normalQueue._pushOne($),this._queueTick()}if(!k20.hasDevTools)p4.prototype.invokeLater=g20,p4.prototype.invoke=y20,p4.prototype.settlePromises=h20;else p4.prototype.invokeLater=function($,I,U){if(this._trampolineEnabled)g20.call(this,$,I,U);else this._schedule(function(){setTimeout(function(){$.call(I,U)},100)})},p4.prototype.invoke=function($,I,U){if(this._trampolineEnabled)y20.call(this,$,I,U);else this._schedule(function(){$.call(I,U)})},p4.prototype.settlePromises=function($){if(this._trampolineEnabled)h20.call(this,$);else this._schedule(function(){$._settlePromises()})};p4.prototype._drainQueue=function($){while($.length()>0){var I=$.shift();if(typeof I!=="function"){I._settlePromises();continue}var U=$.shift(),Y=$.shift();I.call(U,Y)}};p4.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};p4.prototype._queueTick=function(){if(!this._isTickUsed)this._isTickUsed=!0,this._schedule(this.drainQueues)};p4.prototype._reset=function(){this._isTickUsed=!1};qg.exports=p4;qg.exports.firstLineError=x20});var C5=O((tR1,i20)=>{var Wg=y3(),Z31=Wg.freeze,f20=b1(),b20=f20.inherits,lY=f20.notEnumerableProp;function oY($,I){function U(Y){if(!(this instanceof U))return new U(Y);if(lY(this,"message",typeof Y==="string"?Y:I),lY(this,"name",$),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else Error.call(this)}return b20(U,Error),U}var Gg,Hg,z31=oY("Warning","warning"),X31=oY("CancellationError","cancellation error"),w31=oY("TimeoutError","timeout error"),Vq=oY("AggregateError","aggregate error");try{Gg=TypeError,Hg=RangeError}catch($){Gg=oY("TypeError","type error"),Hg=oY("RangeError","range error")}var Rw="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(x3=0;x30){var I=$.shift();if(typeof I!=="function"){I._settlePromises();continue}var U=$.shift(),Y=$.shift();I.call(U,Y)}};p4.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};p4.prototype._queueTick=function(){if(!this._isTickUsed)this._isTickUsed=!0,this._schedule(this.drainQueues)};p4.prototype._reset=function(){this._isTickUsed=!1};Mg.exports=p4;Mg.exports.firstLineError=OK0});var _5=O((IC1,PK0)=>{var Tg=x3(),JI1=Tg.freeze,MK0=b1(),AK0=MK0.inherits,rY=MK0.notEnumerableProp;function tY($,I){function U(Y){if(!(this instanceof U))return new U(Y);if(rY(this,"message",typeof Y==="string"?Y:I),rY(this,"name",$),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else Error.call(this)}return AK0(U,Error),U}var Ag,Pg,QI1=tY("Warning","warning"),KI1=tY("CancellationError","cancellation error"),qI1=tY("TimeoutError","timeout error"),zq=tY("AggregateError","aggregate error");try{Ag=TypeError,Pg=RangeError}catch($){Ag=tY("TypeError","type error"),Pg=tY("RangeError","range error")}var hz="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(u3=0;u3{n20.exports=function($,I){var U=b1(),Y=U.errorObj,J=U.isObject;function Q(V,z){if(J(V)){if(V instanceof $)return V;var Z=q(V);if(Z===Y){if(z)z._pushContext();var w=$.reject(Z.e);if(z)z._popContext();return w}else if(typeof Z==="function"){if(H(V)){var w=new $(I);return V._then(w._fulfill,w._reject,void 0,w,null),w}return W(V,Z,z)}}return V}function K(V){return V.then}function q(V){try{return K(V)}catch(z){return Y.e=z,Y}}var G={}.hasOwnProperty;function H(V){try{return G.call(V,"_promise0")}catch(z){return!1}}function W(V,z,Z){var w=new $(I),L=w;if(Z)Z._pushContext();if(w._captureStackTrace(),Z)Z._popContext();var D=!0,N=U.tryCatch(z).call(V,E,T);if(D=!1,w&&N===Y)w._rejectCallback(N.e,!0,!0),w=null;function E(A){if(!w)return;w._resolveCallback(A),w=null}function T(A){if(!w)return;w._rejectCallback(A,D,!0),w=null}return L}return Q}});var d20=O((sR1,c20)=>{c20.exports=function($,I,U,Y,J){var Q=b1(),K=Q.isArray;function q(H){switch(H){case-2:return[];case-3:return{}}}function G(H){var W=this._promise=new $(I);if(H instanceof $)W._propagateFrom(H,3);W._setOnCancel(this),this._values=H,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return Q.inherits(G,J),G.prototype.length=function(){return this._length},G.prototype.promise=function(){return this._promise},G.prototype._init=function H(W,V){var z=U(this._values,this._promise);if(z instanceof $){z=z._target();var Z=z._bitField;if(this._values=z,(Z&50397184)===0)return this._promise._setAsyncGuaranteed(),z._then(H,this._reject,void 0,this,V);else if((Z&33554432)!==0)z=z._value();else if((Z&16777216)!==0)return this._reject(z._reason());else return this._cancel()}if(z=Q.asArray(z),z===null){var w=Y("expecting an array or an iterable object but got "+Q.classString(z)).reason();this._promise._rejectCallback(w,!1);return}if(z.length===0){if(V===-5)this._resolveEmptyArray();else this._resolve(q(V));return}this._iterate(z)},G.prototype._iterate=function(H){var W=this.getActualLength(H.length);this._length=W,this._values=this.shouldCopyValues()?Array(W):this._values;var V=this._promise,z=!1,Z=null;for(var w=0;w=this._length)return this._resolve(this._values),!0;return!1},G.prototype._promiseCancelled=function(){return this._cancel(),!0},G.prototype._promiseRejected=function(H){return this._totalResolved++,this._reject(H),!0},G.prototype._resultCancelled=function(){if(this._isResolved())return;var H=this._values;if(this._cancel(),H instanceof $)H.cancel();else for(var W=0;W{m20.exports=function($){var I=!1,U=[];$.prototype._promiseCreated=function(){},$.prototype._pushContext=function(){},$.prototype._popContext=function(){return null},$._peekContext=$.prototype._peekContext=function(){};function Y(){this._trace=new Y.CapturedTrace(Q())}Y.prototype._pushContext=function(){if(this._trace!==void 0)this._trace._promiseCreated=null,U.push(this._trace)},Y.prototype._popContext=function(){if(this._trace!==void 0){var K=U.pop(),q=K._promiseCreated;return K._promiseCreated=null,q}return null};function J(){if(I)return new Y}function Q(){var K=U.length-1;if(K>=0)return U[K];return}return Y.CapturedTrace=null,Y.create=J,Y.deactivateLongStackTraces=function(){},Y.activateLongStackTraces=function(){var K=$.prototype._pushContext,q=$.prototype._popContext,G=$._peekContext,H=$.prototype._peekContext,W=$.prototype._promiseCreated;Y.deactivateLongStackTraces=function(){$.prototype._pushContext=K,$.prototype._popContext=q,$._peekContext=G,$.prototype._peekContext=H,$.prototype._promiseCreated=W,I=!1},I=!0,$.prototype._pushContext=Y.prototype._pushContext,$.prototype._popContext=Y.prototype._popContext,$._peekContext=$.prototype._peekContext=Q,$.prototype._promiseCreated=function(){var V=this._peekContext();if(V&&V._promiseCreated==null)V._promiseCreated=this}},Y}});var r20=O(($v1,o20)=>{o20.exports=function($,I){var{_getDomain:U,_async:Y}=$,J=C5().Warning,Q=b1(),K=Q.canAttachTrace,q,G,H=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,W=/\((?:timers\.js):\d+:\d+\)/,V=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,z=null,Z=null,w=!1,L,D=!!(Q.env("BLUEBIRD_DEBUG")!=0&&(Q.env("BLUEBIRD_DEBUG")||Q.env("NODE_ENV")==="development")),N=!!(Q.env("BLUEBIRD_WARNINGS")!=0&&(D||Q.env("BLUEBIRD_WARNINGS"))),E=!!(Q.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(D||Q.env("BLUEBIRD_LONG_STACK_TRACES"))),T=Q.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(N||!!Q.env("BLUEBIRD_W_FORGOTTEN_RETURN"));$.prototype.suppressUnhandledRejections=function(){var a=this._target();a._bitField=a._bitField&-1048577|524288},$.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled(),Y.invokeLater(this._notifyUnhandledRejection,this,void 0)},$.prototype._notifyUnhandledRejectionIsHandled=function(){W$("rejectionHandled",q,void 0,this)},$.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},$.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},$.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var a=this._settledValue();this._setUnhandledRejectionIsNotified(),W$("unhandledRejection",G,a,this)}},$.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},$.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},$.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},$.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},$.prototype._unsetRejectionIsUnhandled=function(){if(this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified())this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled()},$.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},$.prototype._warn=function(a,F,M){return w1(a,F,M||this)},$.onPossiblyUnhandledRejection=function(a){var F=U();G=typeof a==="function"?F===null?a:Q.domainBind(F,a):void 0},$.onUnhandledRejectionHandled=function(a){var F=U();q=typeof a==="function"?F===null?a:Q.domainBind(F,a):void 0};var A=function(){};$.longStackTraces=function(){if(Y.haveItemsQueued()&&!T0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created +`}return xz--,I};function Xq($){if(!(this instanceof Xq))return new Xq($);if(rY(this,"name","OperationalError"),rY(this,"message",$),this.cause=$,this.isOperational=!0,$ instanceof Error)rY(this,"message",$.message),rY(this,"stack",$.stack);else if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor)}AK0(Xq,Error);var f3=Error.__BluebirdErrorTypes__;if(!f3)f3=JI1({CancellationError:KI1,TimeoutError:qI1,OperationalError:Xq,RejectionError:Xq,AggregateError:zq}),Tg.defineProperty(Error,"__BluebirdErrorTypes__",{value:f3,writable:!1,enumerable:!1,configurable:!1});PK0.exports={Error,TypeError:Ag,RangeError:Pg,CancellationError:f3.CancellationError,OperationalError:f3.OperationalError,TimeoutError:f3.TimeoutError,AggregateError:f3.AggregateError,Warning:QI1}});var EK0=O((UC1,TK0)=>{TK0.exports=function($,I){var U=b1(),Y=U.errorObj,J=U.isObject;function Q(V,w){if(J(V)){if(V instanceof $)return V;var Z=q(V);if(Z===Y){if(w)w._pushContext();var z=$.reject(Z.e);if(w)w._popContext();return z}else if(typeof Z==="function"){if(H(V)){var z=new $(I);return V._then(z._fulfill,z._reject,void 0,z,null),z}return W(V,Z,w)}}return V}function K(V){return V.then}function q(V){try{return K(V)}catch(w){return Y.e=w,Y}}var G={}.hasOwnProperty;function H(V){try{return G.call(V,"_promise0")}catch(w){return!1}}function W(V,w,Z){var z=new $(I),L=z;if(Z)Z._pushContext();if(z._captureStackTrace(),Z)Z._popContext();var D=!0,F=U.tryCatch(w).call(V,E,T);if(D=!1,z&&F===Y)z._rejectCallback(F.e,!0,!0),z=null;function E(A){if(!z)return;z._resolveCallback(A),z=null}function T(A){if(!z)return;z._rejectCallback(A,D,!0),z=null}return L}return Q}});var vK0=O((YC1,BK0)=>{BK0.exports=function($,I,U,Y,J){var Q=b1(),K=Q.isArray;function q(H){switch(H){case-2:return[];case-3:return{}}}function G(H){var W=this._promise=new $(I);if(H instanceof $)W._propagateFrom(H,3);W._setOnCancel(this),this._values=H,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return Q.inherits(G,J),G.prototype.length=function(){return this._length},G.prototype.promise=function(){return this._promise},G.prototype._init=function H(W,V){var w=U(this._values,this._promise);if(w instanceof $){w=w._target();var Z=w._bitField;if(this._values=w,(Z&50397184)===0)return this._promise._setAsyncGuaranteed(),w._then(H,this._reject,void 0,this,V);else if((Z&33554432)!==0)w=w._value();else if((Z&16777216)!==0)return this._reject(w._reason());else return this._cancel()}if(w=Q.asArray(w),w===null){var z=Y("expecting an array or an iterable object but got "+Q.classString(w)).reason();this._promise._rejectCallback(z,!1);return}if(w.length===0){if(V===-5)this._resolveEmptyArray();else this._resolve(q(V));return}this._iterate(w)},G.prototype._iterate=function(H){var W=this.getActualLength(H.length);this._length=W,this._values=this.shouldCopyValues()?Array(W):this._values;var V=this._promise,w=!1,Z=null;for(var z=0;z=this._length)return this._resolve(this._values),!0;return!1},G.prototype._promiseCancelled=function(){return this._cancel(),!0},G.prototype._promiseRejected=function(H){return this._totalResolved++,this._reject(H),!0},G.prototype._resultCancelled=function(){if(this._isResolved())return;var H=this._values;if(this._cancel(),H instanceof $)H.cancel();else for(var W=0;W{RK0.exports=function($){var I=!1,U=[];$.prototype._promiseCreated=function(){},$.prototype._pushContext=function(){},$.prototype._popContext=function(){return null},$._peekContext=$.prototype._peekContext=function(){};function Y(){this._trace=new Y.CapturedTrace(Q())}Y.prototype._pushContext=function(){if(this._trace!==void 0)this._trace._promiseCreated=null,U.push(this._trace)},Y.prototype._popContext=function(){if(this._trace!==void 0){var K=U.pop(),q=K._promiseCreated;return K._promiseCreated=null,q}return null};function J(){if(I)return new Y}function Q(){var K=U.length-1;if(K>=0)return U[K];return}return Y.CapturedTrace=null,Y.create=J,Y.deactivateLongStackTraces=function(){},Y.activateLongStackTraces=function(){var K=$.prototype._pushContext,q=$.prototype._popContext,G=$._peekContext,H=$.prototype._peekContext,W=$.prototype._promiseCreated;Y.deactivateLongStackTraces=function(){$.prototype._pushContext=K,$.prototype._popContext=q,$._peekContext=G,$.prototype._peekContext=H,$.prototype._promiseCreated=W,I=!1},I=!0,$.prototype._pushContext=Y.prototype._pushContext,$.prototype._popContext=Y.prototype._popContext,$._peekContext=$.prototype._peekContext=Q,$.prototype._promiseCreated=function(){var V=this._peekContext();if(V&&V._promiseCreated==null)V._promiseCreated=this}},Y}});var _K0=O((QC1,jK0)=>{jK0.exports=function($,I){var{_getDomain:U,_async:Y}=$,J=_5().Warning,Q=b1(),K=Q.canAttachTrace,q,G,H=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,W=/\((?:timers\.js):\d+:\d+\)/,V=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,w=null,Z=null,z=!1,L,D=!!(Q.env("BLUEBIRD_DEBUG")!=0&&(Q.env("BLUEBIRD_DEBUG")||Q.env("NODE_ENV")==="development")),F=!!(Q.env("BLUEBIRD_WARNINGS")!=0&&(D||Q.env("BLUEBIRD_WARNINGS"))),E=!!(Q.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(D||Q.env("BLUEBIRD_LONG_STACK_TRACES"))),T=Q.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(F||!!Q.env("BLUEBIRD_W_FORGOTTEN_RETURN"));$.prototype.suppressUnhandledRejections=function(){var a=this._target();a._bitField=a._bitField&-1048577|524288},$.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled(),Y.invokeLater(this._notifyUnhandledRejection,this,void 0)},$.prototype._notifyUnhandledRejectionIsHandled=function(){V$("rejectionHandled",q,void 0,this)},$.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},$.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},$.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var a=this._settledValue();this._setUnhandledRejectionIsNotified(),V$("unhandledRejection",G,a,this)}},$.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},$.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},$.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},$.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},$.prototype._unsetRejectionIsUnhandled=function(){if(this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified())this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled()},$.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},$.prototype._warn=function(a,N,M){return L1(a,N,M||this)},$.onPossiblyUnhandledRejection=function(a){var N=U();G=typeof a==="function"?N===null?a:Q.domainBind(N,a):void 0},$.onUnhandledRejectionHandled=function(a){var N=U();q=typeof a==="function"?N===null?a:Q.domainBind(N,a):void 0};var A=function(){};$.longStackTraces=function(){if(Y.haveItemsQueued()&&!E0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX -`);if(!T0.longStackTraces&&k$()){var a=$.prototype._captureStackTrace,F=$.prototype._attachExtraTrace;T0.longStackTraces=!0,A=function(){if(Y.haveItemsQueued()&&!T0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created +`);if(!E0.longStackTraces&&u$()){var a=$.prototype._captureStackTrace,N=$.prototype._attachExtraTrace;E0.longStackTraces=!0,A=function(){if(Y.haveItemsQueued()&&!E0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX -`);$.prototype._captureStackTrace=a,$.prototype._attachExtraTrace=F,I.deactivateLongStackTraces(),Y.enableTrampoline(),T0.longStackTraces=!1},$.prototype._captureStackTrace=K0,$.prototype._attachExtraTrace=W0,I.activateLongStackTraces(),Y.disableTrampolineIfNecessary()}},$.hasLongStackTraces=function(){return T0.longStackTraces&&k$()};var v=function(){try{if(typeof CustomEvent==="function"){var a=new CustomEvent("CustomEvent");return Q.global.dispatchEvent(a),function(F,M){var j=new CustomEvent(F.toLowerCase(),{detail:M,cancelable:!0});return!Q.global.dispatchEvent(j)}}else if(typeof Event==="function"){var a=new Event("CustomEvent");return Q.global.dispatchEvent(a),function(M,j){var x=new Event(M.toLowerCase(),{cancelable:!0});return x.detail=j,!Q.global.dispatchEvent(x)}}else{var a=document.createEvent("CustomEvent");return a.initCustomEvent("testingtheevent",!1,!0,{}),Q.global.dispatchEvent(a),function(M,j){var x=document.createEvent("CustomEvent");return x.initCustomEvent(M.toLowerCase(),!1,!0,j),!Q.global.dispatchEvent(x)}}}catch(F){}return function(){return!1}}(),u=function(){if(Q.isNode)return function(){return process.emit.apply(process,arguments)};else{if(!Q.global)return function(){return!1};return function(a){var F="on"+a.toLowerCase(),M=Q.global[F];if(!M)return!1;return M.apply(Q.global,[].slice.call(arguments,1)),!0}}}();function g(a,F){return{promise:F}}var b={promiseCreated:g,promiseFulfilled:g,promiseRejected:g,promiseResolved:g,promiseCancelled:g,promiseChained:function(a,F,M){return{promise:F,child:M}},warning:function(a,F){return{warning:F}},unhandledRejection:function(a,F,M){return{reason:F,promise:M}},rejectionHandled:g},C=function(a){var F=!1;try{F=u.apply(null,arguments)}catch(j){Y.throwLater(j),F=!0}var M=!1;try{M=v(a,b[a].apply(null,arguments))}catch(j){Y.throwLater(j),M=!0}return M||F};$.config=function(a){if(a=Object(a),"longStackTraces"in a){if(a.longStackTraces)$.longStackTraces();else if(!a.longStackTraces&&$.hasLongStackTraces())A()}if("warnings"in a){var F=a.warnings;if(T0.warnings=!!F,T=T0.warnings,Q.isObject(F)){if("wForgottenReturn"in F)T=!!F.wForgottenReturn}}if("cancellation"in a&&a.cancellation&&!T0.cancellation){if(Y.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");$.prototype._clearCancellationData=Y0,$.prototype._propagateFrom=B,$.prototype._onCancel=f,$.prototype._setOnCancel=i,$.prototype._attachCancellationCallback=S,$.prototype._execute=n,d=B,T0.cancellation=!0}if("monitoring"in a){if(a.monitoring&&!T0.monitoring)T0.monitoring=!0,$.prototype._fireEvent=C;else if(!a.monitoring&&T0.monitoring)T0.monitoring=!1,$.prototype._fireEvent=p}return $};function p(){return!1}$.prototype._fireEvent=p,$.prototype._execute=function(a,F,M){try{a(F,M)}catch(j){return j}},$.prototype._onCancel=function(){},$.prototype._setOnCancel=function(a){},$.prototype._attachCancellationCallback=function(a){},$.prototype._captureStackTrace=function(){},$.prototype._attachExtraTrace=function(){},$.prototype._clearCancellationData=function(){},$.prototype._propagateFrom=function(a,F){};function n(a,F,M){var j=this;try{a(F,M,function(x){if(typeof x!=="function")throw TypeError("onCancel must be a function, got: "+Q.toString(x));j._attachCancellationCallback(x)})}catch(x){return x}}function S(a){if(!this._isCancellable())return this;var F=this._onCancel();if(F!==void 0)if(Q.isArray(F))F.push(a);else this._setOnCancel([F,a]);else this._setOnCancel(a)}function f(){return this._onCancelField}function i(a){this._onCancelField=a}function Y0(){this._cancellationParent=void 0,this._onCancelField=void 0}function B(a,F){if((F&1)!==0){this._cancellationParent=a;var M=a._branchesRemainingToCancel;if(M===void 0)M=0;a._branchesRemainingToCancel=M+1}if((F&2)!==0&&a._isBound())this._setBoundTo(a._boundTo)}function k(a,F){if((F&2)!==0&&a._isBound())this._setBoundTo(a._boundTo)}var d=k;function t(){var a=this._boundTo;if(a!==void 0){if(a instanceof $)if(a.isFulfilled())return a.value();else return}return a}function K0(){this._trace=new s6(this._peekContext())}function W0(a,F){if(K(a)){var M=this._trace;if(M!==void 0){if(F)M=M._parent}if(M!==void 0)M.attachExtraTrace(a);else if(!a.__stackCleaned__){var j=Q4(a);Q.notEnumerableProp(a,"stack",j.message+` +`);$.prototype._captureStackTrace=a,$.prototype._attachExtraTrace=N,I.deactivateLongStackTraces(),Y.enableTrampoline(),E0.longStackTraces=!1},$.prototype._captureStackTrace=K0,$.prototype._attachExtraTrace=W0,I.activateLongStackTraces(),Y.disableTrampolineIfNecessary()}},$.hasLongStackTraces=function(){return E0.longStackTraces&&u$()};var R=function(){try{if(typeof CustomEvent==="function"){var a=new CustomEvent("CustomEvent");return Q.global.dispatchEvent(a),function(N,M){var j=new CustomEvent(N.toLowerCase(),{detail:M,cancelable:!0});return!Q.global.dispatchEvent(j)}}else if(typeof Event==="function"){var a=new Event("CustomEvent");return Q.global.dispatchEvent(a),function(M,j){var x=new Event(M.toLowerCase(),{cancelable:!0});return x.detail=j,!Q.global.dispatchEvent(x)}}else{var a=document.createEvent("CustomEvent");return a.initCustomEvent("testingtheevent",!1,!0,{}),Q.global.dispatchEvent(a),function(M,j){var x=document.createEvent("CustomEvent");return x.initCustomEvent(M.toLowerCase(),!1,!0,j),!Q.global.dispatchEvent(x)}}}catch(N){}return function(){return!1}}(),u=function(){if(Q.isNode)return function(){return process.emit.apply(process,arguments)};else{if(!Q.global)return function(){return!1};return function(a){var N="on"+a.toLowerCase(),M=Q.global[N];if(!M)return!1;return M.apply(Q.global,[].slice.call(arguments,1)),!0}}}();function g(a,N){return{promise:N}}var b={promiseCreated:g,promiseFulfilled:g,promiseRejected:g,promiseResolved:g,promiseCancelled:g,promiseChained:function(a,N,M){return{promise:N,child:M}},warning:function(a,N){return{warning:N}},unhandledRejection:function(a,N,M){return{reason:N,promise:M}},rejectionHandled:g},C=function(a){var N=!1;try{N=u.apply(null,arguments)}catch(j){Y.throwLater(j),N=!0}var M=!1;try{M=R(a,b[a].apply(null,arguments))}catch(j){Y.throwLater(j),M=!0}return M||N};$.config=function(a){if(a=Object(a),"longStackTraces"in a){if(a.longStackTraces)$.longStackTraces();else if(!a.longStackTraces&&$.hasLongStackTraces())A()}if("warnings"in a){var N=a.warnings;if(E0.warnings=!!N,T=E0.warnings,Q.isObject(N)){if("wForgottenReturn"in N)T=!!N.wForgottenReturn}}if("cancellation"in a&&a.cancellation&&!E0.cancellation){if(Y.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");$.prototype._clearCancellationData=Y0,$.prototype._propagateFrom=B,$.prototype._onCancel=f,$.prototype._setOnCancel=i,$.prototype._attachCancellationCallback=S,$.prototype._execute=n,d=B,E0.cancellation=!0}if("monitoring"in a){if(a.monitoring&&!E0.monitoring)E0.monitoring=!0,$.prototype._fireEvent=C;else if(!a.monitoring&&E0.monitoring)E0.monitoring=!1,$.prototype._fireEvent=p}return $};function p(){return!1}$.prototype._fireEvent=p,$.prototype._execute=function(a,N,M){try{a(N,M)}catch(j){return j}},$.prototype._onCancel=function(){},$.prototype._setOnCancel=function(a){},$.prototype._attachCancellationCallback=function(a){},$.prototype._captureStackTrace=function(){},$.prototype._attachExtraTrace=function(){},$.prototype._clearCancellationData=function(){},$.prototype._propagateFrom=function(a,N){};function n(a,N,M){var j=this;try{a(N,M,function(x){if(typeof x!=="function")throw TypeError("onCancel must be a function, got: "+Q.toString(x));j._attachCancellationCallback(x)})}catch(x){return x}}function S(a){if(!this._isCancellable())return this;var N=this._onCancel();if(N!==void 0)if(Q.isArray(N))N.push(a);else this._setOnCancel([N,a]);else this._setOnCancel(a)}function f(){return this._onCancelField}function i(a){this._onCancelField=a}function Y0(){this._cancellationParent=void 0,this._onCancelField=void 0}function B(a,N){if((N&1)!==0){this._cancellationParent=a;var M=a._branchesRemainingToCancel;if(M===void 0)M=0;a._branchesRemainingToCancel=M+1}if((N&2)!==0&&a._isBound())this._setBoundTo(a._boundTo)}function k(a,N){if((N&2)!==0&&a._isBound())this._setBoundTo(a._boundTo)}var d=k;function t(){var a=this._boundTo;if(a!==void 0){if(a instanceof $)if(a.isFulfilled())return a.value();else return}return a}function K0(){this._trace=new s6(this._peekContext())}function W0(a,N){if(K(a)){var M=this._trace;if(M!==void 0){if(N)M=M._parent}if(M!==void 0)M.attachExtraTrace(a);else if(!a.__stackCleaned__){var j=K4(a);Q.notEnumerableProp(a,"stack",j.message+` `+j.stack.join(` -`)),Q.notEnumerableProp(a,"__stackCleaned__",!0)}}}function M0(a,F,M,j,x){if(a===void 0&&F!==null&&T){if(x!==void 0&&x._returnedNonUndefined())return;if((j._bitField&65535)===0)return;if(M)M=M+" ";var s="",m="";if(F._trace){var e=F._trace.stack.split(` -`),J0=g0(e);for(var H0=J0.length-1;H0>=0;--H0){var v0=J0[H0];if(!W.test(v0)){var b0=v0.match(V);if(b0)s="at "+b0[1]+":"+b0[2]+":"+b0[3]+" ";break}}if(J0.length>0){var k0=J0[0];for(var H0=0;H00)m=` -`+e[H0-1];break}}}var J1="a promise was created in a "+M+"handler "+s+"but was not returned from it, see http://goo.gl/rRqMUw"+m;j._warn(J1,!0,F)}}function B0(a,F){var M=a+" is deprecated and will be removed in a future version.";if(F)M+=" Use "+F+" instead.";return w1(M)}function w1(a,F,M){if(!T0.warnings)return;var j=new J(a),x;if(F)M._attachExtraTrace(j);else if(T0.longStackTraces&&(x=$._peekContext()))x.attachExtraTrace(j);else{var s=Q4(j);j.stack=s.message+` +`)),Q.notEnumerableProp(a,"__stackCleaned__",!0)}}}function A0(a,N,M,j,x){if(a===void 0&&N!==null&&T){if(x!==void 0&&x._returnedNonUndefined())return;if((j._bitField&65535)===0)return;if(M)M=M+" ";var s="",m="";if(N._trace){var e=N._trace.stack.split(` +`),J0=g0(e);for(var H0=J0.length-1;H0>=0;--H0){var C0=J0[H0];if(!W.test(C0)){var b0=C0.match(V);if(b0)s="at "+b0[1]+":"+b0[2]+":"+b0[3]+" ";break}}if(J0.length>0){var k0=J0[0];for(var H0=0;H00)m=` +`+e[H0-1];break}}}var Q1="a promise was created in a "+M+"handler "+s+"but was not returned from it, see http://goo.gl/rRqMUw"+m;j._warn(Q1,!0,N)}}function v0(a,N){var M=a+" is deprecated and will be removed in a future version.";if(N)M+=" Use "+N+" instead.";return L1(M)}function L1(a,N,M){if(!E0.warnings)return;var j=new J(a),x;if(N)M._attachExtraTrace(j);else if(E0.longStackTraces&&(x=$._peekContext()))x.attachExtraTrace(j);else{var s=K4(j);j.stack=s.message+` `+s.stack.join(` -`)}if(!C("warning",j))j4(j,"",!0)}function f0(a,F){for(var M=0;M=0;--e)if(j[e]===s){m=e;break}for(var e=m;e>=0;--e){var J0=j[e];if(F[x]===J0)F.pop(),x--;else break}F=j}}function g0(a){var F=[];for(var M=0;M0&&a.name!="SyntaxError")F=F.slice(M);return F}function Q4(a){var F=a.stack,M=a.toString();return F=typeof F==="string"&&F.length>0?d0(a):[" (No stack trace)"],{message:M,stack:a.name=="SyntaxError"?F:g0(F)}}function j4(a,F,M){if(typeof console<"u"){var j;if(Q.isObject(a)){var x=a.stack;j=F+Z(x,a)}else j=F+String(a);if(typeof L==="function")L(j,M);else if(typeof console.log==="function"||typeof console.log==="object")console.log(j)}}function W$(a,F,M,j){var x=!1;try{if(typeof F==="function")if(x=!0,a==="rejectionHandled")F(j);else F(M,j)}catch(s){Y.throwLater(s)}if(a==="unhandledRejection"){if(!C(a,M,j)&&!x)j4(M,"Unhandled rejection ")}else C(a,j)}function x$(a){var F;if(typeof a==="function")F="[function "+(a.name||"anonymous")+"]";else{F=a&&typeof a.toString==="function"?a.toString():Q.toString(a);var M=/\[object [a-zA-Z0-9$_]+\]/;if(M.test(F))try{var j=JSON.stringify(a);F=j}catch(x){}if(F.length===0)F="(empty array)"}return"(<"+c8(F)+">, no stack trace)"}function c8(a){var F=41;if(a.length=s)return;V$=function(v0){if(H.test(v0))return!0;var b0=a6(v0);if(b0){if(b0.fileName===m&&(x<=b0.line&&b0.line<=s))return!0}return!1}}function s6(a){this._parent=a,this._promisesCreated=0;var F=this._length=1+(a===void 0?0:a._length);if(p5(this,s6),F>32)this.uncycle()}Q.inherits(s6,Error),I.CapturedTrace=s6,s6.prototype.uncycle=function(){var a=this._length;if(a<2)return;var F=[],M={};for(var j=0,x=this;x!==void 0;++j)F.push(x),x=x._parent;a=this._length=j;for(var j=a-1;j>=0;--j){var s=F[j].stack;if(M[s]===void 0)M[s]=j}for(var j=0;j0)F[e-1]._parent=void 0,F[e-1]._length=1;F[j]._parent=void 0,F[j]._length=1;var J0=j>0?F[j-1]:this;if(e=0;--v0)F[v0]._length=H0,H0++;return}}},s6.prototype.attachExtraTrace=function(a){if(a.__stackCleaned__)return;this.uncycle();var F=Q4(a),M=F.message,j=[F.stack],x=this;while(x!==void 0)j.push(g0(x.stack.split(` -`))),x=x._parent;O0(j),G1(j),Q.notEnumerableProp(a,"stack",f0(M,j)),Q.notEnumerableProp(a,"__stackCleaned__",!0)};var p5=function(){var F=/^\s*at\s*/,M=function(m,e){if(typeof m==="string")return m;if(e.name!==void 0&&e.message!==void 0)return e.toString();return x$(e)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6,z=F,Z=M;var j=Error.captureStackTrace;return V$=function(m){return H.test(m)},function(m,e){Error.stackTraceLimit+=6,j(m,e),Error.stackTraceLimit-=6}}var x=Error();if(typeof x.stack==="string"&&x.stack.split(` -`)[0].indexOf("stackDetection@")>=0)return z=/@/,Z=M,w=!0,function(e){e.stack=Error().stack};var s;try{throw Error()}catch(m){s="stack"in m}if(!("stack"in x)&&s&&typeof Error.stackTraceLimit==="number")return z=F,Z=M,function(e){Error.stackTraceLimit+=6;try{throw Error()}catch(J0){e.stack=J0.stack}Error.stackTraceLimit-=6};return Z=function(m,e){if(typeof m==="string")return m;if((typeof e==="object"||typeof e==="function")&&e.name!==void 0&&e.message!==void 0)return e.toString();return x$(e)},null}([]);if(typeof console<"u"&&typeof console.warn<"u"){if(L=function(a){console.warn(a)},Q.isNode&&process.stderr.isTTY)L=function(a,F){var M=F?"\x1B[33m":"\x1B[31m";console.warn(M+a+`\x1B[0m -`)};else if(!Q.isNode&&typeof Error().stack==="string")L=function(a,F){console.warn("%c"+a,F?"color: darkorange":"color: red")}}var T0={warnings:N,longStackTraces:!1,cancellation:!1,monitoring:!1};if(E)$.longStackTraces();return{longStackTraces:function(){return T0.longStackTraces},warnings:function(){return T0.warnings},cancellation:function(){return T0.cancellation},monitoring:function(){return T0.monitoring},propagateFromFunction:function(){return d},boundValueFunction:function(){return t},checkForgottenReturns:M0,setBounds:w7,warn:w1,deprecated:B0,CapturedTrace:s6,fireDomEvent:v,fireGlobalEvent:u}}});var a20=O((Iv1,t20)=>{t20.exports=function($,I){var U=b1(),Y=$.CancellationError,J=U.errorObj;function Q(V,z,Z){this.promise=V,this.type=z,this.handler=Z,this.called=!1,this.cancelPromise=null}Q.prototype.isFinallyHandler=function(){return this.type===0};function K(V){this.finallyHandler=V}K.prototype._resultCancelled=function(){q(this.finallyHandler)};function q(V,z){if(V.cancelPromise!=null){if(arguments.length>1)V.cancelPromise._reject(z);else V.cancelPromise._cancel();return V.cancelPromise=null,!0}return!1}function G(){return W.call(this,this.promise._target()._settledValue())}function H(V){if(q(this,V))return;return J.e=V,J}function W(V){var z=this.promise,Z=this.handler;if(!this.called){this.called=!0;var w=this.isFinallyHandler()?Z.call(z._boundValue()):Z.call(z._boundValue(),V);if(w!==void 0){z._setReturnedNonUndefined();var L=I(w,z);if(L instanceof $){if(this.cancelPromise!=null){if(L._isCancelled()){var D=new Y("late cancellation observer");return z._attachExtraTrace(D),J.e=D,J}else if(L.isPending())L._attachCancellationCallback(new K(this))}return L._then(G,H,void 0,this,void 0)}}}if(z.isRejected())return q(this),J.e=V,J;else return q(this),V}return $.prototype._passThrough=function(V,z,Z,w){if(typeof V!=="function")return this.then();return this._then(Z,w,void 0,new Q(this,z,V),void 0)},$.prototype.lastly=$.prototype.finally=function(V){return this._passThrough(V,0,W,W)},$.prototype.tap=function(V){return this._passThrough(V,1,W)},Q}});var e20=O((Uv1,s20)=>{s20.exports=function($){var I=b1(),U=y3().keys,Y=I.tryCatch,J=I.errorObj;function Q(K,q,G){return function(H){var W=G._boundValue();$:for(var V=0;V{var $K0=b1(),L31=$K0.maybeWrapAsError,D31=C5(),O31=D31.OperationalError,IK0=y3();function N31($){return $ instanceof Error&&IK0.getPrototypeOf($)===Error.prototype}var F31=/^(?:name|message|stack|cause)$/;function M31($){var I;if(N31($)){I=new O31($),I.name=$.name,I.message=$.message,I.stack=$.stack;var U=IK0.keys($);for(var Y=0;Y{YK0.exports=function($,I,U,Y,J){var Q=b1(),K=Q.tryCatch;$.method=function(q){if(typeof q!=="function")throw new $.TypeError("expecting a function but got "+Q.classString(q));return function(){var G=new $(I);G._captureStackTrace(),G._pushContext();var H=K(q).apply(this,arguments),W=G._popContext();return J.checkForgottenReturns(H,W,"Promise.method",G),G._resolveFromSyncValue(H),G}},$.attempt=$.try=function(q){if(typeof q!=="function")return Y("expecting a function but got "+Q.classString(q));var G=new $(I);G._captureStackTrace(),G._pushContext();var H;if(arguments.length>1){J.deprecated("calling Promise.try with more than 1 argument");var W=arguments[1],V=arguments[2];H=Q.isArray(W)?K(q).apply(V,W):K(q).call(V,W)}else H=K(q)();var z=G._popContext();return J.checkForgottenReturns(H,z,"Promise.try",G),G._resolveFromSyncValue(H),G},$.prototype._resolveFromSyncValue=function(q){if(q===Q.errorObj)this._rejectCallback(q.e,!1);else this._resolveCallback(q,!0)}}});var KK0=O((Qv1,QK0)=>{QK0.exports=function($,I,U,Y){var J=!1,Q=function(H,W){this._reject(W)},K=function(H,W){W.promiseRejectionQueued=!0,W.bindingPromise._then(Q,Q,null,this,H)},q=function(H,W){if((this._bitField&50397184)===0)this._resolveCallback(W.target)},G=function(H,W){if(!W.promiseRejectionQueued)this._reject(H)};$.prototype.bind=function(H){if(!J)J=!0,$.prototype._propagateFrom=Y.propagateFromFunction(),$.prototype._boundValue=Y.boundValueFunction();var W=U(H),V=new $(I);V._propagateFrom(this,1);var z=this._target();if(V._setBoundTo(W),W instanceof $){var Z={promiseRejectionQueued:!1,promise:V,target:z,bindingPromise:W};z._then(I,K,void 0,V,Z),W._then(q,G,void 0,V,Z),V._setOnCancel(W)}else V._resolveCallback(z);return V},$.prototype._setBoundTo=function(H){if(H!==void 0)this._bitField=this._bitField|2097152,this._boundTo=H;else this._bitField=this._bitField&-2097153},$.prototype._isBound=function(){return(this._bitField&2097152)===2097152},$.bind=function(H,W){return $.resolve(W).bind(H)}}});var GK0=O((Kv1,qK0)=>{qK0.exports=function($,I,U,Y){var J=b1(),Q=J.tryCatch,K=J.errorObj,q=$._async;$.prototype.break=$.prototype.cancel=function(){if(!Y.cancellation())return this._warn("cancellation is disabled");var G=this,H=G;while(G._isCancellable()){if(!G._cancelBy(H)){if(H._isFollowing())H._followee().cancel();else H._cancelBranched();break}var W=G._cancellationParent;if(W==null||!W._isCancellable()){if(G._isFollowing())G._followee().cancel();else G._cancelBranched();break}else{if(G._isFollowing())G._followee().cancel();G._setWillBeCancelled(),H=G,G=W}}},$.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},$.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},$.prototype._cancelBy=function(G){if(G===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;else if(this._branchHasCancelled(),this._enoughBranchesHaveCancelled())return this._invokeOnCancel(),!0;return!1},$.prototype._cancelBranched=function(){if(this._enoughBranchesHaveCancelled())this._cancel()},$.prototype._cancel=function(){if(!this._isCancellable())return;this._setCancelled(),q.invoke(this._cancelPromises,this,void 0)},$.prototype._cancelPromises=function(){if(this._length()>0)this._settlePromises()},$.prototype._unsetOnCancel=function(){this._onCancelField=void 0},$.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},$.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},$.prototype._doInvokeOnCancel=function(G,H){if(J.isArray(G))for(var W=0;W{HK0.exports=function($){function I(){return this.value}function U(){throw this.reason}$.prototype.return=$.prototype.thenReturn=function(Y){if(Y instanceof $)Y.suppressUnhandledRejections();return this._then(I,void 0,void 0,{value:Y},void 0)},$.prototype.throw=$.prototype.thenThrow=function(Y){return this._then(U,void 0,void 0,{reason:Y},void 0)},$.prototype.catchThrow=function(Y){if(arguments.length<=1)return this._then(void 0,U,void 0,{reason:Y},void 0);else{var J=arguments[1],Q=function(){throw J};return this.caught(Y,Q)}},$.prototype.catchReturn=function(Y){if(arguments.length<=1){if(Y instanceof $)Y.suppressUnhandledRejections();return this._then(void 0,I,void 0,{value:Y},void 0)}else{var J=arguments[1];if(J instanceof $)J.suppressUnhandledRejections();var Q=function(){return J};return this.caught(Y,Q)}}}});var ZK0=O((Gv1,VK0)=>{VK0.exports=function($){function I(G){if(G!==void 0)G=G._target(),this._bitField=G._bitField,this._settledValueField=G._isFateSealed()?G._settledValue():void 0;else this._bitField=0,this._settledValueField=void 0}I.prototype._settledValue=function(){return this._settledValueField};var U=I.prototype.value=function(){if(!this.isFulfilled())throw TypeError(`cannot get fulfillment value of a non-fulfilled promise +`+N.join(` +`)}function H1(a){for(var N=0;N=0;--e)if(j[e]===s){m=e;break}for(var e=m;e>=0;--e){var J0=j[e];if(N[x]===J0)N.pop(),x--;else break}N=j}}function g0(a){var N=[];for(var M=0;M0&&a.name!="SyntaxError")N=N.slice(M);return N}function K4(a){var N=a.stack,M=a.toString();return N=typeof N==="string"&&N.length>0?m0(a):[" (No stack trace)"],{message:M,stack:a.name=="SyntaxError"?N:g0(N)}}function j4(a,N,M){if(typeof console<"u"){var j;if(Q.isObject(a)){var x=a.stack;j=N+Z(x,a)}else j=N+String(a);if(typeof L==="function")L(j,M);else if(typeof console.log==="function"||typeof console.log==="object")console.log(j)}}function V$(a,N,M,j){var x=!1;try{if(typeof N==="function")if(x=!0,a==="rejectionHandled")N(j);else N(M,j)}catch(s){Y.throwLater(s)}if(a==="unhandledRejection"){if(!C(a,M,j)&&!x)j4(M,"Unhandled rejection ")}else C(a,j)}function k$(a){var N;if(typeof a==="function")N="[function "+(a.name||"anonymous")+"]";else{N=a&&typeof a.toString==="function"?a.toString():Q.toString(a);var M=/\[object [a-zA-Z0-9$_]+\]/;if(M.test(N))try{var j=JSON.stringify(a);N=j}catch(x){}if(N.length===0)N="(empty array)"}return"(<"+m8(N)+">, no stack trace)"}function m8(a){var N=41;if(a.length=s)return;w$=function(C0){if(H.test(C0))return!0;var b0=a6(C0);if(b0){if(b0.fileName===m&&(x<=b0.line&&b0.line<=s))return!0}return!1}}function s6(a){this._parent=a,this._promisesCreated=0;var N=this._length=1+(a===void 0?0:a._length);if(d5(this,s6),N>32)this.uncycle()}Q.inherits(s6,Error),I.CapturedTrace=s6,s6.prototype.uncycle=function(){var a=this._length;if(a<2)return;var N=[],M={};for(var j=0,x=this;x!==void 0;++j)N.push(x),x=x._parent;a=this._length=j;for(var j=a-1;j>=0;--j){var s=N[j].stack;if(M[s]===void 0)M[s]=j}for(var j=0;j0)N[e-1]._parent=void 0,N[e-1]._length=1;N[j]._parent=void 0,N[j]._length=1;var J0=j>0?N[j-1]:this;if(e=0;--C0)N[C0]._length=H0,H0++;return}}},s6.prototype.attachExtraTrace=function(a){if(a.__stackCleaned__)return;this.uncycle();var N=K4(a),M=N.message,j=[N.stack],x=this;while(x!==void 0)j.push(g0(x.stack.split(` +`))),x=x._parent;F0(j),H1(j),Q.notEnumerableProp(a,"stack",f0(M,j)),Q.notEnumerableProp(a,"__stackCleaned__",!0)};var d5=function(){var N=/^\s*at\s*/,M=function(m,e){if(typeof m==="string")return m;if(e.name!==void 0&&e.message!==void 0)return e.toString();return k$(e)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6,w=N,Z=M;var j=Error.captureStackTrace;return w$=function(m){return H.test(m)},function(m,e){Error.stackTraceLimit+=6,j(m,e),Error.stackTraceLimit-=6}}var x=Error();if(typeof x.stack==="string"&&x.stack.split(` +`)[0].indexOf("stackDetection@")>=0)return w=/@/,Z=M,z=!0,function(e){e.stack=Error().stack};var s;try{throw Error()}catch(m){s="stack"in m}if(!("stack"in x)&&s&&typeof Error.stackTraceLimit==="number")return w=N,Z=M,function(e){Error.stackTraceLimit+=6;try{throw Error()}catch(J0){e.stack=J0.stack}Error.stackTraceLimit-=6};return Z=function(m,e){if(typeof m==="string")return m;if((typeof e==="object"||typeof e==="function")&&e.name!==void 0&&e.message!==void 0)return e.toString();return k$(e)},null}([]);if(typeof console<"u"&&typeof console.warn<"u"){if(L=function(a){console.warn(a)},Q.isNode&&process.stderr.isTTY)L=function(a,N){var M=N?"\x1B[33m":"\x1B[31m";console.warn(M+a+`\x1B[0m +`)};else if(!Q.isNode&&typeof Error().stack==="string")L=function(a,N){console.warn("%c"+a,N?"color: darkorange":"color: red")}}var E0={warnings:F,longStackTraces:!1,cancellation:!1,monitoring:!1};if(E)$.longStackTraces();return{longStackTraces:function(){return E0.longStackTraces},warnings:function(){return E0.warnings},cancellation:function(){return E0.cancellation},monitoring:function(){return E0.monitoring},propagateFromFunction:function(){return d},boundValueFunction:function(){return t},checkForgottenReturns:A0,setBounds:D7,warn:L1,deprecated:v0,CapturedTrace:s6,fireDomEvent:R,fireGlobalEvent:u}}});var gK0=O((KC1,SK0)=>{SK0.exports=function($,I){var U=b1(),Y=$.CancellationError,J=U.errorObj;function Q(V,w,Z){this.promise=V,this.type=w,this.handler=Z,this.called=!1,this.cancelPromise=null}Q.prototype.isFinallyHandler=function(){return this.type===0};function K(V){this.finallyHandler=V}K.prototype._resultCancelled=function(){q(this.finallyHandler)};function q(V,w){if(V.cancelPromise!=null){if(arguments.length>1)V.cancelPromise._reject(w);else V.cancelPromise._cancel();return V.cancelPromise=null,!0}return!1}function G(){return W.call(this,this.promise._target()._settledValue())}function H(V){if(q(this,V))return;return J.e=V,J}function W(V){var w=this.promise,Z=this.handler;if(!this.called){this.called=!0;var z=this.isFinallyHandler()?Z.call(w._boundValue()):Z.call(w._boundValue(),V);if(z!==void 0){w._setReturnedNonUndefined();var L=I(z,w);if(L instanceof $){if(this.cancelPromise!=null){if(L._isCancelled()){var D=new Y("late cancellation observer");return w._attachExtraTrace(D),J.e=D,J}else if(L.isPending())L._attachCancellationCallback(new K(this))}return L._then(G,H,void 0,this,void 0)}}}if(w.isRejected())return q(this),J.e=V,J;else return q(this),V}return $.prototype._passThrough=function(V,w,Z,z){if(typeof V!=="function")return this.then();return this._then(Z,z,void 0,new Q(this,w,V),void 0)},$.prototype.lastly=$.prototype.finally=function(V){return this._passThrough(V,0,W,W)},$.prototype.tap=function(V){return this._passThrough(V,1,W)},Q}});var hK0=O((qC1,yK0)=>{yK0.exports=function($){var I=b1(),U=x3().keys,Y=I.tryCatch,J=I.errorObj;function Q(K,q,G){return function(H){var W=G._boundValue();$:for(var V=0;V{var xK0=b1(),GI1=xK0.maybeWrapAsError,HI1=_5(),WI1=HI1.OperationalError,kK0=x3();function VI1($){return $ instanceof Error&&kK0.getPrototypeOf($)===Error.prototype}var wI1=/^(?:name|message|stack|cause)$/;function ZI1($){var I;if(VI1($)){I=new WI1($),I.name=$.name,I.message=$.message,I.stack=$.stack;var U=kK0.keys($);for(var Y=0;Y{fK0.exports=function($,I,U,Y,J){var Q=b1(),K=Q.tryCatch;$.method=function(q){if(typeof q!=="function")throw new $.TypeError("expecting a function but got "+Q.classString(q));return function(){var G=new $(I);G._captureStackTrace(),G._pushContext();var H=K(q).apply(this,arguments),W=G._popContext();return J.checkForgottenReturns(H,W,"Promise.method",G),G._resolveFromSyncValue(H),G}},$.attempt=$.try=function(q){if(typeof q!=="function")return Y("expecting a function but got "+Q.classString(q));var G=new $(I);G._captureStackTrace(),G._pushContext();var H;if(arguments.length>1){J.deprecated("calling Promise.try with more than 1 argument");var W=arguments[1],V=arguments[2];H=Q.isArray(W)?K(q).apply(V,W):K(q).call(V,W)}else H=K(q)();var w=G._popContext();return J.checkForgottenReturns(H,w,"Promise.try",G),G._resolveFromSyncValue(H),G},$.prototype._resolveFromSyncValue=function(q){if(q===Q.errorObj)this._rejectCallback(q.e,!1);else this._resolveCallback(q,!0)}}});var nK0=O((WC1,iK0)=>{iK0.exports=function($,I,U,Y){var J=!1,Q=function(H,W){this._reject(W)},K=function(H,W){W.promiseRejectionQueued=!0,W.bindingPromise._then(Q,Q,null,this,H)},q=function(H,W){if((this._bitField&50397184)===0)this._resolveCallback(W.target)},G=function(H,W){if(!W.promiseRejectionQueued)this._reject(H)};$.prototype.bind=function(H){if(!J)J=!0,$.prototype._propagateFrom=Y.propagateFromFunction(),$.prototype._boundValue=Y.boundValueFunction();var W=U(H),V=new $(I);V._propagateFrom(this,1);var w=this._target();if(V._setBoundTo(W),W instanceof $){var Z={promiseRejectionQueued:!1,promise:V,target:w,bindingPromise:W};w._then(I,K,void 0,V,Z),W._then(q,G,void 0,V,Z),V._setOnCancel(W)}else V._resolveCallback(w);return V},$.prototype._setBoundTo=function(H){if(H!==void 0)this._bitField=this._bitField|2097152,this._boundTo=H;else this._bitField=this._bitField&-2097153},$.prototype._isBound=function(){return(this._bitField&2097152)===2097152},$.bind=function(H,W){return $.resolve(W).bind(H)}}});var cK0=O((VC1,pK0)=>{pK0.exports=function($,I,U,Y){var J=b1(),Q=J.tryCatch,K=J.errorObj,q=$._async;$.prototype.break=$.prototype.cancel=function(){if(!Y.cancellation())return this._warn("cancellation is disabled");var G=this,H=G;while(G._isCancellable()){if(!G._cancelBy(H)){if(H._isFollowing())H._followee().cancel();else H._cancelBranched();break}var W=G._cancellationParent;if(W==null||!W._isCancellable()){if(G._isFollowing())G._followee().cancel();else G._cancelBranched();break}else{if(G._isFollowing())G._followee().cancel();G._setWillBeCancelled(),H=G,G=W}}},$.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},$.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},$.prototype._cancelBy=function(G){if(G===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;else if(this._branchHasCancelled(),this._enoughBranchesHaveCancelled())return this._invokeOnCancel(),!0;return!1},$.prototype._cancelBranched=function(){if(this._enoughBranchesHaveCancelled())this._cancel()},$.prototype._cancel=function(){if(!this._isCancellable())return;this._setCancelled(),q.invoke(this._cancelPromises,this,void 0)},$.prototype._cancelPromises=function(){if(this._length()>0)this._settlePromises()},$.prototype._unsetOnCancel=function(){this._onCancelField=void 0},$.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},$.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},$.prototype._doInvokeOnCancel=function(G,H){if(J.isArray(G))for(var W=0;W{dK0.exports=function($){function I(){return this.value}function U(){throw this.reason}$.prototype.return=$.prototype.thenReturn=function(Y){if(Y instanceof $)Y.suppressUnhandledRejections();return this._then(I,void 0,void 0,{value:Y},void 0)},$.prototype.throw=$.prototype.thenThrow=function(Y){return this._then(U,void 0,void 0,{reason:Y},void 0)},$.prototype.catchThrow=function(Y){if(arguments.length<=1)return this._then(void 0,U,void 0,{reason:Y},void 0);else{var J=arguments[1],Q=function(){throw J};return this.caught(Y,Q)}},$.prototype.catchReturn=function(Y){if(arguments.length<=1){if(Y instanceof $)Y.suppressUnhandledRejections();return this._then(void 0,I,void 0,{value:Y},void 0)}else{var J=arguments[1];if(J instanceof $)J.suppressUnhandledRejections();var Q=function(){return J};return this.caught(Y,Q)}}}});var oK0=O((ZC1,lK0)=>{lK0.exports=function($){function I(G){if(G!==void 0)G=G._target(),this._bitField=G._bitField,this._settledValueField=G._isFateSealed()?G._settledValue():void 0;else this._bitField=0,this._settledValueField=void 0}I.prototype._settledValue=function(){return this._settledValueField};var U=I.prototype.value=function(){if(!this.isFulfilled())throw TypeError(`cannot get fulfillment value of a non-fulfilled promise See http://goo.gl/MqrFmX `);return this._settledValue()},Y=I.prototype.error=I.prototype.reason=function(){if(!this.isRejected())throw TypeError(`cannot get rejection reason of a non-rejected promise See http://goo.gl/MqrFmX -`);return this._settledValue()},J=I.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},Q=I.prototype.isRejected=function(){return(this._bitField&16777216)!==0},K=I.prototype.isPending=function(){return(this._bitField&50397184)===0},q=I.prototype.isResolved=function(){return(this._bitField&50331648)!==0};I.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},$.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},$.prototype._isCancelled=function(){return this._target().__isCancelled()},$.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},$.prototype.isPending=function(){return K.call(this._target())},$.prototype.isRejected=function(){return Q.call(this._target())},$.prototype.isFulfilled=function(){return J.call(this._target())},$.prototype.isResolved=function(){return q.call(this._target())},$.prototype.value=function(){return U.call(this._target())},$.prototype.reason=function(){var G=this._target();return G._unsetRejectionIsUnhandled(),Y.call(G)},$.prototype._value=function(){return this._settledValue()},$.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},$.PromiseInspection=I}});var XK0=O((Hv1,zK0)=>{zK0.exports=function($,I,U,Y,J,Q){var K=b1(),q=K.canEvaluate,G=K.tryCatch,H=K.errorObj,W;if(q){var V=function(E){return Function("value","holder",` +`);return this._settledValue()},J=I.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},Q=I.prototype.isRejected=function(){return(this._bitField&16777216)!==0},K=I.prototype.isPending=function(){return(this._bitField&50397184)===0},q=I.prototype.isResolved=function(){return(this._bitField&50331648)!==0};I.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},$.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},$.prototype._isCancelled=function(){return this._target().__isCancelled()},$.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},$.prototype.isPending=function(){return K.call(this._target())},$.prototype.isRejected=function(){return Q.call(this._target())},$.prototype.isFulfilled=function(){return J.call(this._target())},$.prototype.isResolved=function(){return q.call(this._target())},$.prototype.value=function(){return U.call(this._target())},$.prototype.reason=function(){var G=this._target();return G._unsetRejectionIsUnhandled(),Y.call(G)},$.prototype._value=function(){return this._settledValue()},$.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},$.PromiseInspection=I}});var tK0=O((XC1,rK0)=>{rK0.exports=function($,I,U,Y,J,Q){var K=b1(),q=K.canEvaluate,G=K.tryCatch,H=K.errorObj,W;if(q){var V=function(E){return Function("value","holder",` 'use strict'; holder.pIndex = value; holder.checkFulfillment(this); - `.replace(/Index/g,E))},z=function(E){return Function("promise","holder",` + `.replace(/Index/g,E))},w=function(E){return Function("promise","holder",` 'use strict'; holder.pIndex = promise; - `.replace(/Index/g,E))},Z=function(E){var T=Array(E);for(var A=0;A0&&typeof arguments[E]==="function"){if(T=arguments[E],E<=8&&q){var i=new $(Y);i._captureStackTrace();var A=w[E-1],v=new A(T),u=L;for(var g=0;g{wK0.exports=function($,I,U,Y,J,Q){var K=$._getDomain,q=b1(),G=q.tryCatch,H=q.errorObj,W=$._async;function V(Z,w,L,D){this.constructor$(Z),this._promise._captureStackTrace();var N=K();this._callback=N===null?w:q.domainBind(N,w),this._preservedValues=D===J?Array(this.length()):null,this._limit=L,this._inFlight=0,this._queue=[],W.invoke(this._asyncInit,this,void 0)}q.inherits(V,I),V.prototype._asyncInit=function(){this._init$(void 0,-2)},V.prototype._init=function(){},V.prototype._promiseFulfilled=function(Z,w){var L=this._values,D=this.length(),N=this._preservedValues,E=this._limit;if(w<0){if(w=w*-1-1,L[w]=Z,E>=1){if(this._inFlight--,this._drainQueue(),this._isResolved())return!0}}else{if(E>=1&&this._inFlight>=E)return L[w]=Z,this._queue.push(w),!1;if(N!==null)N[w]=Z;var T=this._promise,A=this._callback,v=T._boundValue();T._pushContext();var u=G(A).call(v,Z,w,D),g=T._popContext();if(Q.checkForgottenReturns(u,g,N!==null?"Promise.filter":"Promise.map",T),u===H)return this._reject(u.e),!0;var b=Y(u,this._promise);if(b instanceof $){b=b._target();var C=b._bitField;if((C&50397184)===0){if(E>=1)this._inFlight++;return L[w]=b,b._proxy(this,(w+1)*-1),!1}else if((C&33554432)!==0)u=b._value();else if((C&16777216)!==0)return this._reject(b._reason()),!0;else return this._cancel(),!0}L[w]=u}var p=++this._totalResolved;if(p>=D){if(N!==null)this._filter(L,N);else this._resolve(L);return!0}return!1},V.prototype._drainQueue=function(){var Z=this._queue,w=this._limit,L=this._values;while(Z.length>0&&this._inFlight=1?N:0,new V(Z,w,N,D).promise()}$.prototype.map=function(Z,w){return z(this,Z,w,null)},$.map=function(Z,w,L,D){return z(Z,w,L,D)}}});var OK0=O((Vv1,DK0)=>{var Zg=Object.create;if(Zg)Cw=Zg(null),jw=Zg(null),Cw[" size"]=jw[" size"]=0;var Cw,jw;DK0.exports=function($){var I=b1(),U=I.canEvaluate,Y=I.isIdentifier,J,Q,K=function(Z){return Function("ensureMethod",` + `;return C=C.replace(/\[TheName\]/g,b).replace(/\[TheTotal\]/g,E).replace(/\[ThePassedArguments\]/g,g).replace(/\[TheProperties\]/g,R).replace(/\[CancellationCode\]/g,u),Function("tryCatch","errorObj","Promise","async",C)(G,H,$,J)},z=[],L=[],D=[];for(var F=0;F<8;++F)z.push(Z(F+1)),L.push(V(F+1)),D.push(w(F+1));W=function(E){this._reject(E)}}$.join=function(){var E=arguments.length-1,T;if(E>0&&typeof arguments[E]==="function"){if(T=arguments[E],E<=8&&q){var i=new $(Y);i._captureStackTrace();var A=z[E-1],R=new A(T),u=L;for(var g=0;g{aK0.exports=function($,I,U,Y,J,Q){var K=$._getDomain,q=b1(),G=q.tryCatch,H=q.errorObj,W=$._async;function V(Z,z,L,D){this.constructor$(Z),this._promise._captureStackTrace();var F=K();this._callback=F===null?z:q.domainBind(F,z),this._preservedValues=D===J?Array(this.length()):null,this._limit=L,this._inFlight=0,this._queue=[],W.invoke(this._asyncInit,this,void 0)}q.inherits(V,I),V.prototype._asyncInit=function(){this._init$(void 0,-2)},V.prototype._init=function(){},V.prototype._promiseFulfilled=function(Z,z){var L=this._values,D=this.length(),F=this._preservedValues,E=this._limit;if(z<0){if(z=z*-1-1,L[z]=Z,E>=1){if(this._inFlight--,this._drainQueue(),this._isResolved())return!0}}else{if(E>=1&&this._inFlight>=E)return L[z]=Z,this._queue.push(z),!1;if(F!==null)F[z]=Z;var T=this._promise,A=this._callback,R=T._boundValue();T._pushContext();var u=G(A).call(R,Z,z,D),g=T._popContext();if(Q.checkForgottenReturns(u,g,F!==null?"Promise.filter":"Promise.map",T),u===H)return this._reject(u.e),!0;var b=Y(u,this._promise);if(b instanceof $){b=b._target();var C=b._bitField;if((C&50397184)===0){if(E>=1)this._inFlight++;return L[z]=b,b._proxy(this,(z+1)*-1),!1}else if((C&33554432)!==0)u=b._value();else if((C&16777216)!==0)return this._reject(b._reason()),!0;else return this._cancel(),!0}L[z]=u}var p=++this._totalResolved;if(p>=D){if(F!==null)this._filter(L,F);else this._resolve(L);return!0}return!1},V.prototype._drainQueue=function(){var Z=this._queue,z=this._limit,L=this._values;while(Z.length>0&&this._inFlight=1?F:0,new V(Z,z,F,D).promise()}$.prototype.map=function(Z,z){return w(this,Z,z,null)},$.map=function(Z,z,L,D){return w(Z,z,L,D)}}});var $q0=O((LC1,eK0)=>{var Bg=Object.create;if(Bg)kz=Bg(null),uz=Bg(null),kz[" size"]=uz[" size"]=0;var kz,uz;eK0.exports=function($){var I=b1(),U=I.canEvaluate,Y=I.isIdentifier,J,Q,K=function(Z){return Function("ensureMethod",` return function(obj) { 'use strict' var len = this.length; @@ -146,26 +146,26 @@ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof y4))r `.replace(/methodName/g,Z))(H)},q=function(Z){return Function("obj",` 'use strict'; return obj.propertyName; - `.replace("propertyName",Z))},G=function(Z,w,L){var D=L[Z];if(typeof D!=="function"){if(!Y(Z))return null;if(D=w(Z),L[Z]=D,L[" size"]++,L[" size"]>512){var N=Object.keys(L);for(var E=0;E<256;++E)delete L[N[E]];L[" size"]=N.length-256}}return D};J=function(Z){return G(Z,K,Cw)},Q=function(Z){return G(Z,q,jw)};function H(Z,w){var L;if(Z!=null)L=Z[w];if(typeof L!=="function"){var D="Object "+I.classString(Z)+" has no method '"+I.toString(w)+"'";throw new $.TypeError(D)}return L}function W(Z){var w=this.pop(),L=H(Z,w);return L.apply(Z,this)}$.prototype.call=function(Z){var w=arguments.length,L=Array(Math.max(w-1,0));for(var D=1;D{NK0.exports=function($,I,U,Y,J,Q){var K=b1(),q=C5().TypeError,G=b1().inherits,H=K.errorObj,W=K.tryCatch,V={};function z(T){setTimeout(function(){throw T},0)}function Z(T){var A=U(T);if(A!==T&&typeof T._isDisposable==="function"&&typeof T._getDisposer==="function"&&T._isDisposable())A._setDisposable(T._getDisposer());return A}function w(T,A){var v=0,u=T.length,g=new $(J);function b(){if(v>=u)return g._fulfill();var C=Z(T[v++]);if(C instanceof $&&C._isDisposable()){try{C=U(C._getDisposer().tryDispose(A),T.promise)}catch(p){return z(p)}if(C instanceof $)return C._then(b,z,null,null,null)}b()}return b(),g}function L(T,A,v){this._data=T,this._promise=A,this._context=v}L.prototype.data=function(){return this._data},L.prototype.promise=function(){return this._promise},L.prototype.resource=function(){if(this.promise().isFulfilled())return this.promise().value();return V},L.prototype.tryDispose=function(T){var A=this.resource(),v=this._context;if(v!==void 0)v._pushContext();var u=A!==V?this.doDispose(A,T):null;if(v!==void 0)v._popContext();return this._promise._unsetDisposable(),this._data=null,u},L.isDisposer=function(T){return T!=null&&typeof T.resource==="function"&&typeof T.tryDispose==="function"};function D(T,A,v){this.constructor$(T,A,v)}G(D,L),D.prototype.doDispose=function(T,A){var v=this.data();return v.call(T,T,A)};function N(T){if(L.isDisposer(T))return this.resources[this.index]._setDisposable(T),T.promise();return T}function E(T){this.length=T,this.promise=null,this[T-1]=null}E.prototype._resultCancelled=function(){var T=this.length;for(var A=0;A0},$.prototype._getDisposer=function(){return this._disposer},$.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},$.prototype.disposer=function(T){if(typeof T==="function")return new D(T,this,Y());throw new q}}});var AK0=O((zv1,MK0)=>{MK0.exports=function($,I,U){var Y=b1(),J=$.TimeoutError;function Q(V){this.handle=V}Q.prototype._resultCancelled=function(){clearTimeout(this.handle)};var K=function(V){return q(+this).thenReturn(V)},q=$.delay=function(V,z){var Z,w;if(z!==void 0){if(Z=$.resolve(z)._then(K,null,null,V,void 0),U.cancellation()&&z instanceof $)Z._setOnCancel(z)}else{if(Z=new $(I),w=setTimeout(function(){Z._fulfill()},+V),U.cancellation())Z._setOnCancel(new Q(w));Z._captureStackTrace()}return Z._setAsyncGuaranteed(),Z};$.prototype.delay=function(V){return q(V,this)};var G=function(V,z,Z){var w;if(typeof z!=="string")if(z instanceof Error)w=z;else w=new J("operation timed out");else w=new J(z);if(Y.markAsOriginatingFromRejection(w),V._attachExtraTrace(w),V._reject(w),Z!=null)Z.cancel()};function H(V){return clearTimeout(this.handle),V}function W(V){throw clearTimeout(this.handle),V}$.prototype.timeout=function(V,z){V=+V;var Z,w,L=new Q(setTimeout(function(){if(Z.isPending())G(Z,z,w)},V));if(U.cancellation())w=this.then(),Z=w._then(H,W,void 0,L,void 0),Z._setOnCancel(L);else Z=this._then(H,W,void 0,L,void 0);return Z}}});var TK0=O((Xv1,PK0)=>{PK0.exports=function($,I,U,Y,J,Q){var K=C5(),q=K.TypeError,G=b1(),H=G.errorObj,W=G.tryCatch,V=[];function z(w,L,D){for(var N=0;N512){var F=Object.keys(L);for(var E=0;E<256;++E)delete L[F[E]];L[" size"]=F.length-256}}return D};J=function(Z){return G(Z,K,kz)},Q=function(Z){return G(Z,q,uz)};function H(Z,z){var L;if(Z!=null)L=Z[z];if(typeof L!=="function"){var D="Object "+I.classString(Z)+" has no method '"+I.toString(z)+"'";throw new $.TypeError(D)}return L}function W(Z){var z=this.pop(),L=H(Z,z);return L.apply(Z,this)}$.prototype.call=function(Z){var z=arguments.length,L=Array(Math.max(z-1,0));for(var D=1;D{Iq0.exports=function($,I,U,Y,J,Q){var K=b1(),q=_5().TypeError,G=b1().inherits,H=K.errorObj,W=K.tryCatch,V={};function w(T){setTimeout(function(){throw T},0)}function Z(T){var A=U(T);if(A!==T&&typeof T._isDisposable==="function"&&typeof T._getDisposer==="function"&&T._isDisposable())A._setDisposable(T._getDisposer());return A}function z(T,A){var R=0,u=T.length,g=new $(J);function b(){if(R>=u)return g._fulfill();var C=Z(T[R++]);if(C instanceof $&&C._isDisposable()){try{C=U(C._getDisposer().tryDispose(A),T.promise)}catch(p){return w(p)}if(C instanceof $)return C._then(b,w,null,null,null)}b()}return b(),g}function L(T,A,R){this._data=T,this._promise=A,this._context=R}L.prototype.data=function(){return this._data},L.prototype.promise=function(){return this._promise},L.prototype.resource=function(){if(this.promise().isFulfilled())return this.promise().value();return V},L.prototype.tryDispose=function(T){var A=this.resource(),R=this._context;if(R!==void 0)R._pushContext();var u=A!==V?this.doDispose(A,T):null;if(R!==void 0)R._popContext();return this._promise._unsetDisposable(),this._data=null,u},L.isDisposer=function(T){return T!=null&&typeof T.resource==="function"&&typeof T.tryDispose==="function"};function D(T,A,R){this.constructor$(T,A,R)}G(D,L),D.prototype.doDispose=function(T,A){var R=this.data();return R.call(T,T,A)};function F(T){if(L.isDisposer(T))return this.resources[this.index]._setDisposable(T),T.promise();return T}function E(T){this.length=T,this.promise=null,this[T-1]=null}E.prototype._resultCancelled=function(){var T=this.length;for(var A=0;A0},$.prototype._getDisposer=function(){return this._disposer},$.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},$.prototype.disposer=function(T){if(typeof T==="function")return new D(T,this,Y());throw new q}}});var Jq0=O((OC1,Yq0)=>{Yq0.exports=function($,I,U){var Y=b1(),J=$.TimeoutError;function Q(V){this.handle=V}Q.prototype._resultCancelled=function(){clearTimeout(this.handle)};var K=function(V){return q(+this).thenReturn(V)},q=$.delay=function(V,w){var Z,z;if(w!==void 0){if(Z=$.resolve(w)._then(K,null,null,V,void 0),U.cancellation()&&w instanceof $)Z._setOnCancel(w)}else{if(Z=new $(I),z=setTimeout(function(){Z._fulfill()},+V),U.cancellation())Z._setOnCancel(new Q(z));Z._captureStackTrace()}return Z._setAsyncGuaranteed(),Z};$.prototype.delay=function(V){return q(V,this)};var G=function(V,w,Z){var z;if(typeof w!=="string")if(w instanceof Error)z=w;else z=new J("operation timed out");else z=new J(w);if(Y.markAsOriginatingFromRejection(z),V._attachExtraTrace(z),V._reject(z),Z!=null)Z.cancel()};function H(V){return clearTimeout(this.handle),V}function W(V){throw clearTimeout(this.handle),V}$.prototype.timeout=function(V,w){V=+V;var Z,z,L=new Q(setTimeout(function(){if(Z.isPending())G(Z,w,z)},V));if(U.cancellation())z=this.then(),Z=z._then(H,W,void 0,L,void 0),Z._setOnCancel(L);else Z=this._then(H,W,void 0,L,void 0);return Z}}});var Kq0=O((FC1,Qq0)=>{Qq0.exports=function($,I,U,Y,J,Q){var K=_5(),q=K.TypeError,G=b1(),H=G.errorObj,W=G.tryCatch,V=[];function w(z,L,D){for(var F=0;F{EK0.exports=function($){var I=b1(),U=$._async,Y=I.tryCatch,J=I.errorObj;function Q(G,H){var W=this;if(!I.isArray(G))return K.call(W,G,H);var V=Y(H).apply(W._boundValue(),[null].concat(G));if(V===J)U.throwLater(V.e)}function K(G,H){var W=this,V=W._boundValue(),z=G===void 0?Y(H).call(V,null):Y(H).call(V,null,G);if(z===J)U.throwLater(z.e)}function q(G,H){var W=this;if(!G){var V=Error(G+"");V.cause=G,G=V}var z=Y(H).call(W._boundValue(),G);if(z===J)U.throwLater(z.e)}$.prototype.asCallback=$.prototype.nodeify=function(G,H){if(typeof G=="function"){var W=K;if(H!==void 0&&Object(H).spread)W=Q;this._then(W,q,void 0,this,G)}return this}}});var vK0=O((Lv1,RK0)=>{RK0.exports=function($,I){var U={},Y=b1(),J=Vg(),Q=Y.withAppended,K=Y.maybeWrapAsError,q=Y.canEvaluate,G=C5().TypeError,H="Async",W={__isPromisified__:!0},V=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],z=new RegExp("^(?:"+V.join("|")+")$"),Z=function(f){return Y.isIdentifier(f)&&f.charAt(0)!=="_"&&f!=="constructor"};function w(f){return!z.test(f)}function L(f){try{return f.__isPromisified__===!0}catch(i){return!1}}function D(f,i,Y0){var B=Y.getDataPropertyOrDefault(f,i+Y0,W);return B?L(B):!1}function N(f,i,Y0){for(var B=0;B{qq0.exports=function($){var I=b1(),U=$._async,Y=I.tryCatch,J=I.errorObj;function Q(G,H){var W=this;if(!I.isArray(G))return K.call(W,G,H);var V=Y(H).apply(W._boundValue(),[null].concat(G));if(V===J)U.throwLater(V.e)}function K(G,H){var W=this,V=W._boundValue(),w=G===void 0?Y(H).call(V,null):Y(H).call(V,null,G);if(w===J)U.throwLater(w.e)}function q(G,H){var W=this;if(!G){var V=Error(G+"");V.cause=G,G=V}var w=Y(H).call(W._boundValue(),G);if(w===J)U.throwLater(w.e)}$.prototype.asCallback=$.prototype.nodeify=function(G,H){if(typeof G=="function"){var W=K;if(H!==void 0&&Object(H).spread)W=Q;this._then(W,q,void 0,this,G)}return this}}});var Wq0=O((MC1,Hq0)=>{Hq0.exports=function($,I){var U={},Y=b1(),J=Eg(),Q=Y.withAppended,K=Y.maybeWrapAsError,q=Y.canEvaluate,G=_5().TypeError,H="Async",W={__isPromisified__:!0},V=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],w=new RegExp("^(?:"+V.join("|")+")$"),Z=function(f){return Y.isIdentifier(f)&&f.charAt(0)!=="_"&&f!=="constructor"};function z(f){return!w.test(f)}function L(f){try{return f.__isPromisified__===!0}catch(i){return!1}}function D(f,i,Y0){var B=Y.getDataPropertyOrDefault(f,i+Y0,W);return B?L(B):!1}function F(f,i,Y0){for(var B=0;B=Y0;--B)i.push(B);for(var B=f+1;B<=3;++B)i.push(B);return i},u=function(f){return Y.filledRange(f,"_arg","")},g=function(f){return Y.filledRange(Math.max(f,3),"_arg","")},b=function(f){if(typeof f.length==="number")return Math.max(Math.min(f.length,1024),0);return 0};A=function(f,i,Y0,B,k,d){var t=Math.max(0,b(B)-1),K0=v(t),W0=typeof f==="string"||i===U;function M0(G1){var O0=u(G1).join(", "),g0=G1>0?", ":"",d0;if(W0)d0=`ret = callback.call(this, {{args}}, nodeback); break; -`;else d0=i===void 0?`ret = callback({{args}}, nodeback); break; +`.replace("%s",i))}}}function E(f,i,Y0,B){var k=Y.inheritedDataKeys(f),d=[];for(var t=0;t=Y0;--B)i.push(B);for(var B=f+1;B<=3;++B)i.push(B);return i},u=function(f){return Y.filledRange(f,"_arg","")},g=function(f){return Y.filledRange(Math.max(f,3),"_arg","")},b=function(f){if(typeof f.length==="number")return Math.max(Math.min(f.length,1024),0);return 0};A=function(f,i,Y0,B,k,d){var t=Math.max(0,b(B)-1),K0=R(t),W0=typeof f==="string"||i===U;function A0(H1){var F0=u(H1).join(", "),g0=H1>0?", ":"",m0;if(W0)m0=`ret = callback.call(this, {{args}}, nodeback); break; +`;else m0=i===void 0?`ret = callback({{args}}, nodeback); break; `:`ret = callback.call(receiver, {{args}}, nodeback); break; -`;return d0.replace("{{args}}",O0).replace(", ",g0)}function B0(){var G1="";for(var O0=0;O0{CK0.exports=function($,I,U,Y){var J=b1(),Q=J.isObject,K=y3(),q;if(typeof Map==="function")q=Map;var G=function(){var z=0,Z=0;function w(L,D){this[z]=L,this[z+Z]=D,z++}return function(D){Z=D.size,z=0;var N=Array(D.size*2);return D.forEach(w,N),N}}(),H=function(z){var Z=new q,w=z.length/2|0;for(var L=0;L=this._length){var L;if(this._isMap)L=H(this._values);else{L={};var D=this.length();for(var N=0,E=this.length();N>1};function V(z){var Z,w=U(z);if(!Q(w))return Y(`cannot await properties of a non-object +`);var t=Y.inheritedDataKeys(f);for(var K0=0;K0{Vq0.exports=function($,I,U,Y){var J=b1(),Q=J.isObject,K=x3(),q;if(typeof Map==="function")q=Map;var G=function(){var w=0,Z=0;function z(L,D){this[w]=L,this[w+Z]=D,w++}return function(D){Z=D.size,w=0;var F=Array(D.size*2);return D.forEach(z,F),F}}(),H=function(w){var Z=new q,z=w.length/2|0;for(var L=0;L=this._length){var L;if(this._isMap)L=H(this._values);else{L={};var D=this.length();for(var F=0,E=this.length();F>1};function V(w){var Z,z=U(w);if(!Q(z))return Y(`cannot await properties of a non-object See http://goo.gl/MqrFmX -`);else if(w instanceof $)Z=w._then($.props,void 0,void 0,void 0,void 0);else Z=new W(w).promise();if(w instanceof $)Z._propagateFrom(w,2);return Z}$.prototype.props=function(){return V(this)},$.props=function(z){return V(z)}}});var SK0=O((Ov1,_K0)=>{_K0.exports=function($,I,U,Y){var J=b1(),Q=function(q){return q.then(function(G){return K(G,q)})};function K(q,G){var H=U(q);if(H instanceof $)return Q(H);else if(q=J.asArray(q),q===null)return Y("expecting an array or an iterable object but got "+J.classString(q));var W=new $(I);if(G!==void 0)W._propagateFrom(G,3);var{_fulfill:V,_reject:z}=W;for(var Z=0,w=q.length;Z{gK0.exports=function($,I,U,Y,J,Q){var K=$._getDomain,q=b1(),G=q.tryCatch;function H(w,L,D,N){this.constructor$(w);var E=K();if(this._fn=E===null?L:q.domainBind(E,L),D!==void 0)D=$.resolve(D),D._attachCancellationCallback(this);if(this._initialValue=D,this._currentCancellable=null,N===J)this._eachValues=Array(this._length);else if(N===0)this._eachValues=null;else this._eachValues=void 0;this._promise._captureStackTrace(),this._init$(void 0,-5)}q.inherits(H,I),H.prototype._gotAccum=function(w){if(this._eachValues!==void 0&&this._eachValues!==null&&w!==J)this._eachValues.push(w)},H.prototype._eachComplete=function(w){if(this._eachValues!==null)this._eachValues.push(w);return this._eachValues},H.prototype._init=function(){},H.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},H.prototype.shouldCopyValues=function(){return!1},H.prototype._resolve=function(w){this._promise._resolveCallback(w),this._values=null},H.prototype._resultCancelled=function(w){if(w===this._initialValue)return this._cancel();if(this._isResolved())return;if(this._resultCancelled$(),this._currentCancellable instanceof $)this._currentCancellable.cancel();if(this._initialValue instanceof $)this._initialValue.cancel()},H.prototype._iterate=function(w){this._values=w;var L,D,N=w.length;if(this._initialValue!==void 0)L=this._initialValue,D=0;else L=$.resolve(w[0]),D=1;if(this._currentCancellable=L,!L.isRejected())for(;D{hK0.exports=function($,I,U){var Y=$.PromiseInspection,J=b1();function Q(K){this.constructor$(K)}J.inherits(Q,I),Q.prototype._promiseResolved=function(K,q){this._values[K]=q;var G=++this._totalResolved;if(G>=this._length)return this._resolve(this._values),!0;return!1},Q.prototype._promiseFulfilled=function(K,q){var G=new Y;return G._bitField=33554432,G._settledValueField=K,this._promiseResolved(q,G)},Q.prototype._promiseRejected=function(K,q){var G=new Y;return G._bitField=16777216,G._settledValueField=K,this._promiseResolved(q,G)},$.settle=function(K){return U.deprecated(".settle()",".reflect()"),new Q(K).promise()},$.prototype.settle=function(){return $.settle(this)}}});var uK0=O((Mv1,kK0)=>{kK0.exports=function($,I,U){var Y=b1(),J=C5().RangeError,Q=C5().AggregateError,K=Y.isArray,q={};function G(W){this.constructor$(W),this._howMany=0,this._unwrap=!1,this._initialized=!1}Y.inherits(G,I),G.prototype._init=function(){if(!this._initialized)return;if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var W=K(this._values);if(!this._isResolved()&&W&&this._howMany>this._canPossiblyFulfill())this._reject(this._getRangeError(this.length()))},G.prototype.init=function(){this._initialized=!0,this._init()},G.prototype.setUnwrap=function(){this._unwrap=!0},G.prototype.howMany=function(){return this._howMany},G.prototype.setHowMany=function(W){this._howMany=W},G.prototype._promiseFulfilled=function(W){if(this._addFulfilled(W),this._fulfilled()===this.howMany()){if(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap)this._resolve(this._values[0]);else this._resolve(this._values);return!0}return!1},G.prototype._promiseRejected=function(W){return this._addRejected(W),this._checkOutcome()},G.prototype._promiseCancelled=function(){if(this._values instanceof $||this._values==null)return this._cancel();return this._addRejected(q),this._checkOutcome()},G.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){var W=new Q;for(var V=this.length();V0)this._reject(W);else this._cancel();return!0}return!1},G.prototype._fulfilled=function(){return this._totalResolved},G.prototype._rejected=function(){return this._values.length-this.length()},G.prototype._addRejected=function(W){this._values.push(W)},G.prototype._addFulfilled=function(W){this._values[this._totalResolved++]=W},G.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},G.prototype._getRangeError=function(W){var V="Input array must contain at least "+this._howMany+" items but contains only "+W+" items";return new J(V)},G.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function H(W,V){if((V|0)!==V||V<0)return U(`expecting a positive integer +`);else if(z instanceof $)Z=z._then($.props,void 0,void 0,void 0,void 0);else Z=new W(z).promise();if(z instanceof $)Z._propagateFrom(z,2);return Z}$.prototype.props=function(){return V(this)},$.props=function(w){return V(w)}}});var Xq0=O((PC1,Zq0)=>{Zq0.exports=function($,I,U,Y){var J=b1(),Q=function(q){return q.then(function(G){return K(G,q)})};function K(q,G){var H=U(q);if(H instanceof $)return Q(H);else if(q=J.asArray(q),q===null)return Y("expecting an array or an iterable object but got "+J.classString(q));var W=new $(I);if(G!==void 0)W._propagateFrom(G,3);var{_fulfill:V,_reject:w}=W;for(var Z=0,z=q.length;Z{zq0.exports=function($,I,U,Y,J,Q){var K=$._getDomain,q=b1(),G=q.tryCatch;function H(z,L,D,F){this.constructor$(z);var E=K();if(this._fn=E===null?L:q.domainBind(E,L),D!==void 0)D=$.resolve(D),D._attachCancellationCallback(this);if(this._initialValue=D,this._currentCancellable=null,F===J)this._eachValues=Array(this._length);else if(F===0)this._eachValues=null;else this._eachValues=void 0;this._promise._captureStackTrace(),this._init$(void 0,-5)}q.inherits(H,I),H.prototype._gotAccum=function(z){if(this._eachValues!==void 0&&this._eachValues!==null&&z!==J)this._eachValues.push(z)},H.prototype._eachComplete=function(z){if(this._eachValues!==null)this._eachValues.push(z);return this._eachValues},H.prototype._init=function(){},H.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},H.prototype.shouldCopyValues=function(){return!1},H.prototype._resolve=function(z){this._promise._resolveCallback(z),this._values=null},H.prototype._resultCancelled=function(z){if(z===this._initialValue)return this._cancel();if(this._isResolved())return;if(this._resultCancelled$(),this._currentCancellable instanceof $)this._currentCancellable.cancel();if(this._initialValue instanceof $)this._initialValue.cancel()},H.prototype._iterate=function(z){this._values=z;var L,D,F=z.length;if(this._initialValue!==void 0)L=this._initialValue,D=0;else L=$.resolve(z[0]),D=1;if(this._currentCancellable=L,!L.isRejected())for(;D{Dq0.exports=function($,I,U){var Y=$.PromiseInspection,J=b1();function Q(K){this.constructor$(K)}J.inherits(Q,I),Q.prototype._promiseResolved=function(K,q){this._values[K]=q;var G=++this._totalResolved;if(G>=this._length)return this._resolve(this._values),!0;return!1},Q.prototype._promiseFulfilled=function(K,q){var G=new Y;return G._bitField=33554432,G._settledValueField=K,this._promiseResolved(q,G)},Q.prototype._promiseRejected=function(K,q){var G=new Y;return G._bitField=16777216,G._settledValueField=K,this._promiseResolved(q,G)},$.settle=function(K){return U.deprecated(".settle()",".reflect()"),new Q(K).promise()},$.prototype.settle=function(){return $.settle(this)}}});var Nq0=O((BC1,Fq0)=>{Fq0.exports=function($,I,U){var Y=b1(),J=_5().RangeError,Q=_5().AggregateError,K=Y.isArray,q={};function G(W){this.constructor$(W),this._howMany=0,this._unwrap=!1,this._initialized=!1}Y.inherits(G,I),G.prototype._init=function(){if(!this._initialized)return;if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var W=K(this._values);if(!this._isResolved()&&W&&this._howMany>this._canPossiblyFulfill())this._reject(this._getRangeError(this.length()))},G.prototype.init=function(){this._initialized=!0,this._init()},G.prototype.setUnwrap=function(){this._unwrap=!0},G.prototype.howMany=function(){return this._howMany},G.prototype.setHowMany=function(W){this._howMany=W},G.prototype._promiseFulfilled=function(W){if(this._addFulfilled(W),this._fulfilled()===this.howMany()){if(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap)this._resolve(this._values[0]);else this._resolve(this._values);return!0}return!1},G.prototype._promiseRejected=function(W){return this._addRejected(W),this._checkOutcome()},G.prototype._promiseCancelled=function(){if(this._values instanceof $||this._values==null)return this._cancel();return this._addRejected(q),this._checkOutcome()},G.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){var W=new Q;for(var V=this.length();V0)this._reject(W);else this._cancel();return!0}return!1},G.prototype._fulfilled=function(){return this._totalResolved},G.prototype._rejected=function(){return this._values.length-this.length()},G.prototype._addRejected=function(W){this._values.push(W)},G.prototype._addFulfilled=function(W){this._values[this._totalResolved++]=W},G.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},G.prototype._getRangeError=function(W){var V="Input array must contain at least "+this._howMany+" items but contains only "+W+" items";return new J(V)},G.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function H(W,V){if((V|0)!==V||V<0)return U(`expecting a positive integer See http://goo.gl/MqrFmX -`);var z=new G(W),Z=z.promise();return z.setHowMany(V),z.init(),Z}$.some=function(W,V){return H(W,V)},$.prototype.some=function(W){return H(this,W)},$._SomePromiseArray=G}});var bK0=O((Av1,fK0)=>{fK0.exports=function($,I){var U=$.map;$.prototype.filter=function(Y,J){return U(this,Y,J,I)},$.filter=function(Y,J,Q){return U(Y,J,Q,I)}}});var nK0=O((Pv1,iK0)=>{iK0.exports=function($,I){var{reduce:U,all:Y}=$;function J(){return Y(this)}function Q(K,q){return U(K,q,I,I)}$.prototype.each=function(K){return U(this,K,I,0)._then(J,void 0,void 0,this,void 0)},$.prototype.mapSeries=function(K){return U(this,K,I,I)},$.each=function(K,q){return U(K,q,I,0)._then(J,void 0,void 0,K,void 0)},$.mapSeries=Q}});var cK0=O((Tv1,pK0)=>{pK0.exports=function($){var I=$._SomePromiseArray;function U(Y){var J=new I(Y),Q=J.promise();return J.setHowMany(1),J.setUnwrap(),J.init(),Q}$.any=function(Y){return U(Y)},$.prototype.any=function(){return U(this)}}});var dK0=O((Ev1,zg)=>{zg.exports=function(){var $=function(){return new V(`circular promise resolution chain +`);var w=new G(W),Z=w.promise();return w.setHowMany(V),w.init(),Z}$.some=function(W,V){return H(W,V)},$.prototype.some=function(W){return H(this,W)},$._SomePromiseArray=G}});var Aq0=O((vC1,Mq0)=>{Mq0.exports=function($,I){var U=$.map;$.prototype.filter=function(Y,J){return U(this,Y,J,I)},$.filter=function(Y,J,Q){return U(Y,J,Q,I)}}});var Tq0=O((RC1,Pq0)=>{Pq0.exports=function($,I){var{reduce:U,all:Y}=$;function J(){return Y(this)}function Q(K,q){return U(K,q,I,I)}$.prototype.each=function(K){return U(this,K,I,0)._then(J,void 0,void 0,this,void 0)},$.prototype.mapSeries=function(K){return U(this,K,I,I)},$.each=function(K,q){return U(K,q,I,0)._then(J,void 0,void 0,K,void 0)},$.mapSeries=Q}});var Bq0=O((CC1,Eq0)=>{Eq0.exports=function($){var I=$._SomePromiseArray;function U(Y){var J=new I(Y),Q=J.promise();return J.setHowMany(1),J.setUnwrap(),J.init(),Q}$.any=function(Y){return U(Y)},$.prototype.any=function(){return U(this)}}});var vq0=O((jC1,vg)=>{vg.exports=function(){var $=function(){return new V(`circular promise resolution chain See http://goo.gl/MqrFmX -`)},I=function(){return new S.PromiseInspection(this._target())},U=function(B){return S.reject(new V(B))};function Y(){}var J={},Q=b1(),K;if(Q.isNode)K=function(){var B=process.domain;if(B===void 0)B=null;return B};else K=function(){return null};Q.notEnumerableProp(S,"_getDomain",K);var q=y3(),G=u20(),H=new G;q.defineProperty(S,"_async",{value:H});var W=C5(),V=S.TypeError=W.TypeError;S.RangeError=W.RangeError;var z=S.CancellationError=W.CancellationError;S.TimeoutError=W.TimeoutError,S.OperationalError=W.OperationalError,S.RejectionError=W.OperationalError,S.AggregateError=W.AggregateError;var Z=function(){},w={},L={},D=p20()(S,Z),N=d20()(S,Z,D,U,Y),E=l20()(S),T=E.create,A=r20()(S,E),v=A.CapturedTrace,u=a20()(S,D),g=e20()(L),b=Vg(),C=Q.errorObj,p=Q.tryCatch;function n(B,k){if(typeof k!=="function")throw new V("expecting a function but got "+Q.classString(k));if(B.constructor!==S)throw new V(`the promise constructor cannot be invoked directly +`)},I=function(){return new S.PromiseInspection(this._target())},U=function(B){return S.reject(new V(B))};function Y(){}var J={},Q=b1(),K;if(Q.isNode)K=function(){var B=process.domain;if(B===void 0)B=null;return B};else K=function(){return null};Q.notEnumerableProp(S,"_getDomain",K);var q=x3(),G=NK0(),H=new G;q.defineProperty(S,"_async",{value:H});var W=_5(),V=S.TypeError=W.TypeError;S.RangeError=W.RangeError;var w=S.CancellationError=W.CancellationError;S.TimeoutError=W.TimeoutError,S.OperationalError=W.OperationalError,S.RejectionError=W.OperationalError,S.AggregateError=W.AggregateError;var Z=function(){},z={},L={},D=EK0()(S,Z),F=vK0()(S,Z,D,U,Y),E=CK0()(S),T=E.create,A=_K0()(S,E),R=A.CapturedTrace,u=gK0()(S,D),g=hK0()(L),b=Eg(),C=Q.errorObj,p=Q.tryCatch;function n(B,k){if(typeof k!=="function")throw new V("expecting a function but got "+Q.classString(k));if(B.constructor!==S)throw new V(`the promise constructor cannot be invoked directly See http://goo.gl/MqrFmX -`)}function S(B){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,B!==Z)n(this,B),this._resolveFromExecutor(B);this._promiseCreated(),this._fireEvent("promiseCreated",this)}S.prototype.toString=function(){return"[object Promise]"},S.prototype.caught=S.prototype.catch=function(B){var k=arguments.length;if(k>1){var d=Array(k-1),t=0,K0;for(K0=0;K00&&typeof B!=="function"&&typeof k!=="function"){var d=".then() only accepts functions but was passed: "+Q.classString(B);if(arguments.length>1)d+=", "+Q.classString(k);this._warn(d)}return this._then(B,k,void 0,void 0,void 0)},S.prototype.done=function(B,k){var d=this._then(B,k,void 0,void 0,void 0);d._setIsFinal()},S.prototype.spread=function(B){if(typeof B!=="function")return U("expecting a function but got "+Q.classString(B));return this.all()._then(B,void 0,void 0,w,void 0)},S.prototype.toJSON=function(){var B={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())B.fulfillmentValue=this.value(),B.isFulfilled=!0;else if(this.isRejected())B.rejectionReason=this.reason(),B.isRejected=!0;return B},S.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new N(this).promise()},S.prototype.error=function(B){return this.caught(Q.originatesFromRejection,B)},S.getNewLibraryCopy=zg.exports,S.is=function(B){return B instanceof S},S.fromNode=S.fromCallback=function(B){var k=new S(Z);k._captureStackTrace();var d=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,t=p(B)(b(k,d));if(t===C)k._rejectCallback(t.e,!0);if(!k._isFateSealed())k._setAsyncGuaranteed();return k},S.all=function(B){return new N(B).promise()},S.cast=function(B){var k=D(B);if(!(k instanceof S))k=new S(Z),k._captureStackTrace(),k._setFulfilled(),k._rejectionHandler0=B;return k},S.resolve=S.fulfilled=S.cast,S.reject=S.rejected=function(B){var k=new S(Z);return k._captureStackTrace(),k._rejectCallback(B,!0),k},S.setScheduler=function(B){if(typeof B!=="function")throw new V("expecting a function but got "+Q.classString(B));return H.setScheduler(B)},S.prototype._then=function(B,k,d,t,K0){var W0=K0!==void 0,M0=W0?K0:new S(Z),B0=this._target(),w1=B0._bitField;if(!W0){if(M0._propagateFrom(this,3),M0._captureStackTrace(),t===void 0&&(this._bitField&2097152)!==0)if((w1&50397184)!==0)t=this._boundValue();else t=B0===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,M0)}var f0=K();if((w1&50397184)!==0){var G1,O0,g0=B0._settlePromiseCtx;if((w1&33554432)!==0)O0=B0._rejectionHandler0,G1=B;else if((w1&16777216)!==0)O0=B0._fulfillmentHandler0,G1=k,B0._unsetRejectionIsUnhandled();else g0=B0._settlePromiseLateCancellationObserver,O0=new z("late cancellation observer"),B0._attachExtraTrace(O0),G1=k;H.invoke(g0,B0,{handler:f0===null?G1:typeof G1==="function"&&Q.domainBind(f0,G1),promise:M0,receiver:t,value:O0})}else B0._addCallbacks(B,k,M0,t,f0);return M0},S.prototype._length=function(){return this._bitField&65535},S.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},S.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},S.prototype._setLength=function(B){this._bitField=this._bitField&-65536|B&65535},S.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},S.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},S.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},S.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},S.prototype._isFinal=function(){return(this._bitField&4194304)>0},S.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},S.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},S.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},S.prototype._setAsyncGuaranteed=function(){if(H.hasCustomScheduler())return;this._bitField=this._bitField|134217728},S.prototype._receiverAt=function(B){var k=B===0?this._receiver0:this[B*4-4+3];if(k===J)return;else if(k===void 0&&this._isBound())return this._boundValue();return k},S.prototype._promiseAt=function(B){return this[B*4-4+2]},S.prototype._fulfillmentHandlerAt=function(B){return this[B*4-4+0]},S.prototype._rejectionHandlerAt=function(B){return this[B*4-4+1]},S.prototype._boundValue=function(){},S.prototype._migrateCallback0=function(B){var{_bitField:k,_fulfillmentHandler0:d,_rejectionHandler0:t,_promise0:K0}=B,W0=B._receiverAt(0);if(W0===void 0)W0=J;this._addCallbacks(d,t,K0,W0,null)},S.prototype._migrateCallbackAt=function(B,k){var d=B._fulfillmentHandlerAt(k),t=B._rejectionHandlerAt(k),K0=B._promiseAt(k),W0=B._receiverAt(k);if(W0===void 0)W0=J;this._addCallbacks(d,t,K0,W0,null)},S.prototype._addCallbacks=function(B,k,d,t,K0){var W0=this._length();if(W0>=65531)W0=0,this._setLength(0);if(W0===0){if(this._promise0=d,this._receiver0=t,typeof B==="function")this._fulfillmentHandler0=K0===null?B:Q.domainBind(K0,B);if(typeof k==="function")this._rejectionHandler0=K0===null?k:Q.domainBind(K0,k)}else{var M0=W0*4-4;if(this[M0+2]=d,this[M0+3]=t,typeof B==="function")this[M0+0]=K0===null?B:Q.domainBind(K0,B);if(typeof k==="function")this[M0+1]=K0===null?k:Q.domainBind(K0,k)}return this._setLength(W0+1),W0},S.prototype._proxy=function(B,k){this._addCallbacks(void 0,void 0,k,B,null)},S.prototype._resolveCallback=function(B,k){if((this._bitField&117506048)!==0)return;if(B===this)return this._rejectCallback($(),!1);var d=D(B,this);if(!(d instanceof S))return this._fulfill(B);if(k)this._propagateFrom(d,2);var t=d._target();if(t===this){this._reject($());return}var K0=t._bitField;if((K0&50397184)===0){var W0=this._length();if(W0>0)t._migrateCallback0(this);for(var M0=1;M0>>16)return;if(B===this){var d=$();return this._attachExtraTrace(d),this._reject(d)}if(this._setFulfilled(),this._rejectionHandler0=B,(k&65535)>0)if((k&134217728)!==0)this._settlePromises();else H.settlePromises(this)},S.prototype._reject=function(B){var k=this._bitField;if((k&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=B,this._isFinal())return H.fatalError(B,Q.isNode);if((k&65535)>0)H.settlePromises(this);else this._ensurePossibleRejectionHandled()},S.prototype._fulfillPromises=function(B,k){for(var d=1;d0){if((B&16842752)!==0){var d=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,d,B),this._rejectPromises(k,d)}else{var t=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,t,B),this._fulfillPromises(k,t)}this._setLength(0)}this._clearCancellationData()},S.prototype._settledValue=function(){var B=this._bitField;if((B&33554432)!==0)return this._rejectionHandler0;else if((B&16777216)!==0)return this._fulfillmentHandler0};function f(B){this.promise._resolveCallback(B)}function i(B){this.promise._rejectCallback(B,!1)}S.defer=S.pending=function(){A.deprecated("Promise.defer","new Promise");var B=new S(Z);return{promise:B,resolve:f,reject:i}},Q.notEnumerableProp(S,"_makeSelfResolutionError",$),JK0()(S,Z,D,U,A),KK0()(S,Z,D,A),GK0()(S,N,U,A),WK0()(S),ZK0()(S),XK0()(S,N,D,Z,H,K),S.Promise=S,S.version="3.4.7",LK0()(S,N,U,D,Z,A),OK0()(S),FK0()(S,U,D,T,Z,A),AK0()(S,Z,A),TK0()(S,U,Z,D,Y,A),BK0()(S),vK0()(S,Z),jK0()(S,N,D,U),SK0()(S,Z,D,U),yK0()(S,N,U,D,Z,A),xK0()(S,N,A),uK0()(S,N,U),bK0()(S,Z),nK0()(S,Z),cK0()(S),Q.toFastProperties(S),Q.toFastProperties(S.prototype);function Y0(B){var k=new S(Z);k._fulfillmentHandler0=B,k._rejectionHandler0=B,k._promise0=B,k._receiver0=B}return Y0({a:1}),Y0({b:2}),Y0({c:3}),Y0(1),Y0(function(){}),Y0(void 0),Y0(!1),Y0(new S(Z)),A.setBounds(G.firstLineError,Q.lastLineError),S}});var U7=O((Bv1,lK0)=>{var mK0;if(typeof Promise<"u")mK0=Promise;function P31(){try{if(Promise===_w)Promise=mK0}catch($){}return _w}var _w=dK0()();_w.noConflict=P31;lK0.exports=_w});var tY=O((Rv1,oK0)=>{var rY=r("buffer").Buffer;if(rY.from===void 0)rY.from=function($,I,U){return new rY($,I,U)},rY.alloc=rY.from;oK0.exports=rY});var tK0=O((vv1,Xg)=>{function T31($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var rK0=M4().Buffer,Zq=r("util");function E31($,I,U){$.copy(I,U)}Xg.exports=function(){function $(){T31(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return rK0.alloc(0);var Y=rK0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)E31(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(Zq&&Zq.inspect&&Zq.inspect.custom)Xg.exports.prototype[Zq.inspect.custom]=function(){var $=Zq.inspect({length:this.length});return this.constructor.name+" "+$}});var wg=O((Cv1,aK0)=>{var Sw=F4();function B31($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)Sw.nextTick(gw,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,Sw.nextTick(gw,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)Sw.nextTick(gw,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,Sw.nextTick(gw,U,Q)}else if(I)I(Q)}),this}function R31(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function gw($,I){$.emit("error",I)}aK0.exports={destroy:B31,undestroy:R31}});var Dg=O((jv1,Qq0)=>{var u3=F4();Qq0.exports=R4;function eK0($){var I=this;this.next=null,this.entry=null,this.finish=function(){d31(I,$)}}var v31=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:u3.nextTick,aY;R4.WritableState=Xq;var $q0=Object.create(n1());$q0.inherits=p0();var C31={deprecate:x7()},Iq0=r("stream"),hw=M4().Buffer,j31=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _31($){return hw.from($)}function S31($){return hw.isBuffer($)||$ instanceof j31}var Uq0=wg();$q0.inherits(R4,Iq0);function g31(){}function Xq($,I){aY=aY||f3(),$=$||{};var U=I instanceof aY;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){b31(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new eK0(this)}Xq.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(Xq.prototype,"buffer",{get:C31.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var yw;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")yw=Function.prototype[Symbol.hasInstance],Object.defineProperty(R4,Symbol.hasInstance,{value:function($){if(yw.call(this,$))return!0;if(this!==R4)return!1;return $&&$._writableState instanceof Xq}});else yw=function($){return $ instanceof this};function R4($){if(aY=aY||f3(),!yw.call(R4,this)&&!(this instanceof aY))return new R4($);if(this._writableState=new Xq($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}Iq0.call(this)}R4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function y31($,I){var U=Error("write after end");$.emit("error",U),u3.nextTick(I,U)}function h31($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),u3.nextTick(Y,Q),J=!1;return J}R4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&S31($);if(Q&&!hw.isBuffer($))$=_31($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=g31;if(Y.ended)y31(this,U);else if(Q||h31(this,Y,$,U))Y.pendingcb++,J=k31(this,Y,Q,$,I,U);return J};R4.prototype.cork=function(){var $=this._writableState;$.corked++};R4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)Yq0(this,$)}};R4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function x31($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=hw.from(I,U);return I}Object.defineProperty(R4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function k31($,I,U,Y,J,Q){if(!U){var K=x31(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var Kq0=F4(),m31=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};Hq0.exports=j5;var qq0=Object.create(n1());qq0.inherits=p0();var Gq0=Ng(),Og=Dg();qq0.inherits(j5,Gq0);{xw=m31(Og.prototype);for(wq=0;wq{var Mg=M4().Buffer,Wq0=Mg.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r31($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function t31($){var I=r31($);if(typeof I!=="string"&&(Mg.isEncoding===Wq0||!Wq0($)))throw Error("Unknown encoding: "+$);return I||$}GI1.StringDecoder=Dq;function Dq($){this.encoding=t31($);var I;switch(this.encoding){case"utf16le":this.text=UI1,this.end=YI1,I=4;break;case"utf8":this.fillLast=e31,I=4;break;case"base64":this.text=JI1,this.end=QI1,I=3;break;default:this.write=KI1,this.end=qI1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Mg.allocUnsafe(I)}Dq.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};Dq.prototype.end=II1;Dq.prototype.text=$I1;Dq.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Fg($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function a31($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function s31($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function e31($){var I=this.lastTotal-this.lastNeed,U=s31(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function $I1($,I){var U=a31(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function II1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function UI1($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function YI1($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function JI1($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function QI1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function KI1($){return $.toString(this.encoding)}function qI1($){return $&&$.length?this.write($):""}});var Ng=O((yv1,Aq0)=>{var eY=F4();Aq0.exports=s1;var WI1=OU(),Oq;s1.ReadableState=Dq0;var gv1=r("events").EventEmitter,Xq0=function($,I){return $.listeners(I).length},Rg=r("stream"),Nq=M4().Buffer,VI1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ZI1($){return Nq.from($)}function zI1($){return Nq.isBuffer($)||$ instanceof VI1}var wq0=Object.create(n1());wq0.inherits=p0();var Pg=r("util"),E1=void 0;if(Pg&&Pg.debuglog)E1=Pg.debuglog("stream");else E1=function(){};var XI1=tK0(),Lq0=wg(),sY;wq0.inherits(s1,Rg);var Tg=["error","close","destroy","pause","resume"];function wI1($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(WI1($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function Dq0($,I){Oq=Oq||f3(),$=$||{};var U=I instanceof Oq;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new XI1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!sY)sY=Ag().StringDecoder;this.decoder=new sY($.encoding),this.encoding=$.encoding}}function s1($){if(Oq=Oq||f3(),!(this instanceof s1))return new s1($);if(this._readableState=new Dq0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Rg.call(this)}Object.defineProperty(s1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});s1.prototype.destroy=Lq0.destroy;s1.prototype._undestroy=Lq0.undestroy;s1.prototype._destroy=function($,I){this.push(null),I($)};s1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=Nq.from($,I),I="";Y=!0}}else Y=!0;return Oq0(this,$,I,!1,Y)};s1.prototype.unshift=function($){return Oq0(this,$,null,!0,!1)};function Oq0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,NI1($,Q);else{var K;if(!J)K=LI1(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==Nq.prototype)I=ZI1(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Eg($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)Eg($,Q,I,!1);else Nq0($,Q);else Eg($,Q,I,!1)}else if(!Y)Q.reading=!1}return DI1(Q)}function Eg($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)kw($)}Nq0($,I)}function LI1($,I){var U;if(!zI1(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function DI1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}s1.prototype.isPaused=function(){return this._readableState.flowing===!1};s1.prototype.setEncoding=function($){if(!sY)sY=Ag().StringDecoder;return this._readableState.decoder=new sY($),this._readableState.encoding=$,this};var Vq0=8388608;function OI1($){if($>=Vq0)$=Vq0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function Zq0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=OI1($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}s1.prototype.read=function($){E1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(E1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)Bg(this);else kw(this);return null}if($=Zq0($,I),$===0&&I.ended){if(I.length===0)Bg(this);return null}var Y=I.needReadable;if(E1("need readable",Y),I.length===0||I.length-$0)J=Fq0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)Bg(this)}if(J!==null)this.emit("data",J);return J};function NI1($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,kw($)}function kw($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(E1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)eY.nextTick(zq0,$);else zq0($)}function zq0($){E1("emit readable"),$.emit("readable"),vg($)}function Nq0($,I){if(!I.readingMore)I.readingMore=!0,eY.nextTick(FI1,$,I)}function FI1($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&Mq0(Y.pipes,$)!==-1)&&!H)E1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(E1("onerror",N),D(),$.removeListener("error",Z),Xq0($,"error")===0)$.emit("error",N)}wI1($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){E1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){E1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)E1("pipe resume"),U.resume();return $};function MI1($){return function(){var I=$._readableState;if(E1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&Xq0($,"data"))I.flowing=!0,vg($)}}s1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=EI1($,I.buffer,I.decoder);return U}function EI1($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function RI1($,I){var U=Nq.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function Bg($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,eY.nextTick(vI1,I,$)}function vI1($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function Mq0($,I){for(var U=0,Y=$.length;U{Eq0.exports=_5;var uw=f3(),Tq0=Object.create(n1());Tq0.inherits=p0();Tq0.inherits(_5,uw);function CI1($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{vq0.exports=Fq;var Bq0=Cg(),Rq0=Object.create(n1());Rq0.inherits=p0();Rq0.inherits(Fq,Bq0);function Fq($){if(!(this instanceof Fq))return new Fq($);Bq0.call(this,$)}Fq.prototype._transform=function($,I,U){U(null,$)}});var S5=O((q6,fw)=>{var x8=r("stream");if(process.env.READABLE_STREAM==="disable"&&x8)fw.exports=x8,q6=fw.exports=x8.Readable,q6.Readable=x8.Readable,q6.Writable=x8.Writable,q6.Duplex=x8.Duplex,q6.Transform=x8.Transform,q6.PassThrough=x8.PassThrough,q6.Stream=x8;else q6=fw.exports=Ng(),q6.Stream=x8||q6,q6.Readable=q6,q6.Writable=Dg(),q6.Duplex=f3(),q6.Transform=Cg(),q6.PassThrough=Cq0()});var iw=O((kv1,jq0)=>{var b3=r("stream"),jg=U7(),_I1=r("util"),bw=tY(),SI1="function";if(!b3.Writable||!b3.Writable.prototype.destroy)b3=S5();function Y7(){if(!(this instanceof Y7))return new Y7;b3.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=bw.from("");var $=this;$.on("finish",function(){$.finished=!0,$.emit("chunk",!1)})}_I1.inherits(Y7,b3.Duplex);Y7.prototype._write=function($,I,U){this.buffer=bw.concat([this.buffer,$]),this.cb=U,this.emit("chunk")};Y7.prototype.stream=function($,I){var U=b3.PassThrough(),Y,J=this;function Q(){if(typeof J.cb===SI1){var q=J.cb;return J.cb=void 0,q()}}function K(){var q;if(J.buffer&&J.buffer.length){if(typeof $==="number")q=J.buffer.slice(0,$),J.buffer=J.buffer.slice($),$-=q.length,Y=!$;else{var G=J.buffer.indexOf($);if(G!==-1){if(J.match=G,I)G=G+$.length;q=J.buffer.slice(0,G),J.buffer=J.buffer.slice(G),Y=!0}else{var H=J.buffer.length-$.length;if(H<=0)Q();else q=J.buffer.slice(0,H),J.buffer=J.buffer.slice(H)}}if(q)U.write(q,function(){if(J.buffer.length===0||$.length&&J.buffer.length<=$.length)Q()})}if(!Y){if(J.finished){J.removeListener("chunk",K),J.emit("error",Error("FILE_ENDED"));return}}else J.removeListener("chunk",K),U.end()}return J.on("chunk",K),K(),U};Y7.prototype.pull=function($,I){if($===0)return jg.resolve("");if(!isNaN($)&&this.buffer.length>$){var U=this.buffer.slice(0,$);return this.buffer=this.buffer.slice($),jg.resolve(U)}var Y=bw.from(""),J=this,Q=b3.Transform();Q._transform=function(G,H,W){Y=bw.concat([Y,G]),W()};var K,q;return new jg(function(G,H){if(K=H,q=function(W){J.__emittedError=W,H(W)},J.finished)return H(Error("FILE_ENDED"));J.once("error",q),J.stream($,I).on("error",H).pipe(Q).on("finish",function(){G(Y)}).on("error",H)}).finally(function(){J.removeListener("error",K),J.removeListener("error",q)})};Y7.prototype._read=function(){};jq0.exports=Y7});var Sq0=O((uv1,_q0)=>{var Mq=r("stream"),gI1=r("util");if(!Mq.Writable||!Mq.Writable.prototype.destroy)Mq=S5();function Aq(){if(!(this instanceof Aq))return new Aq;Mq.Transform.call(this)}gI1.inherits(Aq,Mq.Transform);Aq.prototype._transform=function($,I,U){U()};_q0.exports=Aq});var pw=O((fv1,gq0)=>{var yI1=U7(),nw=r("stream"),hI1=tY();if(!nw.Writable||!nw.Writable.prototype.destroy)nw=S5();gq0.exports=function($){return new yI1(function(I,U){var Y=[],J=nw.Transform().on("finish",function(){I(hI1.concat(Y))}).on("error",U);J._transform=function(Q,K,q){Y.push(Q),q()},$.on("error",U).pipe(J)})}});var cw=O((bv1,yq0)=>{var xI1=Hq();yq0.exports=function($,I){var U;while(!U&&$&&$.length){var Y=xI1.parse($).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;if(Y.signature===1)U=Y;else $=$.slice(Y.partsize+4)}if(U=U||{},I.compressedSize===4294967295)I.compressedSize=U.compressedSize;if(I.uncompressedSize===4294967295)I.uncompressedSize=U.uncompressedSize;if(I.offsetToLocalFileHeader===4294967295)I.offsetToLocalFileHeader=U.offset;return U}});var dw=O((iv1,hq0)=>{hq0.exports=function(I,U){let Y=I&31,J=I>>5&15,Q=(I>>9&127)+1980,K=U?(U&31)*2:0,q=U?U>>5&63:0,G=U?U>>11:0;return new Date(Date.UTC(Q,J-1,Y,G,q,K))}});var mw=O((nv1,fq0)=>{var kI1=r("util"),uI1=r("zlib"),Pq=r("stream"),Tq=Hq(),_g=U7(),xq0=iw(),fI1=Sq0(),bI1=pw(),iI1=cw(),kq0=tY(),nI1=dw();if(!Pq.Writable||!Pq.Writable.prototype.destroy)Pq=S5();var uq0=kq0.alloc(4);uq0.writeUInt32LE(101010256,0);function Y8($){if(!(this instanceof Y8))return new Y8($);var I=this;I._opts=$||{verbose:!1},xq0.call(I,I._opts),I.on("finish",function(){I.emit("end"),I.emit("close")}),I._readRecord().catch(function(U){if(!I.__emittedError||I.__emittedError!==U)I.emit("error",U)})}kI1.inherits(Y8,xq0);Y8.prototype._readRecord=function(){var $=this;return $.pull(4).then(function(I){if(I.length===0)return;var U=I.readUInt32LE(0);if(U===875721283)return $._readCrxHeader();if(U===67324752)return $._readFile();else if(U===33639248)return $.reachedCD=!0,$._readCentralDirectoryFileHeader();else if(U===101010256)return $._readEndOfCentralDirectoryRecord();else if($.reachedCD){var Y=!0;return $.pull(uq0,Y).then(function(){return $._readEndOfCentralDirectoryRecord()})}else $.emit("error",Error("invalid signature: 0x"+U.toString(16)))})};Y8.prototype._readCrxHeader=function(){var $=this;return $.pull(12).then(function(I){return $.crxHeader=Tq.parse(I).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,$.pull($.crxHeader.pubKeyLength+$.crxHeader.signatureLength)}).then(function(I){return $.crxHeader.publicKey=I.slice(0,$.crxHeader.pubKeyLength),$.crxHeader.signature=I.slice($.crxHeader.pubKeyLength),$.emit("crx-header",$.crxHeader),$._readRecord()})};Y8.prototype._readFile=function(){var $=this;return $.pull(26).then(function(I){var U=Tq.parse(I).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;if(U.lastModifiedDateTime=nI1(U.lastModifiedDate,U.lastModifiedTime),$.crxHeader)U.crxHeader=$.crxHeader;return $.pull(U.fileNameLength).then(function(Y){var J=Y.toString("utf8"),Q=Pq.PassThrough(),K=!1;if(Q.autodrain=function(){K=!0;var q=Q.pipe(fI1());return q.promise=function(){return new _g(function(G,H){q.on("finish",G),q.on("error",H)})},q},Q.buffer=function(){return bI1(Q)},Q.path=J,Q.props={},Q.props.path=J,Q.props.pathBuffer=Y,Q.props.flags={isUnicode:(U.flags&2048)!=0},Q.type=U.uncompressedSize===0&&/[\/\\]$/.test(J)?"Directory":"File",$._opts.verbose){if(Q.type==="Directory")console.log(" creating:",J);else if(Q.type==="File")if(U.compressionMethod===0)console.log(" extracting:",J);else console.log(" inflating:",J)}return $.pull(U.extraFieldLength).then(function(q){var G=iI1(q,U);if(Q.vars=U,Q.extra=G,$._opts.forceStream)$.push(Q);else if($.emit("entry",Q),$._readableState.pipesCount||$._readableState.pipes&&$._readableState.pipes.length)$.push(Q);if($._opts.verbose)console.log({filename:J,vars:U,extra:G});var H=!(U.flags&8)||U.compressedSize>0,W;Q.__autodraining=K;var V=U.compressionMethod&&!K?uI1.createInflateRaw():Pq.PassThrough();if(H)Q.size=U.uncompressedSize,W=U.compressedSize;else W=kq0.alloc(4),W.writeUInt32LE(134695760,0);return new _g(function(z,Z){$.stream(W).pipe(V).on("error",function(w){$.emit("error",w)}).pipe(Q).on("finish",function(){return H?$._readRecord().then(z).catch(Z):$._processDataDescriptor(Q).then(z).catch(Z)})})})})})};Y8.prototype._processDataDescriptor=function($){var I=this;return I.pull(16).then(function(U){var Y=Tq.parse(U).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return $.size=Y.uncompressedSize,I._readRecord()})};Y8.prototype._readCentralDirectoryFileHeader=function(){var $=this;return $.pull(42).then(function(I){var U=Tq.parse(I).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return $.pull(U.fileNameLength).then(function(Y){return U.fileName=Y.toString("utf8"),$.pull(U.extraFieldLength)}).then(function(Y){return $.pull(U.fileCommentLength)}).then(function(Y){return $._readRecord()})})};Y8.prototype._readEndOfCentralDirectoryRecord=function(){var $=this;return $.pull(18).then(function(I){var U=Tq.parse(I).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return $.pull(U.commentLength).then(function(Y){Y=Y.toString("utf8"),$.end(),$.push(null)})})};Y8.prototype.promise=function(){var $=this;return new _g(function(I,U){$.on("finish",I),$.on("error",U)})};fq0.exports=Y8});var iq0=O((pv1,Sg)=>{function pI1($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var bq0=M4().Buffer,Eq=r("util");function cI1($,I,U){$.copy(I,U)}Sg.exports=function(){function $(){pI1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return bq0.alloc(0);var Y=bq0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)cI1(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(Eq&&Eq.inspect&&Eq.inspect.custom)Sg.exports.prototype[Eq.inspect.custom]=function(){var $=Eq.inspect({length:this.length});return this.constructor.name+" "+$}});var gg=O((cv1,nq0)=>{var lw=F4();function dI1($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)lw.nextTick(ow,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,lw.nextTick(ow,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)lw.nextTick(ow,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,lw.nextTick(ow,U,Q)}else if(I)I(Q)}),this}function mI1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function ow($,I){$.emit("error",I)}nq0.exports={destroy:dI1,undestroy:mI1}});var hg=O((dv1,tq0)=>{var i3=F4();tq0.exports=v4;function cq0($){var I=this;this.next=null,this.entry=null,this.finish=function(){WU1(I,$)}}var lI1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:i3.nextTick,$J;v4.WritableState=Rq;var dq0=Object.create(n1());dq0.inherits=p0();var oI1={deprecate:x7()},mq0=r("stream"),tw=M4().Buffer,rI1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function tI1($){return tw.from($)}function aI1($){return tw.isBuffer($)||$ instanceof rI1}var lq0=gg();dq0.inherits(v4,mq0);function sI1(){}function Rq($,I){$J=$J||n3(),$=$||{};var U=I instanceof $J;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){QU1(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new cq0(this)}Rq.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(Rq.prototype,"buffer",{get:oI1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var rw;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")rw=Function.prototype[Symbol.hasInstance],Object.defineProperty(v4,Symbol.hasInstance,{value:function($){if(rw.call(this,$))return!0;if(this!==v4)return!1;return $&&$._writableState instanceof Rq}});else rw=function($){return $ instanceof this};function v4($){if($J=$J||n3(),!rw.call(v4,this)&&!(this instanceof $J))return new v4($);if(this._writableState=new Rq($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}mq0.call(this)}v4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function eI1($,I){var U=Error("write after end");$.emit("error",U),i3.nextTick(I,U)}function $U1($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),i3.nextTick(Y,Q),J=!1;return J}v4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&aI1($);if(Q&&!tw.isBuffer($))$=tI1($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=sI1;if(Y.ended)eI1(this,U);else if(Q||$U1(this,Y,$,U))Y.pendingcb++,J=UU1(this,Y,Q,$,I,U);return J};v4.prototype.cork=function(){var $=this._writableState;$.corked++};v4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)oq0(this,$)}};v4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function IU1($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=tw.from(I,U);return I}Object.defineProperty(v4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function UU1($,I,U,Y,J,Q){if(!U){var K=IU1(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var aq0=F4(),VU1=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};$G0.exports=g5;var sq0=Object.create(n1());sq0.inherits=p0();var eq0=kg(),xg=hg();sq0.inherits(g5,eq0);{aw=VU1(xg.prototype);for(vq=0;vq{var fg=M4().Buffer,IG0=fg.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function XU1($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function wU1($){var I=XU1($);if(typeof I!=="string"&&(fg.isEncoding===IG0||!IG0($)))throw Error("Unknown encoding: "+$);return I||$}RU1.StringDecoder=jq;function jq($){this.encoding=wU1($);var I;switch(this.encoding){case"utf16le":this.text=MU1,this.end=AU1,I=4;break;case"utf8":this.fillLast=OU1,I=4;break;case"base64":this.text=PU1,this.end=TU1,I=3;break;default:this.write=EU1,this.end=BU1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=fg.allocUnsafe(I)}jq.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};jq.prototype.end=FU1;jq.prototype.text=NU1;jq.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function ug($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function LU1($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function DU1($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function OU1($){var I=this.lastTotal-this.lastNeed,U=DU1(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function NU1($,I){var U=LU1(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function FU1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function MU1($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function AU1($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function PU1($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function TU1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function EU1($){return $.toString(this.encoding)}function BU1($){return $&&$.length?this.write($):""}});var kg=O((rv1,zG0)=>{var UJ=F4();zG0.exports=e1;var CU1=OU(),_q;e1.ReadableState=GG0;var ov1=r("events").EventEmitter,QG0=function($,I){return $.listeners(I).length},dg=r("stream"),Sq=M4().Buffer,jU1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _U1($){return Sq.from($)}function SU1($){return Sq.isBuffer($)||$ instanceof jU1}var KG0=Object.create(n1());KG0.inherits=p0();var ig=r("util"),B1=void 0;if(ig&&ig.debuglog)B1=ig.debuglog("stream");else B1=function(){};var gU1=iq0(),qG0=gg(),IJ;KG0.inherits(e1,dg);var ng=["error","close","destroy","pause","resume"];function yU1($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(CU1($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function GG0($,I){_q=_q||n3(),$=$||{};var U=I instanceof _q;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new gU1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!IJ)IJ=bg().StringDecoder;this.decoder=new IJ($.encoding),this.encoding=$.encoding}}function e1($){if(_q=_q||n3(),!(this instanceof e1))return new e1($);if(this._readableState=new GG0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}dg.call(this)}Object.defineProperty(e1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});e1.prototype.destroy=qG0.destroy;e1.prototype._undestroy=qG0.undestroy;e1.prototype._destroy=function($,I){this.push(null),I($)};e1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=Sq.from($,I),I="";Y=!0}}else Y=!0;return HG0(this,$,I,!1,Y)};e1.prototype.unshift=function($){return HG0(this,$,null,!0,!1)};function HG0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,uU1($,Q);else{var K;if(!J)K=hU1(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==Sq.prototype)I=_U1(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else pg($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)pg($,Q,I,!1);else WG0($,Q);else pg($,Q,I,!1)}else if(!Y)Q.reading=!1}return xU1(Q)}function pg($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)sw($)}WG0($,I)}function hU1($,I){var U;if(!SU1(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function xU1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}e1.prototype.isPaused=function(){return this._readableState.flowing===!1};e1.prototype.setEncoding=function($){if(!IJ)IJ=bg().StringDecoder;return this._readableState.decoder=new IJ($),this._readableState.encoding=$,this};var UG0=8388608;function kU1($){if($>=UG0)$=UG0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function YG0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=kU1($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}e1.prototype.read=function($){B1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(B1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)cg(this);else sw(this);return null}if($=YG0($,I),$===0&&I.ended){if(I.length===0)cg(this);return null}var Y=I.needReadable;if(B1("need readable",Y),I.length===0||I.length-$0)J=VG0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)cg(this)}if(J!==null)this.emit("data",J);return J};function uU1($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,sw($)}function sw($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(B1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)UJ.nextTick(JG0,$);else JG0($)}function JG0($){B1("emit readable"),$.emit("readable"),mg($)}function WG0($,I){if(!I.readingMore)I.readingMore=!0,UJ.nextTick(fU1,$,I)}function fU1($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&ZG0(Y.pipes,$)!==-1)&&!H)B1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(B1("onerror",N),D(),$.removeListener("error",Z),QG0($,"error")===0)$.emit("error",N)}yU1($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){B1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){B1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)B1("pipe resume"),U.resume();return $};function bU1($){return function(){var I=$._readableState;if(B1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&QG0($,"data"))I.flowing=!0,mg($)}}e1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=cU1($,I.buffer,I.decoder);return U}function cU1($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function mU1($,I){var U=Sq.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function cg($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,UJ.nextTick(lU1,I,$)}function lU1($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function ZG0($,I){for(var U=0,Y=$.length;U{LG0.exports=y5;var ew=n3(),wG0=Object.create(n1());wG0.inherits=p0();wG0.inherits(y5,ew);function oU1($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{NG0.exports=gq;var DG0=lg(),OG0=Object.create(n1());OG0.inherits=p0();OG0.inherits(gq,DG0);function gq($){if(!(this instanceof gq))return new gq($);DG0.call(this,$)}gq.prototype._transform=function($,I,U){U(null,$)}});var MG0=O((G6,$L)=>{var k8=r("stream");if(process.env.READABLE_STREAM==="disable"&&k8)$L.exports=k8,G6=$L.exports=k8.Readable,G6.Readable=k8.Readable,G6.Writable=k8.Writable,G6.Duplex=k8.Duplex,G6.Transform=k8.Transform,G6.PassThrough=k8.PassThrough,G6.Stream=k8;else G6=$L.exports=kg(),G6.Stream=k8||G6,G6.Readable=G6,G6.Writable=hg(),G6.Duplex=n3(),G6.Transform=lg(),G6.PassThrough=FG0()});var tg=O((sv1,rg)=>{var og=MG0();function YJ($,I,U){if(typeof U>"u")U=I,I=$,$=null;if(og.Duplex.call(this,$),typeof U.read!=="function")U=new og.Readable($).wrap(U);this._writable=I,this._readable=U,this._waiting=!1;var Y=this;if(I.once("finish",function(){Y.end()}),this.once("finish",function(){I.end()}),U.on("readable",function(){if(Y._waiting)Y._waiting=!1,Y._read()}),U.once("end",function(){Y.push(null)}),!$||typeof $.bubbleErrors>"u"||$.bubbleErrors)I.on("error",function(J){Y.emit("error",J)}),U.on("error",function(J){Y.emit("error",J)})}YJ.prototype=Object.create(og.Duplex.prototype,{constructor:{value:YJ}});YJ.prototype._write=function(I,U,Y){this._writable.write(I,U,Y)};YJ.prototype._read=function(){var I,U=0;while((I=this._readable.read())!==null)this.push(I),U++;if(U===0)this._waiting=!0};rg.exports=function(I,U,Y){return new YJ(I,U,Y)};rg.exports.DuplexWrapper=YJ});var PG0=O((ev1,AG0)=>{var JJ=r("stream"),tU1=mw(),aU1=tg(),sU1=pw();if(!JJ.Writable||!JJ.Writable.prototype.destroy)JJ=S5();function eU1($,I){var U=JJ.PassThrough({objectMode:!0}),Y=JJ.PassThrough(),J=JJ.Transform({objectMode:!0}),Q=$ instanceof RegExp?$:$&&new RegExp($),K;J._transform=function(G,H,W){if(K||Q&&!Q.exec(G.path))return G.autodrain(),W();else K=!0,q.emit("entry",G),G.on("error",function(V){Y.emit("error",V)}),G.pipe(Y).on("error",function(V){W(V)}).on("finish",function(V){W(null,V)})},U.pipe(tU1(I)).on("error",function(G){Y.emit("error",G)}).pipe(J).on("error",Object).on("finish",function(){if(!K)Y.emit("error",Error("PATTERN_NOT_FOUND"));else Y.end()});var q=aU1(U,Y);return q.buffer=function(){return sU1(Y)},q}AG0.exports=eU1});var IL=O(($C1,EG0)=>{EG0.exports=J7;var ag=r("stream").Stream,$Y1=p0();function J7(){ag.call(this)}$Y1(J7,ag);J7.prototype.on=function($,I){if($==="ready"&&this.ready)process.nextTick(I.bind(this));else ag.prototype.on.call(this,$,I);return this};J7.prototype.abort=function(){this._aborted=!0,this.emit("abort")};J7.prototype.destroy=function(){};J7.prototype.warn=function($,I){var U=this,Y=TG0($,I,U);if(!U.listeners("warn"))console.error(`%s %s +`)}function S(B){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,B!==Z)n(this,B),this._resolveFromExecutor(B);this._promiseCreated(),this._fireEvent("promiseCreated",this)}S.prototype.toString=function(){return"[object Promise]"},S.prototype.caught=S.prototype.catch=function(B){var k=arguments.length;if(k>1){var d=Array(k-1),t=0,K0;for(K0=0;K00&&typeof B!=="function"&&typeof k!=="function"){var d=".then() only accepts functions but was passed: "+Q.classString(B);if(arguments.length>1)d+=", "+Q.classString(k);this._warn(d)}return this._then(B,k,void 0,void 0,void 0)},S.prototype.done=function(B,k){var d=this._then(B,k,void 0,void 0,void 0);d._setIsFinal()},S.prototype.spread=function(B){if(typeof B!=="function")return U("expecting a function but got "+Q.classString(B));return this.all()._then(B,void 0,void 0,z,void 0)},S.prototype.toJSON=function(){var B={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())B.fulfillmentValue=this.value(),B.isFulfilled=!0;else if(this.isRejected())B.rejectionReason=this.reason(),B.isRejected=!0;return B},S.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new F(this).promise()},S.prototype.error=function(B){return this.caught(Q.originatesFromRejection,B)},S.getNewLibraryCopy=vg.exports,S.is=function(B){return B instanceof S},S.fromNode=S.fromCallback=function(B){var k=new S(Z);k._captureStackTrace();var d=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,t=p(B)(b(k,d));if(t===C)k._rejectCallback(t.e,!0);if(!k._isFateSealed())k._setAsyncGuaranteed();return k},S.all=function(B){return new F(B).promise()},S.cast=function(B){var k=D(B);if(!(k instanceof S))k=new S(Z),k._captureStackTrace(),k._setFulfilled(),k._rejectionHandler0=B;return k},S.resolve=S.fulfilled=S.cast,S.reject=S.rejected=function(B){var k=new S(Z);return k._captureStackTrace(),k._rejectCallback(B,!0),k},S.setScheduler=function(B){if(typeof B!=="function")throw new V("expecting a function but got "+Q.classString(B));return H.setScheduler(B)},S.prototype._then=function(B,k,d,t,K0){var W0=K0!==void 0,A0=W0?K0:new S(Z),v0=this._target(),L1=v0._bitField;if(!W0){if(A0._propagateFrom(this,3),A0._captureStackTrace(),t===void 0&&(this._bitField&2097152)!==0)if((L1&50397184)!==0)t=this._boundValue();else t=v0===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,A0)}var f0=K();if((L1&50397184)!==0){var H1,F0,g0=v0._settlePromiseCtx;if((L1&33554432)!==0)F0=v0._rejectionHandler0,H1=B;else if((L1&16777216)!==0)F0=v0._fulfillmentHandler0,H1=k,v0._unsetRejectionIsUnhandled();else g0=v0._settlePromiseLateCancellationObserver,F0=new w("late cancellation observer"),v0._attachExtraTrace(F0),H1=k;H.invoke(g0,v0,{handler:f0===null?H1:typeof H1==="function"&&Q.domainBind(f0,H1),promise:A0,receiver:t,value:F0})}else v0._addCallbacks(B,k,A0,t,f0);return A0},S.prototype._length=function(){return this._bitField&65535},S.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},S.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},S.prototype._setLength=function(B){this._bitField=this._bitField&-65536|B&65535},S.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},S.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},S.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},S.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},S.prototype._isFinal=function(){return(this._bitField&4194304)>0},S.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},S.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},S.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},S.prototype._setAsyncGuaranteed=function(){if(H.hasCustomScheduler())return;this._bitField=this._bitField|134217728},S.prototype._receiverAt=function(B){var k=B===0?this._receiver0:this[B*4-4+3];if(k===J)return;else if(k===void 0&&this._isBound())return this._boundValue();return k},S.prototype._promiseAt=function(B){return this[B*4-4+2]},S.prototype._fulfillmentHandlerAt=function(B){return this[B*4-4+0]},S.prototype._rejectionHandlerAt=function(B){return this[B*4-4+1]},S.prototype._boundValue=function(){},S.prototype._migrateCallback0=function(B){var{_bitField:k,_fulfillmentHandler0:d,_rejectionHandler0:t,_promise0:K0}=B,W0=B._receiverAt(0);if(W0===void 0)W0=J;this._addCallbacks(d,t,K0,W0,null)},S.prototype._migrateCallbackAt=function(B,k){var d=B._fulfillmentHandlerAt(k),t=B._rejectionHandlerAt(k),K0=B._promiseAt(k),W0=B._receiverAt(k);if(W0===void 0)W0=J;this._addCallbacks(d,t,K0,W0,null)},S.prototype._addCallbacks=function(B,k,d,t,K0){var W0=this._length();if(W0>=65531)W0=0,this._setLength(0);if(W0===0){if(this._promise0=d,this._receiver0=t,typeof B==="function")this._fulfillmentHandler0=K0===null?B:Q.domainBind(K0,B);if(typeof k==="function")this._rejectionHandler0=K0===null?k:Q.domainBind(K0,k)}else{var A0=W0*4-4;if(this[A0+2]=d,this[A0+3]=t,typeof B==="function")this[A0+0]=K0===null?B:Q.domainBind(K0,B);if(typeof k==="function")this[A0+1]=K0===null?k:Q.domainBind(K0,k)}return this._setLength(W0+1),W0},S.prototype._proxy=function(B,k){this._addCallbacks(void 0,void 0,k,B,null)},S.prototype._resolveCallback=function(B,k){if((this._bitField&117506048)!==0)return;if(B===this)return this._rejectCallback($(),!1);var d=D(B,this);if(!(d instanceof S))return this._fulfill(B);if(k)this._propagateFrom(d,2);var t=d._target();if(t===this){this._reject($());return}var K0=t._bitField;if((K0&50397184)===0){var W0=this._length();if(W0>0)t._migrateCallback0(this);for(var A0=1;A0>>16)return;if(B===this){var d=$();return this._attachExtraTrace(d),this._reject(d)}if(this._setFulfilled(),this._rejectionHandler0=B,(k&65535)>0)if((k&134217728)!==0)this._settlePromises();else H.settlePromises(this)},S.prototype._reject=function(B){var k=this._bitField;if((k&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=B,this._isFinal())return H.fatalError(B,Q.isNode);if((k&65535)>0)H.settlePromises(this);else this._ensurePossibleRejectionHandled()},S.prototype._fulfillPromises=function(B,k){for(var d=1;d0){if((B&16842752)!==0){var d=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,d,B),this._rejectPromises(k,d)}else{var t=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,t,B),this._fulfillPromises(k,t)}this._setLength(0)}this._clearCancellationData()},S.prototype._settledValue=function(){var B=this._bitField;if((B&33554432)!==0)return this._rejectionHandler0;else if((B&16777216)!==0)return this._fulfillmentHandler0};function f(B){this.promise._resolveCallback(B)}function i(B){this.promise._rejectCallback(B,!1)}S.defer=S.pending=function(){A.deprecated("Promise.defer","new Promise");var B=new S(Z);return{promise:B,resolve:f,reject:i}},Q.notEnumerableProp(S,"_makeSelfResolutionError",$),bK0()(S,Z,D,U,A),nK0()(S,Z,D,A),cK0()(S,F,U,A),mK0()(S),oK0()(S),tK0()(S,F,D,Z,H,K),S.Promise=S,S.version="3.4.7",sK0()(S,F,U,D,Z,A),$q0()(S),Uq0()(S,U,D,T,Z,A),Jq0()(S,Z,A),Kq0()(S,U,Z,D,Y,A),Gq0()(S),Wq0()(S,Z),wq0()(S,F,D,U),Xq0()(S,Z,D,U),Lq0()(S,F,U,D,Z,A),Oq0()(S,F,A),Nq0()(S,F,U),Aq0()(S,Z),Tq0()(S,Z),Bq0()(S),Q.toFastProperties(S),Q.toFastProperties(S.prototype);function Y0(B){var k=new S(Z);k._fulfillmentHandler0=B,k._rejectionHandler0=B,k._promise0=B,k._receiver0=B}return Y0({a:1}),Y0({b:2}),Y0({c:3}),Y0(1),Y0(function(){}),Y0(void 0),Y0(!1),Y0(new S(Z)),A.setBounds(G.firstLineError,Q.lastLineError),S}});var J7=O((_C1,Cq0)=>{var Rq0;if(typeof Promise<"u")Rq0=Promise;function zI1(){try{if(Promise===fz)Promise=Rq0}catch($){}return fz}var fz=vq0()();fz.noConflict=zI1;Cq0.exports=fz});var sY=O((SC1,jq0)=>{var aY=r("buffer").Buffer;if(aY.from===void 0)aY.from=function($,I,U){return new aY($,I,U)},aY.alloc=aY.from;jq0.exports=aY});var Sq0=O((gC1,Rg)=>{function LI1($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var _q0=M4().Buffer,Lq=r("util");function DI1($,I,U){$.copy(I,U)}Rg.exports=function(){function $(){LI1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return _q0.alloc(0);var Y=_q0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)DI1(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(Lq&&Lq.inspect&&Lq.inspect.custom)Rg.exports.prototype[Lq.inspect.custom]=function(){var $=Lq.inspect({length:this.length});return this.constructor.name+" "+$}});var Cg=O((yC1,gq0)=>{var bz=N4();function OI1($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)bz.nextTick(iz,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,bz.nextTick(iz,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)bz.nextTick(iz,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,bz.nextTick(iz,U,Q)}else if(I)I(Q)}),this}function FI1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function iz($,I){$.emit("error",I)}gq0.exports={destroy:OI1,undestroy:FI1}});var _g=O((hC1,iq0)=>{var b3=N4();iq0.exports=v4;function hq0($){var I=this;this.next=null,this.entry=null,this.finish=function(){kI1(I,$)}}var NI1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:b3.nextTick,eY;v4.WritableState=Oq;var xq0=Object.create(p1());xq0.inherits=p0();var MI1={deprecate:u7()},kq0=r("stream"),pz=M4().Buffer,AI1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function PI1($){return pz.from($)}function TI1($){return pz.isBuffer($)||$ instanceof AI1}var uq0=Cg();xq0.inherits(v4,kq0);function EI1(){}function Oq($,I){eY=eY||i3(),$=$||{};var U=I instanceof eY;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){SI1(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new hq0(this)}Oq.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(Oq.prototype,"buffer",{get:MI1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var nz;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")nz=Function.prototype[Symbol.hasInstance],Object.defineProperty(v4,Symbol.hasInstance,{value:function($){if(nz.call(this,$))return!0;if(this!==v4)return!1;return $&&$._writableState instanceof Oq}});else nz=function($){return $ instanceof this};function v4($){if(eY=eY||i3(),!nz.call(v4,this)&&!(this instanceof eY))return new v4($);if(this._writableState=new Oq($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}kq0.call(this)}v4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function BI1($,I){var U=Error("write after end");$.emit("error",U),b3.nextTick(I,U)}function vI1($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),b3.nextTick(Y,Q),J=!1;return J}v4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&TI1($);if(Q&&!pz.isBuffer($))$=PI1($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=EI1;if(Y.ended)BI1(this,U);else if(Q||vI1(this,Y,$,U))Y.pendingcb++,J=CI1(this,Y,Q,$,I,U);return J};v4.prototype.cork=function(){var $=this._writableState;$.corked++};v4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)fq0(this,$)}};v4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function RI1($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=pz.from(I,U);return I}Object.defineProperty(v4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function CI1($,I,U,Y,J,Q){if(!U){var K=RI1(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var nq0=N4(),uI1=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};dq0.exports=S5;var pq0=Object.create(p1());pq0.inherits=p0();var cq0=gg(),Sg=_g();pq0.inherits(S5,cq0);{cz=uI1(Sg.prototype);for(Fq=0;Fq{var hg=M4().Buffer,mq0=hg.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function iI1($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function nI1($){var I=iI1($);if(typeof I!=="string"&&(hg.isEncoding===mq0||!mq0($)))throw Error("Unknown encoding: "+$);return I||$}$U1.StringDecoder=Mq;function Mq($){this.encoding=nI1($);var I;switch(this.encoding){case"utf16le":this.text=oI1,this.end=rI1,I=4;break;case"utf8":this.fillLast=dI1,I=4;break;case"base64":this.text=tI1,this.end=aI1,I=3;break;default:this.write=sI1,this.end=eI1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=hg.allocUnsafe(I)}Mq.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};Mq.prototype.end=lI1;Mq.prototype.text=mI1;Mq.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function yg($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function pI1($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function cI1($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function dI1($){var I=this.lastTotal-this.lastNeed,U=cI1(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function mI1($,I){var U=pI1(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function lI1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function oI1($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function rI1($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function tI1($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function aI1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function sI1($){return $.toString(this.encoding)}function eI1($){return $&&$.length?this.write($):""}});var gg=O((fC1,JG0)=>{var IJ=N4();JG0.exports=e1;var UU1=NU(),Aq;e1.ReadableState=eq0;var uC1=r("events").EventEmitter,tq0=function($,I){return $.listeners(I).length},ig=r("stream"),Pq=M4().Buffer,YU1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function JU1($){return Pq.from($)}function QU1($){return Pq.isBuffer($)||$ instanceof YU1}var aq0=Object.create(p1());aq0.inherits=p0();var kg=r("util"),E1=void 0;if(kg&&kg.debuglog)E1=kg.debuglog("stream");else E1=function(){};var KU1=Sq0(),sq0=Cg(),$J;aq0.inherits(e1,ig);var ug=["error","close","destroy","pause","resume"];function qU1($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(UU1($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function eq0($,I){Aq=Aq||i3(),$=$||{};var U=I instanceof Aq;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new KU1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!$J)$J=xg().StringDecoder;this.decoder=new $J($.encoding),this.encoding=$.encoding}}function e1($){if(Aq=Aq||i3(),!(this instanceof e1))return new e1($);if(this._readableState=new eq0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}ig.call(this)}Object.defineProperty(e1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});e1.prototype.destroy=sq0.destroy;e1.prototype._undestroy=sq0.undestroy;e1.prototype._destroy=function($,I){this.push(null),I($)};e1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=Pq.from($,I),I="";Y=!0}}else Y=!0;return $G0(this,$,I,!1,Y)};e1.prototype.unshift=function($){return $G0(this,$,null,!0,!1)};function $G0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,VU1($,Q);else{var K;if(!J)K=GU1(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==Pq.prototype)I=JU1(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else fg($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)fg($,Q,I,!1);else IG0($,Q);else fg($,Q,I,!1)}else if(!Y)Q.reading=!1}return HU1(Q)}function fg($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)dz($)}IG0($,I)}function GU1($,I){var U;if(!QU1(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function HU1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}e1.prototype.isPaused=function(){return this._readableState.flowing===!1};e1.prototype.setEncoding=function($){if(!$J)$J=xg().StringDecoder;return this._readableState.decoder=new $J($),this._readableState.encoding=$,this};var lq0=8388608;function WU1($){if($>=lq0)$=lq0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function oq0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=WU1($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}e1.prototype.read=function($){E1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(E1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)bg(this);else dz(this);return null}if($=oq0($,I),$===0&&I.ended){if(I.length===0)bg(this);return null}var Y=I.needReadable;if(E1("need readable",Y),I.length===0||I.length-$0)J=UG0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)bg(this)}if(J!==null)this.emit("data",J);return J};function VU1($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,dz($)}function dz($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(E1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)IJ.nextTick(rq0,$);else rq0($)}function rq0($){E1("emit readable"),$.emit("readable"),ng($)}function IG0($,I){if(!I.readingMore)I.readingMore=!0,IJ.nextTick(wU1,$,I)}function wU1($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&YG0(Y.pipes,$)!==-1)&&!H)E1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(F){if(E1("onerror",F),D(),$.removeListener("error",Z),tq0($,"error")===0)$.emit("error",F)}qU1($,"error",Z);function z(){$.removeListener("finish",L),D()}$.once("close",z);function L(){E1("onfinish"),$.removeListener("close",z),D()}$.once("finish",L);function D(){E1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)E1("pipe resume"),U.resume();return $};function ZU1($){return function(){var I=$._readableState;if(E1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&tq0($,"data"))I.flowing=!0,ng($)}}e1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=DU1($,I.buffer,I.decoder);return U}function DU1($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function FU1($,I){var U=Pq.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function bg($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,IJ.nextTick(NU1,I,$)}function NU1($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function YG0($,I){for(var U=0,Y=$.length;U{qG0.exports=g5;var mz=i3(),KG0=Object.create(p1());KG0.inherits=p0();KG0.inherits(g5,mz);function MU1($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{WG0.exports=Tq;var GG0=pg(),HG0=Object.create(p1());HG0.inherits=p0();HG0.inherits(Tq,GG0);function Tq($){if(!(this instanceof Tq))return new Tq($);GG0.call(this,$)}Tq.prototype._transform=function($,I,U){U(null,$)}});var y5=O((q6,lz)=>{var x8=r("stream");if(process.env.READABLE_STREAM==="disable"&&x8)lz.exports=x8,q6=lz.exports=x8.Readable,q6.Readable=x8.Readable,q6.Writable=x8.Writable,q6.Duplex=x8.Duplex,q6.Transform=x8.Transform,q6.PassThrough=x8.PassThrough,q6.Stream=x8;else q6=lz.exports=gg(),q6.Stream=x8||q6,q6.Readable=q6,q6.Writable=_g(),q6.Duplex=i3(),q6.Transform=pg(),q6.PassThrough=VG0()});var rz=O((nC1,wG0)=>{var n3=r("stream"),cg=J7(),PU1=r("util"),oz=sY(),TU1="function";if(!n3.Writable||!n3.Writable.prototype.destroy)n3=y5();function Q7(){if(!(this instanceof Q7))return new Q7;n3.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=oz.from("");var $=this;$.on("finish",function(){$.finished=!0,$.emit("chunk",!1)})}PU1.inherits(Q7,n3.Duplex);Q7.prototype._write=function($,I,U){this.buffer=oz.concat([this.buffer,$]),this.cb=U,this.emit("chunk")};Q7.prototype.stream=function($,I){var U=n3.PassThrough(),Y,J=this;function Q(){if(typeof J.cb===TU1){var q=J.cb;return J.cb=void 0,q()}}function K(){var q;if(J.buffer&&J.buffer.length){if(typeof $==="number")q=J.buffer.slice(0,$),J.buffer=J.buffer.slice($),$-=q.length,Y=!$;else{var G=J.buffer.indexOf($);if(G!==-1){if(J.match=G,I)G=G+$.length;q=J.buffer.slice(0,G),J.buffer=J.buffer.slice(G),Y=!0}else{var H=J.buffer.length-$.length;if(H<=0)Q();else q=J.buffer.slice(0,H),J.buffer=J.buffer.slice(H)}}if(q)U.write(q,function(){if(J.buffer.length===0||$.length&&J.buffer.length<=$.length)Q()})}if(!Y){if(J.finished){J.removeListener("chunk",K),J.emit("error",Error("FILE_ENDED"));return}}else J.removeListener("chunk",K),U.end()}return J.on("chunk",K),K(),U};Q7.prototype.pull=function($,I){if($===0)return cg.resolve("");if(!isNaN($)&&this.buffer.length>$){var U=this.buffer.slice(0,$);return this.buffer=this.buffer.slice($),cg.resolve(U)}var Y=oz.from(""),J=this,Q=n3.Transform();Q._transform=function(G,H,W){Y=oz.concat([Y,G]),W()};var K,q;return new cg(function(G,H){if(K=H,q=function(W){J.__emittedError=W,H(W)},J.finished)return H(Error("FILE_ENDED"));J.once("error",q),J.stream($,I).on("error",H).pipe(Q).on("finish",function(){G(Y)}).on("error",H)}).finally(function(){J.removeListener("error",K),J.removeListener("error",q)})};Q7.prototype._read=function(){};wG0.exports=Q7});var XG0=O((pC1,ZG0)=>{var Eq=r("stream"),EU1=r("util");if(!Eq.Writable||!Eq.Writable.prototype.destroy)Eq=y5();function Bq(){if(!(this instanceof Bq))return new Bq;Eq.Transform.call(this)}EU1.inherits(Bq,Eq.Transform);Bq.prototype._transform=function($,I,U){U()};ZG0.exports=Bq});var az=O((cC1,zG0)=>{var BU1=J7(),tz=r("stream"),vU1=sY();if(!tz.Writable||!tz.Writable.prototype.destroy)tz=y5();zG0.exports=function($){return new BU1(function(I,U){var Y=[],J=tz.Transform().on("finish",function(){I(vU1.concat(Y))}).on("error",U);J._transform=function(Q,K,q){Y.push(Q),q()},$.on("error",U).pipe(J)})}});var sz=O((dC1,LG0)=>{var RU1=Zq();LG0.exports=function($,I){var U;while(!U&&$&&$.length){var Y=RU1.parse($).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;if(Y.signature===1)U=Y;else $=$.slice(Y.partsize+4)}if(U=U||{},I.compressedSize===4294967295)I.compressedSize=U.compressedSize;if(I.uncompressedSize===4294967295)I.uncompressedSize=U.uncompressedSize;if(I.offsetToLocalFileHeader===4294967295)I.offsetToLocalFileHeader=U.offset;return U}});var ez=O((mC1,DG0)=>{DG0.exports=function(I,U){let Y=I&31,J=I>>5&15,Q=(I>>9&127)+1980,K=U?(U&31)*2:0,q=U?U>>5&63:0,G=U?U>>11:0;return new Date(Date.UTC(Q,J-1,Y,G,q,K))}});var $L=O((lC1,MG0)=>{var CU1=r("util"),jU1=r("zlib"),vq=r("stream"),Rq=Zq(),dg=J7(),OG0=rz(),_U1=XG0(),SU1=az(),gU1=sz(),FG0=sY(),yU1=ez();if(!vq.Writable||!vq.Writable.prototype.destroy)vq=y5();var NG0=FG0.alloc(4);NG0.writeUInt32LE(101010256,0);function J8($){if(!(this instanceof J8))return new J8($);var I=this;I._opts=$||{verbose:!1},OG0.call(I,I._opts),I.on("finish",function(){I.emit("end"),I.emit("close")}),I._readRecord().catch(function(U){if(!I.__emittedError||I.__emittedError!==U)I.emit("error",U)})}CU1.inherits(J8,OG0);J8.prototype._readRecord=function(){var $=this;return $.pull(4).then(function(I){if(I.length===0)return;var U=I.readUInt32LE(0);if(U===875721283)return $._readCrxHeader();if(U===67324752)return $._readFile();else if(U===33639248)return $.reachedCD=!0,$._readCentralDirectoryFileHeader();else if(U===101010256)return $._readEndOfCentralDirectoryRecord();else if($.reachedCD){var Y=!0;return $.pull(NG0,Y).then(function(){return $._readEndOfCentralDirectoryRecord()})}else $.emit("error",Error("invalid signature: 0x"+U.toString(16)))})};J8.prototype._readCrxHeader=function(){var $=this;return $.pull(12).then(function(I){return $.crxHeader=Rq.parse(I).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,$.pull($.crxHeader.pubKeyLength+$.crxHeader.signatureLength)}).then(function(I){return $.crxHeader.publicKey=I.slice(0,$.crxHeader.pubKeyLength),$.crxHeader.signature=I.slice($.crxHeader.pubKeyLength),$.emit("crx-header",$.crxHeader),$._readRecord()})};J8.prototype._readFile=function(){var $=this;return $.pull(26).then(function(I){var U=Rq.parse(I).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;if(U.lastModifiedDateTime=yU1(U.lastModifiedDate,U.lastModifiedTime),$.crxHeader)U.crxHeader=$.crxHeader;return $.pull(U.fileNameLength).then(function(Y){var J=Y.toString("utf8"),Q=vq.PassThrough(),K=!1;if(Q.autodrain=function(){K=!0;var q=Q.pipe(_U1());return q.promise=function(){return new dg(function(G,H){q.on("finish",G),q.on("error",H)})},q},Q.buffer=function(){return SU1(Q)},Q.path=J,Q.props={},Q.props.path=J,Q.props.pathBuffer=Y,Q.props.flags={isUnicode:(U.flags&2048)!=0},Q.type=U.uncompressedSize===0&&/[\/\\]$/.test(J)?"Directory":"File",$._opts.verbose){if(Q.type==="Directory")console.log(" creating:",J);else if(Q.type==="File")if(U.compressionMethod===0)console.log(" extracting:",J);else console.log(" inflating:",J)}return $.pull(U.extraFieldLength).then(function(q){var G=gU1(q,U);if(Q.vars=U,Q.extra=G,$._opts.forceStream)$.push(Q);else if($.emit("entry",Q),$._readableState.pipesCount||$._readableState.pipes&&$._readableState.pipes.length)$.push(Q);if($._opts.verbose)console.log({filename:J,vars:U,extra:G});var H=!(U.flags&8)||U.compressedSize>0,W;Q.__autodraining=K;var V=U.compressionMethod&&!K?jU1.createInflateRaw():vq.PassThrough();if(H)Q.size=U.uncompressedSize,W=U.compressedSize;else W=FG0.alloc(4),W.writeUInt32LE(134695760,0);return new dg(function(w,Z){$.stream(W).pipe(V).on("error",function(z){$.emit("error",z)}).pipe(Q).on("finish",function(){return H?$._readRecord().then(w).catch(Z):$._processDataDescriptor(Q).then(w).catch(Z)})})})})})};J8.prototype._processDataDescriptor=function($){var I=this;return I.pull(16).then(function(U){var Y=Rq.parse(U).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return $.size=Y.uncompressedSize,I._readRecord()})};J8.prototype._readCentralDirectoryFileHeader=function(){var $=this;return $.pull(42).then(function(I){var U=Rq.parse(I).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return $.pull(U.fileNameLength).then(function(Y){return U.fileName=Y.toString("utf8"),$.pull(U.extraFieldLength)}).then(function(Y){return $.pull(U.fileCommentLength)}).then(function(Y){return $._readRecord()})})};J8.prototype._readEndOfCentralDirectoryRecord=function(){var $=this;return $.pull(18).then(function(I){var U=Rq.parse(I).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return $.pull(U.commentLength).then(function(Y){Y=Y.toString("utf8"),$.end(),$.push(null)})})};J8.prototype.promise=function(){var $=this;return new dg(function(I,U){$.on("finish",I),$.on("error",U)})};MG0.exports=J8});var PG0=O((oC1,mg)=>{function hU1($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var AG0=M4().Buffer,Cq=r("util");function xU1($,I,U){$.copy(I,U)}mg.exports=function(){function $(){hU1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return AG0.alloc(0);var Y=AG0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)xU1(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(Cq&&Cq.inspect&&Cq.inspect.custom)mg.exports.prototype[Cq.inspect.custom]=function(){var $=Cq.inspect({length:this.length});return this.constructor.name+" "+$}});var lg=O((rC1,TG0)=>{var IL=N4();function kU1($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)IL.nextTick(UL,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,IL.nextTick(UL,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)IL.nextTick(UL,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,IL.nextTick(UL,U,Q)}else if(I)I(Q)}),this}function uU1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function UL($,I){$.emit("error",I)}TG0.exports={destroy:kU1,undestroy:uU1}});var rg=O((tC1,SG0)=>{var p3=N4();SG0.exports=R4;function BG0($){var I=this;this.next=null,this.entry=null,this.finish=function(){UY1(I,$)}}var fU1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:p3.nextTick,UJ;R4.WritableState=_q;var vG0=Object.create(p1());vG0.inherits=p0();var bU1={deprecate:u7()},RG0=r("stream"),JL=M4().Buffer,iU1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function nU1($){return JL.from($)}function pU1($){return JL.isBuffer($)||$ instanceof iU1}var CG0=lg();vG0.inherits(R4,RG0);function cU1(){}function _q($,I){UJ=UJ||c3(),$=$||{};var U=I instanceof UJ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){aU1(I,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new BG0(this)}_q.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(_q.prototype,"buffer",{get:bU1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var YL;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")YL=Function.prototype[Symbol.hasInstance],Object.defineProperty(R4,Symbol.hasInstance,{value:function($){if(YL.call(this,$))return!0;if(this!==R4)return!1;return $&&$._writableState instanceof _q}});else YL=function($){return $ instanceof this};function R4($){if(UJ=UJ||c3(),!YL.call(R4,this)&&!(this instanceof UJ))return new R4($);if(this._writableState=new _q($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}RG0.call(this)}R4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function dU1($,I){var U=Error("write after end");$.emit("error",U),p3.nextTick(I,U)}function mU1($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),p3.nextTick(Y,Q),J=!1;return J}R4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&pU1($);if(Q&&!JL.isBuffer($))$=nU1($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=cU1;if(Y.ended)dU1(this,U);else if(Q||mU1(this,Y,$,U))Y.pendingcb++,J=oU1(this,Y,Q,$,I,U);return J};R4.prototype.cork=function(){var $=this._writableState;$.corked++};R4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)jG0(this,$)}};R4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function lU1($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=JL.from(I,U);return I}Object.defineProperty(R4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function oU1($,I,U,Y,J,Q){if(!U){var K=lU1(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length{var gG0=N4(),YY1=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};xG0.exports=h5;var yG0=Object.create(p1());yG0.inherits=p0();var hG0=ag(),tg=rg();yG0.inherits(h5,hG0);{QL=YY1(tg.prototype);for(Sq=0;Sq{var eg=M4().Buffer,kG0=eg.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function KY1($){if(!$)return"utf8";var I;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(I)return;$=(""+$).toLowerCase(),I=!0}}function qY1($){var I=KY1($);if(typeof I!=="string"&&(eg.isEncoding===kG0||!kG0($)))throw Error("Unknown encoding: "+$);return I||$}FY1.StringDecoder=yq;function yq($){this.encoding=qY1($);var I;switch(this.encoding){case"utf16le":this.text=ZY1,this.end=XY1,I=4;break;case"utf8":this.fillLast=WY1,I=4;break;case"base64":this.text=zY1,this.end=LY1,I=3;break;default:this.write=DY1,this.end=OY1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=eg.allocUnsafe(I)}yq.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};yq.prototype.end=wY1;yq.prototype.text=VY1;yq.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function sg($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function GY1($,I,U){var Y=I.length-1;if(Y=0){if(J>0)$.lastNeed=J-1;return J}if(--Y=0){if(J>0)$.lastNeed=J-2;return J}if(--Y=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function HY1($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function WY1($){var I=this.lastTotal-this.lastNeed,U=HY1(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function VY1($,I){var U=GY1(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function wY1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function ZY1($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function XY1($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function zY1($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function LY1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function DY1($){return $.toString(this.encoding)}function OY1($){return $&&$.length?this.write($):""}});var ag=O(($j1,rG0)=>{var JJ=N4();rG0.exports=$4;var MY1=NU(),hq;$4.ReadableState=cG0;var eC1=r("events").EventEmitter,iG0=function($,I){return $.listeners(I).length},Qy=r("stream"),xq=M4().Buffer,AY1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function PY1($){return xq.from($)}function TY1($){return xq.isBuffer($)||$ instanceof AY1}var nG0=Object.create(p1());nG0.inherits=p0();var Iy=r("util"),B1=void 0;if(Iy&&Iy.debuglog)B1=Iy.debuglog("stream");else B1=function(){};var EY1=PG0(),pG0=lg(),YJ;nG0.inherits($4,Qy);var Uy=["error","close","destroy","pause","resume"];function BY1($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(MY1($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function cG0($,I){hq=hq||c3(),$=$||{};var U=I instanceof hq;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new EY1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!YJ)YJ=$y().StringDecoder;this.decoder=new YJ($.encoding),this.encoding=$.encoding}}function $4($){if(hq=hq||c3(),!(this instanceof $4))return new $4($);if(this._readableState=new cG0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Qy.call(this)}Object.defineProperty($4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});$4.prototype.destroy=pG0.destroy;$4.prototype._undestroy=pG0.undestroy;$4.prototype._destroy=function($,I){this.push(null),I($)};$4.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=xq.from($,I),I="";Y=!0}}else Y=!0;return dG0(this,$,I,!1,Y)};$4.prototype.unshift=function($){return dG0(this,$,null,!0,!1)};function dG0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,jY1($,Q);else{var K;if(!J)K=vY1(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==xq.prototype)I=PY1(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Yy($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)Yy($,Q,I,!1);else mG0($,Q);else Yy($,Q,I,!1)}else if(!Y)Q.reading=!1}return RY1(Q)}function Yy($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)KL($)}mG0($,I)}function vY1($,I){var U;if(!TY1(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function RY1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}$4.prototype.isPaused=function(){return this._readableState.flowing===!1};$4.prototype.setEncoding=function($){if(!YJ)YJ=$y().StringDecoder;return this._readableState.decoder=new YJ($),this._readableState.encoding=$,this};var uG0=8388608;function CY1($){if($>=uG0)$=uG0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function fG0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=CY1($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}$4.prototype.read=function($){B1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(B1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)Jy(this);else KL(this);return null}if($=fG0($,I),$===0&&I.ended){if(I.length===0)Jy(this);return null}var Y=I.needReadable;if(B1("need readable",Y),I.length===0||I.length-$0)J=lG0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)Jy(this)}if(J!==null)this.emit("data",J);return J};function jY1($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,KL($)}function KL($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(B1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)JJ.nextTick(bG0,$);else bG0($)}function bG0($){B1("emit readable"),$.emit("readable"),Ky($)}function mG0($,I){if(!I.readingMore)I.readingMore=!0,JJ.nextTick(_Y1,$,I)}function _Y1($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length1&&oG0(Y.pipes,$)!==-1)&&!H)B1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(F){if(B1("onerror",F),D(),$.removeListener("error",Z),iG0($,"error")===0)$.emit("error",F)}BY1($,"error",Z);function z(){$.removeListener("finish",L),D()}$.once("close",z);function L(){B1("onfinish"),$.removeListener("close",z),D()}$.once("finish",L);function D(){B1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)B1("pipe resume"),U.resume();return $};function SY1($){return function(){var I=$._readableState;if(B1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&iG0($,"data"))I.flowing=!0,Ky($)}}$4.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=xY1($,I.buffer,I.decoder);return U}function xY1($,I,U){var Y;if($Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function uY1($,I){var U=xq.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function Jy($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,JJ.nextTick(fY1,I,$)}function fY1($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function oG0($,I){for(var U=0,Y=$.length;U{sG0.exports=x5;var qL=c3(),aG0=Object.create(p1());aG0.inherits=p0();aG0.inherits(x5,qL);function bY1($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length{IH0.exports=kq;var eG0=qy(),$H0=Object.create(p1());$H0.inherits=p0();$H0.inherits(kq,eG0);function kq($){if(!(this instanceof kq))return new kq($);eG0.call(this,$)}kq.prototype._transform=function($,I,U){U(null,$)}});var YH0=O((G6,GL)=>{var k8=r("stream");if(process.env.READABLE_STREAM==="disable"&&k8)GL.exports=k8,G6=GL.exports=k8.Readable,G6.Readable=k8.Readable,G6.Writable=k8.Writable,G6.Duplex=k8.Duplex,G6.Transform=k8.Transform,G6.PassThrough=k8.PassThrough,G6.Stream=k8;else G6=GL.exports=ag(),G6.Stream=k8||G6,G6.Readable=G6,G6.Writable=rg(),G6.Duplex=c3(),G6.Transform=qy(),G6.PassThrough=UH0()});var Wy=O((Yj1,Hy)=>{var Gy=YH0();function QJ($,I,U){if(typeof U>"u")U=I,I=$,$=null;if(Gy.Duplex.call(this,$),typeof U.read!=="function")U=new Gy.Readable($).wrap(U);this._writable=I,this._readable=U,this._waiting=!1;var Y=this;if(I.once("finish",function(){Y.end()}),this.once("finish",function(){I.end()}),U.on("readable",function(){if(Y._waiting)Y._waiting=!1,Y._read()}),U.once("end",function(){Y.push(null)}),!$||typeof $.bubbleErrors>"u"||$.bubbleErrors)I.on("error",function(J){Y.emit("error",J)}),U.on("error",function(J){Y.emit("error",J)})}QJ.prototype=Object.create(Gy.Duplex.prototype,{constructor:{value:QJ}});QJ.prototype._write=function(I,U,Y){this._writable.write(I,U,Y)};QJ.prototype._read=function(){var I,U=0;while((I=this._readable.read())!==null)this.push(I),U++;if(U===0)this._waiting=!0};Hy.exports=function(I,U,Y){return new QJ(I,U,Y)};Hy.exports.DuplexWrapper=QJ});var QH0=O((Jj1,JH0)=>{var KJ=r("stream"),nY1=$L(),pY1=Wy(),cY1=az();if(!KJ.Writable||!KJ.Writable.prototype.destroy)KJ=y5();function dY1($,I){var U=KJ.PassThrough({objectMode:!0}),Y=KJ.PassThrough(),J=KJ.Transform({objectMode:!0}),Q=$ instanceof RegExp?$:$&&new RegExp($),K;J._transform=function(G,H,W){if(K||Q&&!Q.exec(G.path))return G.autodrain(),W();else K=!0,q.emit("entry",G),G.on("error",function(V){Y.emit("error",V)}),G.pipe(Y).on("error",function(V){W(V)}).on("finish",function(V){W(null,V)})},U.pipe(nY1(I)).on("error",function(G){Y.emit("error",G)}).pipe(J).on("error",Object).on("finish",function(){if(!K)Y.emit("error",Error("PATTERN_NOT_FOUND"));else Y.end()});var q=pY1(U,Y);return q.buffer=function(){return cY1(Y)},q}JH0.exports=dY1});var HL=O((Qj1,qH0)=>{qH0.exports=K7;var Vy=r("stream").Stream,mY1=p0();function K7(){Vy.call(this)}mY1(K7,Vy);K7.prototype.on=function($,I){if($==="ready"&&this.ready)process.nextTick(I.bind(this));else Vy.prototype.on.call(this,$,I);return this};K7.prototype.abort=function(){this._aborted=!0,this.emit("abort")};K7.prototype.destroy=function(){};K7.prototype.warn=function($,I){var U=this,Y=KH0($,I,U);if(!U.listeners("warn"))console.error(`%s %s path = %s syscall = %s fstream_type = %s @@ -225,49 +225,49 @@ fstream_class = %s fstream_stack = %s `,I||"UNKNOWN",Y.stack,Y.path,Y.syscall,Y.fstream_type,Y.fstream_path,Y.fstream_unc_path,Y.fstream_class,Y.fstream_stack.join(` -`));else U.emit("warn",Y)};J7.prototype.info=function($,I){this.emit("info",$,I)};J7.prototype.error=function($,I,U){var Y=TG0($,I,this);if(U)throw Y;else this.emit("error",Y)};function TG0($,I,U){if(!($ instanceof Error))$=Error($);if($.code=$.code||I,$.path=$.path||U.path,$.fstream_type=$.fstream_type||U.type,$.fstream_path=$.fstream_path||U.path,U._path!==U.path)$.fstream_unc_path=$.fstream_unc_path||U._path;if(U.linkpath)$.fstream_linkpath=$.fstream_linkpath||U.linkpath;return $.fstream_class=$.fstream_class||U.constructor.name,$.fstream_stack=$.fstream_stack||Error().stack.split(/\n/).slice(3).map(function(Y){return Y.replace(/^ {4}at /,"")}),$}});var yq=O((IC1,BG0)=>{BG0.exports=IY1;function IY1($){var I=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"],U;if($.type&&I.indexOf($.type)!==-1)return $[$.type]=!0,$.type;for(var Y=0,J=I.length;Y{RG0.exports=hq;var UY1=m6(),YY1=p0(),sg=p3();YY1(hq,sg);function hq($){var I=this;if(!(I instanceof hq))throw Error("LinkReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);sg.call(I,$)}hq.prototype._stat=function($){var I=this;UY1.readlink(I._path,function(U,Y){if(U)return I.error(U);I.linkpath=I.props.linkpath=Y,I.emit("linkpath",Y),sg.prototype._stat.call(I,$)})};hq.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var Iy=O((YC1,jG0)=>{jG0.exports=u8;var CG0=m6(),JY1=p0(),xq=r("path"),$y=p3(),vG0=r("assert").ok;JY1(u8,$y);function u8($){var I=this;if(!(I instanceof u8))throw Error("DirReader must be called as constructor.");if($.type!=="Directory"||!$.Directory)throw Error("Non-directory type "+$.type);if(I.entries=null,I._index=-1,I._paused=!1,I._length=-1,$.sort)this.sort=$.sort;$y.call(this,$)}u8.prototype._getEntries=function(){var $=this;if($._gotEntries)return;$._gotEntries=!0,CG0.readdir($._path,function(I,U){if(I)return $.error(I);if($.entries=U,$.emit("entries",U),$._paused)$.once("resume",Y);else Y();function Y(){if($._length=$.entries.length,typeof $.sort==="function")$.entries=$.entries.sort($.sort.bind($));$._read()}})};u8.prototype._read=function(){var $=this;if(!$.entries)return $._getEntries();if($._paused||$._currentEntry||$._aborted)return;if($._index++,$._index>=$.entries.length){if(!$._ended)$._ended=!0,$.emit("end"),$.emit("close");return}var I=xq.resolve($._path,$.entries[$._index]);vG0(I!==$._path),vG0($.entries[$._index]),$._currentEntry=I,CG0[$.props.follow?"stat":"lstat"](I,function(U,Y){if(U)return $.error(U);var J=$._proxy||$;Y.path=I,Y.basename=xq.basename(I),Y.dirname=xq.dirname(I);var Q=$.getChildProps.call(J,Y);Q.path=I,Q.basename=xq.basename(I),Q.dirname=xq.dirname(I);var K=$y(Q,Y);$._currentEntry=K,K.on("pause",function(H){if(!$._paused&&!K._disowned)$.pause(H)}),K.on("resume",function(H){if($._paused&&!K._disowned)$.resume(H)}),K.on("stat",function(H){if($.emit("_entryStat",K,H),K._aborted)return;if(K._paused)K.once("resume",function(){$.emit("entryStat",K,H)});else $.emit("entryStat",K,H)}),K.on("ready",function H(){if($._paused)return K.pause($),$.once("resume",H);if(K.type==="Socket")$.emit("socket",K);else $.emitEntry(K)});var q=!1;K.on("close",G),K.on("disown",G);function G(){if(q)return;if(q=!0,$.emit("childEnd",K),$.emit("entryEnd",K),$._currentEntry=null,!$._paused)$._read()}K.on("error",function(H){if(K._swallowErrors)$.warn(H),K.emit("end"),K.emit("close");else $.emit("error",H)}),["child","childEnd","warn"].forEach(function(H){K.on(H,$.emit.bind($,H))})})};u8.prototype.disown=function($){if($.emit("beforeDisown"),$._disowned=!0,$.parent=$.root=null,$===this._currentEntry)this._currentEntry=null;$.emit("disown")};u8.prototype.getChildProps=function(){return{depth:this.depth+1,root:this.root||this,parent:this,follow:this.follow,filter:this.filter,sort:this.props.sort,hardlinks:this.props.hardlinks}};u8.prototype.pause=function($){var I=this;if(I._paused)return;if($=$||I,I._paused=!0,I._currentEntry&&I._currentEntry.pause)I._currentEntry.pause($);I.emit("pause",$)};u8.prototype.resume=function($){var I=this;if(!I._paused)return;if($=$||I,I._paused=!1,I.emit("resume",$),I._paused)return;if(I._currentEntry){if(I._currentEntry.resume)I._currentEntry.resume($)}else I._read()};u8.prototype.emitEntry=function($){this.emit("entry",$),this.emit("child",$)}});var Uy=O((JC1,yG0)=>{yG0.exports=c3;var QY1=m6(),KY1=p0(),_G0=p3(),SG0={EOF:!0},gG0={CLOSE:!0};KY1(c3,_G0);function c3($){var I=this;if(!(I instanceof c3))throw Error("FileReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="File"&&$.File))throw Error("Non-file type "+$.type);I._buffer=[],I._bytesEmitted=0,_G0.call(I,$)}c3.prototype._getStream=function(){var $=this,I=$._stream=QY1.createReadStream($._path,$.props);if($.props.blksize)I.bufferSize=$.props.blksize;I.on("open",$.emit.bind($,"open")),I.on("data",function(U){if($._bytesEmitted+=U.length,!U.length)return;else if($._paused||$._buffer.length)$._buffer.push(U),$._read();else $.emit("data",U)}),I.on("end",function(){if($._paused||$._buffer.length)$._buffer.push(SG0),$._read();else $.emit("end");if($._bytesEmitted!==$.props.size)$.error(`Didn't get expected byte count +`));else U.emit("warn",Y)};K7.prototype.info=function($,I){this.emit("info",$,I)};K7.prototype.error=function($,I,U){var Y=KH0($,I,this);if(U)throw Y;else this.emit("error",Y)};function KH0($,I,U){if(!($ instanceof Error))$=Error($);if($.code=$.code||I,$.path=$.path||U.path,$.fstream_type=$.fstream_type||U.type,$.fstream_path=$.fstream_path||U.path,U._path!==U.path)$.fstream_unc_path=$.fstream_unc_path||U._path;if(U.linkpath)$.fstream_linkpath=$.fstream_linkpath||U.linkpath;return $.fstream_class=$.fstream_class||U.constructor.name,$.fstream_stack=$.fstream_stack||Error().stack.split(/\n/).slice(3).map(function(Y){return Y.replace(/^ {4}at /,"")}),$}});var uq=O((Kj1,GH0)=>{GH0.exports=lY1;function lY1($){var I=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"],U;if($.type&&I.indexOf($.type)!==-1)return $[$.type]=!0,$.type;for(var Y=0,J=I.length;Y{HH0.exports=fq;var oY1=m6(),rY1=p0(),wy=d3();rY1(fq,wy);function fq($){var I=this;if(!(I instanceof fq))throw Error("LinkReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);wy.call(I,$)}fq.prototype._stat=function($){var I=this;oY1.readlink(I._path,function(U,Y){if(U)return I.error(U);I.linkpath=I.props.linkpath=Y,I.emit("linkpath",Y),wy.prototype._stat.call(I,$)})};fq.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var zy=O((Gj1,wH0)=>{wH0.exports=u8;var VH0=m6(),tY1=p0(),bq=r("path"),Xy=d3(),WH0=r("assert").ok;tY1(u8,Xy);function u8($){var I=this;if(!(I instanceof u8))throw Error("DirReader must be called as constructor.");if($.type!=="Directory"||!$.Directory)throw Error("Non-directory type "+$.type);if(I.entries=null,I._index=-1,I._paused=!1,I._length=-1,$.sort)this.sort=$.sort;Xy.call(this,$)}u8.prototype._getEntries=function(){var $=this;if($._gotEntries)return;$._gotEntries=!0,VH0.readdir($._path,function(I,U){if(I)return $.error(I);if($.entries=U,$.emit("entries",U),$._paused)$.once("resume",Y);else Y();function Y(){if($._length=$.entries.length,typeof $.sort==="function")$.entries=$.entries.sort($.sort.bind($));$._read()}})};u8.prototype._read=function(){var $=this;if(!$.entries)return $._getEntries();if($._paused||$._currentEntry||$._aborted)return;if($._index++,$._index>=$.entries.length){if(!$._ended)$._ended=!0,$.emit("end"),$.emit("close");return}var I=bq.resolve($._path,$.entries[$._index]);WH0(I!==$._path),WH0($.entries[$._index]),$._currentEntry=I,VH0[$.props.follow?"stat":"lstat"](I,function(U,Y){if(U)return $.error(U);var J=$._proxy||$;Y.path=I,Y.basename=bq.basename(I),Y.dirname=bq.dirname(I);var Q=$.getChildProps.call(J,Y);Q.path=I,Q.basename=bq.basename(I),Q.dirname=bq.dirname(I);var K=Xy(Q,Y);$._currentEntry=K,K.on("pause",function(H){if(!$._paused&&!K._disowned)$.pause(H)}),K.on("resume",function(H){if($._paused&&!K._disowned)$.resume(H)}),K.on("stat",function(H){if($.emit("_entryStat",K,H),K._aborted)return;if(K._paused)K.once("resume",function(){$.emit("entryStat",K,H)});else $.emit("entryStat",K,H)}),K.on("ready",function H(){if($._paused)return K.pause($),$.once("resume",H);if(K.type==="Socket")$.emit("socket",K);else $.emitEntry(K)});var q=!1;K.on("close",G),K.on("disown",G);function G(){if(q)return;if(q=!0,$.emit("childEnd",K),$.emit("entryEnd",K),$._currentEntry=null,!$._paused)$._read()}K.on("error",function(H){if(K._swallowErrors)$.warn(H),K.emit("end"),K.emit("close");else $.emit("error",H)}),["child","childEnd","warn"].forEach(function(H){K.on(H,$.emit.bind($,H))})})};u8.prototype.disown=function($){if($.emit("beforeDisown"),$._disowned=!0,$.parent=$.root=null,$===this._currentEntry)this._currentEntry=null;$.emit("disown")};u8.prototype.getChildProps=function(){return{depth:this.depth+1,root:this.root||this,parent:this,follow:this.follow,filter:this.filter,sort:this.props.sort,hardlinks:this.props.hardlinks}};u8.prototype.pause=function($){var I=this;if(I._paused)return;if($=$||I,I._paused=!0,I._currentEntry&&I._currentEntry.pause)I._currentEntry.pause($);I.emit("pause",$)};u8.prototype.resume=function($){var I=this;if(!I._paused)return;if($=$||I,I._paused=!1,I.emit("resume",$),I._paused)return;if(I._currentEntry){if(I._currentEntry.resume)I._currentEntry.resume($)}else I._read()};u8.prototype.emitEntry=function($){this.emit("entry",$),this.emit("child",$)}});var Ly=O((Hj1,LH0)=>{LH0.exports=m3;var aY1=m6(),sY1=p0(),ZH0=d3(),XH0={EOF:!0},zH0={CLOSE:!0};sY1(m3,ZH0);function m3($){var I=this;if(!(I instanceof m3))throw Error("FileReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="File"&&$.File))throw Error("Non-file type "+$.type);I._buffer=[],I._bytesEmitted=0,ZH0.call(I,$)}m3.prototype._getStream=function(){var $=this,I=$._stream=aY1.createReadStream($._path,$.props);if($.props.blksize)I.bufferSize=$.props.blksize;I.on("open",$.emit.bind($,"open")),I.on("data",function(U){if($._bytesEmitted+=U.length,!U.length)return;else if($._paused||$._buffer.length)$._buffer.push(U),$._read();else $.emit("data",U)}),I.on("end",function(){if($._paused||$._buffer.length)$._buffer.push(XH0),$._read();else $.emit("end");if($._bytesEmitted!==$.props.size)$.error(`Didn't get expected byte count expect: `+$.props.size+` -actual: `+$._bytesEmitted)}),I.on("close",function(){if($._paused||$._buffer.length)$._buffer.push(gG0),$._read();else $.emit("close")}),I.on("error",function(U){$.emit("error",U)}),$._read()};c3.prototype._read=function(){var $=this;if($._paused)return;if(!$._stream)return $._getStream();if($._buffer.length){var I=$._buffer;for(var U=0,Y=I.length;U{xG0.exports=UL;var qY1=p0(),hG0=p3();qY1(UL,hG0);function UL($){var I=this;if(!(I instanceof UL))throw Error("SocketReader must be called as constructor.");if(!($.type==="Socket"&&$.Socket))throw Error("Non-socket type "+$.type);hG0.call(I,$)}UL.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var Jy=O((KC1,uG0)=>{uG0.exports=d3;var Yy=p3(),GY1=yq(),HY1=p0(),WY1=m6();HY1(d3,Yy);function d3($){var I=this;if(!(I instanceof d3))throw Error("ProxyReader must be called as constructor.");I.props=$,I._buffer=[],I.ready=!1,Yy.call(I,$)}d3.prototype._stat=function(){var $=this,I=$.props,U=I.follow?"stat":"lstat";WY1[U](I.path,function(Y,J){var Q;if(Y||!J)Q="File";else Q=GY1(J);I[Q]=!0,I.type=$.type=Q,$._old=J,$._addProxy(Yy(I,J))})};d3.prototype._addProxy=function($){var I=this;if(I._proxyTarget)return I.error("proxy already set");I._proxyTarget=$,$._proxy=I,["error","data","end","close","linkpath","entry","entryEnd","child","childEnd","warn","stat"].forEach(function(Y){$.on(Y,I.emit.bind(I,Y))}),I.emit("proxy",$),$.on("ready",function(){I.ready=!0,I.emit("ready")});var U=I._buffer;I._buffer.length=0,U.forEach(function(Y){$[Y[0]].apply($,Y[1])})};d3.prototype.pause=function(){return this._proxyTarget?this._proxyTarget.pause():!1};d3.prototype.resume=function(){return this._proxyTarget?this._proxyTarget.resume():!1}});var p3=O((qC1,iG0)=>{iG0.exports=J8;var VY1=m6(),ZY1=r("stream").Stream,zY1=p0(),Qy=r("path"),Ky=yq(),YL=J8.hardLinks={},fG0=IL();zY1(J8,fG0);var bG0=eg();function J8($,I){var U=this;if(!(U instanceof J8))return new J8($,I);if(typeof $==="string")$={path:$};var Y,J;if($.type&&typeof $.type==="function")Y=$.type,J=Y;else Y=Ky($),J=J8;if(I&&!Y)Y=Ky(I),$[Y]=!0,$.type=Y;switch(Y){case"Directory":J=Iy();break;case"Link":case"File":J=Uy();break;case"SymbolicLink":J=bG0;break;case"Socket":J=kG0();break;case null:J=Jy();break}if(!(U instanceof J))return new J($);if(fG0.call(U),!$.path)U.error("Must provide a path",null,!0);if(U.readable=!0,U.writable=!1,U.type=Y,U.props=$,U.depth=$.depth=$.depth||0,U.parent=$.parent||null,U.root=$.root||$.parent&&$.parent.root||U,U._path=U.path=Qy.resolve($.path),process.platform==="win32"){if(U.path=U._path=U.path.replace(/\?/g,"_"),U._path.length>=260)U._swallowErrors=!0,U._path="\\\\?\\"+U.path.replace(/\//g,"\\")}if(U.basename=$.basename=Qy.basename(U.path),U.dirname=$.dirname=Qy.dirname(U.path),$.parent=$.root=null,U.size=$.size,U.filter=typeof $.filter==="function"?$.filter:null,$.sort==="alpha")$.sort=XY1;U._stat(I)}function XY1($,I){return $===I?0:$.toLowerCase()>I.toLowerCase()?1:$.toLowerCase()I?1:-1}J8.prototype._stat=function($){var I=this,U=I.props,Y=U.follow?"stat":"lstat";if($)process.nextTick(J.bind(null,null,$));else VY1[Y](I._path,J);function J(Q,K){if(Q)return I.error(Q);if(Object.keys(K).forEach(function(Z){U[Z]=K[Z]}),I.size!==void 0&&U.size!==I.size)return I.error("incorrect size");I.size=U.size;var q=Ky(U),G=U.hardlinks!==!1;if(G&&q!=="Directory"&&U.nlink&&U.nlink>1){var H=U.dev+":"+U.ino;if(YL[H]===I._path||!YL[H])YL[H]=I._path;else q=I.type=I.props.type="Link",I.Link=I.props.Link=!0,I.linkpath=I.props.linkpath=YL[H],I._stat=I._read=bG0.prototype._read}if(I.type&&I.type!==q)I.error("Unexpected type: "+q);if(I.filter){var W=I._proxy||I;if(!I.filter.call(W,W,U)){if(!I._disowned)I.abort(),I.emit("end"),I.emit("close");return}}var V=["_stat","stat","ready"],z=0;(function Z(){if(I._aborted){I.emit("end"),I.emit("close");return}if(I._paused&&I.type!=="Directory"){I.once("resume",Z);return}var w=V[z++];if(!w)return I._read();I.emit(w,U),Z()})()}};J8.prototype.pipe=function($){var I=this;if(typeof $.add==="function")I.on("entry",function(U){var Y=$.add(U);if(Y===!1)I.pause()});return ZY1.prototype.pipe.apply(this,arguments)};J8.prototype.pause=function($){if(this._paused=!0,$=$||this,this.emit("pause",$),this._stream)this._stream.pause($)};J8.prototype.resume=function($){if(this._paused=!1,$=$||this,this.emit("resume",$),this._stream)this._stream.resume($);this._read()};J8.prototype._read=function(){this.error("Cannot read unknown type: "+this.type)}});var Wy=O((GC1,rG0)=>{rG0.exports=Hy;Hy.sync=oG0;var R1=r("assert"),dG0=r("path"),nG0=r("fs"),QJ=void 0;try{QJ=eK()}catch($){}var mG0=parseInt("666",8),wY1={nosort:!0,silent:!0},qy=0,kq=process.platform==="win32";function lG0($){var I=["unlink","chmod","stat","lstat","rmdir","readdir"];if(I.forEach(function(U){$[U]=$[U]||nG0[U],U=U+"Sync",$[U]=$[U]||nG0[U]}),$.maxBusyTries=$.maxBusyTries||3,$.emfileWait=$.emfileWait||1000,$.glob===!1)$.disableGlob=!0;if($.disableGlob!==!0&&QJ===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");$.disableGlob=$.disableGlob||!1,$.glob=$.glob||wY1}function Hy($,I,U){if(typeof I==="function")U=I,I={};R1($,"rimraf: missing path"),R1.equal(typeof $,"string","rimraf: path should be a string"),R1.equal(typeof U,"function","rimraf: callback function required"),R1(I,"rimraf: invalid options argument provided"),R1.equal(typeof I,"object","rimraf: options should be object"),lG0(I);var Y=0,J=null,Q=0;if(I.disableGlob||!QJ.hasMagic($))return q(null,[$]);I.lstat($,function(G,H){if(!G)return q(null,[$]);QJ($,I.glob,q)});function K(G){if(J=J||G,--Q===0)U(J)}function q(G,H){if(G)return U(G);if(Q=H.length,Q===0)return U();H.forEach(function(W){Gy(W,I,function V(z){if(z){if((z.code==="EBUSY"||z.code==="ENOTEMPTY"||z.code==="EPERM")&&Y{Object.defineProperty(tG0,"__esModule",{value:!0});tG0.optsArg=void 0;var KL=r("fs"),OY1=($)=>{if(!$)$={mode:511};else if(typeof $==="object")$={mode:511,...$};else if(typeof $==="number")$={mode:$};else if(typeof $==="string")$={mode:parseInt($,8)};else throw TypeError("invalid options argument");let I=$,U=$.fs||{};return $.mkdir=$.mkdir||U.mkdir||KL.mkdir,$.mkdirAsync=$.mkdirAsync?$.mkdirAsync:async(Y,J)=>{return new Promise((Q,K)=>I.mkdir(Y,J,(q,G)=>q?K(q):Q(G)))},$.stat=$.stat||U.stat||KL.stat,$.statAsync=$.statAsync?$.statAsync:async(Y)=>new Promise((J,Q)=>I.stat(Y,(K,q)=>K?Q(K):J(q))),$.statSync=$.statSync||U.statSync||KL.statSync,$.mkdirSync=$.mkdirSync||U.mkdirSync||KL.mkdirSync,I};tG0.optsArg=OY1});var HL=O(($H0)=>{Object.defineProperty($H0,"__esModule",{value:!0});$H0.mkdirpManual=$H0.mkdirpManualSync=void 0;var sG0=r("path"),eG0=uq(),NY1=($,I,U)=>{let Y=(0,sG0.dirname)($),J={...(0,eG0.optsArg)(I),recursive:!1};if(Y===$)try{return J.mkdirSync($,J)}catch(Q){let K=Q;if(K&&K.code!=="EISDIR")throw Q;return}try{return J.mkdirSync($,J),U||$}catch(Q){let K=Q;if(K&&K.code==="ENOENT")return $H0.mkdirpManualSync($,J,$H0.mkdirpManualSync(Y,J,U));if(K&&K.code!=="EEXIST"&&K&&K.code!=="EROFS")throw Q;try{if(!J.statSync($).isDirectory())throw Q}catch(q){throw Q}}};$H0.mkdirpManualSync=NY1;$H0.mkdirpManual=Object.assign(async($,I,U)=>{let Y=(0,eG0.optsArg)(I);Y.recursive=!1;let J=(0,sG0.dirname)($);if(J===$)return Y.mkdirAsync($,Y).catch((Q)=>{let K=Q;if(K&&K.code!=="EISDIR")throw Q});return Y.mkdirAsync($,Y).then(()=>U||$,async(Q)=>{let K=Q;if(K&&K.code==="ENOENT")return $H0.mkdirpManual(J,Y).then((q)=>$H0.mkdirpManual($,Y,q));if(K&&K.code!=="EEXIST"&&K.code!=="EROFS")throw Q;return Y.statAsync($).then((q)=>{if(q.isDirectory())return U;else throw Q},()=>{throw Q})})},{sync:$H0.mkdirpManualSync})});var JH0=O((UH0)=>{Object.defineProperty(UH0,"__esModule",{value:!0});UH0.findMadeSync=UH0.findMade=void 0;var IH0=r("path"),FY1=async($,I,U)=>{if(U===I)return;return $.statAsync(I).then((Y)=>Y.isDirectory()?U:void 0,(Y)=>{let J=Y;return J&&J.code==="ENOENT"?UH0.findMade($,(0,IH0.dirname)(I),I):void 0})};UH0.findMade=FY1;var MY1=($,I,U)=>{if(U===I)return;try{return $.statSync(I).isDirectory()?U:void 0}catch(Y){let J=Y;return J&&J.code==="ENOENT"?UH0.findMadeSync($,(0,IH0.dirname)(I),I):void 0}};UH0.findMadeSync=MY1});var Zy=O((HH0)=>{Object.defineProperty(HH0,"__esModule",{value:!0});HH0.mkdirpNative=HH0.mkdirpNativeSync=void 0;var QH0=r("path"),KH0=JH0(),qH0=HL(),GH0=uq(),AY1=($,I)=>{let U=(0,GH0.optsArg)(I);if(U.recursive=!0,(0,QH0.dirname)($)===$)return U.mkdirSync($,U);let J=(0,KH0.findMadeSync)(U,$);try{return U.mkdirSync($,U),J}catch(Q){let K=Q;if(K&&K.code==="ENOENT")return(0,qH0.mkdirpManualSync)($,U);else throw Q}};HH0.mkdirpNativeSync=AY1;HH0.mkdirpNative=Object.assign(async($,I)=>{let U={...(0,GH0.optsArg)(I),recursive:!0};if((0,QH0.dirname)($)===$)return await U.mkdirAsync($,U);return(0,KH0.findMade)(U,$).then((J)=>U.mkdirAsync($,U).then((Q)=>J||Q).catch((Q)=>{let K=Q;if(K&&K.code==="ENOENT")return(0,qH0.mkdirpManual)($,U);else throw Q}))},{sync:HH0.mkdirpNativeSync})});var wH0=O((zH0)=>{Object.defineProperty(zH0,"__esModule",{value:!0});zH0.pathArg=void 0;var PY1=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,ZH0=r("path"),TY1=($)=>{if(/\0/.test($))throw Object.assign(TypeError("path must be a string without null bytes"),{path:$,code:"ERR_INVALID_ARG_VALUE"});if($=(0,ZH0.resolve)($),PY1==="win32"){let I=/[*|"<>?:]/,{root:U}=(0,ZH0.parse)($);if(I.test($.substring(U.length)))throw Object.assign(Error("Illegal characters in path."),{path:$,code:"EINVAL"})}return $};zH0.pathArg=TY1});var Xy=O((NH0)=>{Object.defineProperty(NH0,"__esModule",{value:!0});NH0.useNative=NH0.useNativeSync=void 0;var LH0=r("fs"),DH0=uq(),EY1=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,zy=EY1.replace(/^v/,"").split("."),OH0=+zy[0]>10||+zy[0]===10&&+zy[1]>=12;NH0.useNativeSync=!OH0?()=>!1:($)=>(0,DH0.optsArg)($).mkdirSync===LH0.mkdirSync;NH0.useNative=Object.assign(!OH0?()=>!1:($)=>(0,DH0.optsArg)($).mkdir===LH0.mkdir,{sync:NH0.useNativeSync})});var wy=O((q7)=>{Object.defineProperty(q7,"__esModule",{value:!0});q7.mkdirp=q7.nativeSync=q7.native=q7.manualSync=q7.manual=q7.sync=q7.mkdirpSync=q7.useNativeSync=q7.useNative=q7.mkdirpNativeSync=q7.mkdirpNative=q7.mkdirpManualSync=q7.mkdirpManual=void 0;var Q7=HL(),K7=Zy(),AH0=uq(),PH0=wH0(),WL=Xy(),TH0=HL();Object.defineProperty(q7,"mkdirpManual",{enumerable:!0,get:function(){return TH0.mkdirpManual}});Object.defineProperty(q7,"mkdirpManualSync",{enumerable:!0,get:function(){return TH0.mkdirpManualSync}});var EH0=Zy();Object.defineProperty(q7,"mkdirpNative",{enumerable:!0,get:function(){return EH0.mkdirpNative}});Object.defineProperty(q7,"mkdirpNativeSync",{enumerable:!0,get:function(){return EH0.mkdirpNativeSync}});var BH0=Xy();Object.defineProperty(q7,"useNative",{enumerable:!0,get:function(){return BH0.useNative}});Object.defineProperty(q7,"useNativeSync",{enumerable:!0,get:function(){return BH0.useNativeSync}});var BY1=($,I)=>{$=(0,PH0.pathArg)($);let U=(0,AH0.optsArg)(I);return(0,WL.useNativeSync)(U)?(0,K7.mkdirpNativeSync)($,U):(0,Q7.mkdirpManualSync)($,U)};q7.mkdirpSync=BY1;q7.sync=q7.mkdirpSync;q7.manual=Q7.mkdirpManual;q7.manualSync=Q7.mkdirpManualSync;q7.native=K7.mkdirpNative;q7.nativeSync=K7.mkdirpNativeSync;q7.mkdirp=Object.assign(async($,I)=>{$=(0,PH0.pathArg)($);let U=(0,AH0.optsArg)(I);return(0,WL.useNative)(U)?(0,K7.mkdirpNative)($,U):(0,Q7.mkdirpManual)($,U)},{mkdirpSync:q7.mkdirpSync,mkdirpNative:K7.mkdirpNative,mkdirpNativeSync:K7.mkdirpNativeSync,mkdirpManual:Q7.mkdirpManual,mkdirpManualSync:Q7.mkdirpManualSync,sync:q7.mkdirpSync,native:K7.mkdirpNative,nativeSync:K7.mkdirpNativeSync,manual:Q7.mkdirpManual,manualSync:Q7.mkdirpManualSync,useNative:WL.useNative,useNativeSync:WL.useNativeSync})});var ZL=O((AC1,vH0)=>{vH0.exports=Ly;function Ly($){if($._collected)return;if($._paused)return $.on("resume",Ly.bind(null,$));$._collected=!0,$.pause(),$.on("data",U),$.on("end",U);var I=[];function U(K){if(typeof K==="string")K=new Buffer(K);if(Buffer.isBuffer(K)&&!K.length)return;I.push(K)}$.on("entry",J);var Y=[];function J(K){Ly(K),Y.push(K)}$.on("proxy",Q);function Q(K){K.pause()}$.pipe=function(K){return function(q){var G=0;(function W(){var V=Y[G++];if(!V)return H();if(V.on("end",W),q)q.add(V);else $.emit("entry",V)})();function H(){if($.removeListener("entry",J),$.removeListener("data",U),$.removeListener("end",U),$.pipe=K,q)$.pipe(q);I.forEach(function(W){if(W)$.emit("data",W);else $.emit("end")}),$.resume()}return q}}($.pipe)}});var Dy=O((PC1,jH0)=>{jH0.exports=G7;var zL=KJ(),SY1=p0(),gY1=wy(),CH0=r("path"),yY1=ZL();SY1(G7,zL);function G7($){var I=this;if(!(I instanceof G7))I.error("DirWriter must be called as constructor.",null,!0);if($.type!=="Directory"||!$.Directory)I.error("Non-directory type "+$.type+" "+JSON.stringify($),null,!0);zL.call(this,$)}G7.prototype._create=function(){var $=this;gY1($._path,zL.dirmode,function(I){if(I)return $.error(I);$.ready=!0,$.emit("ready"),$._process()})};G7.prototype.write=function(){return!0};G7.prototype.end=function(){this._ended=!0,this._process()};G7.prototype.add=function($){var I=this;if(yY1($),!I.ready||I._currentEntry)return I._buffer.push($),!1;if(I._ended)return I.error("add after end");return I._buffer.push($),I._process(),this._buffer.length===0};G7.prototype._process=function(){var $=this;if($._processing)return;var I=$._buffer.shift();if(!I){if($.emit("drain"),$._ended)$._finish();return}$._processing=!0,$.emit("entry",I);var U=I,Y;do{if(Y=U._path||U.path,Y===$.root._path||Y===$._path||Y&&Y.indexOf($._path)===0){if($._processing=!1,I._collected)I.pipe();return $._process()}U=U.parent}while(U);var J={parent:$,root:$.root||$,type:I.type,depth:$.depth+1};if(Y=I._path||I.path||I.props.path,I.parent)Y=Y.substr(I.parent._path.length+1);J.path=CH0.join($.path,CH0.join("/",Y)),J.filter=$.filter,Object.keys(I.props).forEach(function(G){if(!J.hasOwnProperty(G))J[G]=I.props[G]});var Q=$._currentChild=new zL(J);Q.on("ready",function(){I.pipe(Q),I.resume()}),Q.on("error",function(G){if(Q._swallowErrors)$.warn(G),Q.emit("end"),Q.emit("close");else $.emit("error",G)}),Q.on("close",q);var K=!1;function q(){if(K)return;K=!0,$._currentChild=null,$._processing=!1,$._process()}}});var Oy=O((TC1,hH0)=>{hH0.exports=fq;var SH0=m6(),gH0=KJ(),hY1=p0(),xY1=r("path"),kY1=Wy();hY1(fq,gH0);function fq($){var I=this;if(!(I instanceof fq))throw Error("LinkWriter must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);if($.linkpath==="")$.linkpath=".";if(!$.linkpath)I.error("Need linkpath property to create "+$.type);gH0.call(this,$)}fq.prototype._create=function(){var $=this,I=$.type==="Link"||process.platform==="win32",U=I?"link":"symlink",Y=I?xY1.resolve($.dirname,$.linkpath):$.linkpath;if(I)return _H0($,Y,U);SH0.readlink($._path,function(J,Q){if(Q&&Q===Y)return yH0($);_H0($,Y,U)})};function _H0($,I,U){kY1($._path,function(Y){if(Y)return $.error(Y);uY1($,I,U)})}function uY1($,I,U){SH0[U](I,$._path,function(Y){if(Y)if((Y.code==="ENOENT"||Y.code==="EACCES"||Y.code==="EPERM")&&process.platform==="win32")$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};else return $.error(Y);yH0($)})}function yH0($){if($.ready=!0,$.emit("ready"),$._ended&&!$._finished)$._finish()}fq.prototype.end=function(){if(this._ended=!0,this.ready)this._finished=!0,this._finish()}});var Ny=O((EC1,kH0)=>{kH0.exports=m3;var fY1=m6(),XL=KJ(),bY1=p0(),xH0={};bY1(m3,XL);function m3($){var I=this;if(!(I instanceof m3))throw Error("FileWriter must be called as constructor.");if($.type!=="File"||!$.File)throw Error("Non-file type "+$.type);I._buffer=[],I._bytesWritten=0,XL.call(this,$)}m3.prototype._create=function(){var $=this;if($._stream)return;var I={};if($.props.flags)I.flags=$.props.flags;if(I.mode=XL.filemode,$._old&&$._old.blksize)I.bufferSize=$._old.blksize;$._stream=fY1.createWriteStream($._path,I),$._stream.on("open",function(){$.ready=!0,$._buffer.forEach(function(U){if(U===xH0)$._stream.end();else $._stream.write(U)}),$.emit("ready"),$.emit("drain")}),$._stream.on("error",function(U){$.emit("error",U)}),$._stream.on("drain",function(){$.emit("drain")}),$._stream.on("close",function(){$._finish()})};m3.prototype.write=function($){var I=this;if(I._bytesWritten+=$.length,!I.ready){if(!Buffer.isBuffer($)&&typeof $!=="string")throw Error("invalid write data");return I._buffer.push($),!1}var U=I._stream.write($);if(U===!1&&I._stream._queue)return I._stream._queue.length<=2;else return U};m3.prototype.end=function($){var I=this;if($)I.write($);if(!I.ready)return I._buffer.push(xH0),!1;return I._stream.end()};m3.prototype._finish=function(){var $=this;if(typeof $.size==="number"&&$._bytesWritten!==$.size)$.error(`Did not get expected byte count. +actual: `+$._bytesEmitted)}),I.on("close",function(){if($._paused||$._buffer.length)$._buffer.push(zH0),$._read();else $.emit("close")}),I.on("error",function(U){$.emit("error",U)}),$._read()};m3.prototype._read=function(){var $=this;if($._paused)return;if(!$._stream)return $._getStream();if($._buffer.length){var I=$._buffer;for(var U=0,Y=I.length;U{OH0.exports=WL;var eY1=p0(),DH0=d3();eY1(WL,DH0);function WL($){var I=this;if(!(I instanceof WL))throw Error("SocketReader must be called as constructor.");if(!($.type==="Socket"&&$.Socket))throw Error("Non-socket type "+$.type);DH0.call(I,$)}WL.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var Oy=O((Vj1,NH0)=>{NH0.exports=l3;var Dy=d3(),$J1=uq(),IJ1=p0(),UJ1=m6();IJ1(l3,Dy);function l3($){var I=this;if(!(I instanceof l3))throw Error("ProxyReader must be called as constructor.");I.props=$,I._buffer=[],I.ready=!1,Dy.call(I,$)}l3.prototype._stat=function(){var $=this,I=$.props,U=I.follow?"stat":"lstat";UJ1[U](I.path,function(Y,J){var Q;if(Y||!J)Q="File";else Q=$J1(J);I[Q]=!0,I.type=$.type=Q,$._old=J,$._addProxy(Dy(I,J))})};l3.prototype._addProxy=function($){var I=this;if(I._proxyTarget)return I.error("proxy already set");I._proxyTarget=$,$._proxy=I,["error","data","end","close","linkpath","entry","entryEnd","child","childEnd","warn","stat"].forEach(function(Y){$.on(Y,I.emit.bind(I,Y))}),I.emit("proxy",$),$.on("ready",function(){I.ready=!0,I.emit("ready")});var U=I._buffer;I._buffer.length=0,U.forEach(function(Y){$[Y[0]].apply($,Y[1])})};l3.prototype.pause=function(){return this._proxyTarget?this._proxyTarget.pause():!1};l3.prototype.resume=function(){return this._proxyTarget?this._proxyTarget.resume():!1}});var d3=O((wj1,PH0)=>{PH0.exports=Q8;var YJ1=m6(),JJ1=r("stream").Stream,QJ1=p0(),Fy=r("path"),Ny=uq(),VL=Q8.hardLinks={},MH0=HL();QJ1(Q8,MH0);var AH0=Zy();function Q8($,I){var U=this;if(!(U instanceof Q8))return new Q8($,I);if(typeof $==="string")$={path:$};var Y,J;if($.type&&typeof $.type==="function")Y=$.type,J=Y;else Y=Ny($),J=Q8;if(I&&!Y)Y=Ny(I),$[Y]=!0,$.type=Y;switch(Y){case"Directory":J=zy();break;case"Link":case"File":J=Ly();break;case"SymbolicLink":J=AH0;break;case"Socket":J=FH0();break;case null:J=Oy();break}if(!(U instanceof J))return new J($);if(MH0.call(U),!$.path)U.error("Must provide a path",null,!0);if(U.readable=!0,U.writable=!1,U.type=Y,U.props=$,U.depth=$.depth=$.depth||0,U.parent=$.parent||null,U.root=$.root||$.parent&&$.parent.root||U,U._path=U.path=Fy.resolve($.path),process.platform==="win32"){if(U.path=U._path=U.path.replace(/\?/g,"_"),U._path.length>=260)U._swallowErrors=!0,U._path="\\\\?\\"+U.path.replace(/\//g,"\\")}if(U.basename=$.basename=Fy.basename(U.path),U.dirname=$.dirname=Fy.dirname(U.path),$.parent=$.root=null,U.size=$.size,U.filter=typeof $.filter==="function"?$.filter:null,$.sort==="alpha")$.sort=KJ1;U._stat(I)}function KJ1($,I){return $===I?0:$.toLowerCase()>I.toLowerCase()?1:$.toLowerCase()I?1:-1}Q8.prototype._stat=function($){var I=this,U=I.props,Y=U.follow?"stat":"lstat";if($)process.nextTick(J.bind(null,null,$));else YJ1[Y](I._path,J);function J(Q,K){if(Q)return I.error(Q);if(Object.keys(K).forEach(function(Z){U[Z]=K[Z]}),I.size!==void 0&&U.size!==I.size)return I.error("incorrect size");I.size=U.size;var q=Ny(U),G=U.hardlinks!==!1;if(G&&q!=="Directory"&&U.nlink&&U.nlink>1){var H=U.dev+":"+U.ino;if(VL[H]===I._path||!VL[H])VL[H]=I._path;else q=I.type=I.props.type="Link",I.Link=I.props.Link=!0,I.linkpath=I.props.linkpath=VL[H],I._stat=I._read=AH0.prototype._read}if(I.type&&I.type!==q)I.error("Unexpected type: "+q);if(I.filter){var W=I._proxy||I;if(!I.filter.call(W,W,U)){if(!I._disowned)I.abort(),I.emit("end"),I.emit("close");return}}var V=["_stat","stat","ready"],w=0;(function Z(){if(I._aborted){I.emit("end"),I.emit("close");return}if(I._paused&&I.type!=="Directory"){I.once("resume",Z);return}var z=V[w++];if(!z)return I._read();I.emit(z,U),Z()})()}};Q8.prototype.pipe=function($){var I=this;if(typeof $.add==="function")I.on("entry",function(U){var Y=$.add(U);if(Y===!1)I.pause()});return JJ1.prototype.pipe.apply(this,arguments)};Q8.prototype.pause=function($){if(this._paused=!0,$=$||this,this.emit("pause",$),this._stream)this._stream.pause($)};Q8.prototype.resume=function($){if(this._paused=!1,$=$||this,this.emit("resume",$),this._stream)this._stream.resume($);this._read()};Q8.prototype._read=function(){this.error("Cannot read unknown type: "+this.type)}});var Ty=O((Zj1,_H0)=>{_H0.exports=Py;Py.sync=jH0;var v1=r("assert"),vH0=r("path"),TH0=r("fs"),qJ=void 0;try{qJ=Yq()}catch($){}var RH0=parseInt("666",8),qJ1={nosort:!0,silent:!0},My=0,iq=process.platform==="win32";function CH0($){var I=["unlink","chmod","stat","lstat","rmdir","readdir"];if(I.forEach(function(U){$[U]=$[U]||TH0[U],U=U+"Sync",$[U]=$[U]||TH0[U]}),$.maxBusyTries=$.maxBusyTries||3,$.emfileWait=$.emfileWait||1000,$.glob===!1)$.disableGlob=!0;if($.disableGlob!==!0&&qJ===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");$.disableGlob=$.disableGlob||!1,$.glob=$.glob||qJ1}function Py($,I,U){if(typeof I==="function")U=I,I={};v1($,"rimraf: missing path"),v1.equal(typeof $,"string","rimraf: path should be a string"),v1.equal(typeof U,"function","rimraf: callback function required"),v1(I,"rimraf: invalid options argument provided"),v1.equal(typeof I,"object","rimraf: options should be object"),CH0(I);var Y=0,J=null,Q=0;if(I.disableGlob||!qJ.hasMagic($))return q(null,[$]);I.lstat($,function(G,H){if(!G)return q(null,[$]);qJ($,I.glob,q)});function K(G){if(J=J||G,--Q===0)U(J)}function q(G,H){if(G)return U(G);if(Q=H.length,Q===0)return U();H.forEach(function(W){Ay(W,I,function V(w){if(w){if((w.code==="EBUSY"||w.code==="ENOTEMPTY"||w.code==="EPERM")&&Y{Object.defineProperty(SH0,"__esModule",{value:!0});SH0.optsArg=void 0;var XL=r("fs"),WJ1=($)=>{if(!$)$={mode:511};else if(typeof $==="object")$={mode:511,...$};else if(typeof $==="number")$={mode:$};else if(typeof $==="string")$={mode:parseInt($,8)};else throw TypeError("invalid options argument");let I=$,U=$.fs||{};return $.mkdir=$.mkdir||U.mkdir||XL.mkdir,$.mkdirAsync=$.mkdirAsync?$.mkdirAsync:async(Y,J)=>{return new Promise((Q,K)=>I.mkdir(Y,J,(q,G)=>q?K(q):Q(G)))},$.stat=$.stat||U.stat||XL.stat,$.statAsync=$.statAsync?$.statAsync:async(Y)=>new Promise((J,Q)=>I.stat(Y,(K,q)=>K?Q(K):J(q))),$.statSync=$.statSync||U.statSync||XL.statSync,$.mkdirSync=$.mkdirSync||U.mkdirSync||XL.mkdirSync,I};SH0.optsArg=WJ1});var DL=O((xH0)=>{Object.defineProperty(xH0,"__esModule",{value:!0});xH0.mkdirpManual=xH0.mkdirpManualSync=void 0;var yH0=r("path"),hH0=nq(),VJ1=($,I,U)=>{let Y=(0,yH0.dirname)($),J={...(0,hH0.optsArg)(I),recursive:!1};if(Y===$)try{return J.mkdirSync($,J)}catch(Q){let K=Q;if(K&&K.code!=="EISDIR")throw Q;return}try{return J.mkdirSync($,J),U||$}catch(Q){let K=Q;if(K&&K.code==="ENOENT")return xH0.mkdirpManualSync($,J,xH0.mkdirpManualSync(Y,J,U));if(K&&K.code!=="EEXIST"&&K&&K.code!=="EROFS")throw Q;try{if(!J.statSync($).isDirectory())throw Q}catch(q){throw Q}}};xH0.mkdirpManualSync=VJ1;xH0.mkdirpManual=Object.assign(async($,I,U)=>{let Y=(0,hH0.optsArg)(I);Y.recursive=!1;let J=(0,yH0.dirname)($);if(J===$)return Y.mkdirAsync($,Y).catch((Q)=>{let K=Q;if(K&&K.code!=="EISDIR")throw Q});return Y.mkdirAsync($,Y).then(()=>U||$,async(Q)=>{let K=Q;if(K&&K.code==="ENOENT")return xH0.mkdirpManual(J,Y).then((q)=>xH0.mkdirpManual($,Y,q));if(K&&K.code!=="EEXIST"&&K.code!=="EROFS")throw Q;return Y.statAsync($).then((q)=>{if(q.isDirectory())return U;else throw Q},()=>{throw Q})})},{sync:xH0.mkdirpManualSync})});var bH0=O((uH0)=>{Object.defineProperty(uH0,"__esModule",{value:!0});uH0.findMadeSync=uH0.findMade=void 0;var kH0=r("path"),wJ1=async($,I,U)=>{if(U===I)return;return $.statAsync(I).then((Y)=>Y.isDirectory()?U:void 0,(Y)=>{let J=Y;return J&&J.code==="ENOENT"?uH0.findMade($,(0,kH0.dirname)(I),I):void 0})};uH0.findMade=wJ1;var ZJ1=($,I,U)=>{if(U===I)return;try{return $.statSync(I).isDirectory()?U:void 0}catch(Y){let J=Y;return J&&J.code==="ENOENT"?uH0.findMadeSync($,(0,kH0.dirname)(I),I):void 0}};uH0.findMadeSync=ZJ1});var By=O((dH0)=>{Object.defineProperty(dH0,"__esModule",{value:!0});dH0.mkdirpNative=dH0.mkdirpNativeSync=void 0;var iH0=r("path"),nH0=bH0(),pH0=DL(),cH0=nq(),XJ1=($,I)=>{let U=(0,cH0.optsArg)(I);if(U.recursive=!0,(0,iH0.dirname)($)===$)return U.mkdirSync($,U);let J=(0,nH0.findMadeSync)(U,$);try{return U.mkdirSync($,U),J}catch(Q){let K=Q;if(K&&K.code==="ENOENT")return(0,pH0.mkdirpManualSync)($,U);else throw Q}};dH0.mkdirpNativeSync=XJ1;dH0.mkdirpNative=Object.assign(async($,I)=>{let U={...(0,cH0.optsArg)(I),recursive:!0};if((0,iH0.dirname)($)===$)return await U.mkdirAsync($,U);return(0,nH0.findMade)(U,$).then((J)=>U.mkdirAsync($,U).then((Q)=>J||Q).catch((Q)=>{let K=Q;if(K&&K.code==="ENOENT")return(0,pH0.mkdirpManual)($,U);else throw Q}))},{sync:dH0.mkdirpNativeSync})});var aH0=O((rH0)=>{Object.defineProperty(rH0,"__esModule",{value:!0});rH0.pathArg=void 0;var zJ1=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,oH0=r("path"),LJ1=($)=>{if(/\0/.test($))throw Object.assign(TypeError("path must be a string without null bytes"),{path:$,code:"ERR_INVALID_ARG_VALUE"});if($=(0,oH0.resolve)($),zJ1==="win32"){let I=/[*|"<>?:]/,{root:U}=(0,oH0.parse)($);if(I.test($.substring(U.length)))throw Object.assign(Error("Illegal characters in path."),{path:$,code:"EINVAL"})}return $};rH0.pathArg=LJ1});var Ry=O((IW0)=>{Object.defineProperty(IW0,"__esModule",{value:!0});IW0.useNative=IW0.useNativeSync=void 0;var sH0=r("fs"),eH0=nq(),DJ1=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,vy=DJ1.replace(/^v/,"").split("."),$W0=+vy[0]>10||+vy[0]===10&&+vy[1]>=12;IW0.useNativeSync=!$W0?()=>!1:($)=>(0,eH0.optsArg)($).mkdirSync===sH0.mkdirSync;IW0.useNative=Object.assign(!$W0?()=>!1:($)=>(0,eH0.optsArg)($).mkdir===sH0.mkdir,{sync:IW0.useNativeSync})});var Cy=O((H7)=>{Object.defineProperty(H7,"__esModule",{value:!0});H7.mkdirp=H7.nativeSync=H7.native=H7.manualSync=H7.manual=H7.sync=H7.mkdirpSync=H7.useNativeSync=H7.useNative=H7.mkdirpNativeSync=H7.mkdirpNative=H7.mkdirpManualSync=H7.mkdirpManual=void 0;var q7=DL(),G7=By(),JW0=nq(),QW0=aH0(),OL=Ry(),KW0=DL();Object.defineProperty(H7,"mkdirpManual",{enumerable:!0,get:function(){return KW0.mkdirpManual}});Object.defineProperty(H7,"mkdirpManualSync",{enumerable:!0,get:function(){return KW0.mkdirpManualSync}});var qW0=By();Object.defineProperty(H7,"mkdirpNative",{enumerable:!0,get:function(){return qW0.mkdirpNative}});Object.defineProperty(H7,"mkdirpNativeSync",{enumerable:!0,get:function(){return qW0.mkdirpNativeSync}});var GW0=Ry();Object.defineProperty(H7,"useNative",{enumerable:!0,get:function(){return GW0.useNative}});Object.defineProperty(H7,"useNativeSync",{enumerable:!0,get:function(){return GW0.useNativeSync}});var OJ1=($,I)=>{$=(0,QW0.pathArg)($);let U=(0,JW0.optsArg)(I);return(0,OL.useNativeSync)(U)?(0,G7.mkdirpNativeSync)($,U):(0,q7.mkdirpManualSync)($,U)};H7.mkdirpSync=OJ1;H7.sync=H7.mkdirpSync;H7.manual=q7.mkdirpManual;H7.manualSync=q7.mkdirpManualSync;H7.native=G7.mkdirpNative;H7.nativeSync=G7.mkdirpNativeSync;H7.mkdirp=Object.assign(async($,I)=>{$=(0,QW0.pathArg)($);let U=(0,JW0.optsArg)(I);return(0,OL.useNative)(U)?(0,G7.mkdirpNative)($,U):(0,q7.mkdirpManual)($,U)},{mkdirpSync:H7.mkdirpSync,mkdirpNative:G7.mkdirpNative,mkdirpNativeSync:G7.mkdirpNativeSync,mkdirpManual:q7.mkdirpManual,mkdirpManualSync:q7.mkdirpManualSync,sync:H7.mkdirpSync,native:G7.mkdirpNative,nativeSync:G7.mkdirpNativeSync,manual:q7.mkdirpManual,manualSync:q7.mkdirpManualSync,useNative:OL.useNative,useNativeSync:OL.useNativeSync})});var NL=O((vj1,WW0)=>{WW0.exports=jy;function jy($){if($._collected)return;if($._paused)return $.on("resume",jy.bind(null,$));$._collected=!0,$.pause(),$.on("data",U),$.on("end",U);var I=[];function U(K){if(typeof K==="string")K=new Buffer(K);if(Buffer.isBuffer(K)&&!K.length)return;I.push(K)}$.on("entry",J);var Y=[];function J(K){jy(K),Y.push(K)}$.on("proxy",Q);function Q(K){K.pause()}$.pipe=function(K){return function(q){var G=0;(function W(){var V=Y[G++];if(!V)return H();if(V.on("end",W),q)q.add(V);else $.emit("entry",V)})();function H(){if($.removeListener("entry",J),$.removeListener("data",U),$.removeListener("end",U),$.pipe=K,q)$.pipe(q);I.forEach(function(W){if(W)$.emit("data",W);else $.emit("end")}),$.resume()}return q}}($.pipe)}});var _y=O((Rj1,wW0)=>{wW0.exports=W7;var ML=GJ(),TJ1=p0(),EJ1=Cy(),VW0=r("path"),BJ1=NL();TJ1(W7,ML);function W7($){var I=this;if(!(I instanceof W7))I.error("DirWriter must be called as constructor.",null,!0);if($.type!=="Directory"||!$.Directory)I.error("Non-directory type "+$.type+" "+JSON.stringify($),null,!0);ML.call(this,$)}W7.prototype._create=function(){var $=this;EJ1($._path,ML.dirmode,function(I){if(I)return $.error(I);$.ready=!0,$.emit("ready"),$._process()})};W7.prototype.write=function(){return!0};W7.prototype.end=function(){this._ended=!0,this._process()};W7.prototype.add=function($){var I=this;if(BJ1($),!I.ready||I._currentEntry)return I._buffer.push($),!1;if(I._ended)return I.error("add after end");return I._buffer.push($),I._process(),this._buffer.length===0};W7.prototype._process=function(){var $=this;if($._processing)return;var I=$._buffer.shift();if(!I){if($.emit("drain"),$._ended)$._finish();return}$._processing=!0,$.emit("entry",I);var U=I,Y;do{if(Y=U._path||U.path,Y===$.root._path||Y===$._path||Y&&Y.indexOf($._path)===0){if($._processing=!1,I._collected)I.pipe();return $._process()}U=U.parent}while(U);var J={parent:$,root:$.root||$,type:I.type,depth:$.depth+1};if(Y=I._path||I.path||I.props.path,I.parent)Y=Y.substr(I.parent._path.length+1);J.path=VW0.join($.path,VW0.join("/",Y)),J.filter=$.filter,Object.keys(I.props).forEach(function(G){if(!J.hasOwnProperty(G))J[G]=I.props[G]});var Q=$._currentChild=new ML(J);Q.on("ready",function(){I.pipe(Q),I.resume()}),Q.on("error",function(G){if(Q._swallowErrors)$.warn(G),Q.emit("end"),Q.emit("close");else $.emit("error",G)}),Q.on("close",q);var K=!1;function q(){if(K)return;K=!0,$._currentChild=null,$._processing=!1,$._process()}}});var Sy=O((Cj1,DW0)=>{DW0.exports=pq;var XW0=m6(),zW0=GJ(),vJ1=p0(),RJ1=r("path"),CJ1=Ty();vJ1(pq,zW0);function pq($){var I=this;if(!(I instanceof pq))throw Error("LinkWriter must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);if($.linkpath==="")$.linkpath=".";if(!$.linkpath)I.error("Need linkpath property to create "+$.type);zW0.call(this,$)}pq.prototype._create=function(){var $=this,I=$.type==="Link"||process.platform==="win32",U=I?"link":"symlink",Y=I?RJ1.resolve($.dirname,$.linkpath):$.linkpath;if(I)return ZW0($,Y,U);XW0.readlink($._path,function(J,Q){if(Q&&Q===Y)return LW0($);ZW0($,Y,U)})};function ZW0($,I,U){CJ1($._path,function(Y){if(Y)return $.error(Y);jJ1($,I,U)})}function jJ1($,I,U){XW0[U](I,$._path,function(Y){if(Y)if((Y.code==="ENOENT"||Y.code==="EACCES"||Y.code==="EPERM")&&process.platform==="win32")$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};else return $.error(Y);LW0($)})}function LW0($){if($.ready=!0,$.emit("ready"),$._ended&&!$._finished)$._finish()}pq.prototype.end=function(){if(this._ended=!0,this.ready)this._finished=!0,this._finish()}});var gy=O((jj1,FW0)=>{FW0.exports=o3;var _J1=m6(),AL=GJ(),SJ1=p0(),OW0={};SJ1(o3,AL);function o3($){var I=this;if(!(I instanceof o3))throw Error("FileWriter must be called as constructor.");if($.type!=="File"||!$.File)throw Error("Non-file type "+$.type);I._buffer=[],I._bytesWritten=0,AL.call(this,$)}o3.prototype._create=function(){var $=this;if($._stream)return;var I={};if($.props.flags)I.flags=$.props.flags;if(I.mode=AL.filemode,$._old&&$._old.blksize)I.bufferSize=$._old.blksize;$._stream=_J1.createWriteStream($._path,I),$._stream.on("open",function(){$.ready=!0,$._buffer.forEach(function(U){if(U===OW0)$._stream.end();else $._stream.write(U)}),$.emit("ready"),$.emit("drain")}),$._stream.on("error",function(U){$.emit("error",U)}),$._stream.on("drain",function(){$.emit("drain")}),$._stream.on("close",function(){$._finish()})};o3.prototype.write=function($){var I=this;if(I._bytesWritten+=$.length,!I.ready){if(!Buffer.isBuffer($)&&typeof $!=="string")throw Error("invalid write data");return I._buffer.push($),!1}var U=I._stream.write($);if(U===!1&&I._stream._queue)return I._stream._queue.length<=2;else return U};o3.prototype.end=function($){var I=this;if($)I.write($);if(!I.ready)return I._buffer.push(OW0),!1;return I._stream.end()};o3.prototype._finish=function(){var $=this;if(typeof $.size==="number"&&$._bytesWritten!==$.size)$.error(`Did not get expected byte count. expect: `+$.size+` -actual: `+$._bytesWritten);XL.prototype._finish.call($)}});var My=O((BC1,uH0)=>{uH0.exports=H7;var Fy=KJ(),iY1=yq(),nY1=p0(),pY1=ZL(),cY1=r("fs");nY1(H7,Fy);function H7($){var I=this;if(!(I instanceof H7))throw Error("ProxyWriter must be called as constructor.");I.props=$,I._needDrain=!1,Fy.call(I,$)}H7.prototype._stat=function(){var $=this,I=$.props,U=I.follow?"stat":"lstat";cY1[U](I.path,function(Y,J){var Q;if(Y||!J)Q="File";else Q=iY1(J);I[Q]=!0,I.type=$.type=Q,$._old=J,$._addProxy(Fy(I,J))})};H7.prototype._addProxy=function($){var I=this;if(I._proxy)return I.error("proxy already set");I._proxy=$,["ready","error","close","pipe","drain","warn"].forEach(function(Y){$.on(Y,I.emit.bind(I,Y))}),I.emit("proxy",$);var U=I._buffer;if(U.forEach(function(Y){$[Y[0]].apply($,Y[1])}),I._buffer.length=0,I._needsDrain)I.emit("drain")};H7.prototype.add=function($){if(pY1($),!this._proxy)return this._buffer.push(["add",[$]]),this._needDrain=!0,!1;return this._proxy.add($)};H7.prototype.write=function($){if(!this._proxy)return this._buffer.push(["write",[$]]),this._needDrain=!0,!1;return this._proxy.write($)};H7.prototype.end=function($){if(!this._proxy)return this._buffer.push(["end",[$]]),!1;return this._proxy.end($)}});var KJ=O((RC1,lH0)=>{lH0.exports=_$;var j$=m6(),dY1=p0(),mY1=Wy(),lY1=wy(),bq=r("path"),bH0=process.platform==="win32"?0:process.umask(),iH0=yq(),nH0=IL();dY1(_$,nH0);_$.dirmode=parseInt("0777",8)&~bH0;_$.filemode=parseInt("0666",8)&~bH0;var oY1=Dy(),rY1=Oy(),tY1=Ny(),aY1=My();function _$($,I){var U=this;if(typeof $==="string")$={path:$};var Y=iH0($),J=_$;switch(Y){case"Directory":J=oY1;break;case"File":J=tY1;break;case"Link":case"SymbolicLink":J=rY1;break;case null:default:J=aY1;break}if(!(U instanceof J))return new J($);if(nH0.call(U),!$.path)U.error("Must provide a path",null,!0);if(U.type=$.type,U.props=$,U.depth=$.depth||0,U.clobber=$.clobber===!1?$.clobber:!0,U.parent=$.parent||null,U.root=$.root||$.parent&&$.parent.root||U,U._path=U.path=bq.resolve($.path),process.platform==="win32"){if(U.path=U._path=U.path.replace(/\?/g,"_"),U._path.length>=260)U._swallowErrors=!0,U._path="\\\\?\\"+U.path.replace(/\//g,"\\")}if(U.basename=bq.basename($.path),U.dirname=bq.dirname($.path),U.linkpath=$.linkpath||null,$.parent=$.root=null,U.size=$.size,typeof $.mode==="string")$.mode=parseInt($.mode,8);U.readable=!1,U.writable=!0,U._buffer=[],U.ready=!1,U.filter=typeof $.filter==="function"?$.filter:null,U._stat(I)}_$.prototype._create=function(){var $=this;j$[$.props.follow?"stat":"lstat"]($._path,function(I){if(I)return $.warn("Cannot create "+$._path+` -Unsupported type: `+$.type,"ENOTSUP");$._finish()})};_$.prototype._stat=function($){var I=this,U=I.props,Y=U.follow?"stat":"lstat",J=I._proxy||I;if($)Q(null,$);else j$[Y](I._path,Q);function Q(K,q){if(I.filter&&!I.filter.call(J,J,q)){I._aborted=!0,I.emit("end"),I.emit("close");return}if(K||!q)return Ay(I);I._old=q;var G=iH0(q);if(G!==I.type||I.type==="File"&&q.nlink>1)return mY1(I._path,function(H){if(H)return I.error(H);I._old=null,Ay(I)});Ay(I)}};function Ay($){lY1(bq.dirname($._path),_$.dirmode,function(I,U){if(I)return $.error(I);return $._madeDir=U,$._create()})}function pH0($,I,U,Y,J){var Q=I.mode,K=I.follow||$.type!=="SymbolicLink"?"chmod":"lchmod";if(!j$[K])return J();if(typeof Q!=="number")return J();var q=U.mode&parseInt("0777",8);if(Q=Q&parseInt("0777",8),Q===q)return J();j$[K](Y,Q,J)}function cH0($,I,U,Y,J){if(process.platform==="win32")return J();if(!process.getuid||process.getuid()!==0)return J();if(typeof I.uid!=="number"&&typeof I.gid!=="number")return J();if(U.uid===I.uid&&U.gid===I.gid)return J();var Q=$.props.follow||$.type!=="SymbolicLink"?"chown":"lchown";if(!j$[Q])return J();if(typeof I.uid!=="number")I.uid=U.uid;if(typeof I.gid!=="number")I.gid=U.gid;j$[Q](Y,I.uid,I.gid,J)}function dH0($,I,U,Y,J){if(!j$.utimes||process.platform==="win32")return J();var Q=I.follow||$.type!=="SymbolicLink"?"utimes":"lutimes";if(Q==="lutimes"&&!j$[Q])Q="utimes";if(!j$[Q])return J();var{atime:K,mtime:q}=U,G=I.atime,H=I.mtime;if(G===void 0)G=K;if(H===void 0)H=q;if(!fH0(G))G=new Date(G);if(!fH0(H))G=new Date(H);if(G.getTime()===K.getTime()&&H.getTime()===q.getTime())return J();j$[Q](Y,G,H,J)}_$.prototype._finish=function(){var $=this;if($._finishing)return;$._finishing=!0;var I=0,U=null,Y=!1;if($._old)$._old.atime=new Date(0),$._old.mtime=new Date(0),Q($._old);else{var J=$.props.follow?"stat":"lstat";j$[J]($._path,function(q,G){if(q)if(q.code==="ENOENT"&&($.type==="Link"||$.type==="SymbolicLink")&&process.platform==="win32"){$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};return}else return $.error(q);Q($._old=G)})}return;function Q(q){I+=3,pH0($,$.props,q,$._path,K("chmod")),cH0($,$.props,q,$._path,K("chown")),dH0($,$.props,q,$._path,K("utimes"))}function K(q){return function(G){if(U)return;if(G)return G.fstream_finish_call=q,$.error(U=G);if(--I>0)return;if(Y)return;if(Y=!0,!$._madeDir)return H();else mH0($,$._path,H);function H(W){if(W)return W.fstream_finish_call="setupMadeDir",$.error(W);$.emit("end"),$.emit("close")}}}};function mH0($,I,U){var Y=$._madeDir,J=bq.dirname(I);sY1($,J,function(Q){if(Q)return U(Q);if(J===Y)return U();mH0($,J,U)})}function sY1($,I,U){var Y={};Object.keys($.props).forEach(function(q){if(Y[q]=$.props[q],q==="mode"&&$.type!=="Directory")Y[q]=Y[q]|parseInt("0111",8)});var J=3,Q=null;j$.stat(I,function(q,G){if(q)return U(Q=q);pH0($,Y,G,I,K),cH0($,Y,G,I,K),dH0($,Y,G,I,K)});function K(q){if(Q)return;if(q)return U(Q=q);if(--J===0)return U()}}_$.prototype.pipe=function(){this.error("Can't pipe from writable stream")};_$.prototype.add=function(){this.error("Can't add to non-Directory type")};_$.prototype.write=function(){return!0};function eY1($){return Object.prototype.toString.call($)}function fH0($){return typeof $==="object"&&eY1($)==="[object Date]"}});var Ry=O(($J1)=>{$J1.Abstract=IL();$J1.Reader=p3();$J1.Writer=KJ();$J1.File={Reader:Uy(),Writer:Ny()};$J1.Dir={Reader:Iy(),Writer:Dy()};$J1.Link={Reader:eg(),Writer:Oy()};$J1.Proxy={Reader:Jy(),Writer:My()};$J1.Reader.Dir=$J1.DirReader=$J1.Dir.Reader;$J1.Reader.File=$J1.FileReader=$J1.File.Reader;$J1.Reader.Link=$J1.LinkReader=$J1.Link.Reader;$J1.Reader.Proxy=$J1.ProxyReader=$J1.Proxy.Reader;$J1.Writer.Dir=$J1.DirWriter=$J1.Dir.Writer;$J1.Writer.File=$J1.FileWriter=$J1.File.Writer;$J1.Writer.Link=$J1.LinkWriter=$J1.Link.Writer;$J1.Writer.Proxy=$J1.ProxyWriter=$J1.Proxy.Writer;$J1.collect=ZL()});var rH0=O((kC1,oH0)=>{oH0.exports=GJ1;var YJ1=mw(),JJ1=Ry().Writer,vy=r("path"),QJ1=r("stream"),KJ1=tg(),qJ1=U7();function GJ1($){$.path=vy.resolve(vy.normalize($.path));var I=new YJ1($),U=new QJ1.Writable({objectMode:!0});U._write=function(J,Q,K){if(J.type=="Directory")return K();var q=vy.join($.path,J.path);if(q.indexOf($.path)!=0)return K();let G=$.getWriter?$.getWriter({path:q}):JJ1({path:q});J.pipe(G).on("error",K).on("close",K)};var Y=KJ1(I,U);return I.once("crx-header",function(J){Y.crxHeader=J}),I.pipe(U).on("finish",function(){Y.emit("close")}),Y.promise=function(){return new qJ1(function(J,Q){Y.on("close",J),Y.on("error",Q)})},Y}});var tH0=O((uC1,wL)=>{var h4=function($){var I=1e7,U=7,Y=9007199254740992,J=z(Y),Q="0123456789abcdefghijklmnopqrstuvwxyz",K=typeof BigInt==="function";function q(F,M,j,x){if(typeof F>"u")return q[0];if(typeof M<"u")return+M===10&&!j?T0(F):k$(F,M,j,x);return T0(F)}function G(F,M){this.value=F,this.sign=M,this.isSmall=!1}G.prototype=Object.create(q.prototype);function H(F){this.value=F,this.sign=F<0,this.isSmall=!0}H.prototype=Object.create(q.prototype);function W(F){this.value=F}W.prototype=Object.create(q.prototype);function V(F){return-Y0)return Math.floor(F);return Math.ceil(F)}function N(F,M){var j=F.length,x=M.length,s=Array(j),m=0,e=I,J0,H0;for(H0=0;H0=e?1:0,s[H0]=J0-m*e;while(H00)s.push(m);return s}function E(F,M){if(F.length>=M.length)return N(F,M);return N(M,F)}function T(F,M){var j=F.length,x=Array(j),s=I,m,e;for(e=0;e0)x[e++]=M%s,M=Math.floor(M/s);return x}G.prototype.add=function(F){var M=T0(F);if(this.sign!==M.sign)return this.subtract(M.negate());var j=this.value,x=M.value;if(M.isSmall)return new G(T(j,Math.abs(x)),this.sign);return new G(E(j,x),this.sign)},G.prototype.plus=G.prototype.add,H.prototype.add=function(F){var M=T0(F),j=this.value;if(j<0!==M.sign)return this.subtract(M.negate());var x=M.value;if(M.isSmall){if(V(j+x))return new H(j+x);x=z(Math.abs(x))}return new G(T(x,Math.abs(j)),j<0)},H.prototype.plus=H.prototype.add,W.prototype.add=function(F){return new W(this.value+T0(F).value)},W.prototype.plus=W.prototype.add;function A(F,M){var j=F.length,x=M.length,s=Array(j),m=0,e=I,J0,H0;for(J0=0;J0=0)x=A(F,M);else x=A(M,F),j=!j;if(x=Z(x),typeof x==="number"){if(j)x=-x;return new H(x)}return new G(x,j)}function u(F,M,j){var x=F.length,s=Array(x),m=-M,e=I,J0,H0;for(J0=0;J0=0)},H.prototype.minus=H.prototype.subtract,W.prototype.subtract=function(F){return new W(this.value-T0(F).value)},W.prototype.minus=W.prototype.subtract,G.prototype.negate=function(){return new G(this.value,!this.sign)},H.prototype.negate=function(){var F=this.sign,M=new H(-this.value);return M.sign=!F,M},W.prototype.negate=function(){return new W(-this.value)},G.prototype.abs=function(){return new G(this.value,!1)},H.prototype.abs=function(){return new H(Math.abs(this.value))},W.prototype.abs=function(){return new W(this.value>=0?this.value:-this.value)};function g(F,M){var j=F.length,x=M.length,s=j+x,m=L(s),e=I,J0,H0,v0,b0,k0;for(v0=0;v00)x[J0++]=m%s,m=Math.floor(m/s);return x}function C(F,M){var j=[];while(M-- >0)j.push(0);return j.concat(F)}function p(F,M){var j=Math.max(F.length,M.length);if(j<=30)return g(F,M);j=Math.ceil(j/2);var x=F.slice(j),s=F.slice(0,j),m=M.slice(j),e=M.slice(0,j),J0=p(s,e),H0=p(x,m),v0=p(E(s,x),E(e,m)),b0=E(E(J0,C(A(A(v0,J0),H0),j)),C(H0,2*j));return w(b0),b0}function n(F,M){return-0.012*F-0.012*M+0.000015*F*M>0}G.prototype.multiply=function(F){var M=T0(F),j=this.value,x=M.value,s=this.sign!==M.sign,m;if(M.isSmall){if(x===0)return q[0];if(x===1)return this;if(x===-1)return this.negate();if(m=Math.abs(x),m=0;k0--){if(b0=s-1,H0[k0+x]!==e)b0=Math.floor((H0[k0+x]*s+H0[k0+x-1])/e);J1=0,K4=0,c5=v0.length;for(V6=0;V6x)v0=(v0+1)*e;J0=Math.ceil(v0/b0);do{if(k0=b(M,J0),d(k0,m)<=0)break;J0--}while(J0);s.push(J0),m=A(m,k0)}return s.reverse(),[Z(s),Z(m)]}function B(F,M){var j=F.length,x=L(j),s=I,m,e,J0,H0;J0=0;for(m=j-1;m>=0;--m)H0=J0*s+F[m],e=D(H0/M),J0=H0-e*M,x[m]=e|0;return[x,J0|0]}function k(F,M){var j,x=T0(M);if(K)return[new W(F.value/x.value),new W(F.value%x.value)];var s=F.value,m=x.value,e;if(m===0)throw Error("Cannot divide by zero");if(F.isSmall){if(x.isSmall)return[new H(D(s/m)),new H(s%m)];return[q[0],F]}if(x.isSmall){if(m===1)return[F,q[0]];if(m==-1)return[F.negate(),q[0]];var J0=Math.abs(m);if(J0M.length?1:-1;for(var j=F.length-1;j>=0;j--)if(F[j]!==M[j])return F[j]>M[j]?1:-1;return 0}G.prototype.compareAbs=function(F){var M=T0(F),j=this.value,x=M.value;if(M.isSmall)return 1;return d(j,x)},H.prototype.compareAbs=function(F){var M=T0(F),j=Math.abs(this.value),x=M.value;if(M.isSmall)return x=Math.abs(x),j===x?0:j>x?1:-1;return-1},W.prototype.compareAbs=function(F){var M=this.value,j=T0(F).value;return M=M>=0?M:-M,j=j>=0?j:-j,M===j?0:M>j?1:-1},G.prototype.compare=function(F){if(F===1/0)return-1;if(F===-1/0)return 1;var M=T0(F),j=this.value,x=M.value;if(this.sign!==M.sign)return M.sign?1:-1;if(M.isSmall)return this.sign?-1:1;return d(j,x)*(this.sign?-1:1)},G.prototype.compareTo=G.prototype.compare,H.prototype.compare=function(F){if(F===1/0)return-1;if(F===-1/0)return 1;var M=T0(F),j=this.value,x=M.value;if(M.isSmall)return j==x?0:j>x?1:-1;if(j<0!==M.sign)return j<0?-1:1;return j<0?1:-1},H.prototype.compareTo=H.prototype.compare,W.prototype.compare=function(F){if(F===1/0)return-1;if(F===-1/0)return 1;var M=this.value,j=T0(F).value;return M===j?0:M>j?1:-1},W.prototype.compareTo=W.prototype.compare,G.prototype.equals=function(F){return this.compare(F)===0},W.prototype.eq=W.prototype.equals=H.prototype.eq=H.prototype.equals=G.prototype.eq=G.prototype.equals,G.prototype.notEquals=function(F){return this.compare(F)!==0},W.prototype.neq=W.prototype.notEquals=H.prototype.neq=H.prototype.notEquals=G.prototype.neq=G.prototype.notEquals,G.prototype.greater=function(F){return this.compare(F)>0},W.prototype.gt=W.prototype.greater=H.prototype.gt=H.prototype.greater=G.prototype.gt=G.prototype.greater,G.prototype.lesser=function(F){return this.compare(F)<0},W.prototype.lt=W.prototype.lesser=H.prototype.lt=H.prototype.lesser=G.prototype.lt=G.prototype.lesser,G.prototype.greaterOrEquals=function(F){return this.compare(F)>=0},W.prototype.geq=W.prototype.greaterOrEquals=H.prototype.geq=H.prototype.greaterOrEquals=G.prototype.geq=G.prototype.greaterOrEquals,G.prototype.lesserOrEquals=function(F){return this.compare(F)<=0},W.prototype.leq=W.prototype.lesserOrEquals=H.prototype.leq=H.prototype.lesserOrEquals=G.prototype.leq=G.prototype.lesserOrEquals,G.prototype.isEven=function(){return(this.value[0]&1)===0},H.prototype.isEven=function(){return(this.value&1)===0},W.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},G.prototype.isOdd=function(){return(this.value[0]&1)===1},H.prototype.isOdd=function(){return(this.value&1)===1},W.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},G.prototype.isPositive=function(){return!this.sign},H.prototype.isPositive=function(){return this.value>0},W.prototype.isPositive=H.prototype.isPositive,G.prototype.isNegative=function(){return this.sign},H.prototype.isNegative=function(){return this.value<0},W.prototype.isNegative=H.prototype.isNegative,G.prototype.isUnit=function(){return!1},H.prototype.isUnit=function(){return Math.abs(this.value)===1},W.prototype.isUnit=function(){return this.abs().value===BigInt(1)},G.prototype.isZero=function(){return!1},H.prototype.isZero=function(){return this.value===0},W.prototype.isZero=function(){return this.value===BigInt(0)},G.prototype.isDivisibleBy=function(F){var M=T0(F);if(M.isZero())return!1;if(M.isUnit())return!0;if(M.compareAbs(2)===0)return this.isEven();return this.mod(M).isZero()},W.prototype.isDivisibleBy=H.prototype.isDivisibleBy=G.prototype.isDivisibleBy;function t(F){var M=F.abs();if(M.isUnit())return!1;if(M.equals(2)||M.equals(3)||M.equals(5))return!0;if(M.isEven()||M.isDivisibleBy(3)||M.isDivisibleBy(5))return!1;if(M.lesser(49))return!0}function K0(F,M){var j=F.prev(),x=j,s=0,m,e,J0,H0;while(x.isEven())x=x.divide(2),s++;$:for(J0=0;J0-Y)return new H(F-1);return new G(J,!0)},W.prototype.prev=function(){return new W(this.value-BigInt(1))};var W0=[1];while(2*W0[W0.length-1]<=I)W0.push(2*W0[W0.length-1]);var M0=W0.length,B0=W0[M0-1];function w1(F){return Math.abs(F)<=I}G.prototype.shiftLeft=function(F){var M=T0(F).toJSNumber();if(!w1(M))throw Error(String(M)+" is too large for shifting.");if(M<0)return this.shiftRight(-M);var j=this;if(j.isZero())return j;while(M>=M0)j=j.multiply(B0),M-=M0-1;return j.multiply(W0[M])},W.prototype.shiftLeft=H.prototype.shiftLeft=G.prototype.shiftLeft,G.prototype.shiftRight=function(F){var M,j=T0(F).toJSNumber();if(!w1(j))throw Error(String(j)+" is too large for shifting.");if(j<0)return this.shiftLeft(-j);var x=this;while(j>=M0){if(x.isZero()||x.isNegative()&&x.isUnit())return x;M=k(x,B0),x=M[1].isNegative()?M[0].prev():M[0],j-=M0-1}return M=k(x,W0[j]),M[1].isNegative()?M[0].prev():M[0]},W.prototype.shiftRight=H.prototype.shiftRight=G.prototype.shiftRight;function f0(F,M,j){M=T0(M);var x=F.isNegative(),s=M.isNegative(),m=x?F.not():F,e=s?M.not():M,J0=0,H0=0,v0=null,b0=null,k0=[];while(!m.isZero()||!e.isZero()){if(v0=k(m,B0),J0=v0[1].toJSNumber(),x)J0=B0-1-J0;if(b0=k(e,B0),H0=b0[1].toJSNumber(),s)H0=B0-1-H0;m=v0[0],e=b0[0],k0.push(j(J0,H0))}var J1=j(x?1:0,s?1:0)!==0?h4(-1):h4(0);for(var K4=k0.length-1;K4>=0;K4-=1)J1=J1.multiply(B0).add(h4(k0[K4]));return J1}G.prototype.not=function(){return this.negate().prev()},W.prototype.not=H.prototype.not=G.prototype.not,G.prototype.and=function(F){return f0(this,F,function(M,j){return M&j})},W.prototype.and=H.prototype.and=G.prototype.and,G.prototype.or=function(F){return f0(this,F,function(M,j){return M|j})},W.prototype.or=H.prototype.or=G.prototype.or,G.prototype.xor=function(F){return f0(this,F,function(M,j){return M^j})},W.prototype.xor=H.prototype.xor=G.prototype.xor;var G1=1073741824,O0=(I&-I)*(I&-I)|G1;function g0(F){var M=F.value,j=typeof M==="number"?M|G1:typeof M==="bigint"?M|BigInt(G1):M[0]+M[1]*I|O0;return j&-j}function d0(F,M){if(M.compareTo(F)<=0){var j=d0(F,M.square(M)),x=j.p,s=j.e,m=x.multiply(M);return m.compareTo(F)<=0?{p:m,e:s*2+1}:{p:x,e:s*2}}return{p:h4(1),e:0}}G.prototype.bitLength=function(){var F=this;if(F.compareTo(h4(0))<0)F=F.negate().subtract(h4(1));if(F.compareTo(h4(0))===0)return h4(0);return h4(d0(F,h4(2)).e).add(h4(1))},W.prototype.bitLength=H.prototype.bitLength=G.prototype.bitLength;function Q4(F,M){return F=T0(F),M=T0(M),F.greater(M)?F:M}function j4(F,M){return F=T0(F),M=T0(M),F.lesser(M)?F:M}function W$(F,M){if(F=T0(F).abs(),M=T0(M).abs(),F.equals(M))return F;if(F.isZero())return M;if(M.isZero())return F;var j=q[1],x,s;while(F.isEven()&&M.isEven())x=j4(g0(F),g0(M)),F=F.divide(x),M=M.divide(x),j=j.multiply(x);while(F.isEven())F=F.divide(g0(F));do{while(M.isEven())M=M.divide(g0(M));if(F.greater(M))s=M,M=F,F=s;M=M.subtract(F)}while(!M.isZero());return j.isUnit()?F:F.multiply(j)}function x$(F,M){return F=T0(F).abs(),M=T0(M).abs(),F.divide(W$(F,M)).multiply(M)}function c8(F,M,j){F=T0(F),M=T0(M);var x=j||Math.random,s=j4(F,M),m=Q4(F,M),e=m.subtract(s).add(1);if(e.isSmall)return s.add(Math.floor(x()*e));var J0=a6(e,I).value,H0=[],v0=!0;for(var b0=0;b0=e){if(H0==="1"&&e===1)continue;throw Error(H0+" is not a valid digit in base "+M+".")}}}M=T0(M);var v0=[],b0=F[0]==="-";for(m=b0?1:0;m"&&m=0;m--)x=x.add(F[m].times(s)),s=s.times(M);return j?x.negate():x}function d8(F,M){if(M=M||Q,F"}function a6(F,M){if(M=h4(M),M.isZero()){if(F.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(M.equals(-1)){if(F.isZero())return{value:[0],isNegative:!1};if(F.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-F.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var j=Array.apply(null,Array(F.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return j.unshift([1]),{value:[].concat.apply([],j),isNegative:!1}}var x=!1;if(F.isNegative()&&M.isPositive())x=!0,F=F.abs();if(M.isUnit()){if(F.isZero())return{value:[0],isNegative:!1};return{value:Array.apply(null,Array(F.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:x}}var s=[],m=F,e;while(m.isNegative()||m.compareAbs(M)>=0){e=m.divmod(M),m=e.quotient;var J0=e.remainder;if(J0.isNegative())J0=M.minus(J0).abs(),m=m.next();s.push(J0.toJSNumber())}return s.push(m.toJSNumber()),{value:s.reverse(),isNegative:x}}function w7(F,M,j){var x=a6(F,M);return(x.isNegative?"-":"")+x.value.map(function(s){return d8(s,j)}).join("")}G.prototype.toArray=function(F){return a6(this,F)},H.prototype.toArray=function(F){return a6(this,F)},W.prototype.toArray=function(F){return a6(this,F)},G.prototype.toString=function(F,M){if(F===$)F=10;if(F!==10||M)return w7(this,F,M);var j=this.value,x=j.length,s=String(j[--x]),m="0000000",e;while(--x>=0)e=String(j[x]),s+=m.slice(e.length)+e;var J0=this.sign?"-":"";return J0+s},H.prototype.toString=function(F,M){if(F===$)F=10;if(F!=10||M)return w7(this,F,M);return String(this.value)},W.prototype.toString=H.prototype.toString,W.prototype.toJSON=G.prototype.toJSON=H.prototype.toJSON=function(){return this.toString()},G.prototype.valueOf=function(){return parseInt(this.toString(),10)},G.prototype.toJSNumber=G.prototype.valueOf,H.prototype.valueOf=function(){return this.value},H.prototype.toJSNumber=H.prototype.valueOf,W.prototype.valueOf=W.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function s6(F){if(V(+F)){var M=+F;if(M===D(M))return K?new W(BigInt(M)):new H(M);throw Error("Invalid integer: "+F)}var j=F[0]==="-";if(j)F=F.slice(1);var x=F.split(/e/i);if(x.length>2)throw Error("Invalid integer: "+x.join("e"));if(x.length===2){var s=x[1];if(s[0]==="+")s=s.slice(1);if(s=+s,s!==D(s)||!V(s))throw Error("Invalid integer: "+s+" is not a valid exponent.");var m=x[0],e=m.indexOf(".");if(e>=0)s-=m.length-e-1,m=m.slice(0,e)+m.slice(e+1);if(s<0)throw Error("Cannot include negative exponent part for integers");m+=Array(s+1).join("0"),F=m}var J0=/^([0-9][0-9]*)$/.test(F);if(!J0)throw Error("Invalid integer: "+F);if(K)return new W(BigInt(j?"-"+F:F));var H0=[],v0=F.length,b0=U,k0=v0-b0;while(v0>0){if(H0.push(+F.slice(k0,v0)),k0-=b0,k0<0)k0=0;v0-=b0}return w(H0),new G(H0,j)}function p5(F){if(K)return new W(BigInt(F));if(V(F)){if(F!==D(F))throw Error(F+" is not an integer.");return new H(F)}return s6(F.toString())}function T0(F){if(typeof F==="number")return p5(F);if(typeof F==="string")return s6(F);if(typeof F==="bigint")return new W(F);return F}for(var a=0;a<1000;a++)if(q[a]=T0(a),a>0)q[-a]=T0(-a);return q.one=q[1],q.zero=q[0],q.minusOne=q[-1],q.max=Q4,q.min=j4,q.gcd=W$,q.lcm=x$,q.isInstance=function(F){return F instanceof G||F instanceof H||F instanceof W},q.randBetween=c8,q.fromArray=function(F,M,j){return V$(F.map(T0),T0(M||10),j)},q}();if(typeof wL<"u"&&wL.hasOwnProperty("exports"))wL.exports=h4;if(typeof define==="function"&&define.amd)define(function(){return h4})});var eH0=O((fC1,sH0)=>{var W7=tH0(),LL=r("stream");if(!LL.Writable||!LL.Writable.prototype.destroy)LL=S5();var DL;function HJ1(){var $=3988292384,I,U,Y;DL=[];for(U=0;U<256;U++){I=U;for(Y=0;Y<8;Y++)I=I&1?$^I>>>1:I=I>>>1;DL[U]=I>>>0}}function aH0($,I){if(!DL)HJ1();if($.charCodeAt)$=$.charCodeAt(0);return W7(I).shiftRight(8).and(16777215).xor(DL[W7(I).xor($).and(255)]).value}function qJ(){if(!(this instanceof qJ))return new qJ;this.key0=305419896,this.key1=591751049,this.key2=878082192}qJ.prototype.update=function($){this.key0=aH0($,this.key0),this.key1=W7(this.key0).and(255).and(4294967295).add(this.key1),this.key1=W7(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=aH0(W7(this.key1).shiftRight(24).and(255),this.key2)};qJ.prototype.decryptByte=function($){var I=W7(this.key2).or(2);return $=$^W7(I).multiply(W7(I^1)).shiftRight(8).and(255),this.update($),$};qJ.prototype.stream=function(){var $=LL.Transform(),I=this;return $._transform=function(U,Y,J){for(var Q=0;Q{var WJ1=U7(),VJ1=eH0(),ZJ1=iw(),pq=r("stream"),zJ1=Hq(),XJ1=r("zlib"),wJ1=cw(),LJ1=tY(),DJ1=dw();if(!pq.Writable||!pq.Writable.prototype.destroy)pq=S5();$W0.exports=function(I,U,Y,J){var Q=ZJ1(),K=pq.PassThrough(),q=I.stream(U);return q.pipe(Q).on("error",function(G){K.emit("error",G)}),K.vars=Q.pull(30).then(function(G){var H=zJ1.parse(G).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return H.lastModifiedDateTime=DJ1(H.lastModifiedDate,H.lastModifiedTime),Q.pull(H.fileNameLength).then(function(W){return H.fileName=W.toString("utf8"),Q.pull(H.extraFieldLength)}).then(function(W){var V;if(H.extra=wJ1(W,H),J&&J.compressedSize)H=J;if(H.flags&1)V=Q.pull(12).then(function(z){if(!Y)throw Error("MISSING_PASSWORD");var Z=VJ1();String(Y).split("").forEach(function(D){Z.update(D)});for(var w=0;w>8&255:H.crc32>>24&255;if(z[11]!==L)throw Error("BAD_PASSWORD");return H});return WJ1.resolve(V).then(function(){return K.emit("vars",H),H})})}),K.vars.then(function(G){var H=!(G.flags&8)||G.compressedSize>0,W,V=G.compressionMethod?XJ1.createInflateRaw():pq.PassThrough();if(H)K.size=G.uncompressedSize,W=G.compressedSize;else W=LJ1.alloc(4),W.writeUInt32LE(134695760,0);var z=Q.stream(W);if(G.decrypt)z=z.pipe(G.decrypt.stream());z.pipe(V).on("error",function(Z){K.emit("error",Z)}).pipe(K).on("finish",function(){if(q.destroy)q.destroy();else if(q.abort)q.abort();else if(q.close)q.close();else if(q.push)q.push();else console.log("warning - unable to close stream")})}).catch(function(G){K.emit("error",G)}),K}});var JW0=O((iC1,YW0)=>{var mq=Hq(),dq=iw(),OJ1=IW0(),cq=U7(),NJ1=pw(),FJ1=cw(),MJ1=tY(),Cy=r("path"),AJ1=Ry().Writer,PJ1=dw(),UW0=MJ1.alloc(4);UW0.writeUInt32LE(101010256,0);function TJ1($){var I=$.stream(0).pipe(dq());return I.pull(4).then(function(U){var Y=U.readUInt32LE(0);if(Y===875721283){var J;return I.pull(12).then(function(Q){J=mq.parse(Q).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars}).then(function(){return I.pull(J.pubKeyLength+J.signatureLength)}).then(function(Q){return J.publicKey=Q.slice(0,J.pubKeyLength),J.signature=Q.slice(J.pubKeyLength),J.size=16+J.pubKeyLength+J.signatureLength,J})}})}function EJ1($,I){var U=mq.parse(I).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(U.signature!=117853008)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+U.signature.toString(16));var Y=dq();return $.stream(U.offsetToStartOfCentralDirectory).pipe(Y),Y.pull(56)}function BJ1($){var I=mq.parse($).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(I.signature!=101075792)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+I.signature.toString(16));return I}YW0.exports=function(I,U){var Y=dq(),J=dq(),Q=U&&U.tailSize||80,K,q,G,H;if(U&&U.crx)q=TJ1(I);return I.size().then(function(W){return K=W,I.stream(Math.max(0,W-Q)).on("error",function(V){Y.emit("error",V)}).pipe(Y),Y.pull(UW0)}).then(function(){return cq.props({directory:Y.pull(22),crxHeader:q})}).then(function(W){var V=W.directory;if(G=W.crxHeader&&W.crxHeader.size||0,H=mq.parse(V).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars,H.numberOfRecords==65535||H.numberOfRecords==65535||H.offsetToStartOfCentralDirectory==4294967295){let Z=K-(Q-Y.match+20),w=dq();return I.stream(Z).pipe(w),w.pull(20).then(function(L){return EJ1(I,L)}).then(function(L){H=BJ1(L)})}else H.offsetToStartOfCentralDirectory+=G}).then(function(){if(H.commentLength)return Y.pull(H.commentLength).then(function(W){H.comment=W.toString("utf8")})}).then(function(){return I.stream(H.offsetToStartOfCentralDirectory).pipe(J),H.extract=function(W){if(!W||!W.path)throw Error("PATH_MISSING");return W.path=Cy.resolve(Cy.normalize(W.path)),H.files.then(function(V){return cq.map(V,function(z){if(z.type=="Directory")return;var Z=Cy.join(W.path,z.path);if(Z.indexOf(W.path)!=0)return;var w=W.getWriter?W.getWriter({path:Z}):AJ1({path:Z});return new cq(function(L,D){z.stream(W.password).on("error",D).pipe(w).on("close",L).on("error",D)})},{concurrency:W.concurrency>1?W.concurrency:1})})},H.files=cq.mapSeries(Array(H.numberOfRecords),function(){return J.pull(46).then(function(W){var V=mq.parse(W).word32lu("signature").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return V.offsetToLocalFileHeader+=G,V.lastModifiedDateTime=PJ1(V.lastModifiedDate,V.lastModifiedTime),J.pull(V.fileNameLength).then(function(z){return V.pathBuffer=z,V.path=z.toString("utf8"),V.isUnicode=(V.flags&2048)!=0,J.pull(V.extraFieldLength)}).then(function(z){return V.extra=FJ1(z,V),J.pull(V.fileCommentLength)}).then(function(z){return V.comment=z,V.type=V.uncompressedSize===0&&/[\/\\]$/.test(V.path)?"Directory":"File",V.stream=function(Z){return OJ1(I,V.offsetToLocalFileHeader,Z,V)},V.buffer=function(Z){return NJ1(V.stream(Z))},V})})}),cq.props(H)})}});var qW0=O((nC1,KW0)=>{var QW0=m6(),OL=U7(),lq=JW0(),NL=r("stream");if(!NL.Writable||!NL.Writable.prototype.destroy)NL=S5();KW0.exports={buffer:function($,I){var U={stream:function(Y,J){var Q=NL.PassThrough();return Q.end($.slice(Y,J)),Q},size:function(){return OL.resolve($.length)}};return lq(U,I)},file:function($,I){var U={stream:function(Y,J){return QW0.createReadStream($,{start:Y,end:J&&Y+J})},size:function(){return new OL(function(Y,J){QW0.stat($,function(Q,K){if(Q)J(Q);else Y(K.size)})})}};return lq(U,I)},url:function($,I,U){if(typeof I==="string")I={url:I};if(!I.url)throw"URL missing";I.headers=I.headers||{};var Y={stream:function(J,Q){var K=Object.create(I);return K.headers=Object.create(I.headers),K.headers.range="bytes="+J+"-"+(Q?Q:""),$(K)},size:function(){return new OL(function(J,Q){var K=$(I);K.on("response",function(q){if(K.abort(),!q.headers["content-length"])Q(Error("Missing content length header"));else J(q.headers["content-length"])}).on("error",Q)})}};return lq(Y,U)},s3:function($,I,U){var Y={size:function(){return new OL(function(J,Q){$.headObject(I,function(K,q){if(K)Q(K);else J(q.ContentLength)})})},stream:function(J,Q){var K={};for(var q in I)K[q]=I[q];return K.Range="bytes="+J+"-"+(Q?Q:""),$.getObject(K).createReadStream()}};return lq(Y,U)},custom:function($,I){return lq($,I)}}});var GW0=O((RJ1)=>{Y20();q20();qB();RJ1.Parse=mw();RJ1.ParseOne=PG0();RJ1.Extract=rH0();RJ1.Open=qW0()});var PW0=O((tJ1,h5)=>{/*! +actual: `+$._bytesWritten);AL.prototype._finish.call($)}});var hy=O((_j1,NW0)=>{NW0.exports=V7;var yy=GJ(),gJ1=uq(),yJ1=p0(),hJ1=NL(),xJ1=r("fs");yJ1(V7,yy);function V7($){var I=this;if(!(I instanceof V7))throw Error("ProxyWriter must be called as constructor.");I.props=$,I._needDrain=!1,yy.call(I,$)}V7.prototype._stat=function(){var $=this,I=$.props,U=I.follow?"stat":"lstat";xJ1[U](I.path,function(Y,J){var Q;if(Y||!J)Q="File";else Q=gJ1(J);I[Q]=!0,I.type=$.type=Q,$._old=J,$._addProxy(yy(I,J))})};V7.prototype._addProxy=function($){var I=this;if(I._proxy)return I.error("proxy already set");I._proxy=$,["ready","error","close","pipe","drain","warn"].forEach(function(Y){$.on(Y,I.emit.bind(I,Y))}),I.emit("proxy",$);var U=I._buffer;if(U.forEach(function(Y){$[Y[0]].apply($,Y[1])}),I._buffer.length=0,I._needsDrain)I.emit("drain")};V7.prototype.add=function($){if(hJ1($),!this._proxy)return this._buffer.push(["add",[$]]),this._needDrain=!0,!1;return this._proxy.add($)};V7.prototype.write=function($){if(!this._proxy)return this._buffer.push(["write",[$]]),this._needDrain=!0,!1;return this._proxy.write($)};V7.prototype.end=function($){if(!this._proxy)return this._buffer.push(["end",[$]]),!1;return this._proxy.end($)}});var GJ=O((Sj1,CW0)=>{CW0.exports=S$;var _$=m6(),kJ1=p0(),uJ1=Ty(),fJ1=Cy(),cq=r("path"),AW0=process.platform==="win32"?0:process.umask(),PW0=uq(),TW0=HL();kJ1(S$,TW0);S$.dirmode=parseInt("0777",8)&~AW0;S$.filemode=parseInt("0666",8)&~AW0;var bJ1=_y(),iJ1=Sy(),nJ1=gy(),pJ1=hy();function S$($,I){var U=this;if(typeof $==="string")$={path:$};var Y=PW0($),J=S$;switch(Y){case"Directory":J=bJ1;break;case"File":J=nJ1;break;case"Link":case"SymbolicLink":J=iJ1;break;case null:default:J=pJ1;break}if(!(U instanceof J))return new J($);if(TW0.call(U),!$.path)U.error("Must provide a path",null,!0);if(U.type=$.type,U.props=$,U.depth=$.depth||0,U.clobber=$.clobber===!1?$.clobber:!0,U.parent=$.parent||null,U.root=$.root||$.parent&&$.parent.root||U,U._path=U.path=cq.resolve($.path),process.platform==="win32"){if(U.path=U._path=U.path.replace(/\?/g,"_"),U._path.length>=260)U._swallowErrors=!0,U._path="\\\\?\\"+U.path.replace(/\//g,"\\")}if(U.basename=cq.basename($.path),U.dirname=cq.dirname($.path),U.linkpath=$.linkpath||null,$.parent=$.root=null,U.size=$.size,typeof $.mode==="string")$.mode=parseInt($.mode,8);U.readable=!1,U.writable=!0,U._buffer=[],U.ready=!1,U.filter=typeof $.filter==="function"?$.filter:null,U._stat(I)}S$.prototype._create=function(){var $=this;_$[$.props.follow?"stat":"lstat"]($._path,function(I){if(I)return $.warn("Cannot create "+$._path+` +Unsupported type: `+$.type,"ENOTSUP");$._finish()})};S$.prototype._stat=function($){var I=this,U=I.props,Y=U.follow?"stat":"lstat",J=I._proxy||I;if($)Q(null,$);else _$[Y](I._path,Q);function Q(K,q){if(I.filter&&!I.filter.call(J,J,q)){I._aborted=!0,I.emit("end"),I.emit("close");return}if(K||!q)return xy(I);I._old=q;var G=PW0(q);if(G!==I.type||I.type==="File"&&q.nlink>1)return uJ1(I._path,function(H){if(H)return I.error(H);I._old=null,xy(I)});xy(I)}};function xy($){fJ1(cq.dirname($._path),S$.dirmode,function(I,U){if(I)return $.error(I);return $._madeDir=U,$._create()})}function EW0($,I,U,Y,J){var Q=I.mode,K=I.follow||$.type!=="SymbolicLink"?"chmod":"lchmod";if(!_$[K])return J();if(typeof Q!=="number")return J();var q=U.mode&parseInt("0777",8);if(Q=Q&parseInt("0777",8),Q===q)return J();_$[K](Y,Q,J)}function BW0($,I,U,Y,J){if(process.platform==="win32")return J();if(!process.getuid||process.getuid()!==0)return J();if(typeof I.uid!=="number"&&typeof I.gid!=="number")return J();if(U.uid===I.uid&&U.gid===I.gid)return J();var Q=$.props.follow||$.type!=="SymbolicLink"?"chown":"lchown";if(!_$[Q])return J();if(typeof I.uid!=="number")I.uid=U.uid;if(typeof I.gid!=="number")I.gid=U.gid;_$[Q](Y,I.uid,I.gid,J)}function vW0($,I,U,Y,J){if(!_$.utimes||process.platform==="win32")return J();var Q=I.follow||$.type!=="SymbolicLink"?"utimes":"lutimes";if(Q==="lutimes"&&!_$[Q])Q="utimes";if(!_$[Q])return J();var{atime:K,mtime:q}=U,G=I.atime,H=I.mtime;if(G===void 0)G=K;if(H===void 0)H=q;if(!MW0(G))G=new Date(G);if(!MW0(H))G=new Date(H);if(G.getTime()===K.getTime()&&H.getTime()===q.getTime())return J();_$[Q](Y,G,H,J)}S$.prototype._finish=function(){var $=this;if($._finishing)return;$._finishing=!0;var I=0,U=null,Y=!1;if($._old)$._old.atime=new Date(0),$._old.mtime=new Date(0),Q($._old);else{var J=$.props.follow?"stat":"lstat";_$[J]($._path,function(q,G){if(q)if(q.code==="ENOENT"&&($.type==="Link"||$.type==="SymbolicLink")&&process.platform==="win32"){$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};return}else return $.error(q);Q($._old=G)})}return;function Q(q){I+=3,EW0($,$.props,q,$._path,K("chmod")),BW0($,$.props,q,$._path,K("chown")),vW0($,$.props,q,$._path,K("utimes"))}function K(q){return function(G){if(U)return;if(G)return G.fstream_finish_call=q,$.error(U=G);if(--I>0)return;if(Y)return;if(Y=!0,!$._madeDir)return H();else RW0($,$._path,H);function H(W){if(W)return W.fstream_finish_call="setupMadeDir",$.error(W);$.emit("end"),$.emit("close")}}}};function RW0($,I,U){var Y=$._madeDir,J=cq.dirname(I);cJ1($,J,function(Q){if(Q)return U(Q);if(J===Y)return U();RW0($,J,U)})}function cJ1($,I,U){var Y={};Object.keys($.props).forEach(function(q){if(Y[q]=$.props[q],q==="mode"&&$.type!=="Directory")Y[q]=Y[q]|parseInt("0111",8)});var J=3,Q=null;_$.stat(I,function(q,G){if(q)return U(Q=q);EW0($,Y,G,I,K),BW0($,Y,G,I,K),vW0($,Y,G,I,K)});function K(q){if(Q)return;if(q)return U(Q=q);if(--J===0)return U()}}S$.prototype.pipe=function(){this.error("Can't pipe from writable stream")};S$.prototype.add=function(){this.error("Can't add to non-Directory type")};S$.prototype.write=function(){return!0};function dJ1($){return Object.prototype.toString.call($)}function MW0($){return typeof $==="object"&&dJ1($)==="[object Date]"}});var iy=O((mJ1)=>{mJ1.Abstract=HL();mJ1.Reader=d3();mJ1.Writer=GJ();mJ1.File={Reader:Ly(),Writer:gy()};mJ1.Dir={Reader:zy(),Writer:_y()};mJ1.Link={Reader:Zy(),Writer:Sy()};mJ1.Proxy={Reader:Oy(),Writer:hy()};mJ1.Reader.Dir=mJ1.DirReader=mJ1.Dir.Reader;mJ1.Reader.File=mJ1.FileReader=mJ1.File.Reader;mJ1.Reader.Link=mJ1.LinkReader=mJ1.Link.Reader;mJ1.Reader.Proxy=mJ1.ProxyReader=mJ1.Proxy.Reader;mJ1.Writer.Dir=mJ1.DirWriter=mJ1.Dir.Writer;mJ1.Writer.File=mJ1.FileWriter=mJ1.File.Writer;mJ1.Writer.Link=mJ1.LinkWriter=mJ1.Link.Writer;mJ1.Writer.Proxy=mJ1.ProxyWriter=mJ1.Proxy.Writer;mJ1.collect=NL()});var _W0=O((nj1,jW0)=>{jW0.exports=$Q1;var rJ1=$L(),tJ1=iy().Writer,ny=r("path"),aJ1=r("stream"),sJ1=Wy(),eJ1=J7();function $Q1($){$.path=ny.resolve(ny.normalize($.path));var I=new rJ1($),U=new aJ1.Writable({objectMode:!0});U._write=function(J,Q,K){if(J.type=="Directory")return K();var q=ny.join($.path,J.path);if(q.indexOf($.path)!=0)return K();let G=$.getWriter?$.getWriter({path:q}):tJ1({path:q});J.pipe(G).on("error",K).on("close",K)};var Y=sJ1(I,U);return I.once("crx-header",function(J){Y.crxHeader=J}),I.pipe(U).on("finish",function(){Y.emit("close")}),Y.promise=function(){return new eJ1(function(J,Q){Y.on("close",J),Y.on("error",Q)})},Y}});var SW0=O((pj1,PL)=>{var h4=function($){var I=1e7,U=7,Y=9007199254740992,J=w(Y),Q="0123456789abcdefghijklmnopqrstuvwxyz",K=typeof BigInt==="function";function q(N,M,j,x){if(typeof N>"u")return q[0];if(typeof M<"u")return+M===10&&!j?E0(N):u$(N,M,j,x);return E0(N)}function G(N,M){this.value=N,this.sign=M,this.isSmall=!1}G.prototype=Object.create(q.prototype);function H(N){this.value=N,this.sign=N<0,this.isSmall=!0}H.prototype=Object.create(q.prototype);function W(N){this.value=N}W.prototype=Object.create(q.prototype);function V(N){return-Y0)return Math.floor(N);return Math.ceil(N)}function F(N,M){var j=N.length,x=M.length,s=Array(j),m=0,e=I,J0,H0;for(H0=0;H0=e?1:0,s[H0]=J0-m*e;while(H00)s.push(m);return s}function E(N,M){if(N.length>=M.length)return F(N,M);return F(M,N)}function T(N,M){var j=N.length,x=Array(j),s=I,m,e;for(e=0;e0)x[e++]=M%s,M=Math.floor(M/s);return x}G.prototype.add=function(N){var M=E0(N);if(this.sign!==M.sign)return this.subtract(M.negate());var j=this.value,x=M.value;if(M.isSmall)return new G(T(j,Math.abs(x)),this.sign);return new G(E(j,x),this.sign)},G.prototype.plus=G.prototype.add,H.prototype.add=function(N){var M=E0(N),j=this.value;if(j<0!==M.sign)return this.subtract(M.negate());var x=M.value;if(M.isSmall){if(V(j+x))return new H(j+x);x=w(Math.abs(x))}return new G(T(x,Math.abs(j)),j<0)},H.prototype.plus=H.prototype.add,W.prototype.add=function(N){return new W(this.value+E0(N).value)},W.prototype.plus=W.prototype.add;function A(N,M){var j=N.length,x=M.length,s=Array(j),m=0,e=I,J0,H0;for(J0=0;J0=0)x=A(N,M);else x=A(M,N),j=!j;if(x=Z(x),typeof x==="number"){if(j)x=-x;return new H(x)}return new G(x,j)}function u(N,M,j){var x=N.length,s=Array(x),m=-M,e=I,J0,H0;for(J0=0;J0=0)},H.prototype.minus=H.prototype.subtract,W.prototype.subtract=function(N){return new W(this.value-E0(N).value)},W.prototype.minus=W.prototype.subtract,G.prototype.negate=function(){return new G(this.value,!this.sign)},H.prototype.negate=function(){var N=this.sign,M=new H(-this.value);return M.sign=!N,M},W.prototype.negate=function(){return new W(-this.value)},G.prototype.abs=function(){return new G(this.value,!1)},H.prototype.abs=function(){return new H(Math.abs(this.value))},W.prototype.abs=function(){return new W(this.value>=0?this.value:-this.value)};function g(N,M){var j=N.length,x=M.length,s=j+x,m=L(s),e=I,J0,H0,C0,b0,k0;for(C0=0;C00)x[J0++]=m%s,m=Math.floor(m/s);return x}function C(N,M){var j=[];while(M-- >0)j.push(0);return j.concat(N)}function p(N,M){var j=Math.max(N.length,M.length);if(j<=30)return g(N,M);j=Math.ceil(j/2);var x=N.slice(j),s=N.slice(0,j),m=M.slice(j),e=M.slice(0,j),J0=p(s,e),H0=p(x,m),C0=p(E(s,x),E(e,m)),b0=E(E(J0,C(A(A(C0,J0),H0),j)),C(H0,2*j));return z(b0),b0}function n(N,M){return-0.012*N-0.012*M+0.000015*N*M>0}G.prototype.multiply=function(N){var M=E0(N),j=this.value,x=M.value,s=this.sign!==M.sign,m;if(M.isSmall){if(x===0)return q[0];if(x===1)return this;if(x===-1)return this.negate();if(m=Math.abs(x),m=0;k0--){if(b0=s-1,H0[k0+x]!==e)b0=Math.floor((H0[k0+x]*s+H0[k0+x-1])/e);Q1=0,q4=0,m5=C0.length;for(V6=0;V6x)C0=(C0+1)*e;J0=Math.ceil(C0/b0);do{if(k0=b(M,J0),d(k0,m)<=0)break;J0--}while(J0);s.push(J0),m=A(m,k0)}return s.reverse(),[Z(s),Z(m)]}function B(N,M){var j=N.length,x=L(j),s=I,m,e,J0,H0;J0=0;for(m=j-1;m>=0;--m)H0=J0*s+N[m],e=D(H0/M),J0=H0-e*M,x[m]=e|0;return[x,J0|0]}function k(N,M){var j,x=E0(M);if(K)return[new W(N.value/x.value),new W(N.value%x.value)];var s=N.value,m=x.value,e;if(m===0)throw Error("Cannot divide by zero");if(N.isSmall){if(x.isSmall)return[new H(D(s/m)),new H(s%m)];return[q[0],N]}if(x.isSmall){if(m===1)return[N,q[0]];if(m==-1)return[N.negate(),q[0]];var J0=Math.abs(m);if(J0M.length?1:-1;for(var j=N.length-1;j>=0;j--)if(N[j]!==M[j])return N[j]>M[j]?1:-1;return 0}G.prototype.compareAbs=function(N){var M=E0(N),j=this.value,x=M.value;if(M.isSmall)return 1;return d(j,x)},H.prototype.compareAbs=function(N){var M=E0(N),j=Math.abs(this.value),x=M.value;if(M.isSmall)return x=Math.abs(x),j===x?0:j>x?1:-1;return-1},W.prototype.compareAbs=function(N){var M=this.value,j=E0(N).value;return M=M>=0?M:-M,j=j>=0?j:-j,M===j?0:M>j?1:-1},G.prototype.compare=function(N){if(N===1/0)return-1;if(N===-1/0)return 1;var M=E0(N),j=this.value,x=M.value;if(this.sign!==M.sign)return M.sign?1:-1;if(M.isSmall)return this.sign?-1:1;return d(j,x)*(this.sign?-1:1)},G.prototype.compareTo=G.prototype.compare,H.prototype.compare=function(N){if(N===1/0)return-1;if(N===-1/0)return 1;var M=E0(N),j=this.value,x=M.value;if(M.isSmall)return j==x?0:j>x?1:-1;if(j<0!==M.sign)return j<0?-1:1;return j<0?1:-1},H.prototype.compareTo=H.prototype.compare,W.prototype.compare=function(N){if(N===1/0)return-1;if(N===-1/0)return 1;var M=this.value,j=E0(N).value;return M===j?0:M>j?1:-1},W.prototype.compareTo=W.prototype.compare,G.prototype.equals=function(N){return this.compare(N)===0},W.prototype.eq=W.prototype.equals=H.prototype.eq=H.prototype.equals=G.prototype.eq=G.prototype.equals,G.prototype.notEquals=function(N){return this.compare(N)!==0},W.prototype.neq=W.prototype.notEquals=H.prototype.neq=H.prototype.notEquals=G.prototype.neq=G.prototype.notEquals,G.prototype.greater=function(N){return this.compare(N)>0},W.prototype.gt=W.prototype.greater=H.prototype.gt=H.prototype.greater=G.prototype.gt=G.prototype.greater,G.prototype.lesser=function(N){return this.compare(N)<0},W.prototype.lt=W.prototype.lesser=H.prototype.lt=H.prototype.lesser=G.prototype.lt=G.prototype.lesser,G.prototype.greaterOrEquals=function(N){return this.compare(N)>=0},W.prototype.geq=W.prototype.greaterOrEquals=H.prototype.geq=H.prototype.greaterOrEquals=G.prototype.geq=G.prototype.greaterOrEquals,G.prototype.lesserOrEquals=function(N){return this.compare(N)<=0},W.prototype.leq=W.prototype.lesserOrEquals=H.prototype.leq=H.prototype.lesserOrEquals=G.prototype.leq=G.prototype.lesserOrEquals,G.prototype.isEven=function(){return(this.value[0]&1)===0},H.prototype.isEven=function(){return(this.value&1)===0},W.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},G.prototype.isOdd=function(){return(this.value[0]&1)===1},H.prototype.isOdd=function(){return(this.value&1)===1},W.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},G.prototype.isPositive=function(){return!this.sign},H.prototype.isPositive=function(){return this.value>0},W.prototype.isPositive=H.prototype.isPositive,G.prototype.isNegative=function(){return this.sign},H.prototype.isNegative=function(){return this.value<0},W.prototype.isNegative=H.prototype.isNegative,G.prototype.isUnit=function(){return!1},H.prototype.isUnit=function(){return Math.abs(this.value)===1},W.prototype.isUnit=function(){return this.abs().value===BigInt(1)},G.prototype.isZero=function(){return!1},H.prototype.isZero=function(){return this.value===0},W.prototype.isZero=function(){return this.value===BigInt(0)},G.prototype.isDivisibleBy=function(N){var M=E0(N);if(M.isZero())return!1;if(M.isUnit())return!0;if(M.compareAbs(2)===0)return this.isEven();return this.mod(M).isZero()},W.prototype.isDivisibleBy=H.prototype.isDivisibleBy=G.prototype.isDivisibleBy;function t(N){var M=N.abs();if(M.isUnit())return!1;if(M.equals(2)||M.equals(3)||M.equals(5))return!0;if(M.isEven()||M.isDivisibleBy(3)||M.isDivisibleBy(5))return!1;if(M.lesser(49))return!0}function K0(N,M){var j=N.prev(),x=j,s=0,m,e,J0,H0;while(x.isEven())x=x.divide(2),s++;$:for(J0=0;J0-Y)return new H(N-1);return new G(J,!0)},W.prototype.prev=function(){return new W(this.value-BigInt(1))};var W0=[1];while(2*W0[W0.length-1]<=I)W0.push(2*W0[W0.length-1]);var A0=W0.length,v0=W0[A0-1];function L1(N){return Math.abs(N)<=I}G.prototype.shiftLeft=function(N){var M=E0(N).toJSNumber();if(!L1(M))throw Error(String(M)+" is too large for shifting.");if(M<0)return this.shiftRight(-M);var j=this;if(j.isZero())return j;while(M>=A0)j=j.multiply(v0),M-=A0-1;return j.multiply(W0[M])},W.prototype.shiftLeft=H.prototype.shiftLeft=G.prototype.shiftLeft,G.prototype.shiftRight=function(N){var M,j=E0(N).toJSNumber();if(!L1(j))throw Error(String(j)+" is too large for shifting.");if(j<0)return this.shiftLeft(-j);var x=this;while(j>=A0){if(x.isZero()||x.isNegative()&&x.isUnit())return x;M=k(x,v0),x=M[1].isNegative()?M[0].prev():M[0],j-=A0-1}return M=k(x,W0[j]),M[1].isNegative()?M[0].prev():M[0]},W.prototype.shiftRight=H.prototype.shiftRight=G.prototype.shiftRight;function f0(N,M,j){M=E0(M);var x=N.isNegative(),s=M.isNegative(),m=x?N.not():N,e=s?M.not():M,J0=0,H0=0,C0=null,b0=null,k0=[];while(!m.isZero()||!e.isZero()){if(C0=k(m,v0),J0=C0[1].toJSNumber(),x)J0=v0-1-J0;if(b0=k(e,v0),H0=b0[1].toJSNumber(),s)H0=v0-1-H0;m=C0[0],e=b0[0],k0.push(j(J0,H0))}var Q1=j(x?1:0,s?1:0)!==0?h4(-1):h4(0);for(var q4=k0.length-1;q4>=0;q4-=1)Q1=Q1.multiply(v0).add(h4(k0[q4]));return Q1}G.prototype.not=function(){return this.negate().prev()},W.prototype.not=H.prototype.not=G.prototype.not,G.prototype.and=function(N){return f0(this,N,function(M,j){return M&j})},W.prototype.and=H.prototype.and=G.prototype.and,G.prototype.or=function(N){return f0(this,N,function(M,j){return M|j})},W.prototype.or=H.prototype.or=G.prototype.or,G.prototype.xor=function(N){return f0(this,N,function(M,j){return M^j})},W.prototype.xor=H.prototype.xor=G.prototype.xor;var H1=1073741824,F0=(I&-I)*(I&-I)|H1;function g0(N){var M=N.value,j=typeof M==="number"?M|H1:typeof M==="bigint"?M|BigInt(H1):M[0]+M[1]*I|F0;return j&-j}function m0(N,M){if(M.compareTo(N)<=0){var j=m0(N,M.square(M)),x=j.p,s=j.e,m=x.multiply(M);return m.compareTo(N)<=0?{p:m,e:s*2+1}:{p:x,e:s*2}}return{p:h4(1),e:0}}G.prototype.bitLength=function(){var N=this;if(N.compareTo(h4(0))<0)N=N.negate().subtract(h4(1));if(N.compareTo(h4(0))===0)return h4(0);return h4(m0(N,h4(2)).e).add(h4(1))},W.prototype.bitLength=H.prototype.bitLength=G.prototype.bitLength;function K4(N,M){return N=E0(N),M=E0(M),N.greater(M)?N:M}function j4(N,M){return N=E0(N),M=E0(M),N.lesser(M)?N:M}function V$(N,M){if(N=E0(N).abs(),M=E0(M).abs(),N.equals(M))return N;if(N.isZero())return M;if(M.isZero())return N;var j=q[1],x,s;while(N.isEven()&&M.isEven())x=j4(g0(N),g0(M)),N=N.divide(x),M=M.divide(x),j=j.multiply(x);while(N.isEven())N=N.divide(g0(N));do{while(M.isEven())M=M.divide(g0(M));if(N.greater(M))s=M,M=N,N=s;M=M.subtract(N)}while(!M.isZero());return j.isUnit()?N:N.multiply(j)}function k$(N,M){return N=E0(N).abs(),M=E0(M).abs(),N.divide(V$(N,M)).multiply(M)}function m8(N,M,j){N=E0(N),M=E0(M);var x=j||Math.random,s=j4(N,M),m=K4(N,M),e=m.subtract(s).add(1);if(e.isSmall)return s.add(Math.floor(x()*e));var J0=a6(e,I).value,H0=[],C0=!0;for(var b0=0;b0=e){if(H0==="1"&&e===1)continue;throw Error(H0+" is not a valid digit in base "+M+".")}}}M=E0(M);var C0=[],b0=N[0]==="-";for(m=b0?1:0;m"&&m=0;m--)x=x.add(N[m].times(s)),s=s.times(M);return j?x.negate():x}function l8(N,M){if(M=M||Q,N"}function a6(N,M){if(M=h4(M),M.isZero()){if(N.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(M.equals(-1)){if(N.isZero())return{value:[0],isNegative:!1};if(N.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-N.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var j=Array.apply(null,Array(N.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return j.unshift([1]),{value:[].concat.apply([],j),isNegative:!1}}var x=!1;if(N.isNegative()&&M.isPositive())x=!0,N=N.abs();if(M.isUnit()){if(N.isZero())return{value:[0],isNegative:!1};return{value:Array.apply(null,Array(N.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:x}}var s=[],m=N,e;while(m.isNegative()||m.compareAbs(M)>=0){e=m.divmod(M),m=e.quotient;var J0=e.remainder;if(J0.isNegative())J0=M.minus(J0).abs(),m=m.next();s.push(J0.toJSNumber())}return s.push(m.toJSNumber()),{value:s.reverse(),isNegative:x}}function D7(N,M,j){var x=a6(N,M);return(x.isNegative?"-":"")+x.value.map(function(s){return l8(s,j)}).join("")}G.prototype.toArray=function(N){return a6(this,N)},H.prototype.toArray=function(N){return a6(this,N)},W.prototype.toArray=function(N){return a6(this,N)},G.prototype.toString=function(N,M){if(N===$)N=10;if(N!==10||M)return D7(this,N,M);var j=this.value,x=j.length,s=String(j[--x]),m="0000000",e;while(--x>=0)e=String(j[x]),s+=m.slice(e.length)+e;var J0=this.sign?"-":"";return J0+s},H.prototype.toString=function(N,M){if(N===$)N=10;if(N!=10||M)return D7(this,N,M);return String(this.value)},W.prototype.toString=H.prototype.toString,W.prototype.toJSON=G.prototype.toJSON=H.prototype.toJSON=function(){return this.toString()},G.prototype.valueOf=function(){return parseInt(this.toString(),10)},G.prototype.toJSNumber=G.prototype.valueOf,H.prototype.valueOf=function(){return this.value},H.prototype.toJSNumber=H.prototype.valueOf,W.prototype.valueOf=W.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function s6(N){if(V(+N)){var M=+N;if(M===D(M))return K?new W(BigInt(M)):new H(M);throw Error("Invalid integer: "+N)}var j=N[0]==="-";if(j)N=N.slice(1);var x=N.split(/e/i);if(x.length>2)throw Error("Invalid integer: "+x.join("e"));if(x.length===2){var s=x[1];if(s[0]==="+")s=s.slice(1);if(s=+s,s!==D(s)||!V(s))throw Error("Invalid integer: "+s+" is not a valid exponent.");var m=x[0],e=m.indexOf(".");if(e>=0)s-=m.length-e-1,m=m.slice(0,e)+m.slice(e+1);if(s<0)throw Error("Cannot include negative exponent part for integers");m+=Array(s+1).join("0"),N=m}var J0=/^([0-9][0-9]*)$/.test(N);if(!J0)throw Error("Invalid integer: "+N);if(K)return new W(BigInt(j?"-"+N:N));var H0=[],C0=N.length,b0=U,k0=C0-b0;while(C0>0){if(H0.push(+N.slice(k0,C0)),k0-=b0,k0<0)k0=0;C0-=b0}return z(H0),new G(H0,j)}function d5(N){if(K)return new W(BigInt(N));if(V(N)){if(N!==D(N))throw Error(N+" is not an integer.");return new H(N)}return s6(N.toString())}function E0(N){if(typeof N==="number")return d5(N);if(typeof N==="string")return s6(N);if(typeof N==="bigint")return new W(N);return N}for(var a=0;a<1000;a++)if(q[a]=E0(a),a>0)q[-a]=E0(-a);return q.one=q[1],q.zero=q[0],q.minusOne=q[-1],q.max=K4,q.min=j4,q.gcd=V$,q.lcm=k$,q.isInstance=function(N){return N instanceof G||N instanceof H||N instanceof W},q.randBetween=m8,q.fromArray=function(N,M,j){return w$(N.map(E0),E0(M||10),j)},q}();if(typeof PL<"u"&&PL.hasOwnProperty("exports"))PL.exports=h4;if(typeof define==="function"&&define.amd)define(function(){return h4})});var hW0=O((cj1,yW0)=>{var w7=SW0(),TL=r("stream");if(!TL.Writable||!TL.Writable.prototype.destroy)TL=y5();var EL;function IQ1(){var $=3988292384,I,U,Y;EL=[];for(U=0;U<256;U++){I=U;for(Y=0;Y<8;Y++)I=I&1?$^I>>>1:I=I>>>1;EL[U]=I>>>0}}function gW0($,I){if(!EL)IQ1();if($.charCodeAt)$=$.charCodeAt(0);return w7(I).shiftRight(8).and(16777215).xor(EL[w7(I).xor($).and(255)]).value}function HJ(){if(!(this instanceof HJ))return new HJ;this.key0=305419896,this.key1=591751049,this.key2=878082192}HJ.prototype.update=function($){this.key0=gW0($,this.key0),this.key1=w7(this.key0).and(255).and(4294967295).add(this.key1),this.key1=w7(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=gW0(w7(this.key1).shiftRight(24).and(255),this.key2)};HJ.prototype.decryptByte=function($){var I=w7(this.key2).or(2);return $=$^w7(I).multiply(w7(I^1)).shiftRight(8).and(255),this.update($),$};HJ.prototype.stream=function(){var $=TL.Transform(),I=this;return $._transform=function(U,Y,J){for(var Q=0;Q{var UQ1=J7(),YQ1=hW0(),JQ1=rz(),lq=r("stream"),QQ1=Zq(),KQ1=r("zlib"),qQ1=sz(),GQ1=sY(),HQ1=ez();if(!lq.Writable||!lq.Writable.prototype.destroy)lq=y5();xW0.exports=function(I,U,Y,J){var Q=JQ1(),K=lq.PassThrough(),q=I.stream(U);return q.pipe(Q).on("error",function(G){K.emit("error",G)}),K.vars=Q.pull(30).then(function(G){var H=QQ1.parse(G).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return H.lastModifiedDateTime=HQ1(H.lastModifiedDate,H.lastModifiedTime),Q.pull(H.fileNameLength).then(function(W){return H.fileName=W.toString("utf8"),Q.pull(H.extraFieldLength)}).then(function(W){var V;if(H.extra=qQ1(W,H),J&&J.compressedSize)H=J;if(H.flags&1)V=Q.pull(12).then(function(w){if(!Y)throw Error("MISSING_PASSWORD");var Z=YQ1();String(Y).split("").forEach(function(D){Z.update(D)});for(var z=0;z>8&255:H.crc32>>24&255;if(w[11]!==L)throw Error("BAD_PASSWORD");return H});return UQ1.resolve(V).then(function(){return K.emit("vars",H),H})})}),K.vars.then(function(G){var H=!(G.flags&8)||G.compressedSize>0,W,V=G.compressionMethod?KQ1.createInflateRaw():lq.PassThrough();if(H)K.size=G.uncompressedSize,W=G.compressedSize;else W=GQ1.alloc(4),W.writeUInt32LE(134695760,0);var w=Q.stream(W);if(G.decrypt)w=w.pipe(G.decrypt.stream());w.pipe(V).on("error",function(Z){K.emit("error",Z)}).pipe(K).on("finish",function(){if(q.destroy)q.destroy();else if(q.abort)q.abort();else if(q.close)q.close();else if(q.push)q.push();else console.log("warning - unable to close stream")})}).catch(function(G){K.emit("error",G)}),K}});var bW0=O((mj1,fW0)=>{var tq=Zq(),rq=rz(),WQ1=kW0(),oq=J7(),VQ1=az(),wQ1=sz(),ZQ1=sY(),py=r("path"),XQ1=iy().Writer,zQ1=ez(),uW0=ZQ1.alloc(4);uW0.writeUInt32LE(101010256,0);function LQ1($){var I=$.stream(0).pipe(rq());return I.pull(4).then(function(U){var Y=U.readUInt32LE(0);if(Y===875721283){var J;return I.pull(12).then(function(Q){J=tq.parse(Q).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars}).then(function(){return I.pull(J.pubKeyLength+J.signatureLength)}).then(function(Q){return J.publicKey=Q.slice(0,J.pubKeyLength),J.signature=Q.slice(J.pubKeyLength),J.size=16+J.pubKeyLength+J.signatureLength,J})}})}function DQ1($,I){var U=tq.parse(I).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(U.signature!=117853008)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+U.signature.toString(16));var Y=rq();return $.stream(U.offsetToStartOfCentralDirectory).pipe(Y),Y.pull(56)}function OQ1($){var I=tq.parse($).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(I.signature!=101075792)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+I.signature.toString(16));return I}fW0.exports=function(I,U){var Y=rq(),J=rq(),Q=U&&U.tailSize||80,K,q,G,H;if(U&&U.crx)q=LQ1(I);return I.size().then(function(W){return K=W,I.stream(Math.max(0,W-Q)).on("error",function(V){Y.emit("error",V)}).pipe(Y),Y.pull(uW0)}).then(function(){return oq.props({directory:Y.pull(22),crxHeader:q})}).then(function(W){var V=W.directory;if(G=W.crxHeader&&W.crxHeader.size||0,H=tq.parse(V).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars,H.numberOfRecords==65535||H.numberOfRecords==65535||H.offsetToStartOfCentralDirectory==4294967295){let Z=K-(Q-Y.match+20),z=rq();return I.stream(Z).pipe(z),z.pull(20).then(function(L){return DQ1(I,L)}).then(function(L){H=OQ1(L)})}else H.offsetToStartOfCentralDirectory+=G}).then(function(){if(H.commentLength)return Y.pull(H.commentLength).then(function(W){H.comment=W.toString("utf8")})}).then(function(){return I.stream(H.offsetToStartOfCentralDirectory).pipe(J),H.extract=function(W){if(!W||!W.path)throw Error("PATH_MISSING");return W.path=py.resolve(py.normalize(W.path)),H.files.then(function(V){return oq.map(V,function(w){if(w.type=="Directory")return;var Z=py.join(W.path,w.path);if(Z.indexOf(W.path)!=0)return;var z=W.getWriter?W.getWriter({path:Z}):XQ1({path:Z});return new oq(function(L,D){w.stream(W.password).on("error",D).pipe(z).on("close",L).on("error",D)})},{concurrency:W.concurrency>1?W.concurrency:1})})},H.files=oq.mapSeries(Array(H.numberOfRecords),function(){return J.pull(46).then(function(W){var V=tq.parse(W).word32lu("signature").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return V.offsetToLocalFileHeader+=G,V.lastModifiedDateTime=zQ1(V.lastModifiedDate,V.lastModifiedTime),J.pull(V.fileNameLength).then(function(w){return V.pathBuffer=w,V.path=w.toString("utf8"),V.isUnicode=(V.flags&2048)!=0,J.pull(V.extraFieldLength)}).then(function(w){return V.extra=wQ1(w,V),J.pull(V.fileCommentLength)}).then(function(w){return V.comment=w,V.type=V.uncompressedSize===0&&/[\/\\]$/.test(V.path)?"Directory":"File",V.stream=function(Z){return WQ1(I,V.offsetToLocalFileHeader,Z,V)},V.buffer=function(Z){return VQ1(V.stream(Z))},V})})}),oq.props(H)})}});var pW0=O((lj1,nW0)=>{var iW0=m6(),BL=J7(),aq=bW0(),vL=r("stream");if(!vL.Writable||!vL.Writable.prototype.destroy)vL=y5();nW0.exports={buffer:function($,I){var U={stream:function(Y,J){var Q=vL.PassThrough();return Q.end($.slice(Y,J)),Q},size:function(){return BL.resolve($.length)}};return aq(U,I)},file:function($,I){var U={stream:function(Y,J){return iW0.createReadStream($,{start:Y,end:J&&Y+J})},size:function(){return new BL(function(Y,J){iW0.stat($,function(Q,K){if(Q)J(Q);else Y(K.size)})})}};return aq(U,I)},url:function($,I,U){if(typeof I==="string")I={url:I};if(!I.url)throw"URL missing";I.headers=I.headers||{};var Y={stream:function(J,Q){var K=Object.create(I);return K.headers=Object.create(I.headers),K.headers.range="bytes="+J+"-"+(Q?Q:""),$(K)},size:function(){return new BL(function(J,Q){var K=$(I);K.on("response",function(q){if(K.abort(),!q.headers["content-length"])Q(Error("Missing content length header"));else J(q.headers["content-length"])}).on("error",Q)})}};return aq(Y,U)},s3:function($,I,U){var Y={size:function(){return new BL(function(J,Q){$.headObject(I,function(K,q){if(K)Q(K);else J(q.ContentLength)})})},stream:function(J,Q){var K={};for(var q in I)K[q]=I[q];return K.Range="bytes="+J+"-"+(Q?Q:""),$.getObject(K).createReadStream()}};return aq(Y,U)},custom:function($,I){return aq($,I)}}});var cW0=O((FQ1)=>{f20();p20();MB();FQ1.Parse=$L();FQ1.ParseOne=QH0();FQ1.Extract=_W0();FQ1.Open=pW0()});var QV0=O((nQ1,k5)=>{/*! * Tmp * * Copyright (c) 2011-2017 KARASZI Istvan * * MIT Licensed - */var x1=r("fs"),ML=r("os"),x4=r("path"),HW0=r("crypto"),f8={fs:x1.constants,os:ML.constants},zW0=/XXXXXX/,XW0=(f8.O_CREAT||f8.fs.O_CREAT)|(f8.O_EXCL||f8.fs.O_EXCL)|(f8.O_RDWR||f8.fs.O_RDWR),SJ1=ML.platform()==="win32",gJ1=f8.EBADF||f8.os.errno.EBADF,yJ1=f8.ENOENT||f8.os.errno.ENOENT,GJ=[],wW0=x1.rmdirSync.bind(x1),LW0=!1;function hJ1($,I){return x1.rm($,{recursive:!0},I)}function DW0($){return x1.rmSync($,{recursive:!0})}function gy($,I){let U=HJ($,I),Y=U[0],J=U[1];dJ1(Y,function(Q,K){if(Q)return J(Q);let q=K.tries;(function G(){try{let H=NW0(K);x1.stat(H,function(W){if(!W){if(q-- >0)return G();return J(Error("Could not get a unique tmp filename, max tries reached "+H))}J(null,H)})}catch(H){J(H)}})()})}function yy($){let I=HJ($),U=I[0],Y=mJ1(U),J=Y.tries;do{let Q=NW0(Y);try{x1.statSync(Q)}catch(K){return Q}}while(J-- >0);throw Error("Could not get a unique tmp filename, max tries reached")}function xJ1($,I){let U=HJ($,I),Y=U[0],J=U[1];gy(Y,function(K,q){if(K)return J(K);x1.open(q,XW0,Y.mode||384,function(H,W){if(H)return J(H);if(Y.discardDescriptor)return x1.close(W,function(z){return J(z,q,void 0,_y(q,-1,Y,!1))});else{let V=Y.discardDescriptor||Y.detachDescriptor;J(null,q,W,_y(q,V?-1:W,Y,!1))}})})}function kJ1($){let I=HJ($),U=I[0],Y=U.discardDescriptor||U.detachDescriptor,J=yy(U),Q=x1.openSync(J,XW0,U.mode||384);if(U.discardDescriptor)x1.closeSync(Q),Q=void 0;return{name:J,fd:Q,removeCallback:_y(J,Y?-1:Q,U,!0)}}function uJ1($,I){let U=HJ($,I),Y=U[0],J=U[1];gy(Y,function(K,q){if(K)return J(K);x1.mkdir(q,Y.mode||448,function(H){if(H)return J(H);J(null,q,OW0(q,Y,!1))})})}function fJ1($){let I=HJ($),U=I[0],Y=yy(U);return x1.mkdirSync(Y,U.mode||448),{name:Y,removeCallback:OW0(Y,U,!0)}}function bJ1($,I){let U=function(Y){if(Y&&!Sy(Y))return I(Y);I()};if(0<=$[0])x1.close($[0],function(){x1.unlink($[1],U)});else x1.unlink($[1],U)}function iJ1($){let I=null;try{if(0<=$[0])x1.closeSync($[0])}catch(U){if(!lJ1(U)&&!Sy(U))throw U}finally{try{x1.unlinkSync($[1])}catch(U){if(!Sy(U))I=U}}if(I!==null)throw I}function _y($,I,U,Y){let J=FL(iJ1,[I,$],Y),Q=FL(bJ1,[I,$],Y,J);if(!U.keep)GJ.unshift(J);return Y?J:Q}function OW0($,I,U){let Y=I.unsafeCleanup?hJ1:x1.rmdir.bind(x1),J=I.unsafeCleanup?DW0:wW0,Q=FL(J,$,U),K=FL(Y,$,U,Q);if(!I.keep)GJ.unshift(Q);return U?Q:K}function FL($,I,U,Y){let J=!1;return function Q(K){if(!J){let q=Y||Q,G=GJ.indexOf(q);if(G>=0)GJ.splice(G,1);if(J=!0,U||$===wW0||$===DW0)return $(I);else return $(I,K||function(){})}}}function nJ1(){if(!LW0)return;while(GJ.length)try{GJ[0]()}catch($){}}function WW0($){let I=[],U=null;try{U=HW0.randomBytes($)}catch(Y){U=HW0.pseudoRandomBytes($)}for(let Y=0;Y<$;Y++)I.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[U[Y]%62]);return I.join("")}function o6($){return typeof $>"u"}function HJ($,I){if(typeof $==="function")return[{},$];if(o6($))return[{},I];let U={};for(let Y of Object.getOwnPropertyNames($))U[Y]=$[Y];return[U,I]}function pJ1($,I,U){let Y=x4.isAbsolute($)?$:x4.join(I,$);x1.stat(Y,function(J){if(J)x1.realpath(x4.dirname(Y),function(Q,K){if(Q)return U(Q);U(null,x4.join(K,x4.basename(Y)))});else x1.realpath(Y,U)})}function cJ1($,I){let U=x4.isAbsolute($)?$:x4.join(I,$);try{return x1.statSync(U),x1.realpathSync(U)}catch(Y){let J=x1.realpathSync(x4.dirname(U));return x4.join(J,x4.basename(U))}}function NW0($){let I=$.tmpdir;if(!o6($.name))return x4.join(I,$.dir,$.name);if(!o6($.template))return x4.join(I,$.dir,$.template).replace(zW0,WW0(6));let U=[$.prefix?$.prefix:"tmp","-",process.pid,"-",WW0(12),$.postfix?"-"+$.postfix:""].join("");return x4.join(I,$.dir,U)}function jy($,I){if(typeof I!=="string")throw Error(`${$} option must be a string, got "${typeof I}".`);if(I.includes(".."))throw Error("Relative value not allowed");return I}function FW0($){if(!o6($.name)){let I=$.name;if(x4.isAbsolute(I))throw Error(`name option must not contain an absolute path, found "${I}".`);let U=x4.basename(I);if(U===".."||U==="."||U!==I)throw Error(`name option must not contain a path, found "${I}".`)}if(!o6($.template)){if(typeof $.template!=="string")throw Error(`template option must be a string, got "${typeof $.template}".`);if(!$.template.match(zW0))throw Error(`Invalid template, found "${$.template}".`)}if(!o6($.tries)&&isNaN($.tries)||$.tries<0)throw Error(`Invalid tries, found "${$.tries}".`);$.tries=o6($.name)?$.tries||3:1,$.keep=!!$.keep,$.detachDescriptor=!!$.detachDescriptor,$.discardDescriptor=!!$.discardDescriptor,$.unsafeCleanup=!!$.unsafeCleanup,$.prefix=o6($.prefix)?"":jy("prefix",$.prefix),$.postfix=o6($.postfix)?"":jy("postfix",$.postfix),$.template=o6($.template)?void 0:jy("template",$.template)}function VW0($,I,U,Y){if(o6(I))return Y(null);pJ1(I,U,function(J,Q){if(J)return Y(J);let K=x4.relative(U,Q);if(K.startsWith("..")||x4.isAbsolute(K))return Y(Error(`${$} option must be relative to "${U}", found "${K}".`));Y(null,K)})}function ZW0($,I,U){if(o6(I))return;let Y=cJ1(I,U),J=x4.relative(U,Y);if(J.startsWith("..")||x4.isAbsolute(J))throw Error(`${$} option must be relative to "${U}", found "${J}".`);return J}function dJ1($,I){rJ1($,function(U,Y){if(U)return I(U);$.tmpdir=Y;try{FW0($,Y)}catch(J){return I(J)}VW0("dir",$.dir,Y,function(J,Q){if(J)return I(J);$.dir=o6(Q)?"":Q,VW0("template",$.template,Y,function(K,q){if(K)return I(K);$.template=q,I(null,$)})})})}function mJ1($){let I=$.tmpdir=AW0($);FW0($,I);let U=ZW0("dir",$.dir,I);return $.dir=o6(U)?"":U,$.template=ZW0("template",$.template,I),$}function lJ1($){return MW0($,-gJ1,"EBADF")}function Sy($){return MW0($,-yJ1,"ENOENT")}function MW0($,I,U){return SJ1?$.code===U:$.code===U&&$.errno===I}function oJ1(){LW0=!0}function rJ1($,I){return x1.realpath($&&$.tmpdir||ML.tmpdir(),I)}function AW0($){return x1.realpathSync($&&$.tmpdir||ML.tmpdir())}process.addListener("exit",nJ1);Object.defineProperty(tJ1,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return AW0()}});tJ1.dir=uJ1;tJ1.dirSync=fJ1;tJ1.file=xJ1;tJ1.fileSync=kJ1;tJ1.tmpName=gy;tJ1.tmpNameSync=yy;tJ1.setGracefulCleanup=oJ1});var EW0=O((cC1,TW0)=>{TW0.exports=async function*(I){let U=[];I.on("data",(q)=>U.push(q));let Y,J=new Promise((q)=>Y=q),Q=!1;I.on("end",()=>{Q=!0,Y()});let K=!1;I.on("error",(q)=>{K=q,Y()});while(!Q||U.length>0){if(U.length===0)I.resume(),await Promise.race([JQ1(I,"data"),J]);else I.pause(),yield U.shift();if(K)throw K}Y()};function JQ1($,I){return new Promise((U)=>{let Y=!1,J=()=>{if(!Y)Y=!0,$.removeListener(I,J),U()};$.addListener(I,J)})}});var jW0=O((dC1,CW0)=>{var{EventEmitter:QQ1}=r("events"),KQ1=VK(),qQ1=z4(),AL=L6(),BW0=G4(),GQ1=Q5(),HQ1=xV(),RW0=uV();class vW0 extends QQ1{constructor({workbook:$,id:I,iterator:U,options:Y}){super();this.workbook=$,this.id=I,this.iterator=U,this.options=Y||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new GQ1}destroy(){throw Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=BW0.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new RW0(this,I++))}return this._columns[$-1]}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){qQ1.each(this._keys,$)}async read(){try{for await(let $ of this.parse())for(let{eventType:I,value:U}of $)this.emit(I,U);this.emit("finished")}catch($){this.emit("error",$)}}async*[Symbol.asyncIterator](){for await(let $ of this.parse())for(let{eventType:I,value:U}of $)if(I==="row")yield U}async*parse(){let{iterator:$,options:I}=this,U=!1,Y=!1,J=null;switch(I.worksheets){case"emit":U=!0;break;case"prep":break;default:break}switch(I.hyperlinks){case"emit":Y=!0;break;case"cache":this.hyperlinks=J={};break;default:break}if(!U&&!Y&&!J)return;let{sharedStrings:Q,styles:K,properties:q}=this.workbook,G=!1,H=!1,W=!1,V=null,z=null,Z=null,w=null;for await(let L of KQ1($)){let D=[];for(let{eventType:N,value:E}of L)if(N==="opentag"){let T=E;if(U)switch(T.name){case"cols":G=!0,V=[];break;case"sheetData":H=!0;break;case"col":if(G)V.push({min:parseInt(T.attributes.min,10),max:parseInt(T.attributes.max,10),width:parseFloat(T.attributes.width),styleId:parseInt(T.attributes.style||"0",10)});break;case"row":if(H){let A=parseInt(T.attributes.r,10);if(z=new HQ1(this,A),T.attributes.ht)z.height=parseFloat(T.attributes.ht);if(T.attributes.s){let v=parseInt(T.attributes.s,10),u=K.getStyleModel(v);if(u)z.style=u}}break;case"c":if(z)Z={ref:T.attributes.r,s:parseInt(T.attributes.s,10),t:T.attributes.t};break;case"f":if(Z)w=Z.f={text:""};break;case"v":if(Z)w=Z.v={text:""};break;case"is":case"t":if(Z)w=Z.v={text:""};break;case"mergeCell":break;default:break}if(Y||J)switch(T.name){case"hyperlinks":W=!0;break;case"hyperlink":if(W){let A={ref:T.attributes.ref,rId:T.attributes["r:id"]};if(Y)D.push({eventType:"hyperlink",value:A});else J[A.ref]=A}break;default:break}}else if(N==="text"){if(U){if(w)w.text+=E}}else if(N==="closetag"){let T=E;if(U)switch(T.name){case"cols":G=!1,this._columns=RW0.fromModel(V);break;case"sheetData":H=!1;break;case"row":this._dimensions.expandRow(z),D.push({eventType:"row",value:z}),z=null;break;case"c":if(z&&Z){let A=BW0.decodeAddress(Z.ref),v=z.getCell(A.col);if(Z.s){let u=K.getStyleModel(Z.s);if(u)v.style=u}if(Z.f){let u={formula:Z.f.text};if(Z.v)if(Z.t==="str")u.result=AL.xmlDecode(Z.v.text);else u.result=parseFloat(Z.v.text);v.value=u}else if(Z.v)switch(Z.t){case"s":{let u=parseInt(Z.v.text,10);if(Q)v.value=Q[u];else v.value={sharedString:u};break}case"inlineStr":case"str":v.value=AL.xmlDecode(Z.v.text);break;case"e":v.value={error:Z.v.text};break;case"b":v.value=parseInt(Z.v.text,10)!==0;break;default:if(AL.isDateFmt(v.numFmt))v.value=AL.excelToDate(parseFloat(Z.v.text),q.model&&q.model.date1904);else v.value=parseFloat(Z.v.text);break}if(J){let u=J[Z.ref];if(u)v.text=v.value,v.value=void 0,v.hyperlink=u}Z=null}break;default:break}if(Y||J)switch(T.name){case"hyperlinks":W=!1;break;default:break}}if(D.length>0)yield D}}}CW0.exports=vW0});var gW0=O((mC1,SW0)=>{var{EventEmitter:WQ1}=r("events"),VQ1=VK(),ZQ1=l$(),zQ1=y9();class _W0 extends WQ1{constructor({workbook:$,id:I,iterator:U,options:Y}){super();this.workbook=$,this.id=I,this.iterator=U,this.options=Y}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each($){return this.hyperlinks.forEach($)}async read(){let{iterator:$,options:I}=this,U=!1,Y=null;switch(I.hyperlinks){case"emit":U=!0;break;case"cache":this.hyperlinks=Y={};break;default:break}if(!U&&!Y){this.emit("finished");return}try{for await(let J of VQ1($))for(let{eventType:Q,value:K}of J)if(Q==="opentag"){let q=K;if(q.name==="Relationship"){let G=q.attributes.Id;switch(q.attributes.Type){case zQ1.Hyperlink:{let H={type:ZQ1.RelationshipType.Styles,rId:G,target:q.attributes.Target,targetMode:q.attributes.TargetMode};if(U)this.emit("hyperlink",H);else Y[H.rId]=H}break;default:break}}}this.emit("finished")}catch(J){this.emit("error",J)}}}SW0.exports=_W0});var kW0=O((lC1,xW0)=>{var hy=r("fs"),{EventEmitter:XQ1}=r("events"),{PassThrough:wQ1,Readable:LQ1}=w6(),DQ1=r("stream"),OQ1=GW0(),hW0=PW0(),l3=EW0(),NQ1=VK(),yW0=wz(),FQ1=Mz(),MQ1=Nz(),AQ1=jW0(),PQ1=gW0();hW0.setGracefulCleanup();class xy extends XQ1{constructor($,I={}){super();this.input=$,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...I},this.styles=new yW0,this.styles.init()}_getStream($){if($ instanceof DQ1.Readable||$ instanceof LQ1)return $;if(typeof $==="string")return hy.createReadStream($);throw Error(`Could not recognise input: ${$}`)}async read($,I){try{for await(let{eventType:U,value:Y}of this.parse($,I))switch(U){case"shared-strings":this.emit(U,Y);break;case"worksheet":this.emit(U,Y),await Y.read();break;case"hyperlinks":this.emit(U,Y);break}this.emit("end"),this.emit("finished")}catch(U){this.emit("error",U)}}async*[Symbol.asyncIterator](){for await(let{eventType:$,value:I}of this.parse())if($==="worksheet")yield I}async*parse($,I){if(I)this.options=I;let U=this.stream=this._getStream($||this.input),Y=OQ1.Parse({forceStream:!0});U.pipe(Y);let J=[];for await(let Q of l3(Y)){let K,q;switch(Q.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(Q);break;case"xl/workbook.xml":await this._parseWorkbook(Q);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(Q);break;case"xl/styles.xml":await this._parseStyles(Q);break;default:if(Q.path.match(/xl\/worksheets\/sheet\d+[.]xml/))if(K=Q.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),q=K[1],this.sharedStrings&&this.workbookRels)yield*this._parseWorksheet(l3(Q),q);else await new Promise((G,H)=>{hW0.file((W,V,z,Z)=>{if(W)return H(W);J.push({sheetNo:q,path:V,tempFileCleanupCallback:Z});let w=hy.createWriteStream(V);return w.on("error",H),Q.pipe(w),w.on("finish",()=>{return G()})})});else if(Q.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/))K=Q.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),q=K[1],yield*this._parseHyperlinks(l3(Q),q);break}Q.autodrain()}for(let{sheetNo:Q,path:K,tempFileCleanupCallback:q}of J){let G=hy.createReadStream(K);if(!G[Symbol.asyncIterator])G=G.pipe(new wQ1);yield*this._parseWorksheet(G,Q),q()}}_emitEntry($){if(this.options.entries==="emit")this.emit("entry",$)}async _parseRels($){let I=new MQ1;this.workbookRels=await I.parseStream(l3($))}async _parseWorkbook($){this._emitEntry({type:"workbook"});let I=new FQ1;await I.parseStream(l3($)),this.properties=I.map.workbookPr,this.model=I.model}async*_parseSharedStrings($){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let I=null,U=[],Y=0,J=null;for await(let Q of NQ1(l3($)))for(let{eventType:K,value:q}of Q)if(K==="opentag"){let G=q;switch(G.name){case"b":J=J||{},J.bold=!0;break;case"charset":J=J||{},J.charset=parseInt(G.attributes.charset,10);break;case"color":if(J=J||{},J.color={},G.attributes.rgb)J.color.argb=G.attributes.argb;if(G.attributes.val)J.color.argb=G.attributes.val;if(G.attributes.theme)J.color.theme=G.attributes.theme;break;case"family":J=J||{},J.family=parseInt(G.attributes.val,10);break;case"i":J=J||{},J.italic=!0;break;case"outline":J=J||{},J.outline=!0;break;case"rFont":J=J||{},J.name=G.value;break;case"si":J=null,U=[],I=null;break;case"sz":J=J||{},J.size=parseInt(G.attributes.val,10);break;case"strike":break;case"t":I=null;break;case"u":J=J||{},J.underline=!0;break;case"vertAlign":J=J||{},J.vertAlign=G.attributes.val;break}}else if(K==="text")I=I?I+q:q;else if(K==="closetag")switch(q.name){case"r":U.push({font:J,text:I}),J=null,I=null;break;case"si":if(this.options.sharedStrings==="cache")this.sharedStrings.push(U.length?{richText:U}:I);else if(this.options.sharedStrings==="emit")yield{index:Y++,text:U.length?{richText:U}:I};U=[],J=null,I=null;break}}async _parseStyles($){if(this._emitEntry({type:"styles"}),this.options.styles==="cache")this.styles=new yW0,await this.styles.parseStream(l3($))}*_parseWorksheet($,I){this._emitEntry({type:"worksheet",id:I});let U=new AQ1({workbook:this,id:I,iterator:$,options:this.options}),Y=(this.workbookRels||[]).find((Q)=>Q.Target===`worksheets/sheet${I}.xml`),J=Y&&(this.model.sheets||[]).find((Q)=>Q.rId===Y.Id);if(J)U.id=J.id,U.name=J.name,U.state=J.state;if(this.options.worksheets==="emit")yield{eventType:"worksheet",value:U}}*_parseHyperlinks($,I){this._emitEntry({type:"hyperlinks",id:I});let U=new PQ1({workbook:this,id:I,iterator:$,options:this.options});if(this.options.hyperlinks==="emit")yield{eventType:"hyperlinks",value:U}}}xy.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]};xW0.exports=xy});var bW0=O((oC1,fW0)=>{var uW0={Workbook:Z30(),ModelContainer:w30(),stream:{xlsx:{WorkbookWriter:I20(),WorkbookReader:kW0()}}};Object.assign(uW0,l$());fW0.exports=uW0});var ky=O((rC1,iW0)=>{if(parseInt(process.versions.node.split(".")[0],10)<10)throw Error("For node versions older than 10, please use the ES5 Import: https://github.com/exceljs/exceljs#es5-imports");iW0.exports=bW0()});var DV0=O((bj1,LV0)=>{LV0.exports=jL;function jL(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}jL.prototype.go=function($){if(this.pending0&&$.pending<$.max)wV0($,$.waiting.shift());else if($.pending===0){var Q=$.listeners;$.listeners=[],Q.forEach(Y)}}function Y(J){J($.error)}}function wV0($,I){I(XV0($))}});var FV0=O((E21)=>{var ty=r("fs"),ay=r("util"),OV0=r("stream"),NV0=OV0.Readable,P21=OV0.PassThrough,T21=DV0(),_L=r("events").EventEmitter;E21.BufferSlicer=zJ;E21.FdSlicer=ZJ;ay.inherits(ZJ,_L);function ZJ($){_L.call(this),this.fd=$,this.pend=new T21,this.pend.max=1,this.refCount=0}ZJ.prototype.read=function($,I,U,Y,J){var Q=this;Q.pend.go(function(K){ty.read(Q.fd,$,I,U,Y,function(q,G,H){K(),J(q,G,H)})})};ZJ.prototype.createReadStream=function($){return new rq(this,$)};ZJ.prototype.ref=function(){this.refCount+=1};ZJ.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount<0)throw Error("invalid unref");if($.refCount>0)return;ty.close($.fd,I);function I(U){if(U)$.emit("error",U);else $.emit("close")}};ay.inherits(rq,NV0);function rq($,I){I=I||{},NV0.call(this,I),this.context=$,this.context.ref(),this.start=I.start||0,this.endOffset=I.end,this.pos=this.start}rq.prototype._read=function($){var I=this,U=Math.min(I._readableState.highWaterMark,$);if(I.endOffset!=null)U=Math.min(U,I.endOffset-I.pos);if(U<=0){I.push(null),this._cleanup();return}I.context.pend.go(function(Y){var J=Buffer.allocUnsafe(U);ty.read(I.context.fd,J,0,U,I.pos,function(Q,K){if(Q)I.destroy(Q);else if(K===0)I.push(null),I._cleanup();else I.pos+=K,I.push(J.slice(0,K));Y()})})};rq.prototype._destroy=function($,I){this._cleanup(),I($)};rq.prototype._cleanup=function(){if(this.context!=null)this.context.unref(),this.context=null};ay.inherits(zJ,_L);function zJ($){_L.call(this),this.refCount=0,this.buffer=$}zJ.prototype.read=function($,I,U,Y,J){if(!(0<=I&&I<=$.length))throw RangeError("offset outside buffer: 0 <= "+I+" <= "+$.length);if(Y<0)throw RangeError("position is negative: "+Y);if(I+U>$.length)U=$.length-I;if(Y+U>this.buffer.length)U=this.buffer.length-Y;if(U<=0){setImmediate(function(){J(null,0)});return}this.buffer.copy($,I,Y,Y+U),setImmediate(function(){J(null,U)})};zJ.prototype.createReadStream=function($){$=$||{};var I=new P21($);I.start=$.start||0,I.endOffset=$.end,I.pos=I.endOffset||this.buffer.length;var U=this.buffer.slice(I.start,I.pos),Y=65536,J=0;while(!0){var Q=J+Y;if(Q>=U.length){if(J{var v21=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function C21($){let I=-1;for(let U of $)I=v21[(I^U)&255]^I>>>8;return(I^-1)>>>0}MV0.exports=C21});var gV0=O((k21)=>{var sy=r("fs"),ey=r("zlib"),PV0=FV0(),yL=r("util"),hL=r("events").EventEmitter,TV0=r("stream").Transform,Ih=r("stream").PassThrough,j21=r("stream").Writable,_21=typeof ey.crc32==="function"?ey.crc32:AV0();k21.open=EV0;k21.fromFd=Uh;k21.fromBuffer=BV0;k21.fromRandomAccessReader=xL;k21.openPromise=S21;k21.fromFdPromise=g21;k21.fromBufferPromise=y21;k21.fromRandomAccessReaderPromise=h21;k21.dosDateTimeToDate=CV0;k21.getFileNameLowLevel=jV0;k21.validateFileName=_V0;k21.parseExtraFields=SV0;k21.ZipFile=r6;k21.Entry=LJ;k21.LocalFileHeader=vV0;k21.RandomAccessReader=Z7;function S21($,I){return new Promise((U,Y)=>{EV0($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function g21($,I){return new Promise((U,Y)=>{Uh($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function y21($,I){return new Promise((U,Y)=>{BV0($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function h21($,I,U){return new Promise((Y,J)=>{xL($,I,{...U,lazyEntries:!0},function(Q,K){if(Q)return J(Q);Y(K)})})}function EV0($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose==null)I.autoClose=!0;if(I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;if(U==null)U=gL;sy.open($,"r",function(Y,J){if(Y)return U(Y);Uh(J,I,function(Q,K){if(Q)sy.close(J,gL);U(Q,K)})})}function Uh($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose==null)I.autoClose=!1;if(I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;if(U==null)U=gL;sy.fstat($,function(Y,J){if(Y)return U(Y);var Q=new PV0.FdSlicer($);xL(Q,J.size,I,U)})}function BV0($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose=!1,I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;var Y=new PV0.BufferSlicer($);xL(Y,$.length,I,U)}function xL($,I,U,Y){if(typeof U==="function")Y=U,U=null;if(U==null)U={};if(U.autoClose==null)U.autoClose=!0;if(U.lazyEntries==null)U.lazyEntries=!1;if(U.decodeStrings==null)U.decodeStrings=!0;var J=!!U.decodeStrings;if(U.validateEntrySizes==null)U.validateEntrySizes=!0;if(U.strictFileNames==null)U.strictFileNames=!1;if(Y==null)Y=gL;if(typeof I!=="number")throw Error("expected totalSize parameter to be a number");if(I>Number.MAX_SAFE_INTEGER)throw Error("zip file too large. only file sizes up to 2^52 are supported due to JavaScript's Number type being an IEEE 754 double.");$.ref();var Q=22,K=20,q=65535,G=Math.min(K+Q+q,I),H=x5(G),W=I-H.length;wJ($,H,0,G,W,function(V){if(V)return Y(V);for(var z=G-Q;z>=0;z-=1){if(H.readUInt32LE(z)!==101010256)continue;var Z=H.subarray(z),w=Z.readUInt16LE(4),L=Z.readUInt16LE(10),D=Z.readUInt32LE(16),N=Z.readUInt16LE(20),E=Z.length-Q;if(N!==E)return Y(Error("Invalid comment length. Expected: "+E+". Found: "+N+". Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?"));var T=J?SL(Z.subarray(22),!1):Z.subarray(22);if(z-K>=0&&H.readUInt32LE(z-K)===117853008){var A=H.subarray(z-K,z-K+K),v=XJ(A,8),u=x5(56);return wJ($,u,0,u.length,v,function(g){if(g)return Y(g);if(u.readUInt32LE(0)!==101075792)return Y(Error("invalid zip64 end of central directory record signature"));if(w=u.readUInt32LE(16),w!==0)return Y(Error("multi-disk zip files are not supported: found disk number: "+w));return L=XJ(u,32),D=XJ(u,48),Y(null,new r6($,D,I,L,T,U.autoClose,U.lazyEntries,J,U.validateEntrySizes,U.strictFileNames))})}if(w!==0)return Y(Error("multi-disk zip files are not supported: found disk number: "+w));return Y(null,new r6($,D,I,L,T,U.autoClose,U.lazyEntries,J,U.validateEntrySizes,U.strictFileNames))}Y(Error("End of central directory record signature not found. Either not a zip file, or file is truncated."))})}yL.inherits(r6,hL);function r6($,I,U,Y,J,Q,K,q,G,H){var W=this;if(hL.call(W),W.reader=$,W.reader.on("error",function(V){RV0(W,V)}),W.reader.once("close",function(){W.emit("close")}),W.readEntryCursor=I,W.fileSize=U,W.entryCount=Y,W.comment=J,W.entriesRead=0,W.autoClose=!!Q,W.lazyEntries=!!K,W.decodeStrings=!!q,W.validateEntrySizes=!!G,W.strictFileNames=!!H,W.isOpen=!0,W.emittedError=!1,W.hasEachEntryBeenCalled=!1,!W.lazyEntries)W._readEntry()}r6.prototype.close=function(){if(!this.isOpen)return;this.isOpen=!1,this.reader.unref()};function i8($,I){if($.autoClose)$.close();RV0($,I)}function RV0($,I){if($.emittedError)return;$.emittedError=!0,$.emit("error",I)}r6.prototype.readEntry=function(){if(!this.lazyEntries)throw Error("readEntry() called without lazyEntries:true");this._readEntry()};r6.prototype._readEntry=function(){var $=this;if($.entryCount===$.entriesRead){setImmediate(function(){if($.autoClose)$.close();if($.emittedError)return;$.emit("end")});return}if($.emittedError)return;var I=x5(46);wJ($.reader,I,0,I.length,$.readEntryCursor,function(U){if(U)return i8($,U);if($.emittedError)return;var Y=new LJ,J=I.readUInt32LE(0);if(J!==33639248)return i8($,Error("invalid central directory file header signature: 0x"+J.toString(16)));if(Y.versionMadeBy=I.readUInt16LE(4),Y.versionNeededToExtract=I.readUInt16LE(6),Y.generalPurposeBitFlag=I.readUInt16LE(8),Y.compressionMethod=I.readUInt16LE(10),Y.lastModFileTime=I.readUInt16LE(12),Y.lastModFileDate=I.readUInt16LE(14),Y.crc32=I.readUInt32LE(16),Y.compressedSize=I.readUInt32LE(20),Y.uncompressedSize=I.readUInt32LE(24),Y.fileNameLength=I.readUInt16LE(28),Y.extraFieldLength=I.readUInt16LE(30),Y.fileCommentLength=I.readUInt16LE(32),Y.internalFileAttributes=I.readUInt16LE(36),Y.externalFileAttributes=I.readUInt32LE(38),Y.relativeOffsetOfLocalHeader=I.readUInt32LE(42),Y.generalPurposeBitFlag&64)return i8($,Error("strong encryption is not supported"));$.readEntryCursor+=46,I=x5(Y.fileNameLength+Y.extraFieldLength+Y.fileCommentLength),wJ($.reader,I,0,I.length,$.readEntryCursor,function(Q){if(Q)return i8($,Q);if($.emittedError)return;Y.fileNameRaw=I.subarray(0,Y.fileNameLength);var K=Y.fileNameLength+Y.extraFieldLength;Y.extraFieldRaw=I.subarray(Y.fileNameLength,K),Y.fileCommentRaw=I.subarray(K,K+Y.fileCommentLength);try{Y.extraFields=SV0(Y.extraFieldRaw)}catch(L){return i8($,L)}if($.decodeStrings){var q=(Y.generalPurposeBitFlag&2048)!==0;Y.fileComment=SL(Y.fileCommentRaw,q),Y.fileName=jV0(Y.generalPurposeBitFlag,Y.fileNameRaw,Y.extraFields,$.strictFileNames);var G=_V0(Y.fileName);if(G!=null)return i8($,Error(G))}else Y.fileComment=Y.fileCommentRaw,Y.fileName=Y.fileNameRaw;Y.comment=Y.fileComment,$.readEntryCursor+=I.length,$.entriesRead+=1;for(var H=0;HV.length)return i8($,Error("zip64 extended information extra field does not include uncompressed size"));Y.uncompressedSize=XJ(V,z),z+=8}if(Y.compressedSize===4294967295){if(z+8>V.length)return i8($,Error("zip64 extended information extra field does not include compressed size"));Y.compressedSize=XJ(V,z),z+=8}if(Y.relativeOffsetOfLocalHeader===4294967295){if(z+8>V.length)return i8($,Error("zip64 extended information extra field does not include relative header offset"));Y.relativeOffsetOfLocalHeader=XJ(V,z),z+=8}break}if($.validateEntrySizes&&Y.compressionMethod===0){var Z=Y.uncompressedSize;if(Y.isEncrypted())Z+=12;if(Y.compressedSize!==Z){var w="compressed/uncompressed size mismatch for stored file: "+Y.compressedSize+" != "+Y.uncompressedSize;return i8($,Error(w))}}if($.emit("entry",Y),!$.lazyEntries)$._readEntry()})})};r6.prototype.eachEntry=function(){let $=this;if(!$.lazyEntries)throw Error("eachEntry() requires lazyEntries: true");if($.hasEachEntryBeenCalled)throw Error("eachEntry() must only be called once per ZipFile");$.hasEachEntryBeenCalled=!0;let I=null;$.on("entry",Y),$.on("end",J),$.on("error",Q);function U(){if($.removeListener("entry",Y),$.removeListener("end",J),$.removeListener("error",Q),$.autoClose)$.close()}function Y(K){let{resolve:q}=I;I=null,q({value:K})}function J(){let{resolve:K}=I;I=null,U(),K({done:!0})}function Q(K){let{reject:q}=I;I=null,U(),q(K)}return{[Symbol.asyncIterator](){return this},next(){let K=new Promise((q,G)=>{if(I!=null)throw Error("next() called before previous Promise was resolved.");I={resolve:q,reject:G}});return $.readEntry(),K},return(K){return U(),Promise.resolve({done:!0,value:K})},throw(K){return U(),Promise.reject(K)}}};r6.prototype.openReadStream=function($,I,U){var Y=this,J=0,Q=$.compressedSize;if(U==null)U=I,I=null;if(I==null)I={};else{if(I.decodeFileData===!1){if(I.decrypt!=null)throw Error("cannot use options.decrypt when options.decodeFileData === false");if(I.decompress!=null)throw Error("cannot use options.decompress when options.decodeFileData === false")}else{if(I.decrypt!=null){if(!$.isEncrypted())throw Error("options.decrypt can only be specified for encrypted entries. See also option decodeFileData.");if(I.decrypt!==!1)throw Error("invalid options.decrypt value: "+I.decrypt);if($.isCompressed()){if(I.decompress!==!1)throw Error("entry is encrypted and compressed, and options.decompress !== false. See also option decodeFileData.")}}if(I.decompress!=null){if(!$.isCompressed())throw Error("options.decompress can only be specified for compressed entries. See also option decodeFileData.");if(!(I.decompress===!1||I.decompress===!0))throw Error("invalid options.decompress value: "+I.decompress);q=I.decompress}}if(I.start!=null){if(J=I.start,J<0)throw Error("options.start < 0");if(J>$.compressedSize)throw Error("options.start > entry.compressedSize")}if(I.end!=null){if(Q=I.end,Q<0)throw Error("options.end < 0");if(Q>$.compressedSize)throw Error("options.end > entry.compressedSize");if(QY.fileSize)return U(Error("file data overflows file bounds: "+H+" + "+$.compressedSize+" > "+Y.fileSize));if(I.minimal)return U(null,{fileDataStart:H});var W=new vV0;W.fileDataStart=H,W.versionNeededToExtract=J.readUInt16LE(4),W.generalPurposeBitFlag=J.readUInt16LE(6),W.compressionMethod=J.readUInt16LE(8),W.lastModFileTime=J.readUInt16LE(10),W.lastModFileDate=J.readUInt16LE(12),W.crc32=J.readUInt32LE(14),W.compressedSize=J.readUInt32LE(18),W.uncompressedSize=J.readUInt32LE(22),W.fileNameLength=q,W.extraFieldLength=G,J=x5(q+G),Y.reader.ref(),wJ(Y.reader,J,0,J.length,$.relativeOffsetOfLocalHeader+30,function(V){try{if(V)return U(V);return W.fileName=J.subarray(0,q),W.extraField=J.subarray(q),U(null,W)}finally{Y.reader.unref()}})}finally{Y.reader.unref()}})};r6.prototype.openReadStreamPromise=function($,I){return new Promise((U,Y)=>{this.openReadStream($,I,function(J,Q){if(J)return Y(J);U(Q)})})};r6.prototype.openReadStreamLowLevelPromise=function($,I,U,Y,J,Q){return new Promise((K,q)=>{this.openReadStream($,I,U,Y,J,Q,function(G,H){if(G)return q(G);K(H)})})};r6.prototype.readLocalFileHeaderPromise=function($,I){return new Promise((U,Y)=>{this.readLocalFileHeader($,I,function(J,Q){if(J)return Y(J);U(Q)})})};function LJ(){}LJ.prototype.getLastModDate=function($){if($==null)$={};if(!$.forceDosFormat)for(var I=0;I>5&15)-1,Q=($>>9&127)+1980,K=0,q=(I&31)*2,G=I>>5&63,H=I>>11&31;if(U==null||U==="local")return new Date(Q,J,Y,H,G,q,K);else if(U==="UTC")return new Date(Date.UTC(Q,J,Y,H,G,q,K));else throw Error("unrecognized options.timezone: "+options.timezone)}function jV0($,I,U,Y){var J=null;for(var Q=0;Q$.length)throw Error("extra field length exceeds extra field buffer size");var q=$.subarray(Q,K);I.push({id:Y,data:q}),U=K}return I}function wJ($,I,U,Y,J,Q){if(Y===0)return setImmediate(function(){Q(null,x5(0))});$.read(I,U,Y,J,function(K,q){if(K)return Q(K);if(qthis.expectedByteCount){var Y="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return U(Error(Y))}U(null,$)};tq.prototype._flush=function($){if(this.actualByteCount0)return;if($.refCount<0)throw Error("invalid unref");$.close(I);function I(U){if(U)return $.emit("error",U);$.emit("close")}};Z7.prototype.createReadStream=function($){if($==null)$={};var{start:I,end:U}=$;if(I===U){var Y=new Ih;return setImmediate(function(){Y.end()}),Y}var J=this._readStreamForRange(I,U),Q=!1,K=new kL(this);J.on("error",function(G){setImmediate(function(){if(!Q)K.emit("error",G)})}),$h(K,function(){J.unpipe(K),K.unref(),J.destroy()});var q=new tq(U-I);return K.on("error",function(G){setImmediate(function(){if(!Q)q.emit("error",G)})}),$h(q,function(){Q=!0,K.unpipe(q),K.destroy()}),J.pipe(K).pipe(q)};Z7.prototype._readStreamForRange=function($,I){throw Error("not implemented")};Z7.prototype.read=function($,I,U,Y,J){var Q=this.createReadStream({start:Y,end:Y+U}),K=new j21,q=0;K._write=function(G,H,W){G.copy($,I+q,0,G.length),q+=G.length,W()},K.on("finish",J),Q.on("error",function(G){J(G)}),Q.pipe(K)};Z7.prototype.close=function($){setImmediate($)};yL.inherits(kL,Ih);function kL($){Ih.call(this),this.context=$,this.context.ref(),this.unreffedYet=!1}kL.prototype._flush=function($){this.unref(),$()};kL.prototype.unref=function($){if(this.unreffedYet)return;this.unreffedYet=!0,this.context.unref()};var x21="\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";function SL($,I){if(I)return $.toString("utf8");else{var U="";for(var Y=0;Y<$.length;Y++)U+=x21[$[Y]];return U}}function XJ($,I){var U=$.readUInt32LE(I),Y=$.readUInt32LE(I+4);return Y*4294967296+U}var x5;if(typeof Buffer.allocUnsafe==="function")x5=function($){return Buffer.allocUnsafe($)};else x5=function($){return new Buffer($)};function $h($,I){if(typeof $.destroy==="function")$._destroy=function(U,Y){if(I(),Y!=null)Y(U)};else $.destroy=I}function gL($){if($)throw $}});var k5=O((cj1,yV0)=>{var uL=r("buffer"),DJ=uL.Buffer,g$={},y$;for(y$ in uL){if(!uL.hasOwnProperty(y$))continue;if(y$==="SlowBuffer"||y$==="Buffer")continue;g$[y$]=uL[y$]}var OJ=g$.Buffer={};for(y$ in DJ){if(!DJ.hasOwnProperty(y$))continue;if(y$==="allocUnsafe"||y$==="allocUnsafeSlow")continue;OJ[y$]=DJ[y$]}g$.Buffer.prototype=DJ.prototype;if(!OJ.from||OJ.from===Uint8Array.from)OJ.from=function($,I,U){if(typeof $==="number")throw TypeError('The "value" argument must not be of type number. Received type '+typeof $);if($&&typeof $.length>"u")throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);return DJ($,I,U)};if(!OJ.alloc)OJ.alloc=function($,I,U){if(typeof $!=="number")throw TypeError('The "size" argument must be of type number. Received type '+typeof $);if($<0||$>=2147483648)throw RangeError('The value "'+$+'" is invalid for option "size"');var Y=DJ($);if(!I||I.length===0)Y.fill(0);else if(typeof U==="string")Y.fill(I,U);else Y.fill(I);return Y};if(!g$.kStringMaxLength)try{g$.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch($){}if(!g$.constants){if(g$.constants={MAX_LENGTH:g$.kMaxLength},g$.kStringMaxLength)g$.constants.MAX_STRING_LENGTH=g$.kStringMaxLength}yV0.exports=g$});var xV0=O(($K1)=>{var hV0="\uFEFF";$K1.PrependBOM=Yh;function Yh($,I){this.encoder=$,this.addBOM=!0}Yh.prototype.write=function($){if(this.addBOM)$=hV0+$,this.addBOM=!1;return this.encoder.write($)};Yh.prototype.end=function(){return this.encoder.end()};$K1.StripBOM=Jh;function Jh($,I){this.decoder=$,this.pass=!1,this.options=I||{}}Jh.prototype.write=function($){var I=this.decoder.write($);if(this.pass||!I)return I;if(I[0]===hV0){if(I=I.slice(1),typeof this.options.stripBOM==="function")this.options.stripBOM()}return this.pass=!0,I};Jh.prototype.end=function(){return this.decoder.end()}});var Qh=O((mj1,kV0)=>{var YK1=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function JK1($,I){for(var U in I)if(YK1(I,U))$[U]=I[U]}kV0.exports=JK1});var fV0=O((lj1,uV0)=>{var u5=k5().Buffer;uV0.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:Kh};function Kh($,I){if(this.enc=$.encodingName,this.bomAware=$.bomAware,this.enc==="base64")this.encoder=Hh;else if(this.enc==="utf8")this.encoder=Zh;else if(this.enc==="cesu8"){if(this.enc="utf8",this.encoder=Wh,u5.from("eda0bdedb2a9","hex").toString()!=="\uD83D\uDCA9")this.decoder=Vh,this.defaultCharUnicode=I.defaultCharUnicode}}Kh.prototype.encoder=Gh;Kh.prototype.decoder=qh;var QK1=r("string_decoder").StringDecoder;function qh($,I){this.decoder=new QK1(I.enc)}qh.prototype.write=function($){if(!u5.isBuffer($))$=u5.from($);return this.decoder.write($)};qh.prototype.end=function(){return this.decoder.end()};function Gh($,I){this.enc=I.enc}Gh.prototype.write=function($){return u5.from($,this.enc)};Gh.prototype.end=function(){};function Hh($,I){this.prevStr=""}Hh.prototype.write=function($){$=this.prevStr+$;var I=$.length-$.length%4;return this.prevStr=$.slice(I),$=$.slice(0,I),u5.from($,"base64")};Hh.prototype.end=function(){return u5.from(this.prevStr,"base64")};function Wh($,I){}Wh.prototype.write=function($){var I=u5.alloc($.length*3),U=0;for(var Y=0;Y<$.length;Y++){var J=$.charCodeAt(Y);if(J<128)I[U++]=J;else if(J<2048)I[U++]=192+(J>>>6),I[U++]=128+(J&63);else I[U++]=224+(J>>>12),I[U++]=128+(J>>>6&63),I[U++]=128+(J&63)}return I.slice(0,U)};Wh.prototype.end=function(){};function Vh($,I){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=I.defaultCharUnicode}Vh.prototype.write=function($){var I=this.acc,U=this.contBytes,Y=this.accBytes,J="";for(var Q=0;Q<$.length;Q++){var K=$[Q];if((K&192)!==128){if(U>0)J+=this.defaultCharUnicode,U=0;if(K<128)J+=String.fromCharCode(K);else if(K<224)I=K&31,U=1,Y=1;else if(K<240)I=K&15,U=2,Y=1;else J+=this.defaultCharUnicode}else if(U>0){if(I=I<<6|K&63,U--,Y++,U===0)if(Y===2&&I<128&&I>0)J+=this.defaultCharUnicode;else if(Y===3&&I<2048)J+=this.defaultCharUnicode;else J+=String.fromCharCode(I)}else J+=this.defaultCharUnicode}return this.acc=I,this.contBytes=U,this.accBytes=Y,J};Vh.prototype.end=function(){var $=0;if(this.contBytes>0)$+=this.defaultCharUnicode;return $};function Zh($,I){this.highSurrogate=""}Zh.prototype.write=function($){if(this.highSurrogate)$=this.highSurrogate+$,this.highSurrogate="";if($.length>0){var I=$.charCodeAt($.length-1);if(I>=55296&&I<56320)this.highSurrogate=$[$.length-1],$=$.slice(0,$.length-1)}return u5.from($,this.enc)};Zh.prototype.end=function(){if(this.highSurrogate){var $=this.highSurrogate;return this.highSurrogate="",u5.from($,this.enc)}}});var nV0=O((KK1)=>{var fL=k5().Buffer;KK1._utf32=zh;function zh($,I){this.iconv=I,this.bomAware=!0,this.isLE=$.isLE}KK1.utf32le={type:"_utf32",isLE:!0};KK1.utf32be={type:"_utf32",isLE:!1};KK1.ucs4le="utf32le";KK1.ucs4be="utf32be";zh.prototype.encoder=Xh;zh.prototype.decoder=wh;function Xh($,I){this.isLE=I.isLE,this.highSurrogate=0}Xh.prototype.write=function($){var I=fL.from($,"ucs2"),U=fL.alloc(I.length*2+4),Y=this.isLE?U.writeUInt32LE:U.writeUInt32BE,J=0;for(var Q=0;Q=55296&&K<56320,G=K>=56320&&K<57344;if(this.highSurrogate)if(q||!G)Y.call(U,this.highSurrogate,J),J+=4;else{var H=(this.highSurrogate-55296<<10|K-56320)+65536;Y.call(U,H,J),J+=4,this.highSurrogate=0;continue}if(q)this.highSurrogate=K;else Y.call(U,K,J),J+=4,this.highSurrogate=0}if(J0){for(;I<$.length&&K.length<4;I++)K.push($[I]);if(K.length===4){if(Q)U=K[0]|K[1]<<8|K[2]<<16|K[3]<<24;else U=K[3]|K[2]<<8|K[1]<<16|K[0]<<24;K.length=0,J=bV0(Y,J,U,q)}}for(;I<$.length-3;I+=4){if(Q)U=$[I]|$[I+1]<<8|$[I+2]<<16|$[I+3]<<24;else U=$[I+3]|$[I+2]<<8|$[I+1]<<16|$[I]<<24;J=bV0(Y,J,U,q)}for(;I<$.length;I++)K.push($[I]);return Y.slice(0,J).toString("ucs2")};function bV0($,I,U,Y){if(U<0||U>1114111)U=Y;if(U>=65536){U-=65536;var J=55296|U>>10;$[I++]=J&255,$[I++]=J>>8;var U=56320|U&1023}return $[I++]=U&255,$[I++]=U>>8,I}wh.prototype.end=function(){if(this.overflow.length===0)return;return this.overflow.length=0,String.fromCharCode(this.badChar)};KK1.utf32=Lh;KK1.ucs4="utf32";function Lh($,I){this.iconv=I}Lh.prototype.encoder=Dh;Lh.prototype.decoder=Oh;function Dh($,I){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=I.iconv.getEncoder($.defaultEncoding||"utf-32le",$)}Dh.prototype.write=function($){return this.encoder.write($)};Dh.prototype.end=function(){return this.encoder.end()};function Oh($,I){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=I.iconv}Oh.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<32)return"";var I=iV0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(I,this.options);var U="";for(var Y=0;Y16)Q++;if(U[3]!==0||U[2]>16)J++;if(U[0]===0&&U[1]===0&&(U[2]!==0||U[3]!==0))q++;if((U[0]!==0||U[1]!==0)&&U[2]===0&&U[3]===0)K++;if(U.length=0,Y++,Y>=100)break $}}if(q-Q>K-J)return"utf-32be";if(q-Q{var pV0=k5().Buffer;XK1.utf16be=bL;function bL(){}bL.prototype.encoder=Nh;bL.prototype.decoder=Fh;bL.prototype.bomAware=!0;function Nh(){}Nh.prototype.write=function($){var I=pV0.from($,"ucs2");for(var U=0;U=100)break $}}if(Q>J)return"utf-16be";if(Q{var n8=k5().Buffer;FK1.utf7=iL;FK1.unicode11utf7="utf7";function iL($,I){this.iconv=I}iL.prototype.encoder=Eh;iL.prototype.decoder=Bh;iL.prototype.bomAware=!0;var DK1=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Eh($,I){this.iconv=I.iconv}Eh.prototype.write=function($){return n8.from($.replace(DK1,function(I){return"+"+(I==="+"?"":this.iconv.encode(I,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};Eh.prototype.end=function(){};function Bh($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=""}var OK1=/[A-Za-z0-9\/+]/,Rh=[];for(NJ=0;NJ<256;NJ++)Rh[NJ]=OK1.test(String.fromCharCode(NJ));var NJ,NK1=43,e3=45,Th=38;Bh.prototype.write=function($){var I="",U=0,Y=this.inBase64,J=this.base64Accum;for(var Q=0;Q<$.length;Q++)if(!Y){if($[Q]==NK1)I+=this.iconv.decode($.slice(U,Q),"ascii"),U=Q+1,Y=!0}else if(!Rh[$[Q]]){if(Q==U&&$[Q]==e3)I+="+";else{var K=J+this.iconv.decode($.slice(U,Q),"ascii");I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}if($[Q]!=e3)Q--;U=Q+1,Y=!1,J=""}if(!Y)I+=this.iconv.decode($.slice(U),"ascii");else{var K=J+this.iconv.decode($.slice(U),"ascii"),q=K.length-K.length%8;J=K.slice(q),K=K.slice(0,q),I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}return this.inBase64=Y,this.base64Accum=J,I};Bh.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(n8.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$};FK1.utf7imap=nL;function nL($,I){this.iconv=I}nL.prototype.encoder=vh;nL.prototype.decoder=Ch;nL.prototype.bomAware=!0;function vh($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=n8.alloc(6),this.base64AccumIdx=0}vh.prototype.write=function($){var I=this.inBase64,U=this.base64Accum,Y=this.base64AccumIdx,J=n8.alloc($.length*5+10),Q=0;for(var K=0;K<$.length;K++){var q=$.charCodeAt(K);if(q>=32&&q<=126){if(I){if(Y>0)Q+=J.write(U.slice(0,Y).toString("base64").replace(/\//g,",").replace(/=+$/,""),Q),Y=0;J[Q++]=e3,I=!1}if(!I){if(J[Q++]=q,q===Th)J[Q++]=e3}}else{if(!I)J[Q++]=Th,I=!0;if(I){if(U[Y++]=q>>8,U[Y++]=q&255,Y==U.length)Q+=J.write(U.toString("base64").replace(/\//g,","),Q),Y=0}}}return this.inBase64=I,this.base64AccumIdx=Y,J.slice(0,Q)};vh.prototype.end=function(){var $=n8.alloc(10),I=0;if(this.inBase64){if(this.base64AccumIdx>0)I+=$.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),I),this.base64AccumIdx=0;$[I++]=e3,this.inBase64=!1}return $.slice(0,I)};function Ch($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=""}var mV0=Rh.slice();mV0[44]=!0;Ch.prototype.write=function($){var I="",U=0,Y=this.inBase64,J=this.base64Accum;for(var Q=0;Q<$.length;Q++)if(!Y){if($[Q]==Th)I+=this.iconv.decode($.slice(U,Q),"ascii"),U=Q+1,Y=!0}else if(!mV0[$[Q]]){if(Q==U&&$[Q]==e3)I+="&";else{var K=J+this.iconv.decode($.slice(U,Q),"ascii").replace(/,/g,"/");I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}if($[Q]!=e3)Q--;U=Q+1,Y=!1,J=""}if(!Y)I+=this.iconv.decode($.slice(U),"ascii");else{var K=J+this.iconv.decode($.slice(U),"ascii").replace(/,/g,"/"),q=K.length-K.length%8;J=K.slice(q),K=K.slice(0,q),I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}return this.inBase64=Y,this.base64Accum=J,I};Ch.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(n8.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$}});var oV0=O((TK1)=>{var pL=k5().Buffer;TK1._sbcs=jh;function jh($,I){if(!$)throw Error("SBCS codec is called without the data.");if(!$.chars||$.chars.length!==128&&$.chars.length!==256)throw Error("Encoding '"+$.type+"' has incorrect 'chars' (must be of len 128 or 256)");if($.chars.length===128){var U="";for(var Y=0;Y<128;Y++)U+=String.fromCharCode(Y);$.chars=U+$.chars}this.decodeBuf=pL.from($.chars,"ucs2");var J=pL.alloc(65536,I.defaultCharSingleByte.charCodeAt(0));for(var Y=0;Y<$.chars.length;Y++)J[$.chars.charCodeAt(Y)]=Y;this.encodeBuf=J}jh.prototype.encoder=_h;jh.prototype.decoder=Sh;function _h($,I){this.encodeBuf=I.encodeBuf}_h.prototype.write=function($){var I=pL.alloc($.length);for(var U=0;U<$.length;U++)I[U]=this.encodeBuf[$.charCodeAt(U)];return I};_h.prototype.end=function(){};function Sh($,I){this.decodeBuf=I.decodeBuf}Sh.prototype.write=function($){var I=this.decodeBuf,U=pL.alloc($.length*2),Y=0,J=0;for(var Q=0;Q<$.length;Q++)Y=$[Q]*2,J=Q*2,U[J]=I[Y],U[J+1]=I[Y+1];return U.toString("ucs2")};Sh.prototype.end=function(){}});var tV0=O((sj1,rV0)=>{rV0.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",iso88598i:"iso88598",iso88598e:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var sV0=O((ej1,aV0)=>{aV0.exports={"437":"cp437","737":"cp737","775":"cp775","850":"cp850","852":"cp852","855":"cp855","856":"cp856","857":"cp857","858":"cp858","860":"cp860","861":"cp861","862":"cp862","863":"cp863","864":"cp864","865":"cp865","866":"cp866","869":"cp869","874":"windows874","922":"cp922","1046":"cp1046","1124":"cp1124","1125":"cp1125","1129":"cp1129","1133":"cp1133","1161":"cp1161","1162":"cp1162","1163":"cp1163","1250":"windows1250","1251":"windows1251","1252":"windows1252","1253":"windows1253","1254":"windows1254","1255":"windows1255","1256":"windows1256","1257":"windows1257","1258":"windows1258","28591":"iso88591","28592":"iso88592","28593":"iso88593","28594":"iso88594","28595":"iso88595","28596":"iso88596","28597":"iso88597","28598":"iso88598","28599":"iso88599","28600":"iso885910","28601":"iso885911","28603":"iso885913","28604":"iso885914","28605":"iso885915","28606":"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b + */var x1=r("fs"),CL=r("os"),x4=r("path"),dW0=r("crypto"),f8={fs:x1.constants,os:CL.constants},rW0=/XXXXXX/,tW0=(f8.O_CREAT||f8.fs.O_CREAT)|(f8.O_EXCL||f8.fs.O_EXCL)|(f8.O_RDWR||f8.fs.O_RDWR),TQ1=CL.platform()==="win32",EQ1=f8.EBADF||f8.os.errno.EBADF,BQ1=f8.ENOENT||f8.os.errno.ENOENT,WJ=[],aW0=x1.rmdirSync.bind(x1),sW0=!1;function vQ1($,I){return x1.rm($,{recursive:!0},I)}function eW0($){return x1.rmSync($,{recursive:!0})}function ly($,I){let U=VJ($,I),Y=U[0],J=U[1];kQ1(Y,function(Q,K){if(Q)return J(Q);let q=K.tries;(function G(){try{let H=IV0(K);x1.stat(H,function(W){if(!W){if(q-- >0)return G();return J(Error("Could not get a unique tmp filename, max tries reached "+H))}J(null,H)})}catch(H){J(H)}})()})}function oy($){let I=VJ($),U=I[0],Y=uQ1(U),J=Y.tries;do{let Q=IV0(Y);try{x1.statSync(Q)}catch(K){return Q}}while(J-- >0);throw Error("Could not get a unique tmp filename, max tries reached")}function RQ1($,I){let U=VJ($,I),Y=U[0],J=U[1];ly(Y,function(K,q){if(K)return J(K);x1.open(q,tW0,Y.mode||384,function(H,W){if(H)return J(H);if(Y.discardDescriptor)return x1.close(W,function(w){return J(w,q,void 0,dy(q,-1,Y,!1))});else{let V=Y.discardDescriptor||Y.detachDescriptor;J(null,q,W,dy(q,V?-1:W,Y,!1))}})})}function CQ1($){let I=VJ($),U=I[0],Y=U.discardDescriptor||U.detachDescriptor,J=oy(U),Q=x1.openSync(J,tW0,U.mode||384);if(U.discardDescriptor)x1.closeSync(Q),Q=void 0;return{name:J,fd:Q,removeCallback:dy(J,Y?-1:Q,U,!0)}}function jQ1($,I){let U=VJ($,I),Y=U[0],J=U[1];ly(Y,function(K,q){if(K)return J(K);x1.mkdir(q,Y.mode||448,function(H){if(H)return J(H);J(null,q,$V0(q,Y,!1))})})}function _Q1($){let I=VJ($),U=I[0],Y=oy(U);return x1.mkdirSync(Y,U.mode||448),{name:Y,removeCallback:$V0(Y,U,!0)}}function SQ1($,I){let U=function(Y){if(Y&&!my(Y))return I(Y);I()};if(0<=$[0])x1.close($[0],function(){x1.unlink($[1],U)});else x1.unlink($[1],U)}function gQ1($){let I=null;try{if(0<=$[0])x1.closeSync($[0])}catch(U){if(!fQ1(U)&&!my(U))throw U}finally{try{x1.unlinkSync($[1])}catch(U){if(!my(U))I=U}}if(I!==null)throw I}function dy($,I,U,Y){let J=RL(gQ1,[I,$],Y),Q=RL(SQ1,[I,$],Y,J);if(!U.keep)WJ.unshift(J);return Y?J:Q}function $V0($,I,U){let Y=I.unsafeCleanup?vQ1:x1.rmdir.bind(x1),J=I.unsafeCleanup?eW0:aW0,Q=RL(J,$,U),K=RL(Y,$,U,Q);if(!I.keep)WJ.unshift(Q);return U?Q:K}function RL($,I,U,Y){let J=!1;return function Q(K){if(!J){let q=Y||Q,G=WJ.indexOf(q);if(G>=0)WJ.splice(G,1);if(J=!0,U||$===aW0||$===eW0)return $(I);else return $(I,K||function(){})}}}function yQ1(){if(!sW0)return;while(WJ.length)try{WJ[0]()}catch($){}}function mW0($){let I=[],U=null;try{U=dW0.randomBytes($)}catch(Y){U=dW0.pseudoRandomBytes($)}for(let Y=0;Y<$;Y++)I.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[U[Y]%62]);return I.join("")}function o6($){return typeof $>"u"}function VJ($,I){if(typeof $==="function")return[{},$];if(o6($))return[{},I];let U={};for(let Y of Object.getOwnPropertyNames($))U[Y]=$[Y];return[U,I]}function hQ1($,I,U){let Y=x4.isAbsolute($)?$:x4.join(I,$);x1.stat(Y,function(J){if(J)x1.realpath(x4.dirname(Y),function(Q,K){if(Q)return U(Q);U(null,x4.join(K,x4.basename(Y)))});else x1.realpath(Y,U)})}function xQ1($,I){let U=x4.isAbsolute($)?$:x4.join(I,$);try{return x1.statSync(U),x1.realpathSync(U)}catch(Y){let J=x1.realpathSync(x4.dirname(U));return x4.join(J,x4.basename(U))}}function IV0($){let I=$.tmpdir;if(!o6($.name))return x4.join(I,$.dir,$.name);if(!o6($.template))return x4.join(I,$.dir,$.template).replace(rW0,mW0(6));let U=[$.prefix?$.prefix:"tmp","-",process.pid,"-",mW0(12),$.postfix?"-"+$.postfix:""].join("");return x4.join(I,$.dir,U)}function cy($,I){if(typeof I!=="string")throw Error(`${$} option must be a string, got "${typeof I}".`);if(I.includes(".."))throw Error("Relative value not allowed");return I}function UV0($){if(!o6($.name)){let I=$.name;if(x4.isAbsolute(I))throw Error(`name option must not contain an absolute path, found "${I}".`);let U=x4.basename(I);if(U===".."||U==="."||U!==I)throw Error(`name option must not contain a path, found "${I}".`)}if(!o6($.template)){if(typeof $.template!=="string")throw Error(`template option must be a string, got "${typeof $.template}".`);if(!$.template.match(rW0))throw Error(`Invalid template, found "${$.template}".`)}if(!o6($.tries)&&isNaN($.tries)||$.tries<0)throw Error(`Invalid tries, found "${$.tries}".`);$.tries=o6($.name)?$.tries||3:1,$.keep=!!$.keep,$.detachDescriptor=!!$.detachDescriptor,$.discardDescriptor=!!$.discardDescriptor,$.unsafeCleanup=!!$.unsafeCleanup,$.prefix=o6($.prefix)?"":cy("prefix",$.prefix),$.postfix=o6($.postfix)?"":cy("postfix",$.postfix),$.template=o6($.template)?void 0:cy("template",$.template)}function lW0($,I,U,Y){if(o6(I))return Y(null);hQ1(I,U,function(J,Q){if(J)return Y(J);let K=x4.relative(U,Q);if(K.startsWith("..")||x4.isAbsolute(K))return Y(Error(`${$} option must be relative to "${U}", found "${K}".`));Y(null,K)})}function oW0($,I,U){if(o6(I))return;let Y=xQ1(I,U),J=x4.relative(U,Y);if(J.startsWith("..")||x4.isAbsolute(J))throw Error(`${$} option must be relative to "${U}", found "${J}".`);return J}function kQ1($,I){iQ1($,function(U,Y){if(U)return I(U);$.tmpdir=Y;try{UV0($,Y)}catch(J){return I(J)}lW0("dir",$.dir,Y,function(J,Q){if(J)return I(J);$.dir=o6(Q)?"":Q,lW0("template",$.template,Y,function(K,q){if(K)return I(K);$.template=q,I(null,$)})})})}function uQ1($){let I=$.tmpdir=JV0($);UV0($,I);let U=oW0("dir",$.dir,I);return $.dir=o6(U)?"":U,$.template=oW0("template",$.template,I),$}function fQ1($){return YV0($,-EQ1,"EBADF")}function my($){return YV0($,-BQ1,"ENOENT")}function YV0($,I,U){return TQ1?$.code===U:$.code===U&&$.errno===I}function bQ1(){sW0=!0}function iQ1($,I){return x1.realpath($&&$.tmpdir||CL.tmpdir(),I)}function JV0($){return x1.realpathSync($&&$.tmpdir||CL.tmpdir())}process.addListener("exit",yQ1);Object.defineProperty(nQ1,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return JV0()}});nQ1.dir=jQ1;nQ1.dirSync=_Q1;nQ1.file=RQ1;nQ1.fileSync=CQ1;nQ1.tmpName=ly;nQ1.tmpNameSync=oy;nQ1.setGracefulCleanup=bQ1});var qV0=O((rj1,KV0)=>{KV0.exports=async function*(I){let U=[];I.on("data",(q)=>U.push(q));let Y,J=new Promise((q)=>Y=q),Q=!1;I.on("end",()=>{Q=!0,Y()});let K=!1;I.on("error",(q)=>{K=q,Y()});while(!Q||U.length>0){if(U.length===0)I.resume(),await Promise.race([tQ1(I,"data"),J]);else I.pause(),yield U.shift();if(K)throw K}Y()};function tQ1($,I){return new Promise((U)=>{let Y=!1,J=()=>{if(!Y)Y=!0,$.removeListener(I,J),U()};$.addListener(I,J)})}});var wV0=O((tj1,VV0)=>{var{EventEmitter:aQ1}=r("events"),sQ1=zK(),eQ1=Z4(),jL=L6(),GV0=G4(),$21=q5(),I21=cV(),HV0=mV();class WV0 extends aQ1{constructor({workbook:$,id:I,iterator:U,options:Y}){super();this.workbook=$,this.id=I,this.iterator=U,this.options=Y||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new $21}destroy(){throw Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=GV0.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new HV0(this,I++))}return this._columns[$-1]}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){eQ1.each(this._keys,$)}async read(){try{for await(let $ of this.parse())for(let{eventType:I,value:U}of $)this.emit(I,U);this.emit("finished")}catch($){this.emit("error",$)}}async*[Symbol.asyncIterator](){for await(let $ of this.parse())for(let{eventType:I,value:U}of $)if(I==="row")yield U}async*parse(){let{iterator:$,options:I}=this,U=!1,Y=!1,J=null;switch(I.worksheets){case"emit":U=!0;break;case"prep":break;default:break}switch(I.hyperlinks){case"emit":Y=!0;break;case"cache":this.hyperlinks=J={};break;default:break}if(!U&&!Y&&!J)return;let{sharedStrings:Q,styles:K,properties:q}=this.workbook,G=!1,H=!1,W=!1,V=null,w=null,Z=null,z=null;for await(let L of sQ1($)){let D=[];for(let{eventType:F,value:E}of L)if(F==="opentag"){let T=E;if(U)switch(T.name){case"cols":G=!0,V=[];break;case"sheetData":H=!0;break;case"col":if(G)V.push({min:parseInt(T.attributes.min,10),max:parseInt(T.attributes.max,10),width:parseFloat(T.attributes.width),styleId:parseInt(T.attributes.style||"0",10)});break;case"row":if(H){let A=parseInt(T.attributes.r,10);if(w=new I21(this,A),T.attributes.ht)w.height=parseFloat(T.attributes.ht);if(T.attributes.s){let R=parseInt(T.attributes.s,10),u=K.getStyleModel(R);if(u)w.style=u}}break;case"c":if(w)Z={ref:T.attributes.r,s:parseInt(T.attributes.s,10),t:T.attributes.t};break;case"f":if(Z)z=Z.f={text:""};break;case"v":if(Z)z=Z.v={text:""};break;case"is":case"t":if(Z)z=Z.v={text:""};break;case"mergeCell":break;default:break}if(Y||J)switch(T.name){case"hyperlinks":W=!0;break;case"hyperlink":if(W){let A={ref:T.attributes.ref,rId:T.attributes["r:id"]};if(Y)D.push({eventType:"hyperlink",value:A});else J[A.ref]=A}break;default:break}}else if(F==="text"){if(U){if(z)z.text+=E}}else if(F==="closetag"){let T=E;if(U)switch(T.name){case"cols":G=!1,this._columns=HV0.fromModel(V);break;case"sheetData":H=!1;break;case"row":this._dimensions.expandRow(w),D.push({eventType:"row",value:w}),w=null;break;case"c":if(w&&Z){let A=GV0.decodeAddress(Z.ref),R=w.getCell(A.col);if(Z.s){let u=K.getStyleModel(Z.s);if(u)R.style=u}if(Z.f){let u={formula:Z.f.text};if(Z.v)if(Z.t==="str")u.result=jL.xmlDecode(Z.v.text);else u.result=parseFloat(Z.v.text);R.value=u}else if(Z.v)switch(Z.t){case"s":{let u=parseInt(Z.v.text,10);if(Q)R.value=Q[u];else R.value={sharedString:u};break}case"inlineStr":case"str":R.value=jL.xmlDecode(Z.v.text);break;case"e":R.value={error:Z.v.text};break;case"b":R.value=parseInt(Z.v.text,10)!==0;break;default:if(jL.isDateFmt(R.numFmt))R.value=jL.excelToDate(parseFloat(Z.v.text),q.model&&q.model.date1904);else R.value=parseFloat(Z.v.text);break}if(J){let u=J[Z.ref];if(u)R.text=R.value,R.value=void 0,R.hyperlink=u}Z=null}break;default:break}if(Y||J)switch(T.name){case"hyperlinks":W=!1;break;default:break}}if(D.length>0)yield D}}}VV0.exports=WV0});var zV0=O((aj1,XV0)=>{var{EventEmitter:U21}=r("events"),Y21=zK(),J21=o$(),Q21=x9();class ZV0 extends U21{constructor({workbook:$,id:I,iterator:U,options:Y}){super();this.workbook=$,this.id=I,this.iterator=U,this.options=Y}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each($){return this.hyperlinks.forEach($)}async read(){let{iterator:$,options:I}=this,U=!1,Y=null;switch(I.hyperlinks){case"emit":U=!0;break;case"cache":this.hyperlinks=Y={};break;default:break}if(!U&&!Y){this.emit("finished");return}try{for await(let J of Y21($))for(let{eventType:Q,value:K}of J)if(Q==="opentag"){let q=K;if(q.name==="Relationship"){let G=q.attributes.Id;switch(q.attributes.Type){case Q21.Hyperlink:{let H={type:J21.RelationshipType.Styles,rId:G,target:q.attributes.Target,targetMode:q.attributes.TargetMode};if(U)this.emit("hyperlink",H);else Y[H.rId]=H}break;default:break}}}this.emit("finished")}catch(J){this.emit("error",J)}}}XV0.exports=ZV0});var FV0=O((sj1,OV0)=>{var ry=r("fs"),{EventEmitter:K21}=r("events"),{PassThrough:q21,Readable:G21}=z6(),H21=r("stream"),W21=cW0(),DV0=QV0(),r3=qV0(),V21=zK(),LV0=PZ(),w21=CZ(),Z21=vZ(),X21=wV0(),z21=zV0();DV0.setGracefulCleanup();class ty extends K21{constructor($,I={}){super();this.input=$,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...I},this.styles=new LV0,this.styles.init()}_getStream($){if($ instanceof H21.Readable||$ instanceof G21)return $;if(typeof $==="string")return ry.createReadStream($);throw Error(`Could not recognise input: ${$}`)}async read($,I){try{for await(let{eventType:U,value:Y}of this.parse($,I))switch(U){case"shared-strings":this.emit(U,Y);break;case"worksheet":this.emit(U,Y),await Y.read();break;case"hyperlinks":this.emit(U,Y);break}this.emit("end"),this.emit("finished")}catch(U){this.emit("error",U)}}async*[Symbol.asyncIterator](){for await(let{eventType:$,value:I}of this.parse())if($==="worksheet")yield I}async*parse($,I){if(I)this.options=I;let U=this.stream=this._getStream($||this.input),Y=W21.Parse({forceStream:!0});U.pipe(Y);let J=[];for await(let Q of r3(Y)){let K,q;switch(Q.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(Q);break;case"xl/workbook.xml":await this._parseWorkbook(Q);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(Q);break;case"xl/styles.xml":await this._parseStyles(Q);break;default:if(Q.path.match(/xl\/worksheets\/sheet\d+[.]xml/))if(K=Q.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),q=K[1],this.sharedStrings&&this.workbookRels)yield*this._parseWorksheet(r3(Q),q);else await new Promise((G,H)=>{DV0.file((W,V,w,Z)=>{if(W)return H(W);J.push({sheetNo:q,path:V,tempFileCleanupCallback:Z});let z=ry.createWriteStream(V);return z.on("error",H),Q.pipe(z),z.on("finish",()=>{return G()})})});else if(Q.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/))K=Q.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),q=K[1],yield*this._parseHyperlinks(r3(Q),q);break}Q.autodrain()}for(let{sheetNo:Q,path:K,tempFileCleanupCallback:q}of J){let G=ry.createReadStream(K);if(!G[Symbol.asyncIterator])G=G.pipe(new q21);yield*this._parseWorksheet(G,Q),q()}}_emitEntry($){if(this.options.entries==="emit")this.emit("entry",$)}async _parseRels($){let I=new Z21;this.workbookRels=await I.parseStream(r3($))}async _parseWorkbook($){this._emitEntry({type:"workbook"});let I=new w21;await I.parseStream(r3($)),this.properties=I.map.workbookPr,this.model=I.model}async*_parseSharedStrings($){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let I=null,U=[],Y=0,J=null;for await(let Q of V21(r3($)))for(let{eventType:K,value:q}of Q)if(K==="opentag"){let G=q;switch(G.name){case"b":J=J||{},J.bold=!0;break;case"charset":J=J||{},J.charset=parseInt(G.attributes.charset,10);break;case"color":if(J=J||{},J.color={},G.attributes.rgb)J.color.argb=G.attributes.argb;if(G.attributes.val)J.color.argb=G.attributes.val;if(G.attributes.theme)J.color.theme=G.attributes.theme;break;case"family":J=J||{},J.family=parseInt(G.attributes.val,10);break;case"i":J=J||{},J.italic=!0;break;case"outline":J=J||{},J.outline=!0;break;case"rFont":J=J||{},J.name=G.value;break;case"si":J=null,U=[],I=null;break;case"sz":J=J||{},J.size=parseInt(G.attributes.val,10);break;case"strike":break;case"t":I=null;break;case"u":J=J||{},J.underline=!0;break;case"vertAlign":J=J||{},J.vertAlign=G.attributes.val;break}}else if(K==="text")I=I?I+q:q;else if(K==="closetag")switch(q.name){case"r":U.push({font:J,text:I}),J=null,I=null;break;case"si":if(this.options.sharedStrings==="cache")this.sharedStrings.push(U.length?{richText:U}:I);else if(this.options.sharedStrings==="emit")yield{index:Y++,text:U.length?{richText:U}:I};U=[],J=null,I=null;break}}async _parseStyles($){if(this._emitEntry({type:"styles"}),this.options.styles==="cache")this.styles=new LV0,await this.styles.parseStream(r3($))}*_parseWorksheet($,I){this._emitEntry({type:"worksheet",id:I});let U=new X21({workbook:this,id:I,iterator:$,options:this.options}),Y=(this.workbookRels||[]).find((Q)=>Q.Target===`worksheets/sheet${I}.xml`),J=Y&&(this.model.sheets||[]).find((Q)=>Q.rId===Y.Id);if(J)U.id=J.id,U.name=J.name,U.state=J.state;if(this.options.worksheets==="emit")yield{eventType:"worksheet",value:U}}*_parseHyperlinks($,I){this._emitEntry({type:"hyperlinks",id:I});let U=new z21({workbook:this,id:I,iterator:$,options:this.options});if(this.options.hyperlinks==="emit")yield{eventType:"hyperlinks",value:U}}}ty.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]};OV0.exports=ty});var AV0=O((ej1,MV0)=>{var NV0={Workbook:o30(),ModelContainer:a30(),stream:{xlsx:{WorkbookWriter:k20(),WorkbookReader:FV0()}}};Object.assign(NV0,o$());MV0.exports=NV0});var ay=O(($_1,PV0)=>{if(parseInt(process.versions.node.split(".")[0],10)<10)throw Error("For node versions older than 10, please use the ES5 Import: https://github.com/exceljs/exceljs#es5-imports");PV0.exports=AV0()});var $w0=O((d_1,eV0)=>{eV0.exports=uL;function uL(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}uL.prototype.go=function($){if(this.pending0&&$.pending<$.max)sV0($,$.waiting.shift());else if($.pending===0){var Q=$.listeners;$.listeners=[],Q.forEach(Y)}}function Y(J){J($.error)}}function sV0($,I){I(aV0($))}});var Yw0=O((DK1)=>{var wh=r("fs"),Zh=r("util"),Iw0=r("stream"),Uw0=Iw0.Readable,zK1=Iw0.PassThrough,LK1=$w0(),fL=r("events").EventEmitter;DK1.BufferSlicer=zJ;DK1.FdSlicer=XJ;Zh.inherits(XJ,fL);function XJ($){fL.call(this),this.fd=$,this.pend=new LK1,this.pend.max=1,this.refCount=0}XJ.prototype.read=function($,I,U,Y,J){var Q=this;Q.pend.go(function(K){wh.read(Q.fd,$,I,U,Y,function(q,G,H){K(),J(q,G,H)})})};XJ.prototype.createReadStream=function($){return new eq(this,$)};XJ.prototype.ref=function(){this.refCount+=1};XJ.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount<0)throw Error("invalid unref");if($.refCount>0)return;wh.close($.fd,I);function I(U){if(U)$.emit("error",U);else $.emit("close")}};Zh.inherits(eq,Uw0);function eq($,I){I=I||{},Uw0.call(this,I),this.context=$,this.context.ref(),this.start=I.start||0,this.endOffset=I.end,this.pos=this.start}eq.prototype._read=function($){var I=this,U=Math.min(I._readableState.highWaterMark,$);if(I.endOffset!=null)U=Math.min(U,I.endOffset-I.pos);if(U<=0){I.push(null),this._cleanup();return}I.context.pend.go(function(Y){var J=Buffer.allocUnsafe(U);wh.read(I.context.fd,J,0,U,I.pos,function(Q,K){if(Q)I.destroy(Q);else if(K===0)I.push(null),I._cleanup();else I.pos+=K,I.push(J.slice(0,K));Y()})})};eq.prototype._destroy=function($,I){this._cleanup(),I($)};eq.prototype._cleanup=function(){if(this.context!=null)this.context.unref(),this.context=null};Zh.inherits(zJ,fL);function zJ($){fL.call(this),this.refCount=0,this.buffer=$}zJ.prototype.read=function($,I,U,Y,J){if(!(0<=I&&I<=$.length))throw RangeError("offset outside buffer: 0 <= "+I+" <= "+$.length);if(Y<0)throw RangeError("position is negative: "+Y);if(I+U>$.length)U=$.length-I;if(Y+U>this.buffer.length)U=this.buffer.length-Y;if(U<=0){setImmediate(function(){J(null,0)});return}this.buffer.copy($,I,Y,Y+U),setImmediate(function(){J(null,U)})};zJ.prototype.createReadStream=function($){$=$||{};var I=new zK1($);I.start=$.start||0,I.endOffset=$.end,I.pos=I.endOffset||this.buffer.length;var U=this.buffer.slice(I.start,I.pos),Y=65536,J=0;while(!0){var Q=J+Y;if(Q>=U.length){if(J{var NK1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function MK1($){let I=-1;for(let U of $)I=NK1[(I^U)&255]^I>>>8;return(I^-1)>>>0}Jw0.exports=MK1});var Lw0=O((CK1)=>{var Xh=r("fs"),zh=r("zlib"),Kw0=Yw0(),nL=r("util"),pL=r("events").EventEmitter,qw0=r("stream").Transform,Dh=r("stream").PassThrough,AK1=r("stream").Writable,PK1=typeof zh.crc32==="function"?zh.crc32:Qw0();CK1.open=Gw0;CK1.fromFd=Oh;CK1.fromBuffer=Hw0;CK1.fromRandomAccessReader=cL;CK1.openPromise=TK1;CK1.fromFdPromise=EK1;CK1.fromBufferPromise=BK1;CK1.fromRandomAccessReaderPromise=vK1;CK1.dosDateTimeToDate=ww0;CK1.getFileNameLowLevel=Zw0;CK1.validateFileName=Xw0;CK1.parseExtraFields=zw0;CK1.ZipFile=r6;CK1.Entry=OJ;CK1.LocalFileHeader=Vw0;CK1.RandomAccessReader=X7;function TK1($,I){return new Promise((U,Y)=>{Gw0($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function EK1($,I){return new Promise((U,Y)=>{Oh($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function BK1($,I){return new Promise((U,Y)=>{Hw0($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function vK1($,I,U){return new Promise((Y,J)=>{cL($,I,{...U,lazyEntries:!0},function(Q,K){if(Q)return J(Q);Y(K)})})}function Gw0($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose==null)I.autoClose=!0;if(I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;if(U==null)U=iL;Xh.open($,"r",function(Y,J){if(Y)return U(Y);Oh(J,I,function(Q,K){if(Q)Xh.close(J,iL);U(Q,K)})})}function Oh($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose==null)I.autoClose=!1;if(I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;if(U==null)U=iL;Xh.fstat($,function(Y,J){if(Y)return U(Y);var Q=new Kw0.FdSlicer($);cL(Q,J.size,I,U)})}function Hw0($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose=!1,I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;var Y=new Kw0.BufferSlicer($);cL(Y,$.length,I,U)}function cL($,I,U,Y){if(typeof U==="function")Y=U,U=null;if(U==null)U={};if(U.autoClose==null)U.autoClose=!0;if(U.lazyEntries==null)U.lazyEntries=!1;if(U.decodeStrings==null)U.decodeStrings=!0;var J=!!U.decodeStrings;if(U.validateEntrySizes==null)U.validateEntrySizes=!0;if(U.strictFileNames==null)U.strictFileNames=!1;if(Y==null)Y=iL;if(typeof I!=="number")throw Error("expected totalSize parameter to be a number");if(I>Number.MAX_SAFE_INTEGER)throw Error("zip file too large. only file sizes up to 2^52 are supported due to JavaScript's Number type being an IEEE 754 double.");$.ref();var Q=22,K=20,q=65535,G=Math.min(K+Q+q,I),H=u5(G),W=I-H.length;DJ($,H,0,G,W,function(V){if(V)return Y(V);for(var w=G-Q;w>=0;w-=1){if(H.readUInt32LE(w)!==101010256)continue;var Z=H.subarray(w),z=Z.readUInt16LE(4),L=Z.readUInt16LE(10),D=Z.readUInt32LE(16),F=Z.readUInt16LE(20),E=Z.length-Q;if(F!==E)return Y(Error("Invalid comment length. Expected: "+E+". Found: "+F+". Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?"));var T=J?bL(Z.subarray(22),!1):Z.subarray(22);if(w-K>=0&&H.readUInt32LE(w-K)===117853008){var A=H.subarray(w-K,w-K+K),R=LJ(A,8),u=u5(56);return DJ($,u,0,u.length,R,function(g){if(g)return Y(g);if(u.readUInt32LE(0)!==101075792)return Y(Error("invalid zip64 end of central directory record signature"));if(z=u.readUInt32LE(16),z!==0)return Y(Error("multi-disk zip files are not supported: found disk number: "+z));return L=LJ(u,32),D=LJ(u,48),Y(null,new r6($,D,I,L,T,U.autoClose,U.lazyEntries,J,U.validateEntrySizes,U.strictFileNames))})}if(z!==0)return Y(Error("multi-disk zip files are not supported: found disk number: "+z));return Y(null,new r6($,D,I,L,T,U.autoClose,U.lazyEntries,J,U.validateEntrySizes,U.strictFileNames))}Y(Error("End of central directory record signature not found. Either not a zip file, or file is truncated."))})}nL.inherits(r6,pL);function r6($,I,U,Y,J,Q,K,q,G,H){var W=this;if(pL.call(W),W.reader=$,W.reader.on("error",function(V){Ww0(W,V)}),W.reader.once("close",function(){W.emit("close")}),W.readEntryCursor=I,W.fileSize=U,W.entryCount=Y,W.comment=J,W.entriesRead=0,W.autoClose=!!Q,W.lazyEntries=!!K,W.decodeStrings=!!q,W.validateEntrySizes=!!G,W.strictFileNames=!!H,W.isOpen=!0,W.emittedError=!1,W.hasEachEntryBeenCalled=!1,!W.lazyEntries)W._readEntry()}r6.prototype.close=function(){if(!this.isOpen)return;this.isOpen=!1,this.reader.unref()};function i8($,I){if($.autoClose)$.close();Ww0($,I)}function Ww0($,I){if($.emittedError)return;$.emittedError=!0,$.emit("error",I)}r6.prototype.readEntry=function(){if(!this.lazyEntries)throw Error("readEntry() called without lazyEntries:true");this._readEntry()};r6.prototype._readEntry=function(){var $=this;if($.entryCount===$.entriesRead){setImmediate(function(){if($.autoClose)$.close();if($.emittedError)return;$.emit("end")});return}if($.emittedError)return;var I=u5(46);DJ($.reader,I,0,I.length,$.readEntryCursor,function(U){if(U)return i8($,U);if($.emittedError)return;var Y=new OJ,J=I.readUInt32LE(0);if(J!==33639248)return i8($,Error("invalid central directory file header signature: 0x"+J.toString(16)));if(Y.versionMadeBy=I.readUInt16LE(4),Y.versionNeededToExtract=I.readUInt16LE(6),Y.generalPurposeBitFlag=I.readUInt16LE(8),Y.compressionMethod=I.readUInt16LE(10),Y.lastModFileTime=I.readUInt16LE(12),Y.lastModFileDate=I.readUInt16LE(14),Y.crc32=I.readUInt32LE(16),Y.compressedSize=I.readUInt32LE(20),Y.uncompressedSize=I.readUInt32LE(24),Y.fileNameLength=I.readUInt16LE(28),Y.extraFieldLength=I.readUInt16LE(30),Y.fileCommentLength=I.readUInt16LE(32),Y.internalFileAttributes=I.readUInt16LE(36),Y.externalFileAttributes=I.readUInt32LE(38),Y.relativeOffsetOfLocalHeader=I.readUInt32LE(42),Y.generalPurposeBitFlag&64)return i8($,Error("strong encryption is not supported"));$.readEntryCursor+=46,I=u5(Y.fileNameLength+Y.extraFieldLength+Y.fileCommentLength),DJ($.reader,I,0,I.length,$.readEntryCursor,function(Q){if(Q)return i8($,Q);if($.emittedError)return;Y.fileNameRaw=I.subarray(0,Y.fileNameLength);var K=Y.fileNameLength+Y.extraFieldLength;Y.extraFieldRaw=I.subarray(Y.fileNameLength,K),Y.fileCommentRaw=I.subarray(K,K+Y.fileCommentLength);try{Y.extraFields=zw0(Y.extraFieldRaw)}catch(L){return i8($,L)}if($.decodeStrings){var q=(Y.generalPurposeBitFlag&2048)!==0;Y.fileComment=bL(Y.fileCommentRaw,q),Y.fileName=Zw0(Y.generalPurposeBitFlag,Y.fileNameRaw,Y.extraFields,$.strictFileNames);var G=Xw0(Y.fileName);if(G!=null)return i8($,Error(G))}else Y.fileComment=Y.fileCommentRaw,Y.fileName=Y.fileNameRaw;Y.comment=Y.fileComment,$.readEntryCursor+=I.length,$.entriesRead+=1;for(var H=0;HV.length)return i8($,Error("zip64 extended information extra field does not include uncompressed size"));Y.uncompressedSize=LJ(V,w),w+=8}if(Y.compressedSize===4294967295){if(w+8>V.length)return i8($,Error("zip64 extended information extra field does not include compressed size"));Y.compressedSize=LJ(V,w),w+=8}if(Y.relativeOffsetOfLocalHeader===4294967295){if(w+8>V.length)return i8($,Error("zip64 extended information extra field does not include relative header offset"));Y.relativeOffsetOfLocalHeader=LJ(V,w),w+=8}break}if($.validateEntrySizes&&Y.compressionMethod===0){var Z=Y.uncompressedSize;if(Y.isEncrypted())Z+=12;if(Y.compressedSize!==Z){var z="compressed/uncompressed size mismatch for stored file: "+Y.compressedSize+" != "+Y.uncompressedSize;return i8($,Error(z))}}if($.emit("entry",Y),!$.lazyEntries)$._readEntry()})})};r6.prototype.eachEntry=function(){let $=this;if(!$.lazyEntries)throw Error("eachEntry() requires lazyEntries: true");if($.hasEachEntryBeenCalled)throw Error("eachEntry() must only be called once per ZipFile");$.hasEachEntryBeenCalled=!0;let I=null;$.on("entry",Y),$.on("end",J),$.on("error",Q);function U(){if($.removeListener("entry",Y),$.removeListener("end",J),$.removeListener("error",Q),$.autoClose)$.close()}function Y(K){let{resolve:q}=I;I=null,q({value:K})}function J(){let{resolve:K}=I;I=null,U(),K({done:!0})}function Q(K){let{reject:q}=I;I=null,U(),q(K)}return{[Symbol.asyncIterator](){return this},next(){let K=new Promise((q,G)=>{if(I!=null)throw Error("next() called before previous Promise was resolved.");I={resolve:q,reject:G}});return $.readEntry(),K},return(K){return U(),Promise.resolve({done:!0,value:K})},throw(K){return U(),Promise.reject(K)}}};r6.prototype.openReadStream=function($,I,U){var Y=this,J=0,Q=$.compressedSize;if(U==null)U=I,I=null;if(I==null)I={};else{if(I.decodeFileData===!1){if(I.decrypt!=null)throw Error("cannot use options.decrypt when options.decodeFileData === false");if(I.decompress!=null)throw Error("cannot use options.decompress when options.decodeFileData === false")}else{if(I.decrypt!=null){if(!$.isEncrypted())throw Error("options.decrypt can only be specified for encrypted entries. See also option decodeFileData.");if(I.decrypt!==!1)throw Error("invalid options.decrypt value: "+I.decrypt);if($.isCompressed()){if(I.decompress!==!1)throw Error("entry is encrypted and compressed, and options.decompress !== false. See also option decodeFileData.")}}if(I.decompress!=null){if(!$.isCompressed())throw Error("options.decompress can only be specified for compressed entries. See also option decodeFileData.");if(!(I.decompress===!1||I.decompress===!0))throw Error("invalid options.decompress value: "+I.decompress);q=I.decompress}}if(I.start!=null){if(J=I.start,J<0)throw Error("options.start < 0");if(J>$.compressedSize)throw Error("options.start > entry.compressedSize")}if(I.end!=null){if(Q=I.end,Q<0)throw Error("options.end < 0");if(Q>$.compressedSize)throw Error("options.end > entry.compressedSize");if(QY.fileSize)return U(Error("file data overflows file bounds: "+H+" + "+$.compressedSize+" > "+Y.fileSize));if(I.minimal)return U(null,{fileDataStart:H});var W=new Vw0;W.fileDataStart=H,W.versionNeededToExtract=J.readUInt16LE(4),W.generalPurposeBitFlag=J.readUInt16LE(6),W.compressionMethod=J.readUInt16LE(8),W.lastModFileTime=J.readUInt16LE(10),W.lastModFileDate=J.readUInt16LE(12),W.crc32=J.readUInt32LE(14),W.compressedSize=J.readUInt32LE(18),W.uncompressedSize=J.readUInt32LE(22),W.fileNameLength=q,W.extraFieldLength=G,J=u5(q+G),Y.reader.ref(),DJ(Y.reader,J,0,J.length,$.relativeOffsetOfLocalHeader+30,function(V){try{if(V)return U(V);return W.fileName=J.subarray(0,q),W.extraField=J.subarray(q),U(null,W)}finally{Y.reader.unref()}})}finally{Y.reader.unref()}})};r6.prototype.openReadStreamPromise=function($,I){return new Promise((U,Y)=>{this.openReadStream($,I,function(J,Q){if(J)return Y(J);U(Q)})})};r6.prototype.openReadStreamLowLevelPromise=function($,I,U,Y,J,Q){return new Promise((K,q)=>{this.openReadStream($,I,U,Y,J,Q,function(G,H){if(G)return q(G);K(H)})})};r6.prototype.readLocalFileHeaderPromise=function($,I){return new Promise((U,Y)=>{this.readLocalFileHeader($,I,function(J,Q){if(J)return Y(J);U(Q)})})};function OJ(){}OJ.prototype.getLastModDate=function($){if($==null)$={};if(!$.forceDosFormat)for(var I=0;I>5&15)-1,Q=($>>9&127)+1980,K=0,q=(I&31)*2,G=I>>5&63,H=I>>11&31;if(U==null||U==="local")return new Date(Q,J,Y,H,G,q,K);else if(U==="UTC")return new Date(Date.UTC(Q,J,Y,H,G,q,K));else throw Error("unrecognized options.timezone: "+options.timezone)}function Zw0($,I,U,Y){var J=null;for(var Q=0;Q$.length)throw Error("extra field length exceeds extra field buffer size");var q=$.subarray(Q,K);I.push({id:Y,data:q}),U=K}return I}function DJ($,I,U,Y,J,Q){if(Y===0)return setImmediate(function(){Q(null,u5(0))});$.read(I,U,Y,J,function(K,q){if(K)return Q(K);if(qthis.expectedByteCount){var Y="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return U(Error(Y))}U(null,$)};$G.prototype._flush=function($){if(this.actualByteCount0)return;if($.refCount<0)throw Error("invalid unref");$.close(I);function I(U){if(U)return $.emit("error",U);$.emit("close")}};X7.prototype.createReadStream=function($){if($==null)$={};var{start:I,end:U}=$;if(I===U){var Y=new Dh;return setImmediate(function(){Y.end()}),Y}var J=this._readStreamForRange(I,U),Q=!1,K=new dL(this);J.on("error",function(G){setImmediate(function(){if(!Q)K.emit("error",G)})}),Lh(K,function(){J.unpipe(K),K.unref(),J.destroy()});var q=new $G(U-I);return K.on("error",function(G){setImmediate(function(){if(!Q)q.emit("error",G)})}),Lh(q,function(){Q=!0,K.unpipe(q),K.destroy()}),J.pipe(K).pipe(q)};X7.prototype._readStreamForRange=function($,I){throw Error("not implemented")};X7.prototype.read=function($,I,U,Y,J){var Q=this.createReadStream({start:Y,end:Y+U}),K=new AK1,q=0;K._write=function(G,H,W){G.copy($,I+q,0,G.length),q+=G.length,W()},K.on("finish",J),Q.on("error",function(G){J(G)}),Q.pipe(K)};X7.prototype.close=function($){setImmediate($)};nL.inherits(dL,Dh);function dL($){Dh.call(this),this.context=$,this.context.ref(),this.unreffedYet=!1}dL.prototype._flush=function($){this.unref(),$()};dL.prototype.unref=function($){if(this.unreffedYet)return;this.unreffedYet=!0,this.context.unref()};var RK1="\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";function bL($,I){if(I)return $.toString("utf8");else{var U="";for(var Y=0;Y<$.length;Y++)U+=RK1[$[Y]];return U}}function LJ($,I){var U=$.readUInt32LE(I),Y=$.readUInt32LE(I+4);return Y*4294967296+U}var u5;if(typeof Buffer.allocUnsafe==="function")u5=function($){return Buffer.allocUnsafe($)};else u5=function($){return new Buffer($)};function Lh($,I){if(typeof $.destroy==="function")$._destroy=function(U,Y){if(I(),Y!=null)Y(U)};else $.destroy=I}function iL($){if($)throw $}});var f5=O((r_1,Dw0)=>{var mL=r("buffer"),FJ=mL.Buffer,y$={},h$;for(h$ in mL){if(!mL.hasOwnProperty(h$))continue;if(h$==="SlowBuffer"||h$==="Buffer")continue;y$[h$]=mL[h$]}var NJ=y$.Buffer={};for(h$ in FJ){if(!FJ.hasOwnProperty(h$))continue;if(h$==="allocUnsafe"||h$==="allocUnsafeSlow")continue;NJ[h$]=FJ[h$]}y$.Buffer.prototype=FJ.prototype;if(!NJ.from||NJ.from===Uint8Array.from)NJ.from=function($,I,U){if(typeof $==="number")throw TypeError('The "value" argument must not be of type number. Received type '+typeof $);if($&&typeof $.length>"u")throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);return FJ($,I,U)};if(!NJ.alloc)NJ.alloc=function($,I,U){if(typeof $!=="number")throw TypeError('The "size" argument must be of type number. Received type '+typeof $);if($<0||$>=2147483648)throw RangeError('The value "'+$+'" is invalid for option "size"');var Y=FJ($);if(!I||I.length===0)Y.fill(0);else if(typeof U==="string")Y.fill(I,U);else Y.fill(I);return Y};if(!y$.kStringMaxLength)try{y$.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch($){}if(!y$.constants){if(y$.constants={MAX_LENGTH:y$.kMaxLength},y$.kStringMaxLength)y$.constants.MAX_STRING_LENGTH=y$.kStringMaxLength}Dw0.exports=y$});var Fw0=O((mK1)=>{var Ow0="\uFEFF";mK1.PrependBOM=Fh;function Fh($,I){this.encoder=$,this.addBOM=!0}Fh.prototype.write=function($){if(this.addBOM)$=Ow0+$,this.addBOM=!1;return this.encoder.write($)};Fh.prototype.end=function(){return this.encoder.end()};mK1.StripBOM=Nh;function Nh($,I){this.decoder=$,this.pass=!1,this.options=I||{}}Nh.prototype.write=function($){var I=this.decoder.write($);if(this.pass||!I)return I;if(I[0]===Ow0){if(I=I.slice(1),typeof this.options.stripBOM==="function")this.options.stripBOM()}return this.pass=!0,I};Nh.prototype.end=function(){return this.decoder.end()}});var Mh=O((a_1,Nw0)=>{var rK1=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function tK1($,I){for(var U in I)if(rK1(I,U))$[U]=I[U]}Nw0.exports=tK1});var Aw0=O((s_1,Mw0)=>{var b5=f5().Buffer;Mw0.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:Ah};function Ah($,I){if(this.enc=$.encodingName,this.bomAware=$.bomAware,this.enc==="base64")this.encoder=Eh;else if(this.enc==="utf8")this.encoder=Rh;else if(this.enc==="cesu8"){if(this.enc="utf8",this.encoder=Bh,b5.from("eda0bdedb2a9","hex").toString()!=="\uD83D\uDCA9")this.decoder=vh,this.defaultCharUnicode=I.defaultCharUnicode}}Ah.prototype.encoder=Th;Ah.prototype.decoder=Ph;var aK1=r("string_decoder").StringDecoder;function Ph($,I){this.decoder=new aK1(I.enc)}Ph.prototype.write=function($){if(!b5.isBuffer($))$=b5.from($);return this.decoder.write($)};Ph.prototype.end=function(){return this.decoder.end()};function Th($,I){this.enc=I.enc}Th.prototype.write=function($){return b5.from($,this.enc)};Th.prototype.end=function(){};function Eh($,I){this.prevStr=""}Eh.prototype.write=function($){$=this.prevStr+$;var I=$.length-$.length%4;return this.prevStr=$.slice(I),$=$.slice(0,I),b5.from($,"base64")};Eh.prototype.end=function(){return b5.from(this.prevStr,"base64")};function Bh($,I){}Bh.prototype.write=function($){var I=b5.alloc($.length*3),U=0;for(var Y=0;Y<$.length;Y++){var J=$.charCodeAt(Y);if(J<128)I[U++]=J;else if(J<2048)I[U++]=192+(J>>>6),I[U++]=128+(J&63);else I[U++]=224+(J>>>12),I[U++]=128+(J>>>6&63),I[U++]=128+(J&63)}return I.slice(0,U)};Bh.prototype.end=function(){};function vh($,I){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=I.defaultCharUnicode}vh.prototype.write=function($){var I=this.acc,U=this.contBytes,Y=this.accBytes,J="";for(var Q=0;Q<$.length;Q++){var K=$[Q];if((K&192)!==128){if(U>0)J+=this.defaultCharUnicode,U=0;if(K<128)J+=String.fromCharCode(K);else if(K<224)I=K&31,U=1,Y=1;else if(K<240)I=K&15,U=2,Y=1;else J+=this.defaultCharUnicode}else if(U>0){if(I=I<<6|K&63,U--,Y++,U===0)if(Y===2&&I<128&&I>0)J+=this.defaultCharUnicode;else if(Y===3&&I<2048)J+=this.defaultCharUnicode;else J+=String.fromCharCode(I)}else J+=this.defaultCharUnicode}return this.acc=I,this.contBytes=U,this.accBytes=Y,J};vh.prototype.end=function(){var $=0;if(this.contBytes>0)$+=this.defaultCharUnicode;return $};function Rh($,I){this.highSurrogate=""}Rh.prototype.write=function($){if(this.highSurrogate)$=this.highSurrogate+$,this.highSurrogate="";if($.length>0){var I=$.charCodeAt($.length-1);if(I>=55296&&I<56320)this.highSurrogate=$[$.length-1],$=$.slice(0,$.length-1)}return b5.from($,this.enc)};Rh.prototype.end=function(){if(this.highSurrogate){var $=this.highSurrogate;return this.highSurrogate="",b5.from($,this.enc)}}});var Ew0=O((sK1)=>{var lL=f5().Buffer;sK1._utf32=Ch;function Ch($,I){this.iconv=I,this.bomAware=!0,this.isLE=$.isLE}sK1.utf32le={type:"_utf32",isLE:!0};sK1.utf32be={type:"_utf32",isLE:!1};sK1.ucs4le="utf32le";sK1.ucs4be="utf32be";Ch.prototype.encoder=jh;Ch.prototype.decoder=_h;function jh($,I){this.isLE=I.isLE,this.highSurrogate=0}jh.prototype.write=function($){var I=lL.from($,"ucs2"),U=lL.alloc(I.length*2+4),Y=this.isLE?U.writeUInt32LE:U.writeUInt32BE,J=0;for(var Q=0;Q=55296&&K<56320,G=K>=56320&&K<57344;if(this.highSurrogate)if(q||!G)Y.call(U,this.highSurrogate,J),J+=4;else{var H=(this.highSurrogate-55296<<10|K-56320)+65536;Y.call(U,H,J),J+=4,this.highSurrogate=0;continue}if(q)this.highSurrogate=K;else Y.call(U,K,J),J+=4,this.highSurrogate=0}if(J0){for(;I<$.length&&K.length<4;I++)K.push($[I]);if(K.length===4){if(Q)U=K[0]|K[1]<<8|K[2]<<16|K[3]<<24;else U=K[3]|K[2]<<8|K[1]<<16|K[0]<<24;K.length=0,J=Pw0(Y,J,U,q)}}for(;I<$.length-3;I+=4){if(Q)U=$[I]|$[I+1]<<8|$[I+2]<<16|$[I+3]<<24;else U=$[I+3]|$[I+2]<<8|$[I+1]<<16|$[I]<<24;J=Pw0(Y,J,U,q)}for(;I<$.length;I++)K.push($[I]);return Y.slice(0,J).toString("ucs2")};function Pw0($,I,U,Y){if(U<0||U>1114111)U=Y;if(U>=65536){U-=65536;var J=55296|U>>10;$[I++]=J&255,$[I++]=J>>8;var U=56320|U&1023}return $[I++]=U&255,$[I++]=U>>8,I}_h.prototype.end=function(){if(this.overflow.length===0)return;return this.overflow.length=0,String.fromCharCode(this.badChar)};sK1.utf32=Sh;sK1.ucs4="utf32";function Sh($,I){this.iconv=I}Sh.prototype.encoder=gh;Sh.prototype.decoder=yh;function gh($,I){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=I.iconv.getEncoder($.defaultEncoding||"utf-32le",$)}gh.prototype.write=function($){return this.encoder.write($)};gh.prototype.end=function(){return this.encoder.end()};function yh($,I){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=I.iconv}yh.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<32)return"";var I=Tw0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(I,this.options);var U="";for(var Y=0;Y16)Q++;if(U[3]!==0||U[2]>16)J++;if(U[0]===0&&U[1]===0&&(U[2]!==0||U[3]!==0))q++;if((U[0]!==0||U[1]!==0)&&U[2]===0&&U[3]===0)K++;if(U.length=0,Y++,Y>=100)break $}}if(q-Q>K-J)return"utf-32be";if(q-Q{var Bw0=f5().Buffer;Kq1.utf16be=oL;function oL(){}oL.prototype.encoder=hh;oL.prototype.decoder=xh;oL.prototype.bomAware=!0;function hh(){}hh.prototype.write=function($){var I=Bw0.from($,"ucs2");for(var U=0;U=100)break $}}if(Q>J)return"utf-16be";if(Q{var n8=f5().Buffer;wq1.utf7=rL;wq1.unicode11utf7="utf7";function rL($,I){this.iconv=I}rL.prototype.encoder=ih;rL.prototype.decoder=nh;rL.prototype.bomAware=!0;var Hq1=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function ih($,I){this.iconv=I.iconv}ih.prototype.write=function($){return n8.from($.replace(Hq1,function(I){return"+"+(I==="+"?"":this.iconv.encode(I,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};ih.prototype.end=function(){};function nh($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=""}var Wq1=/[A-Za-z0-9\/+]/,ph=[];for(MJ=0;MJ<256;MJ++)ph[MJ]=Wq1.test(String.fromCharCode(MJ));var MJ,Vq1=43,II=45,bh=38;nh.prototype.write=function($){var I="",U=0,Y=this.inBase64,J=this.base64Accum;for(var Q=0;Q<$.length;Q++)if(!Y){if($[Q]==Vq1)I+=this.iconv.decode($.slice(U,Q),"ascii"),U=Q+1,Y=!0}else if(!ph[$[Q]]){if(Q==U&&$[Q]==II)I+="+";else{var K=J+this.iconv.decode($.slice(U,Q),"ascii");I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}if($[Q]!=II)Q--;U=Q+1,Y=!1,J=""}if(!Y)I+=this.iconv.decode($.slice(U),"ascii");else{var K=J+this.iconv.decode($.slice(U),"ascii"),q=K.length-K.length%8;J=K.slice(q),K=K.slice(0,q),I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}return this.inBase64=Y,this.base64Accum=J,I};nh.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(n8.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$};wq1.utf7imap=tL;function tL($,I){this.iconv=I}tL.prototype.encoder=ch;tL.prototype.decoder=dh;tL.prototype.bomAware=!0;function ch($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=n8.alloc(6),this.base64AccumIdx=0}ch.prototype.write=function($){var I=this.inBase64,U=this.base64Accum,Y=this.base64AccumIdx,J=n8.alloc($.length*5+10),Q=0;for(var K=0;K<$.length;K++){var q=$.charCodeAt(K);if(q>=32&&q<=126){if(I){if(Y>0)Q+=J.write(U.slice(0,Y).toString("base64").replace(/\//g,",").replace(/=+$/,""),Q),Y=0;J[Q++]=II,I=!1}if(!I){if(J[Q++]=q,q===bh)J[Q++]=II}}else{if(!I)J[Q++]=bh,I=!0;if(I){if(U[Y++]=q>>8,U[Y++]=q&255,Y==U.length)Q+=J.write(U.toString("base64").replace(/\//g,","),Q),Y=0}}}return this.inBase64=I,this.base64AccumIdx=Y,J.slice(0,Q)};ch.prototype.end=function(){var $=n8.alloc(10),I=0;if(this.inBase64){if(this.base64AccumIdx>0)I+=$.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),I),this.base64AccumIdx=0;$[I++]=II,this.inBase64=!1}return $.slice(0,I)};function dh($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=""}var Cw0=ph.slice();Cw0[44]=!0;dh.prototype.write=function($){var I="",U=0,Y=this.inBase64,J=this.base64Accum;for(var Q=0;Q<$.length;Q++)if(!Y){if($[Q]==bh)I+=this.iconv.decode($.slice(U,Q),"ascii"),U=Q+1,Y=!0}else if(!Cw0[$[Q]]){if(Q==U&&$[Q]==II)I+="&";else{var K=J+this.iconv.decode($.slice(U,Q),"ascii").replace(/,/g,"/");I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}if($[Q]!=II)Q--;U=Q+1,Y=!1,J=""}if(!Y)I+=this.iconv.decode($.slice(U),"ascii");else{var K=J+this.iconv.decode($.slice(U),"ascii").replace(/,/g,"/"),q=K.length-K.length%8;J=K.slice(q),K=K.slice(0,q),I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}return this.inBase64=Y,this.base64Accum=J,I};dh.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(n8.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$}});var _w0=O((Lq1)=>{var aL=f5().Buffer;Lq1._sbcs=mh;function mh($,I){if(!$)throw Error("SBCS codec is called without the data.");if(!$.chars||$.chars.length!==128&&$.chars.length!==256)throw Error("Encoding '"+$.type+"' has incorrect 'chars' (must be of len 128 or 256)");if($.chars.length===128){var U="";for(var Y=0;Y<128;Y++)U+=String.fromCharCode(Y);$.chars=U+$.chars}this.decodeBuf=aL.from($.chars,"ucs2");var J=aL.alloc(65536,I.defaultCharSingleByte.charCodeAt(0));for(var Y=0;Y<$.chars.length;Y++)J[$.chars.charCodeAt(Y)]=Y;this.encodeBuf=J}mh.prototype.encoder=lh;mh.prototype.decoder=oh;function lh($,I){this.encodeBuf=I.encodeBuf}lh.prototype.write=function($){var I=aL.alloc($.length);for(var U=0;U<$.length;U++)I[U]=this.encodeBuf[$.charCodeAt(U)];return I};lh.prototype.end=function(){};function oh($,I){this.decodeBuf=I.decodeBuf}oh.prototype.write=function($){var I=this.decodeBuf,U=aL.alloc($.length*2),Y=0,J=0;for(var Q=0;Q<$.length;Q++)Y=$[Q]*2,J=Q*2,U[J]=I[Y],U[J+1]=I[Y+1];return U.toString("ucs2")};oh.prototype.end=function(){}});var gw0=O((YS1,Sw0)=>{Sw0.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",iso88598i:"iso88598",iso88598e:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var hw0=O((JS1,yw0)=>{yw0.exports={"437":"cp437","737":"cp737","775":"cp775","850":"cp850","852":"cp852","855":"cp855","856":"cp856","857":"cp857","858":"cp858","860":"cp860","861":"cp861","862":"cp862","863":"cp863","864":"cp864","865":"cp865","866":"cp866","869":"cp869","874":"windows874","922":"cp922","1046":"cp1046","1124":"cp1124","1125":"cp1125","1129":"cp1129","1133":"cp1133","1161":"cp1161","1162":"cp1162","1163":"cp1163","1250":"windows1250","1251":"windows1251","1252":"windows1252","1253":"windows1253","1254":"windows1254","1255":"windows1255","1256":"windows1256","1257":"windows1257","1258":"windows1258","28591":"iso88591","28592":"iso88592","28593":"iso88593","28594":"iso88594","28595":"iso88595","28596":"iso88596","28597":"iso88597","28598":"iso88598","28599":"iso88599","28600":"iso885910","28601":"iso885911","28603":"iso885913","28604":"iso885914","28605":"iso885915","28606":"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:`\x00ÚỤ\x03ỪỬỮ\x07\b \v\f\r\x0E\x0F\x10ỨỰỲỶỸÝỴ\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:`\x00\x01Ẳ\x03\x04ẴẪ\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13Ỷ\x15\x16\x17\x18Ỹ\x1A\x1B\x1C\x1DỴ\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`},iso646cn:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},iso646jp:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b -\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}});var $Z0=O((BK1)=>{var gh=k5().Buffer;BK1._dbcs=f5;var H6=-1,eV0=-2,h$=-10,S6=-1000,FJ=Array(256),sq=-1;for(aq=0;aq<256;aq++)FJ[aq]=H6;var aq;function f5($,I){if(this.encodingName=$.encodingName,!$)throw Error("DBCS codec is called without the data.");if(!$.table)throw Error("Encoding '"+this.encodingName+"' has no data.");var U=$.table();this.decodeTables=[],this.decodeTables[0]=FJ.slice(0),this.decodeTableSeq=[];for(var Y=0;YS6)throw Error("gb18030 decode tables conflict at byte 2");var H=this.decodeTables[S6-q[G]];for(var W=129;W<=254;W++){if(H[W]===H6)H[W]=S6-Q;else if(H[W]===S6-Q)continue;else if(H[W]>S6)throw Error("gb18030 decode tables conflict at byte 3");var V=this.decodeTables[S6-H[W]];for(var z=48;z<=57;z++)if(V[z]===H6)V[z]=eV0}}}}this.defaultCharUnicode=I.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var Z={};if($.encodeSkipVals)for(var Y=0;Y<$.encodeSkipVals.length;Y++){var w=$.encodeSkipVals[Y];if(typeof w==="number")Z[w]=!0;else for(var G=w.from;G<=w.to;G++)Z[G]=!0}if(this._fillEncodeTable(0,0,Z),$.encodeAdd){for(var L in $.encodeAdd)if(Object.prototype.hasOwnProperty.call($.encodeAdd,L))this._setEncodeChar(L.charCodeAt(0),$.encodeAdd[L])}if(this.defCharSB=this.encodeTable[0][I.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===H6)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===H6)this.defCharSB=63}f5.prototype.encoder=cL;f5.prototype.decoder=yh;f5.prototype._getDecodeTrieNode=function($){var I=[];for(;$>0;$>>>=8)I.push($&255);if(I.length==0)I.push(0);var U=this.decodeTables[0];for(var Y=I.length-1;Y>0;Y--){var J=U[I[Y]];if(J==H6)U[I[Y]]=S6-this.decodeTables.length,this.decodeTables.push(U=FJ.slice(0));else if(J<=S6)U=this.decodeTables[S6-J];else throw Error("Overwrite byte in "+this.encodingName+", addr: "+$.toString(16))}return U};f5.prototype._addDecodeChunk=function($){var I=parseInt($[0],16),U=this._getDecodeTrieNode(I);I=I&255;for(var Y=1;Y<$.length;Y++){var J=$[Y];if(typeof J==="string")for(var Q=0;Q=55296&&K<56320){var q=J.charCodeAt(Q++);if(q>=56320&&q<57344)U[I++]=65536+(K-55296)*1024+(q-56320);else throw Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+$[0])}else if(K>4080&&K<=4095){var G=4095-K+2,H=[];for(var W=0;W255)throw Error("Incorrect chunk in "+this.encodingName+" at addr "+$[0]+": too long"+I)};f5.prototype._getEncodeBucket=function($){var I=$>>8;if(this.encodeTable[I]===void 0)this.encodeTable[I]=FJ.slice(0);return this.encodeTable[I]};f5.prototype._setEncodeChar=function($,I){var U=this._getEncodeBucket($),Y=$&255;if(U[Y]<=h$)this.encodeTableSeq[h$-U[Y]][sq]=I;else if(U[Y]==H6)U[Y]=I};f5.prototype._setEncodeSequence=function($,I){var U=$[0],Y=this._getEncodeBucket(U),J=U&255,Q;if(Y[J]<=h$)Q=this.encodeTableSeq[h$-Y[J]];else{if(Q={},Y[J]!==H6)Q[sq]=Y[J];Y[J]=h$-this.encodeTableSeq.length,this.encodeTableSeq.push(Q)}for(var K=1;K<$.length-1;K++){var q=Q[U];if(typeof q==="object")Q=q;else if(Q=Q[U]={},q!==void 0)Q[sq]=q}U=$[$.length-1],Q[U]=I};f5.prototype._fillEncodeTable=function($,I,U){var Y=this.decodeTables[$],J=!1,Q={};for(var K=0;K<256;K++){var q=Y[K],G=I+K;if(U[G])continue;if(q>=0)this._setEncodeChar(q,G),J=!0;else if(q<=S6){var H=S6-q;if(!Q[H]){var W=G<<8>>>0;if(this._fillEncodeTable(H,W,U))J=!0;else Q[H]=!0}}else if(q<=h$)this._setEncodeSequence(this.decodeTableSeq[h$-q],G),J=!0}return J};function cL($,I){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=I.encodeTable,this.encodeTableSeq=I.encodeTableSeq,this.defaultCharSingleByte=I.defCharSB,this.gb18030=I.gb18030}cL.prototype.write=function($){var I=gh.alloc($.length*(this.gb18030?4:3)),U=this.leadSurrogate,Y=this.seqObj,J=-1,Q=0,K=0;while(!0){if(J===-1){if(Q==$.length)break;var q=$.charCodeAt(Q++)}else{var q=J;J=-1}if(q>=55296&&q<57344)if(q<56320)if(U===-1){U=q;continue}else U=q,q=H6;else if(U!==-1)q=65536+(U-55296)*1024+(q-56320),U=-1;else q=H6;else if(U!==-1)J=q,q=H6,U=-1;var G=H6;if(Y!==void 0&&q!=H6){var H=Y[q];if(typeof H==="object"){Y=H;continue}else if(typeof H==="number")G=H;else if(H==null){if(H=Y[sq],H!==void 0)G=H,J=q}Y=void 0}else if(q>=0){var W=this.encodeTable[q>>8];if(W!==void 0)G=W[q&255];if(G<=h$){Y=this.encodeTableSeq[h$-G];continue}if(G==H6&&this.gb18030){var V=hh(this.gb18030.uChars,q);if(V!=-1){var G=this.gb18030.gbChars[V]+(q-this.gb18030.uChars[V]);I[K++]=129+Math.floor(G/12600),G=G%12600,I[K++]=48+Math.floor(G/1260),G=G%1260,I[K++]=129+Math.floor(G/10),G=G%10,I[K++]=48+G;continue}}}if(G===H6)G=this.defaultCharSingleByte;if(G<256)I[K++]=G;else if(G<65536)I[K++]=G>>8,I[K++]=G&255;else if(G<16777216)I[K++]=G>>16,I[K++]=G>>8&255,I[K++]=G&255;else I[K++]=G>>>24,I[K++]=G>>>16&255,I[K++]=G>>>8&255,I[K++]=G&255}return this.seqObj=Y,this.leadSurrogate=U,I.slice(0,K)};cL.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===void 0)return;var $=gh.alloc(10),I=0;if(this.seqObj){var U=this.seqObj[sq];if(U!==void 0)if(U<256)$[I++]=U;else $[I++]=U>>8,$[I++]=U&255;this.seqObj=void 0}if(this.leadSurrogate!==-1)$[I++]=this.defaultCharSingleByte,this.leadSurrogate=-1;return $.slice(0,I)};cL.prototype.findIdx=hh;function yh($,I){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=I.decodeTables,this.decodeTableSeq=I.decodeTableSeq,this.defaultCharUnicode=I.defaultCharUnicode,this.gb18030=I.gb18030}yh.prototype.write=function($){var I=gh.alloc($.length*2),U=this.nodeIdx,Y=this.prevBytes,J=this.prevBytes.length,Q=-this.prevBytes.length,K;for(var q=0,G=0;q<$.length;q++){var H=q>=0?$[q]:Y[q+J],K=this.decodeTables[U][H];if(K>=0);else if(K===H6)K=this.defaultCharUnicode.charCodeAt(0),q=Q;else if(K===eV0){if(q>=3)var W=($[q-3]-129)*12600+($[q-2]-48)*1260+($[q-1]-129)*10+(H-48);else var W=(Y[q-3+J]-129)*12600+((q-2>=0?$[q-2]:Y[q-2+J])-48)*1260+((q-1>=0?$[q-1]:Y[q-1+J])-129)*10+(H-48);var V=hh(this.gb18030.gbChars,W);K=this.gb18030.uChars[V]+W-this.gb18030.gbChars[V]}else if(K<=S6){U=S6-K;continue}else if(K<=h$){var z=this.decodeTableSeq[h$-K];for(var Z=0;Z>8;K=z[z.length-1]}else throw Error("iconv-lite internal error: invalid decoding table value "+K+" at "+U+"/"+H);if(K>=65536){K-=65536;var w=55296|K>>10;I[G++]=w&255,I[G++]=w>>8,K=56320|K&1023}I[G++]=K&255,I[G++]=K>>8,U=0,Q=q+1}return this.nodeIdx=U,this.prevBytes=Q>=0?Array.prototype.slice.call($,Q):Y.slice(Q+J).concat(Array.prototype.slice.call($)),I.slice(0,G).toString("ucs2")};yh.prototype.end=function(){var $="";while(this.prevBytes.length>0){$+=this.defaultCharUnicode;var I=this.prevBytes.slice(1);if(this.prevBytes=[],this.nodeIdx=0,I.length>0)$+=this.write(I)}return this.prevBytes=[],this.nodeIdx=0,$};function hh($,I){if($[0]>I)return-1;var U=0,Y=$.length;while(U>1);if($[J]<=I)U=J;else Y=J}return U}});var IZ0=O((I_1,vK1)=>{vK1.exports=[["0","\x00",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]});var UZ0=O((U_1,CK1)=>{CK1.exports=[["0","\x00",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]});var dL=O((Y_1,jK1)=>{jK1.exports=[["0","\x00",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]});var xh=O((J_1,_K1)=>{_K1.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc","ḿ"],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93],["8135f437",""]]});var YZ0=O((Q_1,SK1)=>{SK1.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}});var JZ0=O((K_1,gK1)=>{gK1.exports=[["0","\x00",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]});var kh=O((q_1,yK1)=>{yK1.exports=[["0","\x00",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]});var QZ0=O((G_1,hK1)=>{hK1.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]});var qZ0=O((H_1,KZ0)=>{KZ0.exports={shiftjis:{type:"_dbcs",table:function(){return IZ0()},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return UZ0()},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return dL()}},gbk:{type:"_dbcs",table:function(){return dL().concat(xh())}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return dL().concat(xh())},gb18030:function(){return YZ0()},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return JZ0()}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return kh()}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return kh().concat(QZ0())},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}});var WZ0=O((HZ0,$G)=>{var xK1=Qh(),GZ0=[fV0(),nV0(),dV0(),lV0(),oV0(),tV0(),sV0(),$Z0(),qZ0()];for(eq=0;eq{var VZ0=k5().Buffer;ZZ0.exports=function($){var I=$.Transform;function U(J,Q){this.conv=J,Q=Q||{},Q.decodeStrings=!1,I.call(this,Q)}U.prototype=Object.create(I.prototype,{constructor:{value:U}}),U.prototype._transform=function(J,Q,K){if(typeof J!=="string")return K(Error("Iconv encoding stream needs strings as its input."));try{var q=this.conv.write(J);if(q&&q.length)this.push(q);K()}catch(G){K(G)}},U.prototype._flush=function(J){try{var Q=this.conv.end();if(Q&&Q.length)this.push(Q);J()}catch(K){J(K)}},U.prototype.collect=function(J){var Q=[];return this.on("error",J),this.on("data",function(K){Q.push(K)}),this.on("end",function(){J(null,VZ0.concat(Q))}),this};function Y(J,Q){this.conv=J,Q=Q||{},Q.encoding=this.encoding="utf8",I.call(this,Q)}return Y.prototype=Object.create(I.prototype,{constructor:{value:Y}}),Y.prototype._transform=function(J,Q,K){if(!VZ0.isBuffer(J)&&!(J instanceof Uint8Array))return K(Error("Iconv decoding stream needs buffers as its input."));try{var q=this.conv.write(J);if(q&&q.length)this.push(q,this.encoding);K()}catch(G){K(G)}},Y.prototype._flush=function(J){try{var Q=this.conv.end();if(Q&&Q.length)this.push(Q,this.encoding);J()}catch(K){J(K)}},Y.prototype.collect=function(J){var Q="";return this.on("error",J),this.on("data",function(K){Q+=K}),this.on("end",function(){J(null,Q)}),this},{IconvLiteEncoderStream:U,IconvLiteDecoderStream:Y}}});var MZ0=O((nK1,c0)=>{var XZ0=k5().Buffer,wZ0=xV0(),iK1=Qh();nK1.encodings=null;nK1.defaultCharUnicode="�";nK1.defaultCharSingleByte="?";nK1.encode=function(I,U,Y){I=""+(I||"");var J=nK1.getEncoder(U,Y),Q=J.write(I),K=J.end();return K&&K.length>0?XZ0.concat([Q,K]):Q};nK1.decode=function(I,U,Y){if(typeof I==="string"){if(!nK1.skipDecodeWarning)console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),nK1.skipDecodeWarning=!0;I=XZ0.from(""+(I||""),"binary")}var J=nK1.getDecoder(U,Y),Q=J.write(I),K=J.end();return K?Q+K:Q};nK1.encodingExists=function(I){try{return nK1.getCodec(I),!0}catch(U){return!1}};nK1.toEncoding=nK1.encode;nK1.fromEncoding=nK1.decode;nK1._codecDataCache={__proto__:null};nK1.getCodec=function(I){if(!nK1.encodings){var U=WZ0();nK1.encodings={__proto__:null},iK1(nK1.encodings,U)}var Y=nK1._canonicalizeEncoding(I),J={};while(!0){var Q=nK1._codecDataCache[Y];if(Q)return Q;var K=nK1.encodings[Y];switch(typeof K){case"string":Y=K;break;case"object":for(var q in K)J[q]=K[q];if(!J.encodingName)J.encodingName=Y;Y=K.type;break;case"function":if(!J.encodingName)J.encodingName=Y;return Q=new K(J,nK1),nK1._codecDataCache[J.encodingName]=Q,Q;default:throw Error("Encoding not recognized: '"+I+"' (searched as: '"+Y+"')")}}};nK1._canonicalizeEncoding=function($){return(""+$).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};nK1.getEncoder=function(I,U){var Y=nK1.getCodec(I),J=new Y.encoder(U,Y);if(Y.bomAware&&U&&U.addBOM)J=new wZ0.PrependBOM(J,U);return J};nK1.getDecoder=function(I,U){var Y=nK1.getCodec(I),J=new Y.decoder(U,Y);if(Y.bomAware&&!(U&&U.stripBOM===!1))J=new wZ0.StripBOM(J,U);return J};nK1.enableStreamingAPI=function(I){if(nK1.supportsStreams)return;var U=zZ0()(I);nK1.IconvLiteEncoderStream=U.IconvLiteEncoderStream,nK1.IconvLiteDecoderStream=U.IconvLiteDecoderStream,nK1.encodeStream=function(J,Q){return new nK1.IconvLiteEncoderStream(nK1.getEncoder(J,Q),Q)},nK1.decodeStream=function(J,Q){return new nK1.IconvLiteDecoderStream(nK1.getDecoder(J,Q),Q)},nK1.supportsStreams=!0};var mL;try{mL=r("stream")}catch($){}if(mL&&mL.Transform)nK1.enableStreamingAPI(mL);else nK1.encodeStream=nK1.decodeStream=function(){throw Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});import{dirname as LG,resolve as RX0}from"node:path";import{fileURLToPath as mG1}from"node:url";var r8={};m8(r8,{version:()=>gO,util:()=>w0,treeifyError:()=>uD,toJSONSchema:()=>hH,toDotPath:()=>Wk,safeParseAsync:()=>pJ,safeParse:()=>OI,safeEncodeAsync:()=>Dk,safeEncode:()=>wk,safeDecodeAsync:()=>Ok,safeDecode:()=>Lk,registry:()=>KH,regexes:()=>e6,process:()=>C1,prettifyError:()=>fD,parseAsync:()=>nJ,parse:()=>iJ,meta:()=>EM,locales:()=>$Q,isValidJWT:()=>bk,isValidBase64URL:()=>fk,isValidBase64:()=>IN,initializeContext:()=>a5,globalRegistry:()=>d4,globalConfig:()=>O7,formatError:()=>bJ,flattenError:()=>fJ,finalize:()=>e5,extractDefs:()=>s5,encodeAsync:()=>zk,encode:()=>Vk,describe:()=>TM,decodeAsync:()=>Xk,decode:()=>Zk,createToJSONSchemaMethod:()=>RM,createStandardJSONSchemaMethod:()=>hI,config:()=>Z4,clone:()=>M6,_xor:()=>XD0,_xid:()=>DH,_void:()=>wM,_uuidv7:()=>VH,_uuidv6:()=>WH,_uuidv4:()=>HH,_uuid:()=>GH,_url:()=>UQ,_uppercase:()=>TI,_unknown:()=>zM,_union:()=>zD0,_undefined:()=>WM,_ulid:()=>LH,_uint64:()=>GM,_uint32:()=>UM,_tuple:()=>DD0,_trim:()=>jI,_transform:()=>TD0,_toUpperCase:()=>SI,_toLowerCase:()=>_I,_templateLiteral:()=>gD0,_symbol:()=>HM,_superRefine:()=>PM,_success:()=>CD0,_stringbool:()=>BM,_stringFormat:()=>yI,_string:()=>nF,_startsWith:()=>BI,_slugify:()=>gI,_size:()=>P7,_set:()=>FD0,_safeParseAsync:()=>NI,_safeParse:()=>DI,_safeEncodeAsync:()=>dG,_safeEncode:()=>pG,_safeDecodeAsync:()=>mG,_safeDecode:()=>cG,_regex:()=>AI,_refine:()=>AM,_record:()=>OD0,_readonly:()=>SD0,_property:()=>_H,_promise:()=>hD0,_positive:()=>RH,_pipe:()=>_D0,_parseAsync:()=>LI,_parse:()=>wI,_overwrite:()=>u$,_optional:()=>ED0,_number:()=>tF,_nullable:()=>BD0,_null:()=>VM,_normalize:()=>CI,_nonpositive:()=>CH,_nonoptional:()=>vD0,_nonnegative:()=>jH,_never:()=>XM,_negative:()=>vH,_nativeEnum:()=>AD0,_nanoid:()=>zH,_nan:()=>OM,_multipleOf:()=>r5,_minSize:()=>G8,_minLength:()=>o8,_min:()=>P6,_mime:()=>vI,_maxSize:()=>t5,_maxLength:()=>T7,_max:()=>$$,_map:()=>ND0,_mac:()=>cF,_lte:()=>$$,_lt:()=>K8,_lowercase:()=>PI,_literal:()=>PD0,_length:()=>E7,_lazy:()=>yD0,_ksuid:()=>OH,_jwt:()=>BH,_isoTime:()=>oF,_isoDuration:()=>rF,_isoDateTime:()=>mF,_isoDate:()=>lF,_ipv6:()=>FH,_ipv4:()=>NH,_intersection:()=>LD0,_int64:()=>qM,_int32:()=>IM,_int:()=>sF,_includes:()=>EI,_guid:()=>IQ,_gte:()=>P6,_gt:()=>q8,_float64:()=>$M,_float32:()=>eF,_file:()=>FM,_enum:()=>MD0,_endsWith:()=>RI,_encodeAsync:()=>iG,_encode:()=>fG,_emoji:()=>ZH,_email:()=>qH,_e164:()=>EH,_discriminatedUnion:()=>wD0,_default:()=>RD0,_decodeAsync:()=>nG,_decode:()=>bG,_date:()=>LM,_custom:()=>MM,_cuid2:()=>wH,_cuid:()=>XH,_coercedString:()=>pF,_coercedNumber:()=>aF,_coercedDate:()=>DM,_coercedBoolean:()=>JM,_coercedBigint:()=>KM,_cidrv6:()=>AH,_cidrv4:()=>MH,_check:()=>rk,_catch:()=>jD0,_boolean:()=>YM,_bigint:()=>QM,_base64url:()=>TH,_base64:()=>PH,_array:()=>NM,_any:()=>ZM,TimePrecision:()=>dF,NEVER:()=>BD,JSONSchemaGenerator:()=>VA,JSONSchema:()=>tk,Doc:()=>tG,$output:()=>fF,$input:()=>bF,$constructor:()=>o,$brand:()=>RD,$ZodXor:()=>NN,$ZodXID:()=>cO,$ZodVoid:()=>wN,$ZodUnknown:()=>zN,$ZodUnion:()=>oJ,$ZodUndefined:()=>WN,$ZodUUID:()=>xO,$ZodURL:()=>uO,$ZodULID:()=>pO,$ZodType:()=>i0,$ZodTuple:()=>YH,$ZodTransform:()=>vN,$ZodTemplateLiteral:()=>fN,$ZodSymbol:()=>HN,$ZodSuccess:()=>yN,$ZodStringFormat:()=>S1,$ZodString:()=>A7,$ZodSet:()=>TN,$ZodRegistry:()=>iF,$ZodRecord:()=>AN,$ZodRealError:()=>h6,$ZodReadonly:()=>uN,$ZodPromise:()=>iN,$ZodPreprocess:()=>kN,$ZodPrefault:()=>SN,$ZodPipe:()=>QH,$ZodOptional:()=>JH,$ZodObjectJIT:()=>ON,$ZodObject:()=>pk,$ZodNumberFormat:()=>qN,$ZodNumber:()=>IH,$ZodNullable:()=>jN,$ZodNull:()=>VN,$ZodNonOptional:()=>gN,$ZodNever:()=>XN,$ZodNanoID:()=>bO,$ZodNaN:()=>xN,$ZodMap:()=>PN,$ZodMAC:()=>sO,$ZodLiteral:()=>BN,$ZodLazy:()=>nN,$ZodKSUID:()=>dO,$ZodJWT:()=>QN,$ZodIntersection:()=>MN,$ZodISOTime:()=>oO,$ZodISODuration:()=>rO,$ZodISODateTime:()=>mO,$ZodISODate:()=>lO,$ZodIPv6:()=>aO,$ZodIPv4:()=>tO,$ZodGUID:()=>hO,$ZodFunction:()=>bN,$ZodFile:()=>RN,$ZodExactOptional:()=>CN,$ZodError:()=>uJ,$ZodEnum:()=>EN,$ZodEncodeError:()=>N7,$ZodEmoji:()=>fO,$ZodEmail:()=>kO,$ZodE164:()=>JN,$ZodDiscriminatedUnion:()=>FN,$ZodDefault:()=>_N,$ZodDate:()=>LN,$ZodCustomStringFormat:()=>KN,$ZodCustom:()=>pN,$ZodCodec:()=>rJ,$ZodCheckUpperCase:()=>BO,$ZodCheckStringFormat:()=>FI,$ZodCheckStartsWith:()=>vO,$ZodCheckSizeEquals:()=>FO,$ZodCheckRegex:()=>TO,$ZodCheckProperty:()=>jO,$ZodCheckOverwrite:()=>SO,$ZodCheckNumberFormat:()=>LO,$ZodCheckMultipleOf:()=>wO,$ZodCheckMinSize:()=>NO,$ZodCheckMinLength:()=>AO,$ZodCheckMimeType:()=>_O,$ZodCheckMaxSize:()=>OO,$ZodCheckMaxLength:()=>MO,$ZodCheckLowerCase:()=>EO,$ZodCheckLessThan:()=>oG,$ZodCheckLengthEquals:()=>PO,$ZodCheckIncludes:()=>RO,$ZodCheckGreaterThan:()=>rG,$ZodCheckEndsWith:()=>CO,$ZodCheckBigIntFormat:()=>DO,$ZodCheck:()=>k1,$ZodCatch:()=>hN,$ZodCUID2:()=>nO,$ZodCUID:()=>iO,$ZodCIDRv6:()=>$N,$ZodCIDRv4:()=>eO,$ZodBoolean:()=>lJ,$ZodBigIntFormat:()=>GN,$ZodBigInt:()=>UH,$ZodBase64URL:()=>YN,$ZodBase64:()=>UN,$ZodAsyncError:()=>Q8,$ZodArray:()=>DN,$ZodAny:()=>ZN});var Jk,BD=Object.freeze({status:"aborted"});function o($,I,U){function Y(q,G){if(!q._zod)Object.defineProperty(q,"_zod",{value:{def:G,constr:K,traits:new Set},enumerable:!1});if(q._zod.traits.has($))return;q._zod.traits.add($),I(q,G);let H=K.prototype,W=Object.keys(H);for(let V=0;V{if(U?.Parent&&q instanceof U.Parent)return!0;return q?._zod?.traits?.has($)}}),Object.defineProperty(K,"name",{value:$}),K}var RD=Symbol("zod_brand");class Q8 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class N7 extends Error{constructor($){super(`Encountered unidirectional transform during encode: ${$}`);this.name="ZodEncodeError"}}(Jk=globalThis).__zod_globalConfig??(Jk.__zod_globalConfig={});var O7=globalThis.__zod_globalConfig;function Z4($){if($)Object.assign(O7,$);return O7}var w0={};m8(w0,{unwrapMessage:()=>SJ,uint8ArrayToHex:()=>bw0,uint8ArrayToBase64url:()=>uw0,uint8ArrayToBase64:()=>qk,stringifyPrimitive:()=>V0,slugify:()=>jD,shallowClone:()=>SD,safeExtend:()=>Sw0,required:()=>hw0,randomString:()=>Ew0,propertyKeyTypes:()=>hJ,promiseAllObject:()=>Tw0,primitiveTypes:()=>gD,prefixIssues:()=>y6,pick:()=>Cw0,partial:()=>yw0,parsedType:()=>z0,optionalKeys:()=>yD,omit:()=>jw0,objectClone:()=>Mw0,numKeys:()=>Bw0,nullish:()=>d5,normalizeParams:()=>L0,mergeDefs:()=>l8,merge:()=>gw0,jsonStringifyReplacer:()=>ZI,joinValues:()=>I0,issue:()=>XI,isPlainObject:()=>l5,isObject:()=>F7,hexToUint8Array:()=>fw0,getSizableOrigin:()=>xJ,getParsedType:()=>Rw0,getLengthableOrigin:()=>kJ,getEnumValues:()=>gJ,getElementAtPath:()=>Pw0,floatSafeRemainder:()=>CD,finalizeIssue:()=>A6,extend:()=>_w0,explicitlyAborted:()=>kD,escapeRegex:()=>X$,esc:()=>kG,defineLazy:()=>s0,createTransparentProxy:()=>vw0,cloneDef:()=>Aw0,clone:()=>M6,cleanRegex:()=>yJ,cleanEnum:()=>xw0,captureStackTrace:()=>uG,cached:()=>zI,base64urlToUint8Array:()=>kw0,base64ToUint8Array:()=>Kk,assignProp:()=>m5,assertNotEqual:()=>Dw0,assertNever:()=>Nw0,assertIs:()=>Ow0,assertEqual:()=>Lw0,assert:()=>Fw0,allowsEval:()=>_D,aborted:()=>o5,NUMBER_FORMAT_RANGES:()=>hD,Class:()=>Gk,BIGINT_FORMAT_RANGES:()=>xD});function Lw0($){return $}function Dw0($){return $}function Ow0($){}function Nw0($){throw Error("Unexpected value in exhaustive check")}function Fw0($){}function gJ($){let I=Object.values($).filter((Y)=>typeof Y==="number");return Object.entries($).filter(([Y,J])=>I.indexOf(+Y)===-1).map(([Y,J])=>J)}function I0($,I="|"){return $.map((U)=>V0(U)).join(I)}function ZI($,I){if(typeof I==="bigint")return I.toString();return I}function zI($){return{get value(){{let U=$();return Object.defineProperty(this,"value",{value:U}),U}throw Error("cached value already set")}}}function d5($){return $===null||$===void 0}function yJ($){let I=$.startsWith("^")?1:0,U=$.endsWith("$")?$.length-1:$.length;return $.slice(I,U)}function CD($,I){let U=$/I,Y=Math.round(U),J=Number.EPSILON*Math.max(Math.abs(U),1);if(Math.abs(U-Y)U?.[Y],$)}function Tw0($){let I=Object.keys($),U=I.map((Y)=>$[Y]);return Promise.all(U).then((Y)=>{let J={};for(let Q=0;Q{};function F7($){return typeof $==="object"&&$!==null&&!Array.isArray($)}var _D=zI(()=>{if(O7.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch($){return!1}});function l5($){if(F7($)===!1)return!1;let I=$.constructor;if(I===void 0)return!0;if(typeof I!=="function")return!0;let U=I.prototype;if(F7(U)===!1)return!1;if(Object.prototype.hasOwnProperty.call(U,"isPrototypeOf")===!1)return!1;return!0}function SD($){if(l5($))return{...$};if(Array.isArray($))return[...$];if($ instanceof Map)return new Map($);if($ instanceof Set)return new Set($);return $}function Bw0($){let I=0;for(let U in $)if(Object.prototype.hasOwnProperty.call($,U))I++;return I}var Rw0=($)=>{let I=typeof $;switch(I){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN($)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray($))return"array";if($===null)return"null";if($.then&&typeof $.then==="function"&&$.catch&&typeof $.catch==="function")return"promise";if(typeof Map<"u"&&$ instanceof Map)return"map";if(typeof Set<"u"&&$ instanceof Set)return"set";if(typeof Date<"u"&&$ instanceof Date)return"date";if(typeof File<"u"&&$ instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${I}`)}},hJ=new Set(["string","number","symbol"]),gD=new Set(["string","number","bigint","boolean","symbol","undefined"]);function X$($){return $.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function M6($,I,U){let Y=new $._zod.constr(I??$._zod.def);if(!I||U?.parent)Y._zod.parent=$;return Y}function L0($){let I=$;if(!I)return{};if(typeof I==="string")return{error:()=>I};if(I?.message!==void 0){if(I?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");I.error=I.message}if(delete I.message,typeof I.error==="string")return{...I,error:()=>I.error};return I}function vw0($){let I;return new Proxy({},{get(U,Y,J){return I??(I=$()),Reflect.get(I,Y,J)},set(U,Y,J,Q){return I??(I=$()),Reflect.set(I,Y,J,Q)},has(U,Y){return I??(I=$()),Reflect.has(I,Y)},deleteProperty(U,Y){return I??(I=$()),Reflect.deleteProperty(I,Y)},ownKeys(U){return I??(I=$()),Reflect.ownKeys(I)},getOwnPropertyDescriptor(U,Y){return I??(I=$()),Reflect.getOwnPropertyDescriptor(I,Y)},defineProperty(U,Y,J){return I??(I=$()),Reflect.defineProperty(I,Y,J)}})}function V0($){if(typeof $==="bigint")return $.toString()+"n";if(typeof $==="string")return`"${$}"`;return`${$}`}function yD($){return Object.keys($).filter((I)=>{return $[I]._zod.optin==="optional"&&$[I]._zod.optout==="optional"})}var hD={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},xD={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Cw0($,I){let U=$._zod.def,Y=U.checks;if(Y&&Y.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let Q=l8($._zod.def,{get shape(){let K={};for(let q in I){if(!(q in U.shape))throw Error(`Unrecognized key: "${q}"`);if(!I[q])continue;K[q]=U.shape[q]}return m5(this,"shape",K),K},checks:[]});return M6($,Q)}function jw0($,I){let U=$._zod.def,Y=U.checks;if(Y&&Y.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let Q=l8($._zod.def,{get shape(){let K={...$._zod.def.shape};for(let q in I){if(!(q in U.shape))throw Error(`Unrecognized key: "${q}"`);if(!I[q])continue;delete K[q]}return m5(this,"shape",K),K},checks:[]});return M6($,Q)}function _w0($,I){if(!l5(I))throw Error("Invalid input to extend: expected a plain object");let U=$._zod.def.checks;if(U&&U.length>0){let Q=$._zod.def.shape;for(let K in I)if(Object.getOwnPropertyDescriptor(Q,K)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let J=l8($._zod.def,{get shape(){let Q={...$._zod.def.shape,...I};return m5(this,"shape",Q),Q}});return M6($,J)}function Sw0($,I){if(!l5(I))throw Error("Invalid input to safeExtend: expected a plain object");let U=l8($._zod.def,{get shape(){let Y={...$._zod.def.shape,...I};return m5(this,"shape",Y),Y}});return M6($,U)}function gw0($,I){if($._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let U=l8($._zod.def,{get shape(){let Y={...$._zod.def.shape,...I._zod.def.shape};return m5(this,"shape",Y),Y},get catchall(){return I._zod.def.catchall},checks:I._zod.def.checks??[]});return M6($,U)}function yw0($,I,U){let J=I._zod.def.checks;if(J&&J.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let K=l8(I._zod.def,{get shape(){let q=I._zod.def.shape,G={...q};if(U)for(let H in U){if(!(H in q))throw Error(`Unrecognized key: "${H}"`);if(!U[H])continue;G[H]=$?new $({type:"optional",innerType:q[H]}):q[H]}else for(let H in q)G[H]=$?new $({type:"optional",innerType:q[H]}):q[H];return m5(this,"shape",G),G},checks:[]});return M6(I,K)}function hw0($,I,U){let Y=l8(I._zod.def,{get shape(){let J=I._zod.def.shape,Q={...J};if(U)for(let K in U){if(!(K in Q))throw Error(`Unrecognized key: "${K}"`);if(!U[K])continue;Q[K]=new $({type:"nonoptional",innerType:J[K]})}else for(let K in J)Q[K]=new $({type:"nonoptional",innerType:J[K]});return m5(this,"shape",Q),Q}});return M6(I,Y)}function o5($,I=0){if($.aborted===!0)return!0;for(let U=I;U<$.issues.length;U++)if($.issues[U]?.continue!==!0)return!0;return!1}function kD($,I=0){if($.aborted===!0)return!0;for(let U=I;U<$.issues.length;U++)if($.issues[U]?.continue===!1)return!0;return!1}function y6($,I){return I.map((U)=>{var Y;return(Y=U).path??(Y.path=[]),U.path.unshift($),U})}function SJ($){return typeof $==="string"?$:$?.message}function A6($,I,U){let Y=$.message?$.message:SJ($.inst?._zod.def?.error?.($))??SJ(I?.error?.($))??SJ(U.customError?.($))??SJ(U.localeError?.($))??"Invalid input",{inst:J,continue:Q,input:K,...q}=$;if(q.path??(q.path=[]),q.message=Y,I?.reportInput)q.input=K;return q}function xJ($){if($ instanceof Set)return"set";if($ instanceof Map)return"map";if($ instanceof File)return"file";return"unknown"}function kJ($){if(Array.isArray($))return"array";if(typeof $==="string")return"string";return"unknown"}function z0($){let I=typeof $;switch(I){case"number":return Number.isNaN($)?"nan":"number";case"object":{if($===null)return"null";if(Array.isArray($))return"array";let U=$;if(U&&Object.getPrototypeOf(U)!==Object.prototype&&"constructor"in U&&U.constructor)return U.constructor.name}}return I}function XI(...$){let[I,U,Y]=$;if(typeof I==="string")return{message:I,code:"custom",input:U,inst:Y};return{...I}}function xw0($){return Object.entries($).filter(([I,U])=>{return Number.isNaN(Number.parseInt(I,10))}).map((I)=>I[1])}function Kk($){let I=atob($),U=new Uint8Array(I.length);for(let Y=0;YI.toString(16).padStart(2,"0")).join("")}class Gk{constructor(...$){}}var Hk=($,I)=>{$.name="$ZodError",Object.defineProperty($,"_zod",{value:$._zod,enumerable:!1}),Object.defineProperty($,"issues",{value:I,enumerable:!1}),$.message=JSON.stringify(I,ZI,2),Object.defineProperty($,"toString",{value:()=>$.message,enumerable:!1})},uJ=o("$ZodError",Hk),h6=o("$ZodError",Hk,{Parent:Error});function fJ($,I=(U)=>U.message){let U={},Y=[];for(let J of $.issues)if(J.path.length>0)U[J.path[0]]=U[J.path[0]]||[],U[J.path[0]].push(I(J));else Y.push(I(J));return{formErrors:Y,fieldErrors:U}}function bJ($,I=(U)=>U.message){let U={_errors:[]},Y=(J,Q=[])=>{for(let K of J.issues)if(K.code==="invalid_union"&&K.errors.length)K.errors.map((q)=>Y({issues:q},[...Q,...K.path]));else if(K.code==="invalid_key")Y({issues:K.issues},[...Q,...K.path]);else if(K.code==="invalid_element")Y({issues:K.issues},[...Q,...K.path]);else{let q=[...Q,...K.path];if(q.length===0)U._errors.push(I(K));else{let G=U,H=0;while(HU.message){let U={errors:[]},Y=(J,Q=[])=>{var K,q;for(let G of J.issues)if(G.code==="invalid_union"&&G.errors.length)G.errors.map((H)=>Y({issues:H},[...Q,...G.path]));else if(G.code==="invalid_key")Y({issues:G.issues},[...Q,...G.path]);else if(G.code==="invalid_element")Y({issues:G.issues},[...Q,...G.path]);else{let H=[...Q,...G.path];if(H.length===0){U.errors.push(I(G));continue}let W=U,V=0;while(Vtypeof Y==="object"?Y.key:Y);for(let Y of U)if(typeof Y==="number")I.push(`[${Y}]`);else if(typeof Y==="symbol")I.push(`[${JSON.stringify(String(Y))}]`);else if(/[^\w$]/.test(Y))I.push(`[${JSON.stringify(Y)}]`);else{if(I.length)I.push(".");I.push(Y)}return I.join("")}function fD($){let I=[],U=[...$.issues].sort((Y,J)=>(Y.path??[]).length-(J.path??[]).length);for(let Y of U)if(I.push(`✖ ${Y.message}`),Y.path?.length)I.push(` → at ${Wk(Y.path)}`);return I.join(` -`)}var wI=($)=>(I,U,Y,J)=>{let Q=Y?{...Y,async:!1}:{async:!1},K=I._zod.run({value:U,issues:[]},Q);if(K instanceof Promise)throw new Q8;if(K.issues.length){let q=new(J?.Err??$)(K.issues.map((G)=>A6(G,Q,Z4())));throw uG(q,J?.callee),q}return K.value},iJ=wI(h6),LI=($)=>async(I,U,Y,J)=>{let Q=Y?{...Y,async:!0}:{async:!0},K=I._zod.run({value:U,issues:[]},Q);if(K instanceof Promise)K=await K;if(K.issues.length){let q=new(J?.Err??$)(K.issues.map((G)=>A6(G,Q,Z4())));throw uG(q,J?.callee),q}return K.value},nJ=LI(h6),DI=($)=>(I,U,Y)=>{let J=Y?{...Y,async:!1}:{async:!1},Q=I._zod.run({value:U,issues:[]},J);if(Q instanceof Promise)throw new Q8;return Q.issues.length?{success:!1,error:new($??uJ)(Q.issues.map((K)=>A6(K,J,Z4())))}:{success:!0,data:Q.value}},OI=DI(h6),NI=($)=>async(I,U,Y)=>{let J=Y?{...Y,async:!0}:{async:!0},Q=I._zod.run({value:U,issues:[]},J);if(Q instanceof Promise)Q=await Q;return Q.issues.length?{success:!1,error:new $(Q.issues.map((K)=>A6(K,J,Z4())))}:{success:!0,data:Q.value}},pJ=NI(h6),fG=($)=>(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return wI($)(I,U,J)},Vk=fG(h6),bG=($)=>(I,U,Y)=>{return wI($)(I,U,Y)},Zk=bG(h6),iG=($)=>async(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return LI($)(I,U,J)},zk=iG(h6),nG=($)=>async(I,U,Y)=>{return LI($)(I,U,Y)},Xk=nG(h6),pG=($)=>(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return DI($)(I,U,J)},wk=pG(h6),cG=($)=>(I,U,Y)=>{return DI($)(I,U,Y)},Lk=cG(h6),dG=($)=>async(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return NI($)(I,U,J)},Dk=dG(h6),mG=($)=>async(I,U,Y)=>{return NI($)(I,U,Y)},Ok=mG(h6);var e6={};m8(e6,{xid:()=>pD,uuid7:()=>dw0,uuid6:()=>cw0,uuid4:()=>pw0,uuid:()=>M7,uppercase:()=>XO,unicodeEmail:()=>Nk,undefined:()=>ZO,ulid:()=>nD,time:()=>QO,string:()=>qO,sha512_hex:()=>ZL0,sha512_base64url:()=>XL0,sha512_base64:()=>zL0,sha384_hex:()=>HL0,sha384_base64url:()=>VL0,sha384_base64:()=>WL0,sha256_hex:()=>KL0,sha256_base64url:()=>GL0,sha256_base64:()=>qL0,sha1_hex:()=>YL0,sha1_base64url:()=>QL0,sha1_base64:()=>JL0,rfc5322Email:()=>lw0,number:()=>cJ,null:()=>VO,nanoid:()=>dD,md5_hex:()=>$L0,md5_base64url:()=>UL0,md5_base64:()=>IL0,mac:()=>sD,lowercase:()=>zO,ksuid:()=>cD,ipv6:()=>aD,ipv4:()=>tD,integer:()=>HO,idnEmail:()=>ow0,httpProtocol:()=>UO,html5Email:()=>mw0,hostname:()=>aw0,hex:()=>ew0,guid:()=>lD,extendedDuration:()=>nw0,emoji:()=>rD,email:()=>oD,e164:()=>YO,duration:()=>mD,domain:()=>sw0,datetime:()=>KO,date:()=>JO,cuid2:()=>iD,cuid:()=>bD,cidrv6:()=>$O,cidrv4:()=>eD,browserEmail:()=>rw0,boolean:()=>WO,bigint:()=>GO,base64url:()=>lG,base64:()=>IO});var bD=/^[cC][0-9a-z]{6,}$/,iD=/^[0-9a-z]+$/,nD=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,pD=/^[0-9a-vA-V]{20}$/,cD=/^[A-Za-z0-9]{27}$/,dD=/^[a-zA-Z0-9_-]{21}$/,mD=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,nw0=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,lD=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,M7=($)=>{if(!$)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${$}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},pw0=M7(4),cw0=M7(6),dw0=M7(7),oD=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,mw0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,lw0=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Nk=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,ow0=Nk,rw0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,tw0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function rD(){return new RegExp(tw0,"u")}var tD=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,aD=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,sD=($)=>{let I=X$($??":");return new RegExp(`^(?:[0-9A-F]{2}${I}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${I}){5}[0-9a-f]{2}$`)},eD=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,$O=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,IO=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,lG=/^[A-Za-z0-9_-]*$/,aw0=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,sw0=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,UO=/^https?$/,YO=/^\+[1-9]\d{6,14}$/,Fk="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",JO=new RegExp(`^${Fk}$`);function Mk($){return typeof $.precision==="number"?$.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":$.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${$.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function QO($){return new RegExp(`^${Mk($)}$`)}function KO($){let I=Mk({precision:$.precision}),U=["Z"];if($.local)U.push("");if($.offset)U.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let Y=`${I}(?:${U.join("|")})`;return new RegExp(`^${Fk}T(?:${Y})$`)}var qO=($)=>{let I=$?`[\\s\\S]{${$?.minimum??0},${$?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${I}$`)},GO=/^-?\d+n?$/,HO=/^-?\d+$/,cJ=/^-?\d+(?:\.\d+)?$/,WO=/^(?:true|false)$/i,VO=/^null$/i;var ZO=/^undefined$/i;var zO=/^[^A-Z]*$/,XO=/^[^a-z]*$/,ew0=/^[0-9a-fA-F]*$/;function dJ($,I){return new RegExp(`^[A-Za-z0-9+/]{${$}}${I}$`)}function mJ($){return new RegExp(`^[A-Za-z0-9_-]{${$}}$`)}var $L0=/^[0-9a-fA-F]{32}$/,IL0=dJ(22,"=="),UL0=mJ(22),YL0=/^[0-9a-fA-F]{40}$/,JL0=dJ(27,"="),QL0=mJ(27),KL0=/^[0-9a-fA-F]{64}$/,qL0=dJ(43,"="),GL0=mJ(43),HL0=/^[0-9a-fA-F]{96}$/,WL0=dJ(64,""),VL0=mJ(64),ZL0=/^[0-9a-fA-F]{128}$/,zL0=dJ(86,"=="),XL0=mJ(86);var k1=o("$ZodCheck",($,I)=>{var U;$._zod??($._zod={}),$._zod.def=I,(U=$._zod).onattach??(U.onattach=[])}),Pk={number:"number",bigint:"bigint",object:"date"},oG=o("$ZodCheckLessThan",($,I)=>{k1.init($,I);let U=Pk[typeof I.value];$._zod.onattach.push((Y)=>{let J=Y._zod.bag,Q=(I.inclusive?J.maximum:J.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(I.value{if(I.inclusive?Y.value<=I.value:Y.value{k1.init($,I);let U=Pk[typeof I.value];$._zod.onattach.push((Y)=>{let J=Y._zod.bag,Q=(I.inclusive?J.minimum:J.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(I.value>Q)if(I.inclusive)J.minimum=I.value;else J.exclusiveMinimum=I.value}),$._zod.check=(Y)=>{if(I.inclusive?Y.value>=I.value:Y.value>I.value)return;Y.issues.push({origin:U,code:"too_small",minimum:typeof I.value==="object"?I.value.getTime():I.value,input:Y.value,inclusive:I.inclusive,inst:$,continue:!I.abort})}}),wO=o("$ZodCheckMultipleOf",($,I)=>{k1.init($,I),$._zod.onattach.push((U)=>{var Y;(Y=U._zod.bag).multipleOf??(Y.multipleOf=I.value)}),$._zod.check=(U)=>{if(typeof U.value!==typeof I.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof U.value==="bigint"?U.value%I.value===BigInt(0):CD(U.value,I.value)===0)return;U.issues.push({origin:typeof U.value,code:"not_multiple_of",divisor:I.value,input:U.value,inst:$,continue:!I.abort})}}),LO=o("$ZodCheckNumberFormat",($,I)=>{k1.init($,I),I.format=I.format||"float64";let U=I.format?.includes("int"),Y=U?"int":"number",[J,Q]=hD[I.format];$._zod.onattach.push((K)=>{let q=K._zod.bag;if(q.format=I.format,q.minimum=J,q.maximum=Q,U)q.pattern=HO}),$._zod.check=(K)=>{let q=K.value;if(U){if(!Number.isInteger(q)){K.issues.push({expected:Y,format:I.format,code:"invalid_type",continue:!1,input:q,inst:$});return}if(!Number.isSafeInteger(q)){if(q>0)K.issues.push({input:q,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:Y,inclusive:!0,continue:!I.abort});else K.issues.push({input:q,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:Y,inclusive:!0,continue:!I.abort});return}}if(qQ)K.issues.push({origin:"number",input:q,code:"too_big",maximum:Q,inclusive:!0,inst:$,continue:!I.abort})}}),DO=o("$ZodCheckBigIntFormat",($,I)=>{k1.init($,I);let[U,Y]=xD[I.format];$._zod.onattach.push((J)=>{let Q=J._zod.bag;Q.format=I.format,Q.minimum=U,Q.maximum=Y}),$._zod.check=(J)=>{let Q=J.value;if(QY)J.issues.push({origin:"bigint",input:Q,code:"too_big",maximum:Y,inclusive:!0,inst:$,continue:!I.abort})}}),OO=o("$ZodCheckMaxSize",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.maximum??Number.POSITIVE_INFINITY;if(I.maximum{let J=Y.value;if(J.size<=I.maximum)return;Y.issues.push({origin:xJ(J),code:"too_big",maximum:I.maximum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),NO=o("$ZodCheckMinSize",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(I.minimum>J)Y._zod.bag.minimum=I.minimum}),$._zod.check=(Y)=>{let J=Y.value;if(J.size>=I.minimum)return;Y.issues.push({origin:xJ(J),code:"too_small",minimum:I.minimum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),FO=o("$ZodCheckSizeEquals",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.minimum=I.size,J.maximum=I.size,J.size=I.size}),$._zod.check=(Y)=>{let J=Y.value,Q=J.size;if(Q===I.size)return;let K=Q>I.size;Y.issues.push({origin:xJ(J),...K?{code:"too_big",maximum:I.size}:{code:"too_small",minimum:I.size},inclusive:!0,exact:!0,input:Y.value,inst:$,continue:!I.abort})}}),MO=o("$ZodCheckMaxLength",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.maximum??Number.POSITIVE_INFINITY;if(I.maximum{let J=Y.value;if(J.length<=I.maximum)return;let K=kJ(J);Y.issues.push({origin:K,code:"too_big",maximum:I.maximum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),AO=o("$ZodCheckMinLength",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(I.minimum>J)Y._zod.bag.minimum=I.minimum}),$._zod.check=(Y)=>{let J=Y.value;if(J.length>=I.minimum)return;let K=kJ(J);Y.issues.push({origin:K,code:"too_small",minimum:I.minimum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),PO=o("$ZodCheckLengthEquals",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.minimum=I.length,J.maximum=I.length,J.length=I.length}),$._zod.check=(Y)=>{let J=Y.value,Q=J.length;if(Q===I.length)return;let K=kJ(J),q=Q>I.length;Y.issues.push({origin:K,...q?{code:"too_big",maximum:I.length}:{code:"too_small",minimum:I.length},inclusive:!0,exact:!0,input:Y.value,inst:$,continue:!I.abort})}}),FI=o("$ZodCheckStringFormat",($,I)=>{var U,Y;if(k1.init($,I),$._zod.onattach.push((J)=>{let Q=J._zod.bag;if(Q.format=I.format,I.pattern)Q.patterns??(Q.patterns=new Set),Q.patterns.add(I.pattern)}),I.pattern)(U=$._zod).check??(U.check=(J)=>{if(I.pattern.lastIndex=0,I.pattern.test(J.value))return;J.issues.push({origin:"string",code:"invalid_format",format:I.format,input:J.value,...I.pattern?{pattern:I.pattern.toString()}:{},inst:$,continue:!I.abort})});else(Y=$._zod).check??(Y.check=()=>{})}),TO=o("$ZodCheckRegex",($,I)=>{FI.init($,I),$._zod.check=(U)=>{if(I.pattern.lastIndex=0,I.pattern.test(U.value))return;U.issues.push({origin:"string",code:"invalid_format",format:"regex",input:U.value,pattern:I.pattern.toString(),inst:$,continue:!I.abort})}}),EO=o("$ZodCheckLowerCase",($,I)=>{I.pattern??(I.pattern=zO),FI.init($,I)}),BO=o("$ZodCheckUpperCase",($,I)=>{I.pattern??(I.pattern=XO),FI.init($,I)}),RO=o("$ZodCheckIncludes",($,I)=>{k1.init($,I);let U=X$(I.includes),Y=new RegExp(typeof I.position==="number"?`^.{${I.position}}${U}`:U);I.pattern=Y,$._zod.onattach.push((J)=>{let Q=J._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(Y)}),$._zod.check=(J)=>{if(J.value.includes(I.includes,I.position))return;J.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:I.includes,input:J.value,inst:$,continue:!I.abort})}}),vO=o("$ZodCheckStartsWith",($,I)=>{k1.init($,I);let U=new RegExp(`^${X$(I.prefix)}.*`);I.pattern??(I.pattern=U),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(U)}),$._zod.check=(Y)=>{if(Y.value.startsWith(I.prefix))return;Y.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:I.prefix,input:Y.value,inst:$,continue:!I.abort})}}),CO=o("$ZodCheckEndsWith",($,I)=>{k1.init($,I);let U=new RegExp(`.*${X$(I.suffix)}$`);I.pattern??(I.pattern=U),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(U)}),$._zod.check=(Y)=>{if(Y.value.endsWith(I.suffix))return;Y.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:I.suffix,input:Y.value,inst:$,continue:!I.abort})}});function Ak($,I,U){if($.issues.length)I.issues.push(...y6(U,$.issues))}var jO=o("$ZodCheckProperty",($,I)=>{k1.init($,I),$._zod.check=(U)=>{let Y=I.schema._zod.run({value:U.value[I.property],issues:[]},{});if(Y instanceof Promise)return Y.then((J)=>Ak(J,U,I.property));Ak(Y,U,I.property);return}}),_O=o("$ZodCheckMimeType",($,I)=>{k1.init($,I);let U=new Set(I.mime);$._zod.onattach.push((Y)=>{Y._zod.bag.mime=I.mime}),$._zod.check=(Y)=>{if(U.has(Y.value.type))return;Y.issues.push({code:"invalid_value",values:I.mime,input:Y.value.type,inst:$,continue:!I.abort})}}),SO=o("$ZodCheckOverwrite",($,I)=>{k1.init($,I),$._zod.check=(U)=>{U.value=I.tx(U.value)}});class tG{constructor($=[]){if(this.content=[],this.indent=0,this)this.args=$}indented($){this.indent+=1,$(this),this.indent-=1}write($){if(typeof $==="function"){$(this,{execution:"sync"}),$(this,{execution:"async"});return}let U=$.split(` +\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}});var kw0=O((Oq1)=>{var rh=f5().Buffer;Oq1._dbcs=i5;var H6=-1,xw0=-2,x$=-10,g6=-1000,AJ=Array(256),UG=-1;for(IG=0;IG<256;IG++)AJ[IG]=H6;var IG;function i5($,I){if(this.encodingName=$.encodingName,!$)throw Error("DBCS codec is called without the data.");if(!$.table)throw Error("Encoding '"+this.encodingName+"' has no data.");var U=$.table();this.decodeTables=[],this.decodeTables[0]=AJ.slice(0),this.decodeTableSeq=[];for(var Y=0;Yg6)throw Error("gb18030 decode tables conflict at byte 2");var H=this.decodeTables[g6-q[G]];for(var W=129;W<=254;W++){if(H[W]===H6)H[W]=g6-Q;else if(H[W]===g6-Q)continue;else if(H[W]>g6)throw Error("gb18030 decode tables conflict at byte 3");var V=this.decodeTables[g6-H[W]];for(var w=48;w<=57;w++)if(V[w]===H6)V[w]=xw0}}}}this.defaultCharUnicode=I.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var Z={};if($.encodeSkipVals)for(var Y=0;Y<$.encodeSkipVals.length;Y++){var z=$.encodeSkipVals[Y];if(typeof z==="number")Z[z]=!0;else for(var G=z.from;G<=z.to;G++)Z[G]=!0}if(this._fillEncodeTable(0,0,Z),$.encodeAdd){for(var L in $.encodeAdd)if(Object.prototype.hasOwnProperty.call($.encodeAdd,L))this._setEncodeChar(L.charCodeAt(0),$.encodeAdd[L])}if(this.defCharSB=this.encodeTable[0][I.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===H6)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===H6)this.defCharSB=63}i5.prototype.encoder=sL;i5.prototype.decoder=th;i5.prototype._getDecodeTrieNode=function($){var I=[];for(;$>0;$>>>=8)I.push($&255);if(I.length==0)I.push(0);var U=this.decodeTables[0];for(var Y=I.length-1;Y>0;Y--){var J=U[I[Y]];if(J==H6)U[I[Y]]=g6-this.decodeTables.length,this.decodeTables.push(U=AJ.slice(0));else if(J<=g6)U=this.decodeTables[g6-J];else throw Error("Overwrite byte in "+this.encodingName+", addr: "+$.toString(16))}return U};i5.prototype._addDecodeChunk=function($){var I=parseInt($[0],16),U=this._getDecodeTrieNode(I);I=I&255;for(var Y=1;Y<$.length;Y++){var J=$[Y];if(typeof J==="string")for(var Q=0;Q=55296&&K<56320){var q=J.charCodeAt(Q++);if(q>=56320&&q<57344)U[I++]=65536+(K-55296)*1024+(q-56320);else throw Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+$[0])}else if(K>4080&&K<=4095){var G=4095-K+2,H=[];for(var W=0;W255)throw Error("Incorrect chunk in "+this.encodingName+" at addr "+$[0]+": too long"+I)};i5.prototype._getEncodeBucket=function($){var I=$>>8;if(this.encodeTable[I]===void 0)this.encodeTable[I]=AJ.slice(0);return this.encodeTable[I]};i5.prototype._setEncodeChar=function($,I){var U=this._getEncodeBucket($),Y=$&255;if(U[Y]<=x$)this.encodeTableSeq[x$-U[Y]][UG]=I;else if(U[Y]==H6)U[Y]=I};i5.prototype._setEncodeSequence=function($,I){var U=$[0],Y=this._getEncodeBucket(U),J=U&255,Q;if(Y[J]<=x$)Q=this.encodeTableSeq[x$-Y[J]];else{if(Q={},Y[J]!==H6)Q[UG]=Y[J];Y[J]=x$-this.encodeTableSeq.length,this.encodeTableSeq.push(Q)}for(var K=1;K<$.length-1;K++){var q=Q[U];if(typeof q==="object")Q=q;else if(Q=Q[U]={},q!==void 0)Q[UG]=q}U=$[$.length-1],Q[U]=I};i5.prototype._fillEncodeTable=function($,I,U){var Y=this.decodeTables[$],J=!1,Q={};for(var K=0;K<256;K++){var q=Y[K],G=I+K;if(U[G])continue;if(q>=0)this._setEncodeChar(q,G),J=!0;else if(q<=g6){var H=g6-q;if(!Q[H]){var W=G<<8>>>0;if(this._fillEncodeTable(H,W,U))J=!0;else Q[H]=!0}}else if(q<=x$)this._setEncodeSequence(this.decodeTableSeq[x$-q],G),J=!0}return J};function sL($,I){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=I.encodeTable,this.encodeTableSeq=I.encodeTableSeq,this.defaultCharSingleByte=I.defCharSB,this.gb18030=I.gb18030}sL.prototype.write=function($){var I=rh.alloc($.length*(this.gb18030?4:3)),U=this.leadSurrogate,Y=this.seqObj,J=-1,Q=0,K=0;while(!0){if(J===-1){if(Q==$.length)break;var q=$.charCodeAt(Q++)}else{var q=J;J=-1}if(q>=55296&&q<57344)if(q<56320)if(U===-1){U=q;continue}else U=q,q=H6;else if(U!==-1)q=65536+(U-55296)*1024+(q-56320),U=-1;else q=H6;else if(U!==-1)J=q,q=H6,U=-1;var G=H6;if(Y!==void 0&&q!=H6){var H=Y[q];if(typeof H==="object"){Y=H;continue}else if(typeof H==="number")G=H;else if(H==null){if(H=Y[UG],H!==void 0)G=H,J=q}Y=void 0}else if(q>=0){var W=this.encodeTable[q>>8];if(W!==void 0)G=W[q&255];if(G<=x$){Y=this.encodeTableSeq[x$-G];continue}if(G==H6&&this.gb18030){var V=ah(this.gb18030.uChars,q);if(V!=-1){var G=this.gb18030.gbChars[V]+(q-this.gb18030.uChars[V]);I[K++]=129+Math.floor(G/12600),G=G%12600,I[K++]=48+Math.floor(G/1260),G=G%1260,I[K++]=129+Math.floor(G/10),G=G%10,I[K++]=48+G;continue}}}if(G===H6)G=this.defaultCharSingleByte;if(G<256)I[K++]=G;else if(G<65536)I[K++]=G>>8,I[K++]=G&255;else if(G<16777216)I[K++]=G>>16,I[K++]=G>>8&255,I[K++]=G&255;else I[K++]=G>>>24,I[K++]=G>>>16&255,I[K++]=G>>>8&255,I[K++]=G&255}return this.seqObj=Y,this.leadSurrogate=U,I.slice(0,K)};sL.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===void 0)return;var $=rh.alloc(10),I=0;if(this.seqObj){var U=this.seqObj[UG];if(U!==void 0)if(U<256)$[I++]=U;else $[I++]=U>>8,$[I++]=U&255;this.seqObj=void 0}if(this.leadSurrogate!==-1)$[I++]=this.defaultCharSingleByte,this.leadSurrogate=-1;return $.slice(0,I)};sL.prototype.findIdx=ah;function th($,I){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=I.decodeTables,this.decodeTableSeq=I.decodeTableSeq,this.defaultCharUnicode=I.defaultCharUnicode,this.gb18030=I.gb18030}th.prototype.write=function($){var I=rh.alloc($.length*2),U=this.nodeIdx,Y=this.prevBytes,J=this.prevBytes.length,Q=-this.prevBytes.length,K;for(var q=0,G=0;q<$.length;q++){var H=q>=0?$[q]:Y[q+J],K=this.decodeTables[U][H];if(K>=0);else if(K===H6)K=this.defaultCharUnicode.charCodeAt(0),q=Q;else if(K===xw0){if(q>=3)var W=($[q-3]-129)*12600+($[q-2]-48)*1260+($[q-1]-129)*10+(H-48);else var W=(Y[q-3+J]-129)*12600+((q-2>=0?$[q-2]:Y[q-2+J])-48)*1260+((q-1>=0?$[q-1]:Y[q-1+J])-129)*10+(H-48);var V=ah(this.gb18030.gbChars,W);K=this.gb18030.uChars[V]+W-this.gb18030.gbChars[V]}else if(K<=g6){U=g6-K;continue}else if(K<=x$){var w=this.decodeTableSeq[x$-K];for(var Z=0;Z>8;K=w[w.length-1]}else throw Error("iconv-lite internal error: invalid decoding table value "+K+" at "+U+"/"+H);if(K>=65536){K-=65536;var z=55296|K>>10;I[G++]=z&255,I[G++]=z>>8,K=56320|K&1023}I[G++]=K&255,I[G++]=K>>8,U=0,Q=q+1}return this.nodeIdx=U,this.prevBytes=Q>=0?Array.prototype.slice.call($,Q):Y.slice(Q+J).concat(Array.prototype.slice.call($)),I.slice(0,G).toString("ucs2")};th.prototype.end=function(){var $="";while(this.prevBytes.length>0){$+=this.defaultCharUnicode;var I=this.prevBytes.slice(1);if(this.prevBytes=[],this.nodeIdx=0,I.length>0)$+=this.write(I)}return this.prevBytes=[],this.nodeIdx=0,$};function ah($,I){if($[0]>I)return-1;var U=0,Y=$.length;while(U>1);if($[J]<=I)U=J;else Y=J}return U}});var uw0=O((KS1,Nq1)=>{Nq1.exports=[["0","\x00",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]});var fw0=O((qS1,Mq1)=>{Mq1.exports=[["0","\x00",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]});var eL=O((GS1,Aq1)=>{Aq1.exports=[["0","\x00",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]});var sh=O((HS1,Pq1)=>{Pq1.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc","ḿ"],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93],["8135f437",""]]});var bw0=O((WS1,Tq1)=>{Tq1.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}});var iw0=O((VS1,Eq1)=>{Eq1.exports=[["0","\x00",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]});var eh=O((wS1,Bq1)=>{Bq1.exports=[["0","\x00",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]});var nw0=O((ZS1,vq1)=>{vq1.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]});var cw0=O((XS1,pw0)=>{pw0.exports={shiftjis:{type:"_dbcs",table:function(){return uw0()},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return fw0()},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return eL()}},gbk:{type:"_dbcs",table:function(){return eL().concat(sh())}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return eL().concat(sh())},gb18030:function(){return bw0()},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return iw0()}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return eh()}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return eh().concat(nw0())},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}});var lw0=O((mw0,JG)=>{var Rq1=Mh(),dw0=[Aw0(),Ew0(),Rw0(),jw0(),_w0(),gw0(),hw0(),kw0(),cw0()];for(YG=0;YG{var ow0=f5().Buffer;rw0.exports=function($){var I=$.Transform;function U(J,Q){this.conv=J,Q=Q||{},Q.decodeStrings=!1,I.call(this,Q)}U.prototype=Object.create(I.prototype,{constructor:{value:U}}),U.prototype._transform=function(J,Q,K){if(typeof J!=="string")return K(Error("Iconv encoding stream needs strings as its input."));try{var q=this.conv.write(J);if(q&&q.length)this.push(q);K()}catch(G){K(G)}},U.prototype._flush=function(J){try{var Q=this.conv.end();if(Q&&Q.length)this.push(Q);J()}catch(K){J(K)}},U.prototype.collect=function(J){var Q=[];return this.on("error",J),this.on("data",function(K){Q.push(K)}),this.on("end",function(){J(null,ow0.concat(Q))}),this};function Y(J,Q){this.conv=J,Q=Q||{},Q.encoding=this.encoding="utf8",I.call(this,Q)}return Y.prototype=Object.create(I.prototype,{constructor:{value:Y}}),Y.prototype._transform=function(J,Q,K){if(!ow0.isBuffer(J)&&!(J instanceof Uint8Array))return K(Error("Iconv decoding stream needs buffers as its input."));try{var q=this.conv.write(J);if(q&&q.length)this.push(q,this.encoding);K()}catch(G){K(G)}},Y.prototype._flush=function(J){try{var Q=this.conv.end();if(Q&&Q.length)this.push(Q,this.encoding);J()}catch(K){J(K)}},Y.prototype.collect=function(J){var Q="";return this.on("error",J),this.on("data",function(K){Q+=K}),this.on("end",function(){J(null,Q)}),this},{IconvLiteEncoderStream:U,IconvLiteDecoderStream:Y}}});var JZ0=O((yq1,c0)=>{var aw0=f5().Buffer,sw0=Fw0(),gq1=Mh();yq1.encodings=null;yq1.defaultCharUnicode="�";yq1.defaultCharSingleByte="?";yq1.encode=function(I,U,Y){I=""+(I||"");var J=yq1.getEncoder(U,Y),Q=J.write(I),K=J.end();return K&&K.length>0?aw0.concat([Q,K]):Q};yq1.decode=function(I,U,Y){if(typeof I==="string"){if(!yq1.skipDecodeWarning)console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),yq1.skipDecodeWarning=!0;I=aw0.from(""+(I||""),"binary")}var J=yq1.getDecoder(U,Y),Q=J.write(I),K=J.end();return K?Q+K:Q};yq1.encodingExists=function(I){try{return yq1.getCodec(I),!0}catch(U){return!1}};yq1.toEncoding=yq1.encode;yq1.fromEncoding=yq1.decode;yq1._codecDataCache={__proto__:null};yq1.getCodec=function(I){if(!yq1.encodings){var U=lw0();yq1.encodings={__proto__:null},gq1(yq1.encodings,U)}var Y=yq1._canonicalizeEncoding(I),J={};while(!0){var Q=yq1._codecDataCache[Y];if(Q)return Q;var K=yq1.encodings[Y];switch(typeof K){case"string":Y=K;break;case"object":for(var q in K)J[q]=K[q];if(!J.encodingName)J.encodingName=Y;Y=K.type;break;case"function":if(!J.encodingName)J.encodingName=Y;return Q=new K(J,yq1),yq1._codecDataCache[J.encodingName]=Q,Q;default:throw Error("Encoding not recognized: '"+I+"' (searched as: '"+Y+"')")}}};yq1._canonicalizeEncoding=function($){return(""+$).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};yq1.getEncoder=function(I,U){var Y=yq1.getCodec(I),J=new Y.encoder(U,Y);if(Y.bomAware&&U&&U.addBOM)J=new sw0.PrependBOM(J,U);return J};yq1.getDecoder=function(I,U){var Y=yq1.getCodec(I),J=new Y.decoder(U,Y);if(Y.bomAware&&!(U&&U.stripBOM===!1))J=new sw0.StripBOM(J,U);return J};yq1.enableStreamingAPI=function(I){if(yq1.supportsStreams)return;var U=tw0()(I);yq1.IconvLiteEncoderStream=U.IconvLiteEncoderStream,yq1.IconvLiteDecoderStream=U.IconvLiteDecoderStream,yq1.encodeStream=function(J,Q){return new yq1.IconvLiteEncoderStream(yq1.getEncoder(J,Q),Q)},yq1.decodeStream=function(J,Q){return new yq1.IconvLiteDecoderStream(yq1.getDecoder(J,Q),Q)},yq1.supportsStreams=!0};var $D;try{$D=r("stream")}catch($){}if($D&&$D.Transform)yq1.enableStreamingAPI($D);else yq1.encodeStream=yq1.decodeStream=function(){throw Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});import{dirname as NG,resolve as zz0}from"node:path";import{fileURLToPath as iH1}from"node:url";var a8={};o8(a8,{version:()=>mO,util:()=>L0,treeifyError:()=>aD,toJSONSchema:()=>fH,toDotPath:()=>Bk,safeParseAsync:()=>mJ,safeParse:()=>NI,safeEncodeAsync:()=>gk,safeEncode:()=>_k,safeDecodeAsync:()=>yk,safeDecode:()=>Sk,registry:()=>WH,regexes:()=>e6,process:()=>C1,prettifyError:()=>sD,parseAsync:()=>dJ,parse:()=>cJ,meta:()=>uM,locales:()=>YQ,isValidJWT:()=>Uu,isValidBase64URL:()=>Iu,isValidBase64:()=>XF,initializeContext:()=>e5,globalRegistry:()=>d4,globalConfig:()=>N7,formatError:()=>pJ,flattenError:()=>nJ,finalize:()=>I9,extractDefs:()=>$9,encodeAsync:()=>Ck,encode:()=>vk,describe:()=>kM,decodeAsync:()=>jk,decode:()=>Rk,createToJSONSchemaMethod:()=>bM,createStandardJSONSchemaMethod:()=>kI,config:()=>w4,clone:()=>M6,_xor:()=>UO0,_xid:()=>MH,_void:()=>RM,_uuidv7:()=>zH,_uuidv6:()=>XH,_uuidv4:()=>ZH,_uuid:()=>wH,_url:()=>QQ,_uppercase:()=>BI,_unknown:()=>BM,_union:()=>IO0,_undefined:()=>PM,_ulid:()=>NH,_uint64:()=>MM,_uint32:()=>zM,_tuple:()=>QO0,_trim:()=>SI,_transform:()=>wO0,_toUpperCase:()=>yI,_toLowerCase:()=>gI,_templateLiteral:()=>MO0,_symbol:()=>AM,_superRefine:()=>xM,_success:()=>DO0,_stringbool:()=>fM,_stringFormat:()=>xI,_string:()=>IM,_startsWith:()=>RI,_slugify:()=>hI,_size:()=>E7,_set:()=>GO0,_safeParseAsync:()=>MI,_safeParse:()=>FI,_safeEncodeAsync:()=>rG,_safeEncode:()=>lG,_safeDecodeAsync:()=>tG,_safeDecode:()=>oG,_regex:()=>TI,_refine:()=>hM,_record:()=>KO0,_readonly:()=>NO0,_property:()=>hH,_promise:()=>PO0,_positive:()=>_H,_pipe:()=>FO0,_parseAsync:()=>OI,_parse:()=>DI,_overwrite:()=>f$,_optional:()=>ZO0,_number:()=>HM,_nullable:()=>XO0,_null:()=>TM,_normalize:()=>_I,_nonpositive:()=>gH,_nonoptional:()=>LO0,_nonnegative:()=>yH,_never:()=>vM,_negative:()=>SH,_nativeEnum:()=>WO0,_nanoid:()=>DH,_nan:()=>_M,_multipleOf:()=>a5,_minSize:()=>H8,_minLength:()=>t8,_min:()=>P6,_mime:()=>jI,_maxSize:()=>s5,_maxLength:()=>B7,_max:()=>$$,_map:()=>qO0,_mac:()=>YM,_lte:()=>$$,_lt:()=>q8,_lowercase:()=>EI,_literal:()=>VO0,_length:()=>v7,_lazy:()=>AO0,_ksuid:()=>AH,_jwt:()=>jH,_isoTime:()=>qM,_isoDuration:()=>GM,_isoDateTime:()=>QM,_isoDate:()=>KM,_ipv6:()=>TH,_ipv4:()=>PH,_intersection:()=>JO0,_int64:()=>NM,_int32:()=>XM,_int:()=>VM,_includes:()=>vI,_guid:()=>JQ,_gte:()=>P6,_gt:()=>G8,_float64:()=>ZM,_float32:()=>wM,_file:()=>gM,_enum:()=>HO0,_endsWith:()=>CI,_encodeAsync:()=>dG,_encode:()=>pG,_emoji:()=>LH,_email:()=>VH,_e164:()=>CH,_discriminatedUnion:()=>YO0,_default:()=>zO0,_decodeAsync:()=>mG,_decode:()=>cG,_date:()=>CM,_custom:()=>yM,_cuid2:()=>FH,_cuid:()=>OH,_coercedString:()=>UM,_coercedNumber:()=>WM,_coercedDate:()=>jM,_coercedBoolean:()=>DM,_coercedBigint:()=>FM,_cidrv6:()=>BH,_cidrv4:()=>EH,_check:()=>Vu,_catch:()=>OO0,_boolean:()=>LM,_bigint:()=>OM,_base64url:()=>RH,_base64:()=>vH,_array:()=>SM,_any:()=>EM,TimePrecision:()=>JM,NEVER:()=>fD,JSONSchemaGenerator:()=>TA,JSONSchema:()=>wu,Doc:()=>$H,$output:()=>sN,$input:()=>eN,$constructor:()=>o,$brand:()=>bD,$ZodXor:()=>SF,$ZodXID:()=>YF,$ZodVoid:()=>RF,$ZodUnknown:()=>BF,$ZodUnion:()=>aJ,$ZodUndefined:()=>PF,$ZodUUID:()=>rO,$ZodURL:()=>aO,$ZodULID:()=>UF,$ZodType:()=>i0,$ZodTuple:()=>qH,$ZodTransform:()=>iF,$ZodTemplateLiteral:()=>sF,$ZodSymbol:()=>AF,$ZodSuccess:()=>lF,$ZodStringFormat:()=>S1,$ZodString:()=>T7,$ZodSet:()=>kF,$ZodRegistry:()=>$M,$ZodRecord:()=>hF,$ZodRealError:()=>x6,$ZodReadonly:()=>aF,$ZodPromise:()=>$N,$ZodPreprocess:()=>tF,$ZodPrefault:()=>dF,$ZodPipe:()=>HH,$ZodOptional:()=>GH,$ZodObjectJIT:()=>_F,$ZodObject:()=>Qu,$ZodNumberFormat:()=>NF,$ZodNumber:()=>QH,$ZodNullable:()=>pF,$ZodNull:()=>TF,$ZodNonOptional:()=>mF,$ZodNever:()=>vF,$ZodNanoID:()=>eO,$ZodNaN:()=>rF,$ZodMap:()=>xF,$ZodMAC:()=>VF,$ZodLiteral:()=>fF,$ZodLazy:()=>IN,$ZodKSUID:()=>JF,$ZodJWT:()=>OF,$ZodIntersection:()=>yF,$ZodISOTime:()=>qF,$ZodISODuration:()=>GF,$ZodISODateTime:()=>QF,$ZodISODate:()=>KF,$ZodIPv6:()=>WF,$ZodIPv4:()=>HF,$ZodGUID:()=>oO,$ZodFunction:()=>eF,$ZodFile:()=>bF,$ZodExactOptional:()=>nF,$ZodError:()=>iJ,$ZodEnum:()=>uF,$ZodEncodeError:()=>M7,$ZodEmoji:()=>sO,$ZodEmail:()=>tO,$ZodE164:()=>DF,$ZodDiscriminatedUnion:()=>gF,$ZodDefault:()=>cF,$ZodDate:()=>CF,$ZodCustomStringFormat:()=>FF,$ZodCustom:()=>UN,$ZodCodec:()=>sJ,$ZodCheckUpperCase:()=>fO,$ZodCheckStringFormat:()=>AI,$ZodCheckStartsWith:()=>iO,$ZodCheckSizeEquals:()=>gO,$ZodCheckRegex:()=>kO,$ZodCheckProperty:()=>pO,$ZodCheckOverwrite:()=>dO,$ZodCheckNumberFormat:()=>CO,$ZodCheckMultipleOf:()=>RO,$ZodCheckMinSize:()=>SO,$ZodCheckMinLength:()=>hO,$ZodCheckMimeType:()=>cO,$ZodCheckMaxSize:()=>_O,$ZodCheckMaxLength:()=>yO,$ZodCheckLowerCase:()=>uO,$ZodCheckLessThan:()=>sG,$ZodCheckLengthEquals:()=>xO,$ZodCheckIncludes:()=>bO,$ZodCheckGreaterThan:()=>eG,$ZodCheckEndsWith:()=>nO,$ZodCheckBigIntFormat:()=>jO,$ZodCheck:()=>k1,$ZodCatch:()=>oF,$ZodCUID2:()=>IF,$ZodCUID:()=>$F,$ZodCIDRv6:()=>ZF,$ZodCIDRv4:()=>wF,$ZodBoolean:()=>tJ,$ZodBigIntFormat:()=>MF,$ZodBigInt:()=>KH,$ZodBase64URL:()=>LF,$ZodBase64:()=>zF,$ZodAsyncError:()=>K8,$ZodArray:()=>jF,$ZodAny:()=>EF});var Nk,fD=Object.freeze({status:"aborted"});function o($,I,U){function Y(q,G){if(!q._zod)Object.defineProperty(q,"_zod",{value:{def:G,constr:K,traits:new Set},enumerable:!1});if(q._zod.traits.has($))return;q._zod.traits.add($),I(q,G);let H=K.prototype,W=Object.keys(H);for(let V=0;V{if(U?.Parent&&q instanceof U.Parent)return!0;return q?._zod?.traits?.has($)}}),Object.defineProperty(K,"name",{value:$}),K}var bD=Symbol("zod_brand");class K8 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class M7 extends Error{constructor($){super(`Encountered unidirectional transform during encode: ${$}`);this.name="ZodEncodeError"}}(Nk=globalThis).__zod_globalConfig??(Nk.__zod_globalConfig={});var N7=globalThis.__zod_globalConfig;function w4($){if($)Object.assign(N7,$);return N7}var L0={};o8(L0,{unwrapMessage:()=>hJ,uint8ArrayToHex:()=>RL0,uint8ArrayToBase64url:()=>BL0,uint8ArrayToBase64:()=>Pk,stringifyPrimitive:()=>w0,slugify:()=>pD,shallowClone:()=>dD,safeExtend:()=>NL0,required:()=>PL0,randomString:()=>ZL0,propertyKeyTypes:()=>uJ,promiseAllObject:()=>wL0,primitiveTypes:()=>mD,prefixIssues:()=>h6,pick:()=>DL0,partial:()=>AL0,parsedType:()=>X0,optionalKeys:()=>lD,omit:()=>OL0,objectClone:()=>HL0,numKeys:()=>XL0,nullish:()=>l5,normalizeParams:()=>O0,mergeDefs:()=>r8,merge:()=>ML0,jsonStringifyReplacer:()=>XI,joinValues:()=>I0,issue:()=>LI,isPlainObject:()=>r5,isObject:()=>A7,hexToUint8Array:()=>vL0,getSizableOrigin:()=>fJ,getParsedType:()=>zL0,getLengthableOrigin:()=>bJ,getEnumValues:()=>xJ,getElementAtPath:()=>VL0,floatSafeRemainder:()=>nD,finalizeIssue:()=>A6,extend:()=>FL0,explicitlyAborted:()=>tD,escapeRegex:()=>z$,esc:()=>iG,defineLazy:()=>e0,createTransparentProxy:()=>LL0,cloneDef:()=>WL0,clone:()=>M6,cleanRegex:()=>kJ,cleanEnum:()=>TL0,captureStackTrace:()=>nG,cached:()=>zI,base64urlToUint8Array:()=>EL0,base64ToUint8Array:()=>Ak,assignProp:()=>o5,assertNotEqual:()=>QL0,assertNever:()=>qL0,assertIs:()=>KL0,assertEqual:()=>JL0,assert:()=>GL0,allowsEval:()=>cD,aborted:()=>t5,NUMBER_FORMAT_RANGES:()=>oD,Class:()=>Tk,BIGINT_FORMAT_RANGES:()=>rD});function JL0($){return $}function QL0($){return $}function KL0($){}function qL0($){throw Error("Unexpected value in exhaustive check")}function GL0($){}function xJ($){let I=Object.values($).filter((Y)=>typeof Y==="number");return Object.entries($).filter(([Y,J])=>I.indexOf(+Y)===-1).map(([Y,J])=>J)}function I0($,I="|"){return $.map((U)=>w0(U)).join(I)}function XI($,I){if(typeof I==="bigint")return I.toString();return I}function zI($){return{get value(){{let U=$();return Object.defineProperty(this,"value",{value:U}),U}throw Error("cached value already set")}}}function l5($){return $===null||$===void 0}function kJ($){let I=$.startsWith("^")?1:0,U=$.endsWith("$")?$.length-1:$.length;return $.slice(I,U)}function nD($,I){let U=$/I,Y=Math.round(U),J=Number.EPSILON*Math.max(Math.abs(U),1);if(Math.abs(U-Y)U?.[Y],$)}function wL0($){let I=Object.keys($),U=I.map((Y)=>$[Y]);return Promise.all(U).then((Y)=>{let J={};for(let Q=0;Q{};function A7($){return typeof $==="object"&&$!==null&&!Array.isArray($)}var cD=zI(()=>{if(N7.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch($){return!1}});function r5($){if(A7($)===!1)return!1;let I=$.constructor;if(I===void 0)return!0;if(typeof I!=="function")return!0;let U=I.prototype;if(A7(U)===!1)return!1;if(Object.prototype.hasOwnProperty.call(U,"isPrototypeOf")===!1)return!1;return!0}function dD($){if(r5($))return{...$};if(Array.isArray($))return[...$];if($ instanceof Map)return new Map($);if($ instanceof Set)return new Set($);return $}function XL0($){let I=0;for(let U in $)if(Object.prototype.hasOwnProperty.call($,U))I++;return I}var zL0=($)=>{let I=typeof $;switch(I){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN($)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray($))return"array";if($===null)return"null";if($.then&&typeof $.then==="function"&&$.catch&&typeof $.catch==="function")return"promise";if(typeof Map<"u"&&$ instanceof Map)return"map";if(typeof Set<"u"&&$ instanceof Set)return"set";if(typeof Date<"u"&&$ instanceof Date)return"date";if(typeof File<"u"&&$ instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${I}`)}},uJ=new Set(["string","number","symbol"]),mD=new Set(["string","number","bigint","boolean","symbol","undefined"]);function z$($){return $.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function M6($,I,U){let Y=new $._zod.constr(I??$._zod.def);if(!I||U?.parent)Y._zod.parent=$;return Y}function O0($){let I=$;if(!I)return{};if(typeof I==="string")return{error:()=>I};if(I?.message!==void 0){if(I?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");I.error=I.message}if(delete I.message,typeof I.error==="string")return{...I,error:()=>I.error};return I}function LL0($){let I;return new Proxy({},{get(U,Y,J){return I??(I=$()),Reflect.get(I,Y,J)},set(U,Y,J,Q){return I??(I=$()),Reflect.set(I,Y,J,Q)},has(U,Y){return I??(I=$()),Reflect.has(I,Y)},deleteProperty(U,Y){return I??(I=$()),Reflect.deleteProperty(I,Y)},ownKeys(U){return I??(I=$()),Reflect.ownKeys(I)},getOwnPropertyDescriptor(U,Y){return I??(I=$()),Reflect.getOwnPropertyDescriptor(I,Y)},defineProperty(U,Y,J){return I??(I=$()),Reflect.defineProperty(I,Y,J)}})}function w0($){if(typeof $==="bigint")return $.toString()+"n";if(typeof $==="string")return`"${$}"`;return`${$}`}function lD($){return Object.keys($).filter((I)=>{return $[I]._zod.optin==="optional"&&$[I]._zod.optout==="optional"})}var oD={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},rD={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function DL0($,I){let U=$._zod.def,Y=U.checks;if(Y&&Y.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let Q=r8($._zod.def,{get shape(){let K={};for(let q in I){if(!(q in U.shape))throw Error(`Unrecognized key: "${q}"`);if(!I[q])continue;K[q]=U.shape[q]}return o5(this,"shape",K),K},checks:[]});return M6($,Q)}function OL0($,I){let U=$._zod.def,Y=U.checks;if(Y&&Y.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let Q=r8($._zod.def,{get shape(){let K={...$._zod.def.shape};for(let q in I){if(!(q in U.shape))throw Error(`Unrecognized key: "${q}"`);if(!I[q])continue;delete K[q]}return o5(this,"shape",K),K},checks:[]});return M6($,Q)}function FL0($,I){if(!r5(I))throw Error("Invalid input to extend: expected a plain object");let U=$._zod.def.checks;if(U&&U.length>0){let Q=$._zod.def.shape;for(let K in I)if(Object.getOwnPropertyDescriptor(Q,K)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let J=r8($._zod.def,{get shape(){let Q={...$._zod.def.shape,...I};return o5(this,"shape",Q),Q}});return M6($,J)}function NL0($,I){if(!r5(I))throw Error("Invalid input to safeExtend: expected a plain object");let U=r8($._zod.def,{get shape(){let Y={...$._zod.def.shape,...I};return o5(this,"shape",Y),Y}});return M6($,U)}function ML0($,I){if($._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let U=r8($._zod.def,{get shape(){let Y={...$._zod.def.shape,...I._zod.def.shape};return o5(this,"shape",Y),Y},get catchall(){return I._zod.def.catchall},checks:I._zod.def.checks??[]});return M6($,U)}function AL0($,I,U){let J=I._zod.def.checks;if(J&&J.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let K=r8(I._zod.def,{get shape(){let q=I._zod.def.shape,G={...q};if(U)for(let H in U){if(!(H in q))throw Error(`Unrecognized key: "${H}"`);if(!U[H])continue;G[H]=$?new $({type:"optional",innerType:q[H]}):q[H]}else for(let H in q)G[H]=$?new $({type:"optional",innerType:q[H]}):q[H];return o5(this,"shape",G),G},checks:[]});return M6(I,K)}function PL0($,I,U){let Y=r8(I._zod.def,{get shape(){let J=I._zod.def.shape,Q={...J};if(U)for(let K in U){if(!(K in Q))throw Error(`Unrecognized key: "${K}"`);if(!U[K])continue;Q[K]=new $({type:"nonoptional",innerType:J[K]})}else for(let K in J)Q[K]=new $({type:"nonoptional",innerType:J[K]});return o5(this,"shape",Q),Q}});return M6(I,Y)}function t5($,I=0){if($.aborted===!0)return!0;for(let U=I;U<$.issues.length;U++)if($.issues[U]?.continue!==!0)return!0;return!1}function tD($,I=0){if($.aborted===!0)return!0;for(let U=I;U<$.issues.length;U++)if($.issues[U]?.continue===!1)return!0;return!1}function h6($,I){return I.map((U)=>{var Y;return(Y=U).path??(Y.path=[]),U.path.unshift($),U})}function hJ($){return typeof $==="string"?$:$?.message}function A6($,I,U){let Y=$.message?$.message:hJ($.inst?._zod.def?.error?.($))??hJ(I?.error?.($))??hJ(U.customError?.($))??hJ(U.localeError?.($))??"Invalid input",{inst:J,continue:Q,input:K,...q}=$;if(q.path??(q.path=[]),q.message=Y,I?.reportInput)q.input=K;return q}function fJ($){if($ instanceof Set)return"set";if($ instanceof Map)return"map";if($ instanceof File)return"file";return"unknown"}function bJ($){if(Array.isArray($))return"array";if(typeof $==="string")return"string";return"unknown"}function X0($){let I=typeof $;switch(I){case"number":return Number.isNaN($)?"nan":"number";case"object":{if($===null)return"null";if(Array.isArray($))return"array";let U=$;if(U&&Object.getPrototypeOf(U)!==Object.prototype&&"constructor"in U&&U.constructor)return U.constructor.name}}return I}function LI(...$){let[I,U,Y]=$;if(typeof I==="string")return{message:I,code:"custom",input:U,inst:Y};return{...I}}function TL0($){return Object.entries($).filter(([I,U])=>{return Number.isNaN(Number.parseInt(I,10))}).map((I)=>I[1])}function Ak($){let I=atob($),U=new Uint8Array(I.length);for(let Y=0;YI.toString(16).padStart(2,"0")).join("")}class Tk{constructor(...$){}}var Ek=($,I)=>{$.name="$ZodError",Object.defineProperty($,"_zod",{value:$._zod,enumerable:!1}),Object.defineProperty($,"issues",{value:I,enumerable:!1}),$.message=JSON.stringify(I,XI,2),Object.defineProperty($,"toString",{value:()=>$.message,enumerable:!1})},iJ=o("$ZodError",Ek),x6=o("$ZodError",Ek,{Parent:Error});function nJ($,I=(U)=>U.message){let U={},Y=[];for(let J of $.issues)if(J.path.length>0)U[J.path[0]]=U[J.path[0]]||[],U[J.path[0]].push(I(J));else Y.push(I(J));return{formErrors:Y,fieldErrors:U}}function pJ($,I=(U)=>U.message){let U={_errors:[]},Y=(J,Q=[])=>{for(let K of J.issues)if(K.code==="invalid_union"&&K.errors.length)K.errors.map((q)=>Y({issues:q},[...Q,...K.path]));else if(K.code==="invalid_key")Y({issues:K.issues},[...Q,...K.path]);else if(K.code==="invalid_element")Y({issues:K.issues},[...Q,...K.path]);else{let q=[...Q,...K.path];if(q.length===0)U._errors.push(I(K));else{let G=U,H=0;while(HU.message){let U={errors:[]},Y=(J,Q=[])=>{var K,q;for(let G of J.issues)if(G.code==="invalid_union"&&G.errors.length)G.errors.map((H)=>Y({issues:H},[...Q,...G.path]));else if(G.code==="invalid_key")Y({issues:G.issues},[...Q,...G.path]);else if(G.code==="invalid_element")Y({issues:G.issues},[...Q,...G.path]);else{let H=[...Q,...G.path];if(H.length===0){U.errors.push(I(G));continue}let W=U,V=0;while(Vtypeof Y==="object"?Y.key:Y);for(let Y of U)if(typeof Y==="number")I.push(`[${Y}]`);else if(typeof Y==="symbol")I.push(`[${JSON.stringify(String(Y))}]`);else if(/[^\w$]/.test(Y))I.push(`[${JSON.stringify(Y)}]`);else{if(I.length)I.push(".");I.push(Y)}return I.join("")}function sD($){let I=[],U=[...$.issues].sort((Y,J)=>(Y.path??[]).length-(J.path??[]).length);for(let Y of U)if(I.push(`✖ ${Y.message}`),Y.path?.length)I.push(` → at ${Bk(Y.path)}`);return I.join(` +`)}var DI=($)=>(I,U,Y,J)=>{let Q=Y?{...Y,async:!1}:{async:!1},K=I._zod.run({value:U,issues:[]},Q);if(K instanceof Promise)throw new K8;if(K.issues.length){let q=new(J?.Err??$)(K.issues.map((G)=>A6(G,Q,w4())));throw nG(q,J?.callee),q}return K.value},cJ=DI(x6),OI=($)=>async(I,U,Y,J)=>{let Q=Y?{...Y,async:!0}:{async:!0},K=I._zod.run({value:U,issues:[]},Q);if(K instanceof Promise)K=await K;if(K.issues.length){let q=new(J?.Err??$)(K.issues.map((G)=>A6(G,Q,w4())));throw nG(q,J?.callee),q}return K.value},dJ=OI(x6),FI=($)=>(I,U,Y)=>{let J=Y?{...Y,async:!1}:{async:!1},Q=I._zod.run({value:U,issues:[]},J);if(Q instanceof Promise)throw new K8;return Q.issues.length?{success:!1,error:new($??iJ)(Q.issues.map((K)=>A6(K,J,w4())))}:{success:!0,data:Q.value}},NI=FI(x6),MI=($)=>async(I,U,Y)=>{let J=Y?{...Y,async:!0}:{async:!0},Q=I._zod.run({value:U,issues:[]},J);if(Q instanceof Promise)Q=await Q;return Q.issues.length?{success:!1,error:new $(Q.issues.map((K)=>A6(K,J,w4())))}:{success:!0,data:Q.value}},mJ=MI(x6),pG=($)=>(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return DI($)(I,U,J)},vk=pG(x6),cG=($)=>(I,U,Y)=>{return DI($)(I,U,Y)},Rk=cG(x6),dG=($)=>async(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return OI($)(I,U,J)},Ck=dG(x6),mG=($)=>async(I,U,Y)=>{return OI($)(I,U,Y)},jk=mG(x6),lG=($)=>(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return FI($)(I,U,J)},_k=lG(x6),oG=($)=>(I,U,Y)=>{return FI($)(I,U,Y)},Sk=oG(x6),rG=($)=>async(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return MI($)(I,U,J)},gk=rG(x6),tG=($)=>async(I,U,Y)=>{return MI($)(I,U,Y)},yk=tG(x6);var e6={};o8(e6,{xid:()=>UO,uuid7:()=>gL0,uuid6:()=>SL0,uuid4:()=>_L0,uuid:()=>P7,uppercase:()=>vO,unicodeEmail:()=>hk,undefined:()=>EO,ulid:()=>IO,time:()=>OO,string:()=>NO,sha512_hex:()=>$D0,sha512_base64url:()=>UD0,sha512_base64:()=>ID0,sha384_hex:()=>aL0,sha384_base64url:()=>eL0,sha384_base64:()=>sL0,sha256_hex:()=>oL0,sha256_base64url:()=>tL0,sha256_base64:()=>rL0,sha1_hex:()=>dL0,sha1_base64url:()=>lL0,sha1_base64:()=>mL0,rfc5322Email:()=>hL0,number:()=>lJ,null:()=>TO,nanoid:()=>JO,md5_hex:()=>nL0,md5_base64url:()=>cL0,md5_base64:()=>pL0,mac:()=>VO,lowercase:()=>BO,ksuid:()=>YO,ipv6:()=>WO,ipv4:()=>HO,integer:()=>AO,idnEmail:()=>xL0,httpProtocol:()=>zO,html5Email:()=>yL0,hostname:()=>fL0,hex:()=>iL0,guid:()=>KO,extendedDuration:()=>jL0,emoji:()=>GO,email:()=>qO,e164:()=>LO,duration:()=>QO,domain:()=>bL0,datetime:()=>FO,date:()=>DO,cuid2:()=>$O,cuid:()=>eD,cidrv6:()=>ZO,cidrv4:()=>wO,browserEmail:()=>kL0,boolean:()=>PO,bigint:()=>MO,base64url:()=>aG,base64:()=>XO});var eD=/^[cC][0-9a-z]{6,}$/,$O=/^[0-9a-z]+$/,IO=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,UO=/^[0-9a-vA-V]{20}$/,YO=/^[A-Za-z0-9]{27}$/,JO=/^[a-zA-Z0-9_-]{21}$/,QO=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,jL0=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,KO=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,P7=($)=>{if(!$)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${$}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},_L0=P7(4),SL0=P7(6),gL0=P7(7),qO=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,yL0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,hL0=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,hk=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,xL0=hk,kL0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,uL0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function GO(){return new RegExp(uL0,"u")}var HO=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,WO=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,VO=($)=>{let I=z$($??":");return new RegExp(`^(?:[0-9A-F]{2}${I}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${I}){5}[0-9a-f]{2}$`)},wO=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,ZO=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,XO=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,aG=/^[A-Za-z0-9_-]*$/,fL0=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,bL0=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,zO=/^https?$/,LO=/^\+[1-9]\d{6,14}$/,xk="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",DO=new RegExp(`^${xk}$`);function kk($){return typeof $.precision==="number"?$.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":$.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${$.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function OO($){return new RegExp(`^${kk($)}$`)}function FO($){let I=kk({precision:$.precision}),U=["Z"];if($.local)U.push("");if($.offset)U.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let Y=`${I}(?:${U.join("|")})`;return new RegExp(`^${xk}T(?:${Y})$`)}var NO=($)=>{let I=$?`[\\s\\S]{${$?.minimum??0},${$?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${I}$`)},MO=/^-?\d+n?$/,AO=/^-?\d+$/,lJ=/^-?\d+(?:\.\d+)?$/,PO=/^(?:true|false)$/i,TO=/^null$/i;var EO=/^undefined$/i;var BO=/^[^A-Z]*$/,vO=/^[^a-z]*$/,iL0=/^[0-9a-fA-F]*$/;function oJ($,I){return new RegExp(`^[A-Za-z0-9+/]{${$}}${I}$`)}function rJ($){return new RegExp(`^[A-Za-z0-9_-]{${$}}$`)}var nL0=/^[0-9a-fA-F]{32}$/,pL0=oJ(22,"=="),cL0=rJ(22),dL0=/^[0-9a-fA-F]{40}$/,mL0=oJ(27,"="),lL0=rJ(27),oL0=/^[0-9a-fA-F]{64}$/,rL0=oJ(43,"="),tL0=rJ(43),aL0=/^[0-9a-fA-F]{96}$/,sL0=oJ(64,""),eL0=rJ(64),$D0=/^[0-9a-fA-F]{128}$/,ID0=oJ(86,"=="),UD0=rJ(86);var k1=o("$ZodCheck",($,I)=>{var U;$._zod??($._zod={}),$._zod.def=I,(U=$._zod).onattach??(U.onattach=[])}),fk={number:"number",bigint:"bigint",object:"date"},sG=o("$ZodCheckLessThan",($,I)=>{k1.init($,I);let U=fk[typeof I.value];$._zod.onattach.push((Y)=>{let J=Y._zod.bag,Q=(I.inclusive?J.maximum:J.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(I.value{if(I.inclusive?Y.value<=I.value:Y.value{k1.init($,I);let U=fk[typeof I.value];$._zod.onattach.push((Y)=>{let J=Y._zod.bag,Q=(I.inclusive?J.minimum:J.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(I.value>Q)if(I.inclusive)J.minimum=I.value;else J.exclusiveMinimum=I.value}),$._zod.check=(Y)=>{if(I.inclusive?Y.value>=I.value:Y.value>I.value)return;Y.issues.push({origin:U,code:"too_small",minimum:typeof I.value==="object"?I.value.getTime():I.value,input:Y.value,inclusive:I.inclusive,inst:$,continue:!I.abort})}}),RO=o("$ZodCheckMultipleOf",($,I)=>{k1.init($,I),$._zod.onattach.push((U)=>{var Y;(Y=U._zod.bag).multipleOf??(Y.multipleOf=I.value)}),$._zod.check=(U)=>{if(typeof U.value!==typeof I.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof U.value==="bigint"?U.value%I.value===BigInt(0):nD(U.value,I.value)===0)return;U.issues.push({origin:typeof U.value,code:"not_multiple_of",divisor:I.value,input:U.value,inst:$,continue:!I.abort})}}),CO=o("$ZodCheckNumberFormat",($,I)=>{k1.init($,I),I.format=I.format||"float64";let U=I.format?.includes("int"),Y=U?"int":"number",[J,Q]=oD[I.format];$._zod.onattach.push((K)=>{let q=K._zod.bag;if(q.format=I.format,q.minimum=J,q.maximum=Q,U)q.pattern=AO}),$._zod.check=(K)=>{let q=K.value;if(U){if(!Number.isInteger(q)){K.issues.push({expected:Y,format:I.format,code:"invalid_type",continue:!1,input:q,inst:$});return}if(!Number.isSafeInteger(q)){if(q>0)K.issues.push({input:q,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:Y,inclusive:!0,continue:!I.abort});else K.issues.push({input:q,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:Y,inclusive:!0,continue:!I.abort});return}}if(qQ)K.issues.push({origin:"number",input:q,code:"too_big",maximum:Q,inclusive:!0,inst:$,continue:!I.abort})}}),jO=o("$ZodCheckBigIntFormat",($,I)=>{k1.init($,I);let[U,Y]=rD[I.format];$._zod.onattach.push((J)=>{let Q=J._zod.bag;Q.format=I.format,Q.minimum=U,Q.maximum=Y}),$._zod.check=(J)=>{let Q=J.value;if(QY)J.issues.push({origin:"bigint",input:Q,code:"too_big",maximum:Y,inclusive:!0,inst:$,continue:!I.abort})}}),_O=o("$ZodCheckMaxSize",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!l5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.maximum??Number.POSITIVE_INFINITY;if(I.maximum{let J=Y.value;if(J.size<=I.maximum)return;Y.issues.push({origin:fJ(J),code:"too_big",maximum:I.maximum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),SO=o("$ZodCheckMinSize",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!l5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(I.minimum>J)Y._zod.bag.minimum=I.minimum}),$._zod.check=(Y)=>{let J=Y.value;if(J.size>=I.minimum)return;Y.issues.push({origin:fJ(J),code:"too_small",minimum:I.minimum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),gO=o("$ZodCheckSizeEquals",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!l5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.minimum=I.size,J.maximum=I.size,J.size=I.size}),$._zod.check=(Y)=>{let J=Y.value,Q=J.size;if(Q===I.size)return;let K=Q>I.size;Y.issues.push({origin:fJ(J),...K?{code:"too_big",maximum:I.size}:{code:"too_small",minimum:I.size},inclusive:!0,exact:!0,input:Y.value,inst:$,continue:!I.abort})}}),yO=o("$ZodCheckMaxLength",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!l5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.maximum??Number.POSITIVE_INFINITY;if(I.maximum{let J=Y.value;if(J.length<=I.maximum)return;let K=bJ(J);Y.issues.push({origin:K,code:"too_big",maximum:I.maximum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),hO=o("$ZodCheckMinLength",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!l5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(I.minimum>J)Y._zod.bag.minimum=I.minimum}),$._zod.check=(Y)=>{let J=Y.value;if(J.length>=I.minimum)return;let K=bJ(J);Y.issues.push({origin:K,code:"too_small",minimum:I.minimum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),xO=o("$ZodCheckLengthEquals",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!l5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.minimum=I.length,J.maximum=I.length,J.length=I.length}),$._zod.check=(Y)=>{let J=Y.value,Q=J.length;if(Q===I.length)return;let K=bJ(J),q=Q>I.length;Y.issues.push({origin:K,...q?{code:"too_big",maximum:I.length}:{code:"too_small",minimum:I.length},inclusive:!0,exact:!0,input:Y.value,inst:$,continue:!I.abort})}}),AI=o("$ZodCheckStringFormat",($,I)=>{var U,Y;if(k1.init($,I),$._zod.onattach.push((J)=>{let Q=J._zod.bag;if(Q.format=I.format,I.pattern)Q.patterns??(Q.patterns=new Set),Q.patterns.add(I.pattern)}),I.pattern)(U=$._zod).check??(U.check=(J)=>{if(I.pattern.lastIndex=0,I.pattern.test(J.value))return;J.issues.push({origin:"string",code:"invalid_format",format:I.format,input:J.value,...I.pattern?{pattern:I.pattern.toString()}:{},inst:$,continue:!I.abort})});else(Y=$._zod).check??(Y.check=()=>{})}),kO=o("$ZodCheckRegex",($,I)=>{AI.init($,I),$._zod.check=(U)=>{if(I.pattern.lastIndex=0,I.pattern.test(U.value))return;U.issues.push({origin:"string",code:"invalid_format",format:"regex",input:U.value,pattern:I.pattern.toString(),inst:$,continue:!I.abort})}}),uO=o("$ZodCheckLowerCase",($,I)=>{I.pattern??(I.pattern=BO),AI.init($,I)}),fO=o("$ZodCheckUpperCase",($,I)=>{I.pattern??(I.pattern=vO),AI.init($,I)}),bO=o("$ZodCheckIncludes",($,I)=>{k1.init($,I);let U=z$(I.includes),Y=new RegExp(typeof I.position==="number"?`^.{${I.position}}${U}`:U);I.pattern=Y,$._zod.onattach.push((J)=>{let Q=J._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(Y)}),$._zod.check=(J)=>{if(J.value.includes(I.includes,I.position))return;J.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:I.includes,input:J.value,inst:$,continue:!I.abort})}}),iO=o("$ZodCheckStartsWith",($,I)=>{k1.init($,I);let U=new RegExp(`^${z$(I.prefix)}.*`);I.pattern??(I.pattern=U),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(U)}),$._zod.check=(Y)=>{if(Y.value.startsWith(I.prefix))return;Y.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:I.prefix,input:Y.value,inst:$,continue:!I.abort})}}),nO=o("$ZodCheckEndsWith",($,I)=>{k1.init($,I);let U=new RegExp(`.*${z$(I.suffix)}$`);I.pattern??(I.pattern=U),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(U)}),$._zod.check=(Y)=>{if(Y.value.endsWith(I.suffix))return;Y.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:I.suffix,input:Y.value,inst:$,continue:!I.abort})}});function uk($,I,U){if($.issues.length)I.issues.push(...h6(U,$.issues))}var pO=o("$ZodCheckProperty",($,I)=>{k1.init($,I),$._zod.check=(U)=>{let Y=I.schema._zod.run({value:U.value[I.property],issues:[]},{});if(Y instanceof Promise)return Y.then((J)=>uk(J,U,I.property));uk(Y,U,I.property);return}}),cO=o("$ZodCheckMimeType",($,I)=>{k1.init($,I);let U=new Set(I.mime);$._zod.onattach.push((Y)=>{Y._zod.bag.mime=I.mime}),$._zod.check=(Y)=>{if(U.has(Y.value.type))return;Y.issues.push({code:"invalid_value",values:I.mime,input:Y.value.type,inst:$,continue:!I.abort})}}),dO=o("$ZodCheckOverwrite",($,I)=>{k1.init($,I),$._zod.check=(U)=>{U.value=I.tx(U.value)}});class $H{constructor($=[]){if(this.content=[],this.indent=0,this)this.args=$}indented($){this.indent+=1,$(this),this.indent-=1}write($){if(typeof $==="function"){$(this,{execution:"sync"}),$(this,{execution:"async"});return}let U=$.split(` `).filter((Q)=>Q),Y=Math.min(...U.map((Q)=>Q.length-Q.trimStart().length)),J=U.map((Q)=>Q.slice(Y)).map((Q)=>" ".repeat(this.indent*2)+Q);for(let Q of J)this.content.push(Q)}compile(){let $=Function,I=this?.args,Y=[...(this?.content??[""]).map((J)=>` ${J}`)];return new $(...I,Y.join(` -`))}}var gO={major:4,minor:4,patch:3};var i0=o("$ZodType",($,I)=>{var U;$??($={}),$._zod.def=I,$._zod.bag=$._zod.bag||{},$._zod.version=gO;let Y=[...$._zod.def.checks??[]];if($._zod.traits.has("$ZodCheck"))Y.unshift($);for(let J of Y)for(let Q of J._zod.onattach)Q($);if(Y.length===0)(U=$._zod).deferred??(U.deferred=[]),$._zod.deferred?.push(()=>{$._zod.run=$._zod.parse});else{let J=(K,q,G)=>{let H=o5(K),W;for(let V of q){if(V._zod.def.when){if(kD(K))continue;if(!V._zod.def.when(K))continue}else if(H)continue;let z=K.issues.length,Z=V._zod.check(K);if(Z instanceof Promise&&G?.async===!1)throw new Q8;if(W||Z instanceof Promise)W=(W??Promise.resolve()).then(async()=>{if(await Z,K.issues.length===z)return;if(!H)H=o5(K,z)});else{if(K.issues.length===z)continue;if(!H)H=o5(K,z)}}if(W)return W.then(()=>{return K});return K},Q=(K,q,G)=>{if(o5(K))return K.aborted=!0,K;let H=J(q,Y,G);if(H instanceof Promise){if(G.async===!1)throw new Q8;return H.then((W)=>$._zod.parse(W,G))}return $._zod.parse(H,G)};$._zod.run=(K,q)=>{if(q.skipChecks)return $._zod.parse(K,q);if(q.direction==="backward"){let H=$._zod.parse({value:K.value,issues:[]},{...q,skipChecks:!0});if(H instanceof Promise)return H.then((W)=>{return Q(W,K,q)});return Q(H,K,q)}let G=$._zod.parse(K,q);if(G instanceof Promise){if(q.async===!1)throw new Q8;return G.then((H)=>J(H,Y,q))}return J(G,Y,q)}}s0($,"~standard",()=>({validate:(J)=>{try{let Q=OI($,J);return Q.success?{value:Q.data}:{issues:Q.error?.issues}}catch(Q){return pJ($,J).then((K)=>K.success?{value:K.data}:{issues:K.error?.issues})}},vendor:"zod",version:1}))}),A7=o("$ZodString",($,I)=>{i0.init($,I),$._zod.pattern=[...$?._zod.bag?.patterns??[]].pop()??qO($._zod.bag),$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=String(U.value)}catch(J){}if(typeof U.value==="string")return U;return U.issues.push({expected:"string",code:"invalid_type",input:U.value,inst:$}),U}}),S1=o("$ZodStringFormat",($,I)=>{FI.init($,I),A7.init($,I)}),hO=o("$ZodGUID",($,I)=>{I.pattern??(I.pattern=lD),S1.init($,I)}),xO=o("$ZodUUID",($,I)=>{if(I.version){let Y={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[I.version];if(Y===void 0)throw Error(`Invalid UUID version: "${I.version}"`);I.pattern??(I.pattern=M7(Y))}else I.pattern??(I.pattern=M7());S1.init($,I)}),kO=o("$ZodEmail",($,I)=>{I.pattern??(I.pattern=oD),S1.init($,I)}),uO=o("$ZodURL",($,I)=>{S1.init($,I),$._zod.check=(U)=>{try{let Y=U.value.trim();if(!I.normalize&&I.protocol?.source===UO.source){if(!/^https?:\/\//i.test(Y)){U.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:U.value,inst:$,continue:!I.abort});return}}let J=new URL(Y);if(I.hostname){if(I.hostname.lastIndex=0,!I.hostname.test(J.hostname))U.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:I.hostname.source,input:U.value,inst:$,continue:!I.abort})}if(I.protocol){if(I.protocol.lastIndex=0,!I.protocol.test(J.protocol.endsWith(":")?J.protocol.slice(0,-1):J.protocol))U.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:I.protocol.source,input:U.value,inst:$,continue:!I.abort})}if(I.normalize)U.value=J.href;else U.value=Y;return}catch(Y){U.issues.push({code:"invalid_format",format:"url",input:U.value,inst:$,continue:!I.abort})}}}),fO=o("$ZodEmoji",($,I)=>{I.pattern??(I.pattern=rD()),S1.init($,I)}),bO=o("$ZodNanoID",($,I)=>{I.pattern??(I.pattern=dD),S1.init($,I)}),iO=o("$ZodCUID",($,I)=>{I.pattern??(I.pattern=bD),S1.init($,I)}),nO=o("$ZodCUID2",($,I)=>{I.pattern??(I.pattern=iD),S1.init($,I)}),pO=o("$ZodULID",($,I)=>{I.pattern??(I.pattern=nD),S1.init($,I)}),cO=o("$ZodXID",($,I)=>{I.pattern??(I.pattern=pD),S1.init($,I)}),dO=o("$ZodKSUID",($,I)=>{I.pattern??(I.pattern=cD),S1.init($,I)}),mO=o("$ZodISODateTime",($,I)=>{I.pattern??(I.pattern=KO(I)),S1.init($,I)}),lO=o("$ZodISODate",($,I)=>{I.pattern??(I.pattern=JO),S1.init($,I)}),oO=o("$ZodISOTime",($,I)=>{I.pattern??(I.pattern=QO(I)),S1.init($,I)}),rO=o("$ZodISODuration",($,I)=>{I.pattern??(I.pattern=mD),S1.init($,I)}),tO=o("$ZodIPv4",($,I)=>{I.pattern??(I.pattern=tD),S1.init($,I),$._zod.bag.format="ipv4"}),aO=o("$ZodIPv6",($,I)=>{I.pattern??(I.pattern=aD),S1.init($,I),$._zod.bag.format="ipv6",$._zod.check=(U)=>{try{new URL(`http://[${U.value}]`)}catch{U.issues.push({code:"invalid_format",format:"ipv6",input:U.value,inst:$,continue:!I.abort})}}}),sO=o("$ZodMAC",($,I)=>{I.pattern??(I.pattern=sD(I.delimiter)),S1.init($,I),$._zod.bag.format="mac"}),eO=o("$ZodCIDRv4",($,I)=>{I.pattern??(I.pattern=eD),S1.init($,I)}),$N=o("$ZodCIDRv6",($,I)=>{I.pattern??(I.pattern=$O),S1.init($,I),$._zod.check=(U)=>{let Y=U.value.split("/");try{if(Y.length!==2)throw Error();let[J,Q]=Y;if(!Q)throw Error();let K=Number(Q);if(`${K}`!==Q)throw Error();if(K<0||K>128)throw Error();new URL(`http://[${J}]`)}catch{U.issues.push({code:"invalid_format",format:"cidrv6",input:U.value,inst:$,continue:!I.abort})}}});function IN($){if($==="")return!0;if(/\s/.test($))return!1;if($.length%4!==0)return!1;try{return atob($),!0}catch{return!1}}var UN=o("$ZodBase64",($,I)=>{I.pattern??(I.pattern=IO),S1.init($,I),$._zod.bag.contentEncoding="base64",$._zod.check=(U)=>{if(IN(U.value))return;U.issues.push({code:"invalid_format",format:"base64",input:U.value,inst:$,continue:!I.abort})}});function fk($){if(!lG.test($))return!1;let I=$.replace(/[-_]/g,(Y)=>Y==="-"?"+":"/"),U=I.padEnd(Math.ceil(I.length/4)*4,"=");return IN(U)}var YN=o("$ZodBase64URL",($,I)=>{I.pattern??(I.pattern=lG),S1.init($,I),$._zod.bag.contentEncoding="base64url",$._zod.check=(U)=>{if(fk(U.value))return;U.issues.push({code:"invalid_format",format:"base64url",input:U.value,inst:$,continue:!I.abort})}}),JN=o("$ZodE164",($,I)=>{I.pattern??(I.pattern=YO),S1.init($,I)});function bk($,I=null){try{let U=$.split(".");if(U.length!==3)return!1;let[Y]=U;if(!Y)return!1;let J=JSON.parse(atob(Y));if("typ"in J&&J?.typ!=="JWT")return!1;if(!J.alg)return!1;if(I&&(!("alg"in J)||J.alg!==I))return!1;return!0}catch{return!1}}var QN=o("$ZodJWT",($,I)=>{S1.init($,I),$._zod.check=(U)=>{if(bk(U.value,I.alg))return;U.issues.push({code:"invalid_format",format:"jwt",input:U.value,inst:$,continue:!I.abort})}}),KN=o("$ZodCustomStringFormat",($,I)=>{S1.init($,I),$._zod.check=(U)=>{if(I.fn(U.value))return;U.issues.push({code:"invalid_format",format:I.format,input:U.value,inst:$,continue:!I.abort})}}),IH=o("$ZodNumber",($,I)=>{i0.init($,I),$._zod.pattern=$._zod.bag.pattern??cJ,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=Number(U.value)}catch(K){}let J=U.value;if(typeof J==="number"&&!Number.isNaN(J)&&Number.isFinite(J))return U;let Q=typeof J==="number"?Number.isNaN(J)?"NaN":!Number.isFinite(J)?"Infinity":void 0:void 0;return U.issues.push({expected:"number",code:"invalid_type",input:J,inst:$,...Q?{received:Q}:{}}),U}}),qN=o("$ZodNumberFormat",($,I)=>{LO.init($,I),IH.init($,I)}),lJ=o("$ZodBoolean",($,I)=>{i0.init($,I),$._zod.pattern=WO,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=Boolean(U.value)}catch(Q){}let J=U.value;if(typeof J==="boolean")return U;return U.issues.push({expected:"boolean",code:"invalid_type",input:J,inst:$}),U}}),UH=o("$ZodBigInt",($,I)=>{i0.init($,I),$._zod.pattern=GO,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=BigInt(U.value)}catch(J){}if(typeof U.value==="bigint")return U;return U.issues.push({expected:"bigint",code:"invalid_type",input:U.value,inst:$}),U}}),GN=o("$ZodBigIntFormat",($,I)=>{DO.init($,I),UH.init($,I)}),HN=o("$ZodSymbol",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J==="symbol")return U;return U.issues.push({expected:"symbol",code:"invalid_type",input:J,inst:$}),U}}),WN=o("$ZodUndefined",($,I)=>{i0.init($,I),$._zod.pattern=ZO,$._zod.values=new Set([void 0]),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J>"u")return U;return U.issues.push({expected:"undefined",code:"invalid_type",input:J,inst:$}),U}}),VN=o("$ZodNull",($,I)=>{i0.init($,I),$._zod.pattern=VO,$._zod.values=new Set([null]),$._zod.parse=(U,Y)=>{let J=U.value;if(J===null)return U;return U.issues.push({expected:"null",code:"invalid_type",input:J,inst:$}),U}}),ZN=o("$ZodAny",($,I)=>{i0.init($,I),$._zod.parse=(U)=>U}),zN=o("$ZodUnknown",($,I)=>{i0.init($,I),$._zod.parse=(U)=>U}),XN=o("$ZodNever",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{return U.issues.push({expected:"never",code:"invalid_type",input:U.value,inst:$}),U}}),wN=o("$ZodVoid",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J>"u")return U;return U.issues.push({expected:"void",code:"invalid_type",input:J,inst:$}),U}}),LN=o("$ZodDate",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=new Date(U.value)}catch(q){}let J=U.value,Q=J instanceof Date;if(Q&&!Number.isNaN(J.getTime()))return U;return U.issues.push({expected:"date",code:"invalid_type",input:J,...Q?{received:"Invalid Date"}:{},inst:$}),U}});function Ek($,I,U){if($.issues.length)I.issues.push(...y6(U,$.issues));I.value[U]=$.value}var DN=o("$ZodArray",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!Array.isArray(J))return U.issues.push({expected:"array",code:"invalid_type",input:J,inst:$}),U;U.value=Array(J.length);let Q=[];for(let K=0;KEk(H,U,K)));else Ek(G,U,K)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function $H($,I,U,Y,J,Q){let K=U in Y;if($.issues.length){if(J&&Q&&!K)return;I.issues.push(...y6(U,$.issues))}if(!K&&!J){if(!$.issues.length)I.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[U]});return}if($.value===void 0){if(K)I.value[U]=void 0}else I.value[U]=$.value}function ik($){let I=Object.keys($.shape);for(let Y of I)if(!$.shape?.[Y]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${Y}": expected a Zod schema`);let U=yD($.shape);return{...$,keys:I,keySet:new Set(I),numKeys:I.length,optionalKeys:new Set(U)}}function nk($,I,U,Y,J,Q){let K=[],q=J.keySet,G=J.catchall._zod,H=G.def.type,W=G.optin==="optional",V=G.optout==="optional";for(let z in I){if(z==="__proto__")continue;if(q.has(z))continue;if(H==="never"){K.push(z);continue}let Z=G.run({value:I[z],issues:[]},Y);if(Z instanceof Promise)$.push(Z.then((w)=>$H(w,U,z,I,W,V)));else $H(Z,U,z,I,W,V)}if(K.length)U.issues.push({code:"unrecognized_keys",keys:K,input:I,inst:Q});if(!$.length)return U;return Promise.all($).then(()=>{return U})}var pk=o("$ZodObject",($,I)=>{if(i0.init($,I),!Object.getOwnPropertyDescriptor(I,"shape")?.get){let q=I.shape;Object.defineProperty(I,"shape",{get:()=>{let G={...q};return Object.defineProperty(I,"shape",{value:G}),G}})}let Y=zI(()=>ik(I));s0($._zod,"propValues",()=>{let q=I.shape,G={};for(let H in q){let W=q[H]._zod;if(W.values){G[H]??(G[H]=new Set);for(let V of W.values)G[H].add(V)}}return G});let J=F7,Q=I.catchall,K;$._zod.parse=(q,G)=>{K??(K=Y.value);let H=q.value;if(!J(H))return q.issues.push({expected:"object",code:"invalid_type",input:H,inst:$}),q;q.value={};let W=[],V=K.shape;for(let z of K.keys){let Z=V[z],w=Z._zod.optin==="optional",L=Z._zod.optout==="optional",D=Z._zod.run({value:H[z],issues:[]},G);if(D instanceof Promise)W.push(D.then((N)=>$H(N,q,z,H,w,L)));else $H(D,q,z,H,w,L)}if(!Q)return W.length?Promise.all(W).then(()=>q):q;return nk(W,H,q,G,Y.value,$)}}),ON=o("$ZodObjectJIT",($,I)=>{pk.init($,I);let U=$._zod.parse,Y=zI(()=>ik(I)),J=(z)=>{let Z=new tG(["shape","payload","ctx"]),w=Y.value,L=(T)=>{let A=kG(T);return`shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`};Z.write("const input = payload.value;");let D=Object.create(null),N=0;for(let T of w.keys)D[T]=`key_${N++}`;Z.write("const newResult = {};");for(let T of w.keys){let A=D[T],v=kG(T),u=z[T],g=u?._zod?.optin==="optional",b=u?._zod?.optout==="optional";if(Z.write(`const ${A} = ${L(T)};`),g&&b)Z.write(` +`))}}var mO={major:4,minor:4,patch:3};var i0=o("$ZodType",($,I)=>{var U;$??($={}),$._zod.def=I,$._zod.bag=$._zod.bag||{},$._zod.version=mO;let Y=[...$._zod.def.checks??[]];if($._zod.traits.has("$ZodCheck"))Y.unshift($);for(let J of Y)for(let Q of J._zod.onattach)Q($);if(Y.length===0)(U=$._zod).deferred??(U.deferred=[]),$._zod.deferred?.push(()=>{$._zod.run=$._zod.parse});else{let J=(K,q,G)=>{let H=t5(K),W;for(let V of q){if(V._zod.def.when){if(tD(K))continue;if(!V._zod.def.when(K))continue}else if(H)continue;let w=K.issues.length,Z=V._zod.check(K);if(Z instanceof Promise&&G?.async===!1)throw new K8;if(W||Z instanceof Promise)W=(W??Promise.resolve()).then(async()=>{if(await Z,K.issues.length===w)return;if(!H)H=t5(K,w)});else{if(K.issues.length===w)continue;if(!H)H=t5(K,w)}}if(W)return W.then(()=>{return K});return K},Q=(K,q,G)=>{if(t5(K))return K.aborted=!0,K;let H=J(q,Y,G);if(H instanceof Promise){if(G.async===!1)throw new K8;return H.then((W)=>$._zod.parse(W,G))}return $._zod.parse(H,G)};$._zod.run=(K,q)=>{if(q.skipChecks)return $._zod.parse(K,q);if(q.direction==="backward"){let H=$._zod.parse({value:K.value,issues:[]},{...q,skipChecks:!0});if(H instanceof Promise)return H.then((W)=>{return Q(W,K,q)});return Q(H,K,q)}let G=$._zod.parse(K,q);if(G instanceof Promise){if(q.async===!1)throw new K8;return G.then((H)=>J(H,Y,q))}return J(G,Y,q)}}e0($,"~standard",()=>({validate:(J)=>{try{let Q=NI($,J);return Q.success?{value:Q.data}:{issues:Q.error?.issues}}catch(Q){return mJ($,J).then((K)=>K.success?{value:K.data}:{issues:K.error?.issues})}},vendor:"zod",version:1}))}),T7=o("$ZodString",($,I)=>{i0.init($,I),$._zod.pattern=[...$?._zod.bag?.patterns??[]].pop()??NO($._zod.bag),$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=String(U.value)}catch(J){}if(typeof U.value==="string")return U;return U.issues.push({expected:"string",code:"invalid_type",input:U.value,inst:$}),U}}),S1=o("$ZodStringFormat",($,I)=>{AI.init($,I),T7.init($,I)}),oO=o("$ZodGUID",($,I)=>{I.pattern??(I.pattern=KO),S1.init($,I)}),rO=o("$ZodUUID",($,I)=>{if(I.version){let Y={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[I.version];if(Y===void 0)throw Error(`Invalid UUID version: "${I.version}"`);I.pattern??(I.pattern=P7(Y))}else I.pattern??(I.pattern=P7());S1.init($,I)}),tO=o("$ZodEmail",($,I)=>{I.pattern??(I.pattern=qO),S1.init($,I)}),aO=o("$ZodURL",($,I)=>{S1.init($,I),$._zod.check=(U)=>{try{let Y=U.value.trim();if(!I.normalize&&I.protocol?.source===zO.source){if(!/^https?:\/\//i.test(Y)){U.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:U.value,inst:$,continue:!I.abort});return}}let J=new URL(Y);if(I.hostname){if(I.hostname.lastIndex=0,!I.hostname.test(J.hostname))U.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:I.hostname.source,input:U.value,inst:$,continue:!I.abort})}if(I.protocol){if(I.protocol.lastIndex=0,!I.protocol.test(J.protocol.endsWith(":")?J.protocol.slice(0,-1):J.protocol))U.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:I.protocol.source,input:U.value,inst:$,continue:!I.abort})}if(I.normalize)U.value=J.href;else U.value=Y;return}catch(Y){U.issues.push({code:"invalid_format",format:"url",input:U.value,inst:$,continue:!I.abort})}}}),sO=o("$ZodEmoji",($,I)=>{I.pattern??(I.pattern=GO()),S1.init($,I)}),eO=o("$ZodNanoID",($,I)=>{I.pattern??(I.pattern=JO),S1.init($,I)}),$F=o("$ZodCUID",($,I)=>{I.pattern??(I.pattern=eD),S1.init($,I)}),IF=o("$ZodCUID2",($,I)=>{I.pattern??(I.pattern=$O),S1.init($,I)}),UF=o("$ZodULID",($,I)=>{I.pattern??(I.pattern=IO),S1.init($,I)}),YF=o("$ZodXID",($,I)=>{I.pattern??(I.pattern=UO),S1.init($,I)}),JF=o("$ZodKSUID",($,I)=>{I.pattern??(I.pattern=YO),S1.init($,I)}),QF=o("$ZodISODateTime",($,I)=>{I.pattern??(I.pattern=FO(I)),S1.init($,I)}),KF=o("$ZodISODate",($,I)=>{I.pattern??(I.pattern=DO),S1.init($,I)}),qF=o("$ZodISOTime",($,I)=>{I.pattern??(I.pattern=OO(I)),S1.init($,I)}),GF=o("$ZodISODuration",($,I)=>{I.pattern??(I.pattern=QO),S1.init($,I)}),HF=o("$ZodIPv4",($,I)=>{I.pattern??(I.pattern=HO),S1.init($,I),$._zod.bag.format="ipv4"}),WF=o("$ZodIPv6",($,I)=>{I.pattern??(I.pattern=WO),S1.init($,I),$._zod.bag.format="ipv6",$._zod.check=(U)=>{try{new URL(`http://[${U.value}]`)}catch{U.issues.push({code:"invalid_format",format:"ipv6",input:U.value,inst:$,continue:!I.abort})}}}),VF=o("$ZodMAC",($,I)=>{I.pattern??(I.pattern=VO(I.delimiter)),S1.init($,I),$._zod.bag.format="mac"}),wF=o("$ZodCIDRv4",($,I)=>{I.pattern??(I.pattern=wO),S1.init($,I)}),ZF=o("$ZodCIDRv6",($,I)=>{I.pattern??(I.pattern=ZO),S1.init($,I),$._zod.check=(U)=>{let Y=U.value.split("/");try{if(Y.length!==2)throw Error();let[J,Q]=Y;if(!Q)throw Error();let K=Number(Q);if(`${K}`!==Q)throw Error();if(K<0||K>128)throw Error();new URL(`http://[${J}]`)}catch{U.issues.push({code:"invalid_format",format:"cidrv6",input:U.value,inst:$,continue:!I.abort})}}});function XF($){if($==="")return!0;if(/\s/.test($))return!1;if($.length%4!==0)return!1;try{return atob($),!0}catch{return!1}}var zF=o("$ZodBase64",($,I)=>{I.pattern??(I.pattern=XO),S1.init($,I),$._zod.bag.contentEncoding="base64",$._zod.check=(U)=>{if(XF(U.value))return;U.issues.push({code:"invalid_format",format:"base64",input:U.value,inst:$,continue:!I.abort})}});function Iu($){if(!aG.test($))return!1;let I=$.replace(/[-_]/g,(Y)=>Y==="-"?"+":"/"),U=I.padEnd(Math.ceil(I.length/4)*4,"=");return XF(U)}var LF=o("$ZodBase64URL",($,I)=>{I.pattern??(I.pattern=aG),S1.init($,I),$._zod.bag.contentEncoding="base64url",$._zod.check=(U)=>{if(Iu(U.value))return;U.issues.push({code:"invalid_format",format:"base64url",input:U.value,inst:$,continue:!I.abort})}}),DF=o("$ZodE164",($,I)=>{I.pattern??(I.pattern=LO),S1.init($,I)});function Uu($,I=null){try{let U=$.split(".");if(U.length!==3)return!1;let[Y]=U;if(!Y)return!1;let J=JSON.parse(atob(Y));if("typ"in J&&J?.typ!=="JWT")return!1;if(!J.alg)return!1;if(I&&(!("alg"in J)||J.alg!==I))return!1;return!0}catch{return!1}}var OF=o("$ZodJWT",($,I)=>{S1.init($,I),$._zod.check=(U)=>{if(Uu(U.value,I.alg))return;U.issues.push({code:"invalid_format",format:"jwt",input:U.value,inst:$,continue:!I.abort})}}),FF=o("$ZodCustomStringFormat",($,I)=>{S1.init($,I),$._zod.check=(U)=>{if(I.fn(U.value))return;U.issues.push({code:"invalid_format",format:I.format,input:U.value,inst:$,continue:!I.abort})}}),QH=o("$ZodNumber",($,I)=>{i0.init($,I),$._zod.pattern=$._zod.bag.pattern??lJ,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=Number(U.value)}catch(K){}let J=U.value;if(typeof J==="number"&&!Number.isNaN(J)&&Number.isFinite(J))return U;let Q=typeof J==="number"?Number.isNaN(J)?"NaN":!Number.isFinite(J)?"Infinity":void 0:void 0;return U.issues.push({expected:"number",code:"invalid_type",input:J,inst:$,...Q?{received:Q}:{}}),U}}),NF=o("$ZodNumberFormat",($,I)=>{CO.init($,I),QH.init($,I)}),tJ=o("$ZodBoolean",($,I)=>{i0.init($,I),$._zod.pattern=PO,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=Boolean(U.value)}catch(Q){}let J=U.value;if(typeof J==="boolean")return U;return U.issues.push({expected:"boolean",code:"invalid_type",input:J,inst:$}),U}}),KH=o("$ZodBigInt",($,I)=>{i0.init($,I),$._zod.pattern=MO,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=BigInt(U.value)}catch(J){}if(typeof U.value==="bigint")return U;return U.issues.push({expected:"bigint",code:"invalid_type",input:U.value,inst:$}),U}}),MF=o("$ZodBigIntFormat",($,I)=>{jO.init($,I),KH.init($,I)}),AF=o("$ZodSymbol",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J==="symbol")return U;return U.issues.push({expected:"symbol",code:"invalid_type",input:J,inst:$}),U}}),PF=o("$ZodUndefined",($,I)=>{i0.init($,I),$._zod.pattern=EO,$._zod.values=new Set([void 0]),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J>"u")return U;return U.issues.push({expected:"undefined",code:"invalid_type",input:J,inst:$}),U}}),TF=o("$ZodNull",($,I)=>{i0.init($,I),$._zod.pattern=TO,$._zod.values=new Set([null]),$._zod.parse=(U,Y)=>{let J=U.value;if(J===null)return U;return U.issues.push({expected:"null",code:"invalid_type",input:J,inst:$}),U}}),EF=o("$ZodAny",($,I)=>{i0.init($,I),$._zod.parse=(U)=>U}),BF=o("$ZodUnknown",($,I)=>{i0.init($,I),$._zod.parse=(U)=>U}),vF=o("$ZodNever",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{return U.issues.push({expected:"never",code:"invalid_type",input:U.value,inst:$}),U}}),RF=o("$ZodVoid",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J>"u")return U;return U.issues.push({expected:"void",code:"invalid_type",input:J,inst:$}),U}}),CF=o("$ZodDate",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=new Date(U.value)}catch(q){}let J=U.value,Q=J instanceof Date;if(Q&&!Number.isNaN(J.getTime()))return U;return U.issues.push({expected:"date",code:"invalid_type",input:J,...Q?{received:"Invalid Date"}:{},inst:$}),U}});function ik($,I,U){if($.issues.length)I.issues.push(...h6(U,$.issues));I.value[U]=$.value}var jF=o("$ZodArray",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!Array.isArray(J))return U.issues.push({expected:"array",code:"invalid_type",input:J,inst:$}),U;U.value=Array(J.length);let Q=[];for(let K=0;Kik(H,U,K)));else ik(G,U,K)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function JH($,I,U,Y,J,Q){let K=U in Y;if($.issues.length){if(J&&Q&&!K)return;I.issues.push(...h6(U,$.issues))}if(!K&&!J){if(!$.issues.length)I.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[U]});return}if($.value===void 0){if(K)I.value[U]=void 0}else I.value[U]=$.value}function Yu($){let I=Object.keys($.shape);for(let Y of I)if(!$.shape?.[Y]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${Y}": expected a Zod schema`);let U=lD($.shape);return{...$,keys:I,keySet:new Set(I),numKeys:I.length,optionalKeys:new Set(U)}}function Ju($,I,U,Y,J,Q){let K=[],q=J.keySet,G=J.catchall._zod,H=G.def.type,W=G.optin==="optional",V=G.optout==="optional";for(let w in I){if(w==="__proto__")continue;if(q.has(w))continue;if(H==="never"){K.push(w);continue}let Z=G.run({value:I[w],issues:[]},Y);if(Z instanceof Promise)$.push(Z.then((z)=>JH(z,U,w,I,W,V)));else JH(Z,U,w,I,W,V)}if(K.length)U.issues.push({code:"unrecognized_keys",keys:K,input:I,inst:Q});if(!$.length)return U;return Promise.all($).then(()=>{return U})}var Qu=o("$ZodObject",($,I)=>{if(i0.init($,I),!Object.getOwnPropertyDescriptor(I,"shape")?.get){let q=I.shape;Object.defineProperty(I,"shape",{get:()=>{let G={...q};return Object.defineProperty(I,"shape",{value:G}),G}})}let Y=zI(()=>Yu(I));e0($._zod,"propValues",()=>{let q=I.shape,G={};for(let H in q){let W=q[H]._zod;if(W.values){G[H]??(G[H]=new Set);for(let V of W.values)G[H].add(V)}}return G});let J=A7,Q=I.catchall,K;$._zod.parse=(q,G)=>{K??(K=Y.value);let H=q.value;if(!J(H))return q.issues.push({expected:"object",code:"invalid_type",input:H,inst:$}),q;q.value={};let W=[],V=K.shape;for(let w of K.keys){let Z=V[w],z=Z._zod.optin==="optional",L=Z._zod.optout==="optional",D=Z._zod.run({value:H[w],issues:[]},G);if(D instanceof Promise)W.push(D.then((F)=>JH(F,q,w,H,z,L)));else JH(D,q,w,H,z,L)}if(!Q)return W.length?Promise.all(W).then(()=>q):q;return Ju(W,H,q,G,Y.value,$)}}),_F=o("$ZodObjectJIT",($,I)=>{Qu.init($,I);let U=$._zod.parse,Y=zI(()=>Yu(I)),J=(w)=>{let Z=new $H(["shape","payload","ctx"]),z=Y.value,L=(T)=>{let A=iG(T);return`shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`};Z.write("const input = payload.value;");let D=Object.create(null),F=0;for(let T of z.keys)D[T]=`key_${F++}`;Z.write("const newResult = {};");for(let T of z.keys){let A=D[T],R=iG(T),u=w[T],g=u?._zod?.optin==="optional",b=u?._zod?.optout==="optional";if(Z.write(`const ${A} = ${L(T)};`),g&&b)Z.write(` if (${A}.issues.length) { - if (${v} in input) { + if (${R} in input) { payload.issues = payload.issues.concat(${A}.issues.map(iss => ({ ...iss, - path: iss.path ? [${v}, ...iss.path] : [${v}] + path: iss.path ? [${R}, ...iss.path] : [${R}] }))); } } if (${A}.value === undefined) { - if (${v} in input) { - newResult[${v}] = undefined; + if (${R} in input) { + newResult[${R}] = undefined; } } else { - newResult[${v}] = ${A}.value; + newResult[${R}] = ${A}.value; } `);else if(!g)Z.write(` - const ${A}_present = ${v} in input; + const ${A}_present = ${R} in input; if (${A}.issues.length) { payload.issues = payload.issues.concat(${A}.issues.map(iss => ({ ...iss, - path: iss.path ? [${v}, ...iss.path] : [${v}] + path: iss.path ? [${R}, ...iss.path] : [${R}] }))); } if (!${A}_present && !${A}.issues.length) { @@ -275,15 +275,15 @@ Unsupported type: `+$.type,"ENOTSUP");$._finish()})};_$.prototype._stat=function code: "invalid_type", expected: "nonoptional", input: undefined, - path: [${v}] + path: [${R}] }); } if (${A}_present) { if (${A}.value === undefined) { - newResult[${v}] = undefined; + newResult[${R}] = undefined; } else { - newResult[${v}] = ${A}.value; + newResult[${R}] = ${A}.value; } } @@ -291,34 +291,34 @@ Unsupported type: `+$.type,"ENOTSUP");$._finish()})};_$.prototype._stat=function if (${A}.issues.length) { payload.issues = payload.issues.concat(${A}.issues.map(iss => ({ ...iss, - path: iss.path ? [${v}, ...iss.path] : [${v}] + path: iss.path ? [${R}, ...iss.path] : [${R}] }))); } if (${A}.value === undefined) { - if (${v} in input) { - newResult[${v}] = undefined; + if (${R} in input) { + newResult[${R}] = undefined; } } else { - newResult[${v}] = ${A}.value; + newResult[${R}] = ${A}.value; } - `)}Z.write("payload.value = newResult;"),Z.write("return payload;");let E=Z.compile();return(T,A)=>E(z,T,A)},Q,K=F7,q=!O7.jitless,H=q&&_D.value,W=I.catchall,V;$._zod.parse=(z,Z)=>{V??(V=Y.value);let w=z.value;if(!K(w))return z.issues.push({expected:"object",code:"invalid_type",input:w,inst:$}),z;if(q&&H&&Z?.async===!1&&Z.jitless!==!0){if(!Q)Q=J(I.shape);if(z=Q(z,Z),!W)return z;return nk([],w,z,Z,V,$)}return U(z,Z)}});function Bk($,I,U,Y){for(let Q of $)if(Q.issues.length===0)return I.value=Q.value,I;let J=$.filter((Q)=>!o5(Q));if(J.length===1)return I.value=J[0].value,J[0];return I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:$.map((Q)=>Q.issues.map((K)=>A6(K,Y,Z4())))}),I}var oJ=o("$ZodUnion",($,I)=>{i0.init($,I),s0($._zod,"optin",()=>I.options.some((Y)=>Y._zod.optin==="optional")?"optional":void 0),s0($._zod,"optout",()=>I.options.some((Y)=>Y._zod.optout==="optional")?"optional":void 0),s0($._zod,"values",()=>{if(I.options.every((Y)=>Y._zod.values))return new Set(I.options.flatMap((Y)=>Array.from(Y._zod.values)));return}),s0($._zod,"pattern",()=>{if(I.options.every((Y)=>Y._zod.pattern)){let Y=I.options.map((J)=>J._zod.pattern);return new RegExp(`^(${Y.map((J)=>yJ(J.source)).join("|")})$`)}return});let U=I.options.length===1?I.options[0]._zod.run:null;$._zod.parse=(Y,J)=>{if(U)return U(Y,J);let Q=!1,K=[];for(let q of I.options){let G=q._zod.run({value:Y.value,issues:[]},J);if(G instanceof Promise)K.push(G),Q=!0;else{if(G.issues.length===0)return G;K.push(G)}}if(!Q)return Bk(K,Y,$,J);return Promise.all(K).then((q)=>{return Bk(q,Y,$,J)})}});function Rk($,I,U,Y){let J=$.filter((Q)=>Q.issues.length===0);if(J.length===1)return I.value=J[0].value,I;if(J.length===0)I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:$.map((Q)=>Q.issues.map((K)=>A6(K,Y,Z4())))});else I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:[],inclusive:!1});return I}var NN=o("$ZodXor",($,I)=>{oJ.init($,I),I.inclusive=!1;let U=I.options.length===1?I.options[0]._zod.run:null;$._zod.parse=(Y,J)=>{if(U)return U(Y,J);let Q=!1,K=[];for(let q of I.options){let G=q._zod.run({value:Y.value,issues:[]},J);if(G instanceof Promise)K.push(G),Q=!0;else K.push(G)}if(!Q)return Rk(K,Y,$,J);return Promise.all(K).then((q)=>{return Rk(q,Y,$,J)})}}),FN=o("$ZodDiscriminatedUnion",($,I)=>{I.inclusive=!1,oJ.init($,I);let U=$._zod.parse;s0($._zod,"propValues",()=>{let J={};for(let Q of I.options){let K=Q._zod.propValues;if(!K||Object.keys(K).length===0)throw Error(`Invalid discriminated union option at index "${I.options.indexOf(Q)}"`);for(let[q,G]of Object.entries(K)){if(!J[q])J[q]=new Set;for(let H of G)J[q].add(H)}}return J});let Y=zI(()=>{let J=I.options,Q=new Map;for(let K of J){let q=K._zod.propValues?.[I.discriminator];if(!q||q.size===0)throw Error(`Invalid discriminated union option at index "${I.options.indexOf(K)}"`);for(let G of q){if(Q.has(G))throw Error(`Duplicate discriminator value "${String(G)}"`);Q.set(G,K)}}return Q});$._zod.parse=(J,Q)=>{let K=J.value;if(!F7(K))return J.issues.push({code:"invalid_type",expected:"object",input:K,inst:$}),J;let q=Y.value.get(K?.[I.discriminator]);if(q)return q._zod.run(J,Q);if(I.unionFallback||Q.direction==="backward")return U(J,Q);return J.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:I.discriminator,options:Array.from(Y.value.keys()),input:K,path:[I.discriminator],inst:$}),J}}),MN=o("$ZodIntersection",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value,Q=I.left._zod.run({value:J,issues:[]},Y),K=I.right._zod.run({value:J,issues:[]},Y);if(Q instanceof Promise||K instanceof Promise)return Promise.all([Q,K]).then(([G,H])=>{return vk(U,G,H)});return vk(U,Q,K)}});function yO($,I){if($===I)return{valid:!0,data:$};if($ instanceof Date&&I instanceof Date&&+$===+I)return{valid:!0,data:$};if(l5($)&&l5(I)){let U=Object.keys(I),Y=Object.keys($).filter((Q)=>U.indexOf(Q)!==-1),J={...$,...I};for(let Q of Y){let K=yO($[Q],I[Q]);if(!K.valid)return{valid:!1,mergeErrorPath:[Q,...K.mergeErrorPath]};J[Q]=K.data}return{valid:!0,data:J}}if(Array.isArray($)&&Array.isArray(I)){if($.length!==I.length)return{valid:!1,mergeErrorPath:[]};let U=[];for(let Y=0;Y<$.length;Y++){let J=$[Y],Q=I[Y],K=yO(J,Q);if(!K.valid)return{valid:!1,mergeErrorPath:[Y,...K.mergeErrorPath]};U.push(K.data)}return{valid:!0,data:U}}return{valid:!1,mergeErrorPath:[]}}function vk($,I,U){let Y=new Map,J;for(let q of I.issues)if(q.code==="unrecognized_keys"){J??(J=q);for(let G of q.keys){if(!Y.has(G))Y.set(G,{});Y.get(G).l=!0}}else $.issues.push(q);for(let q of U.issues)if(q.code==="unrecognized_keys")for(let G of q.keys){if(!Y.has(G))Y.set(G,{});Y.get(G).r=!0}else $.issues.push(q);let Q=[...Y].filter(([,q])=>q.l&&q.r).map(([q])=>q);if(Q.length&&J)$.issues.push({...J,keys:Q});if(o5($))return $;let K=yO(I.value,U.value);if(!K.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(K.mergeErrorPath)}`);return $.value=K.data,$}var YH=o("$ZodTuple",($,I)=>{i0.init($,I);let U=I.items;$._zod.parse=(Y,J)=>{let Q=Y.value;if(!Array.isArray(Q))return Y.issues.push({input:Q,inst:$,expected:"tuple",code:"invalid_type"}),Y;Y.value=[];let K=[],q=Ck(U,"optin"),G=Ck(U,"optout");if(!I.rest){if(Q.lengthU.length)Y.issues.push({code:"too_big",maximum:U.length,inclusive:!0,input:Q,inst:$,origin:"array"})}let H=Array(U.length);for(let W=0;W{H[W]=z}));else H[W]=V}if(I.rest){let W=U.length-1,V=Q.slice(U.length);for(let z of V){W++;let Z=I.rest._zod.run({value:z,issues:[]},J);if(Z instanceof Promise)K.push(Z.then((w)=>jk(w,Y,W)));else jk(Z,Y,W)}}if(K.length)return Promise.all(K).then(()=>_k(H,Y,U,Q,G));return _k(H,Y,U,Q,G)}});function Ck($,I){for(let U=$.length-1;U>=0;U--)if($[U]._zod[I]!=="optional")return U+1;return 0}function jk($,I,U){if($.issues.length)I.issues.push(...y6(U,$.issues));I.value[U]=$.value}function _k($,I,U,Y,J){for(let Q=0;Q=J){I.value.length=Q;break}I.issues.push(...y6(Q,K.issues))}I.value[Q]=K.value}for(let Q=I.value.length-1;Q>=Y.length;Q--)if(U[Q]._zod.optout==="optional"&&I.value[Q]===void 0)I.value.length=Q;else break;return I}var AN=o("$ZodRecord",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!l5(J))return U.issues.push({expected:"record",code:"invalid_type",input:J,inst:$}),U;let Q=[],K=I.keyType._zod.values;if(K){U.value={};let q=new Set;for(let H of K)if(typeof H==="string"||typeof H==="number"||typeof H==="symbol"){q.add(typeof H==="number"?H.toString():H);let W=I.keyType._zod.run({value:H,issues:[]},Y);if(W instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(W.issues.length){U.issues.push({code:"invalid_key",origin:"record",issues:W.issues.map((Z)=>A6(Z,Y,Z4())),input:H,path:[H],inst:$});continue}let V=W.value,z=I.valueType._zod.run({value:J[H],issues:[]},Y);if(z instanceof Promise)Q.push(z.then((Z)=>{if(Z.issues.length)U.issues.push(...y6(H,Z.issues));U.value[V]=Z.value}));else{if(z.issues.length)U.issues.push(...y6(H,z.issues));U.value[V]=z.value}}let G;for(let H in J)if(!q.has(H))G=G??[],G.push(H);if(G&&G.length>0)U.issues.push({code:"unrecognized_keys",input:J,inst:$,keys:G})}else{U.value={};for(let q of Reflect.ownKeys(J)){if(q==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(J,q))continue;let G=I.keyType._zod.run({value:q,issues:[]},Y);if(G instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof q==="string"&&cJ.test(q)&&G.issues.length){let V=I.keyType._zod.run({value:Number(q),issues:[]},Y);if(V instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(V.issues.length===0)G=V}if(G.issues.length){if(I.mode==="loose")U.value[q]=J[q];else U.issues.push({code:"invalid_key",origin:"record",issues:G.issues.map((V)=>A6(V,Y,Z4())),input:q,path:[q],inst:$});continue}let W=I.valueType._zod.run({value:J[q],issues:[]},Y);if(W instanceof Promise)Q.push(W.then((V)=>{if(V.issues.length)U.issues.push(...y6(q,V.issues));U.value[G.value]=V.value}));else{if(W.issues.length)U.issues.push(...y6(q,W.issues));U.value[G.value]=W.value}}}if(Q.length)return Promise.all(Q).then(()=>U);return U}}),PN=o("$ZodMap",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!(J instanceof Map))return U.issues.push({expected:"map",code:"invalid_type",input:J,inst:$}),U;let Q=[];U.value=new Map;for(let[K,q]of J){let G=I.keyType._zod.run({value:K,issues:[]},Y),H=I.valueType._zod.run({value:q,issues:[]},Y);if(G instanceof Promise||H instanceof Promise)Q.push(Promise.all([G,H]).then(([W,V])=>{Sk(W,V,U,K,J,$,Y)}));else Sk(G,H,U,K,J,$,Y)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function Sk($,I,U,Y,J,Q,K){if($.issues.length)if(hJ.has(typeof Y))U.issues.push(...y6(Y,$.issues));else U.issues.push({code:"invalid_key",origin:"map",input:J,inst:Q,issues:$.issues.map((q)=>A6(q,K,Z4()))});if(I.issues.length)if(hJ.has(typeof Y))U.issues.push(...y6(Y,I.issues));else U.issues.push({origin:"map",code:"invalid_element",input:J,inst:Q,key:Y,issues:I.issues.map((q)=>A6(q,K,Z4()))});U.value.set($.value,I.value)}var TN=o("$ZodSet",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!(J instanceof Set))return U.issues.push({input:J,inst:$,expected:"set",code:"invalid_type"}),U;let Q=[];U.value=new Set;for(let K of J){let q=I.valueType._zod.run({value:K,issues:[]},Y);if(q instanceof Promise)Q.push(q.then((G)=>gk(G,U)));else gk(q,U)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function gk($,I){if($.issues.length)I.issues.push(...$.issues);I.value.add($.value)}var EN=o("$ZodEnum",($,I)=>{i0.init($,I);let U=gJ(I.entries),Y=new Set(U);$._zod.values=Y,$._zod.pattern=new RegExp(`^(${U.filter((J)=>hJ.has(typeof J)).map((J)=>typeof J==="string"?X$(J):J.toString()).join("|")})$`),$._zod.parse=(J,Q)=>{let K=J.value;if(Y.has(K))return J;return J.issues.push({code:"invalid_value",values:U,input:K,inst:$}),J}}),BN=o("$ZodLiteral",($,I)=>{if(i0.init($,I),I.values.length===0)throw Error("Cannot create literal schema with no valid values");let U=new Set(I.values);$._zod.values=U,$._zod.pattern=new RegExp(`^(${I.values.map((Y)=>typeof Y==="string"?X$(Y):Y?X$(Y.toString()):String(Y)).join("|")})$`),$._zod.parse=(Y,J)=>{let Q=Y.value;if(U.has(Q))return Y;return Y.issues.push({code:"invalid_value",values:I.values,input:Q,inst:$}),Y}}),RN=o("$ZodFile",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(J instanceof File)return U;return U.issues.push({expected:"file",code:"invalid_type",input:J,inst:$}),U}}),vN=o("$ZodTransform",($,I)=>{i0.init($,I),$._zod.optin="optional",$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new N7($.constructor.name);let J=I.transform(U.value,U);if(Y.async)return(J instanceof Promise?J:Promise.resolve(J)).then((K)=>{return U.value=K,U.fallback=!0,U});if(J instanceof Promise)throw new Q8;return U.value=J,U.fallback=!0,U}});function yk($,I){if(I===void 0&&($.issues.length||$.fallback))return{issues:[],value:void 0};return $}var JH=o("$ZodOptional",($,I)=>{i0.init($,I),$._zod.optin="optional",$._zod.optout="optional",s0($._zod,"values",()=>{return I.innerType._zod.values?new Set([...I.innerType._zod.values,void 0]):void 0}),s0($._zod,"pattern",()=>{let U=I.innerType._zod.pattern;return U?new RegExp(`^(${yJ(U.source)})?$`):void 0}),$._zod.parse=(U,Y)=>{if(I.innerType._zod.optin==="optional"){let J=U.value,Q=I.innerType._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>yk(K,J));return yk(Q,J)}if(U.value===void 0)return U;return I.innerType._zod.run(U,Y)}}),CN=o("$ZodExactOptional",($,I)=>{JH.init($,I),s0($._zod,"values",()=>I.innerType._zod.values),s0($._zod,"pattern",()=>I.innerType._zod.pattern),$._zod.parse=(U,Y)=>{return I.innerType._zod.run(U,Y)}}),jN=o("$ZodNullable",($,I)=>{i0.init($,I),s0($._zod,"optin",()=>I.innerType._zod.optin),s0($._zod,"optout",()=>I.innerType._zod.optout),s0($._zod,"pattern",()=>{let U=I.innerType._zod.pattern;return U?new RegExp(`^(${yJ(U.source)}|null)$`):void 0}),s0($._zod,"values",()=>{return I.innerType._zod.values?new Set([...I.innerType._zod.values,null]):void 0}),$._zod.parse=(U,Y)=>{if(U.value===null)return U;return I.innerType._zod.run(U,Y)}}),_N=o("$ZodDefault",($,I)=>{i0.init($,I),$._zod.optin="optional",s0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);if(U.value===void 0)return U.value=I.defaultValue,U;let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>hk(Q,I));return hk(J,I)}});function hk($,I){if($.value===void 0)$.value=I.defaultValue;return $}var SN=o("$ZodPrefault",($,I)=>{i0.init($,I),$._zod.optin="optional",s0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);if(U.value===void 0)U.value=I.defaultValue;return I.innerType._zod.run(U,Y)}}),gN=o("$ZodNonOptional",($,I)=>{i0.init($,I),s0($._zod,"values",()=>{let U=I.innerType._zod.values;return U?new Set([...U].filter((Y)=>Y!==void 0)):void 0}),$._zod.parse=(U,Y)=>{let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>xk(Q,$));return xk(J,$)}});function xk($,I){if(!$.issues.length&&$.value===void 0)$.issues.push({code:"invalid_type",expected:"nonoptional",input:$.value,inst:I});return $}var yN=o("$ZodSuccess",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new N7("ZodSuccess");let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>{return U.value=Q.issues.length===0,U});return U.value=J.issues.length===0,U}}),hN=o("$ZodCatch",($,I)=>{i0.init($,I),$._zod.optin="optional",s0($._zod,"optout",()=>I.innerType._zod.optout),s0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>{if(U.value=Q.value,Q.issues.length)U.value=I.catchValue({...U,error:{issues:Q.issues.map((K)=>A6(K,Y,Z4()))},input:U.value}),U.issues=[],U.fallback=!0;return U});if(U.value=J.value,J.issues.length)U.value=I.catchValue({...U,error:{issues:J.issues.map((Q)=>A6(Q,Y,Z4()))},input:U.value}),U.issues=[],U.fallback=!0;return U}}),xN=o("$ZodNaN",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(typeof U.value!=="number"||!Number.isNaN(U.value))return U.issues.push({input:U.value,inst:$,expected:"nan",code:"invalid_type"}),U;return U}}),QH=o("$ZodPipe",($,I)=>{i0.init($,I),s0($._zod,"values",()=>I.in._zod.values),s0($._zod,"optin",()=>I.in._zod.optin),s0($._zod,"optout",()=>I.out._zod.optout),s0($._zod,"propValues",()=>I.in._zod.propValues),$._zod.parse=(U,Y)=>{if(Y.direction==="backward"){let Q=I.out._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>aG(K,I.in,Y));return aG(Q,I.in,Y)}let J=I.in._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>aG(Q,I.out,Y));return aG(J,I.out,Y)}});function aG($,I,U){if($.issues.length)return $.aborted=!0,$;return I._zod.run({value:$.value,issues:$.issues,fallback:$.fallback},U)}var rJ=o("$ZodCodec",($,I)=>{i0.init($,I),s0($._zod,"values",()=>I.in._zod.values),s0($._zod,"optin",()=>I.in._zod.optin),s0($._zod,"optout",()=>I.out._zod.optout),s0($._zod,"propValues",()=>I.in._zod.propValues),$._zod.parse=(U,Y)=>{if((Y.direction||"forward")==="forward"){let Q=I.in._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>sG(K,I,Y));return sG(Q,I,Y)}else{let Q=I.out._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>sG(K,I,Y));return sG(Q,I,Y)}}});function sG($,I,U){if($.issues.length)return $.aborted=!0,$;if((U.direction||"forward")==="forward"){let J=I.transform($.value,$);if(J instanceof Promise)return J.then((Q)=>eG($,Q,I.out,U));return eG($,J,I.out,U)}else{let J=I.reverseTransform($.value,$);if(J instanceof Promise)return J.then((Q)=>eG($,Q,I.in,U));return eG($,J,I.in,U)}}function eG($,I,U,Y){if($.issues.length)return $.aborted=!0,$;return U._zod.run({value:I,issues:$.issues},Y)}var kN=o("$ZodPreprocess",($,I)=>{QH.init($,I)}),uN=o("$ZodReadonly",($,I)=>{i0.init($,I),s0($._zod,"propValues",()=>I.innerType._zod.propValues),s0($._zod,"values",()=>I.innerType._zod.values),s0($._zod,"optin",()=>I.innerType?._zod?.optin),s0($._zod,"optout",()=>I.innerType?._zod?.optout),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then(kk);return kk(J)}});function kk($){return $.value=Object.freeze($.value),$}var fN=o("$ZodTemplateLiteral",($,I)=>{i0.init($,I);let U=[];for(let Y of I.parts)if(typeof Y==="object"&&Y!==null){if(!Y._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...Y._zod.traits].shift()}`);let J=Y._zod.pattern instanceof RegExp?Y._zod.pattern.source:Y._zod.pattern;if(!J)throw Error(`Invalid template literal part: ${Y._zod.traits}`);let Q=J.startsWith("^")?1:0,K=J.endsWith("$")?J.length-1:J.length;U.push(J.slice(Q,K))}else if(Y===null||gD.has(typeof Y))U.push(X$(`${Y}`));else throw Error(`Invalid template literal part: ${Y}`);$._zod.pattern=new RegExp(`^${U.join("")}$`),$._zod.parse=(Y,J)=>{if(typeof Y.value!=="string")return Y.issues.push({input:Y.value,inst:$,expected:"string",code:"invalid_type"}),Y;if($._zod.pattern.lastIndex=0,!$._zod.pattern.test(Y.value))return Y.issues.push({input:Y.value,inst:$,code:"invalid_format",format:I.format??"template_literal",pattern:$._zod.pattern.source}),Y;return Y}}),bN=o("$ZodFunction",($,I)=>{return i0.init($,I),$._def=I,$._zod.def=I,$.implement=(U)=>{if(typeof U!=="function")throw Error("implement() must be called with a function");return function(...Y){let J=$._def.input?iJ($._def.input,Y):Y,Q=Reflect.apply(U,this,J);if($._def.output)return iJ($._def.output,Q);return Q}},$.implementAsync=(U)=>{if(typeof U!=="function")throw Error("implementAsync() must be called with a function");return async function(...Y){let J=$._def.input?await nJ($._def.input,Y):Y,Q=await Reflect.apply(U,this,J);if($._def.output)return await nJ($._def.output,Q);return Q}},$._zod.parse=(U,Y)=>{if(typeof U.value!=="function")return U.issues.push({code:"invalid_type",expected:"function",input:U.value,inst:$}),U;if($._def.output&&$._def.output._zod.def.type==="promise")U.value=$.implementAsync(U.value);else U.value=$.implement(U.value);return U},$.input=(...U)=>{let Y=$.constructor;if(Array.isArray(U[0]))return new Y({type:"function",input:new YH({type:"tuple",items:U[0],rest:U[1]}),output:$._def.output});return new Y({type:"function",input:U[0],output:$._def.output})},$.output=(U)=>{return new $.constructor({type:"function",input:$._def.input,output:U})},$}),iN=o("$ZodPromise",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{return Promise.resolve(U.value).then((J)=>I.innerType._zod.run({value:J,issues:[]},Y))}}),nN=o("$ZodLazy",($,I)=>{i0.init($,I),s0($._zod,"innerType",()=>{let U=I;if(!U._cachedInner)U._cachedInner=I.getter();return U._cachedInner}),s0($._zod,"pattern",()=>$._zod.innerType?._zod?.pattern),s0($._zod,"propValues",()=>$._zod.innerType?._zod?.propValues),s0($._zod,"optin",()=>$._zod.innerType?._zod?.optin??void 0),s0($._zod,"optout",()=>$._zod.innerType?._zod?.optout??void 0),$._zod.parse=(U,Y)=>{return $._zod.innerType._zod.run(U,Y)}}),pN=o("$ZodCustom",($,I)=>{k1.init($,I),i0.init($,I),$._zod.parse=(U,Y)=>{return U},$._zod.check=(U)=>{let Y=U.value,J=I.fn(Y);if(J instanceof Promise)return J.then((Q)=>uk(Q,U,Y,$));uk(J,U,Y,$);return}});function uk($,I,U,Y){if(!$){let J={code:"custom",input:U,inst:Y,path:[...Y._zod.def.path??[]],continue:!Y._zod.def.abort};if(Y._zod.def.params)J.params=Y._zod.def.params;I.issues.push(XI(J))}}var $Q={};m8($Q,{zhTW:()=>kF,zhCN:()=>xF,yo:()=>uF,vi:()=>hF,uz:()=>yF,ur:()=>gF,uk:()=>eJ,ua:()=>SF,tr:()=>_F,th:()=>jF,ta:()=>CF,sv:()=>vF,sl:()=>RF,ru:()=>BF,ro:()=>EF,pt:()=>TF,ps:()=>AF,pl:()=>PF,ota:()=>MF,no:()=>FF,nl:()=>NF,ms:()=>OF,mk:()=>DF,lt:()=>LF,ko:()=>wF,km:()=>aJ,kh:()=>XF,ka:()=>zF,ja:()=>ZF,it:()=>VF,is:()=>WF,id:()=>HF,hy:()=>GF,hu:()=>qF,hr:()=>KF,he:()=>QF,frCA:()=>JF,fr:()=>YF,fi:()=>UF,fa:()=>IF,es:()=>$F,eo:()=>eN,en:()=>tJ,el:()=>sN,de:()=>aN,da:()=>tN,cs:()=>rN,ca:()=>oN,bg:()=>lN,be:()=>mN,az:()=>dN,ar:()=>cN});var LL0=()=>{let $={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function I(J){return $[J]??null}let U={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${J.expected}، ولكن تم إدخال ${q}`;return`مدخلات غير مقبولة: يفترض إدخال ${Q}، ولكن تم إدخال ${q}`}case"invalid_value":if(J.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${V0(J.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return` أكبر من اللازم: يفترض أن تكون ${J.origin??"القيمة"} ${Q} ${J.maximum.toString()} ${K.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${J.origin??"القيمة"} ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`أصغر من اللازم: يفترض لـ ${J.origin} أن يكون ${Q} ${J.minimum.toString()} ${K.unit}`;return`أصغر من اللازم: يفترض لـ ${J.origin} أن يكون ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${J.prefix}"`;if(Q.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${Q.suffix}"`;if(Q.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${Q.includes}"`;if(Q.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${Q.pattern}`;return`${U[Q.format]??J.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${J.divisor}`;case"unrecognized_keys":return`معرف${J.keys.length>1?"ات":""} غريب${J.keys.length>1?"ة":""}: ${I0(J.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${J.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${J.origin}`;default:return"مدخل غير مقبول"}}};function cN(){return{localeError:LL0()}}var DL0=()=>{let $={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function I(J){return $[J]??null}let U={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Yanlış dəyər: gözlənilən instanceof ${J.expected}, daxil olan ${q}`;return`Yanlış dəyər: gözlənilən ${Q}, daxil olan ${q}`}case"invalid_value":if(J.values.length===1)return`Yanlış dəyər: gözlənilən ${V0(J.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Çox böyük: gözlənilən ${J.origin??"dəyər"} ${Q}${J.maximum.toString()} ${K.unit??"element"}`;return`Çox böyük: gözlənilən ${J.origin??"dəyər"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Çox kiçik: gözlənilən ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`Çox kiçik: gözlənilən ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Yanlış mətn: "${Q.prefix}" ilə başlamalıdır`;if(Q.format==="ends_with")return`Yanlış mətn: "${Q.suffix}" ilə bitməlidir`;if(Q.format==="includes")return`Yanlış mətn: "${Q.includes}" daxil olmalıdır`;if(Q.format==="regex")return`Yanlış mətn: ${Q.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${U[Q.format]??J.format}`}case"not_multiple_of":return`Yanlış ədəd: ${J.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${J.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function dN(){return{localeError:DL0()}}function ck($,I,U,Y){let J=Math.abs($),Q=J%10,K=J%100;if(K>=11&&K<=19)return Y;if(Q===1)return I;if(Q>=2&&Q<=4)return U;return Y}var OL0=()=>{let $={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function I(J){return $[J]??null}let U={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},Y={nan:"NaN",number:"лік",array:"масіў"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Няправільны ўвод: чакаўся instanceof ${J.expected}, атрымана ${q}`;return`Няправільны ўвод: чакаўся ${Q}, атрымана ${q}`}case"invalid_value":if(J.values.length===1)return`Няправільны ўвод: чакалася ${V0(J.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=ck(q,K.unit.one,K.unit.few,K.unit.many);return`Занадта вялікі: чакалася, што ${J.origin??"значэнне"} павінна ${K.verb} ${Q}${J.maximum.toString()} ${G}`}return`Занадта вялікі: чакалася, што ${J.origin??"значэнне"} павінна быць ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=ck(q,K.unit.one,K.unit.few,K.unit.many);return`Занадта малы: чакалася, што ${J.origin} павінна ${K.verb} ${Q}${J.minimum.toString()} ${G}`}return`Занадта малы: чакалася, што ${J.origin} павінна быць ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${Q.prefix}"`;if(Q.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${Q.suffix}"`;if(Q.format==="includes")return`Няправільны радок: павінен змяшчаць "${Q.includes}"`;if(Q.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${Q.pattern}`;return`Няправільны ${U[Q.format]??J.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${J.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${J.keys.length>1?"ключы":"ключ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${J.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${J.origin}`;default:return"Няправільны ўвод"}}};function mN(){return{localeError:OL0()}}var NL0=()=>{let $={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function I(J){return $[J]??null}let U={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},Y={nan:"NaN",number:"число",array:"масив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Невалиден вход: очакван instanceof ${J.expected}, получен ${q}`;return`Невалиден вход: очакван ${Q}, получен ${q}`}case"invalid_value":if(J.values.length===1)return`Невалиден вход: очакван ${V0(J.values[0])}`;return`Невалидна опция: очаквано едно от ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Твърде голямо: очаква се ${J.origin??"стойност"} да съдържа ${Q}${J.maximum.toString()} ${K.unit??"елемента"}`;return`Твърде голямо: очаква се ${J.origin??"стойност"} да бъде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Твърде малко: очаква се ${J.origin} да съдържа ${Q}${J.minimum.toString()} ${K.unit}`;return`Твърде малко: очаква се ${J.origin} да бъде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Невалиден низ: трябва да започва с "${Q.prefix}"`;if(Q.format==="ends_with")return`Невалиден низ: трябва да завършва с "${Q.suffix}"`;if(Q.format==="includes")return`Невалиден низ: трябва да включва "${Q.includes}"`;if(Q.format==="regex")return`Невалиден низ: трябва да съвпада с ${Q.pattern}`;let K="Невалиден";if(Q.format==="emoji")K="Невалидно";if(Q.format==="datetime")K="Невалидно";if(Q.format==="date")K="Невалидна";if(Q.format==="time")K="Невалидно";if(Q.format==="duration")K="Невалидна";return`${K} ${U[Q.format]??J.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${J.divisor}`;case"unrecognized_keys":return`Неразпознат${J.keys.length>1?"и":""} ключ${J.keys.length>1?"ове":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${J.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${J.origin}`;default:return"Невалиден вход"}}};function lN(){return{localeError:NL0()}}var FL0=()=>{let $={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function I(J){return $[J]??null}let U={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Tipus invàlid: s'esperava instanceof ${J.expected}, s'ha rebut ${q}`;return`Tipus invàlid: s'esperava ${Q}, s'ha rebut ${q}`}case"invalid_value":if(J.values.length===1)return`Valor invàlid: s'esperava ${V0(J.values[0])}`;return`Opció invàlida: s'esperava una de ${I0(J.values," o ")}`;case"too_big":{let Q=J.inclusive?"com a màxim":"menys de",K=I(J.origin);if(K)return`Massa gran: s'esperava que ${J.origin??"el valor"} contingués ${Q} ${J.maximum.toString()} ${K.unit??"elements"}`;return`Massa gran: s'esperava que ${J.origin??"el valor"} fos ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"com a mínim":"més de",K=I(J.origin);if(K)return`Massa petit: s'esperava que ${J.origin} contingués ${Q} ${J.minimum.toString()} ${K.unit}`;return`Massa petit: s'esperava que ${J.origin} fos ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Format invàlid: ha de començar amb "${Q.prefix}"`;if(Q.format==="ends_with")return`Format invàlid: ha d'acabar amb "${Q.suffix}"`;if(Q.format==="includes")return`Format invàlid: ha d'incloure "${Q.includes}"`;if(Q.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${Q.pattern}`;return`Format invàlid per a ${U[Q.format]??J.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${J.divisor}`;case"unrecognized_keys":return`Clau${J.keys.length>1?"s":""} no reconeguda${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${J.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${J.origin}`;default:return"Entrada invàlida"}}};function oN(){return{localeError:FL0()}}var ML0=()=>{let $={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function I(J){return $[J]??null}let U={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},Y={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Neplatný vstup: očekáváno instanceof ${J.expected}, obdrženo ${q}`;return`Neplatný vstup: očekáváno ${Q}, obdrženo ${q}`}case"invalid_value":if(J.values.length===1)return`Neplatný vstup: očekáváno ${V0(J.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Hodnota je příliš velká: ${J.origin??"hodnota"} musí mít ${Q}${J.maximum.toString()} ${K.unit??"prvků"}`;return`Hodnota je příliš velká: ${J.origin??"hodnota"} musí být ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Hodnota je příliš malá: ${J.origin??"hodnota"} musí mít ${Q}${J.minimum.toString()} ${K.unit??"prvků"}`;return`Hodnota je příliš malá: ${J.origin??"hodnota"} musí být ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neplatný řetězec: musí začínat na "${Q.prefix}"`;if(Q.format==="ends_with")return`Neplatný řetězec: musí končit na "${Q.suffix}"`;if(Q.format==="includes")return`Neplatný řetězec: musí obsahovat "${Q.includes}"`;if(Q.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${Q.pattern}`;return`Neplatný formát ${U[Q.format]??J.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${J.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${I0(J.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${J.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${J.origin}`;default:return"Neplatný vstup"}}};function rN(){return{localeError:ML0()}}var AL0=()=>{let $={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function I(J){return $[J]??null}let U={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ugyldigt input: forventede instanceof ${J.expected}, fik ${q}`;return`Ugyldigt input: forventede ${Q}, fik ${q}`}case"invalid_value":if(J.values.length===1)return`Ugyldig værdi: forventede ${V0(J.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`For stor: forventede ${q??"value"} ${K.verb} ${Q} ${J.maximum.toString()} ${K.unit??"elementer"}`;return`For stor: forventede ${q??"value"} havde ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`For lille: forventede ${q} ${K.verb} ${Q} ${J.minimum.toString()} ${K.unit}`;return`For lille: forventede ${q} havde ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ugyldig streng: skal starte med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ugyldig streng: skal ende med "${Q.suffix}"`;if(Q.format==="includes")return`Ugyldig streng: skal indeholde "${Q.includes}"`;if(Q.format==="regex")return`Ugyldig streng: skal matche mønsteret ${Q.pattern}`;return`Ugyldig ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${J.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${J.origin}`;default:return"Ugyldigt input"}}};function tN(){return{localeError:AL0()}}var PL0=()=>{let $={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function I(J){return $[J]??null}let U={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},Y={nan:"NaN",number:"Zahl",array:"Array"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ungültige Eingabe: erwartet instanceof ${J.expected}, erhalten ${q}`;return`Ungültige Eingabe: erwartet ${Q}, erhalten ${q}`}case"invalid_value":if(J.values.length===1)return`Ungültige Eingabe: erwartet ${V0(J.values[0])}`;return`Ungültige Option: erwartet eine von ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Zu groß: erwartet, dass ${J.origin??"Wert"} ${Q}${J.maximum.toString()} ${K.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${J.origin??"Wert"} ${Q}${J.maximum.toString()} ist`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Zu klein: erwartet, dass ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} hat`;return`Zu klein: erwartet, dass ${J.origin} ${Q}${J.minimum.toString()} ist`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ungültiger String: muss mit "${Q.prefix}" beginnen`;if(Q.format==="ends_with")return`Ungültiger String: muss mit "${Q.suffix}" enden`;if(Q.format==="includes")return`Ungültiger String: muss "${Q.includes}" enthalten`;if(Q.format==="regex")return`Ungültiger String: muss dem Muster ${Q.pattern} entsprechen`;return`Ungültig: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${J.divisor} sein`;case"unrecognized_keys":return`${J.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${J.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${J.origin}`;default:return"Ungültige Eingabe"}}};function aN(){return{localeError:PL0()}}var TL0=()=>{let $={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function I(J){return $[J]??null}let U={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(typeof J.expected==="string"&&/^[A-Z]/.test(J.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${J.expected}, λήφθηκε ${q}`;return`Μη έγκυρη είσοδος: αναμενόταν ${Q}, λήφθηκε ${q}`}case"invalid_value":if(J.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${V0(J.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Πολύ μεγάλο: αναμενόταν ${J.origin??"τιμή"} να έχει ${Q}${J.maximum.toString()} ${K.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${J.origin??"τιμή"} να είναι ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Πολύ μικρό: αναμενόταν ${J.origin} να έχει ${Q}${J.minimum.toString()} ${K.unit}`;return`Πολύ μικρό: αναμενόταν ${J.origin} να είναι ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${Q.prefix}"`;if(Q.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${Q.suffix}"`;if(Q.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${Q.includes}"`;if(Q.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${Q.pattern}`;return`Μη έγκυρο: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${J.divisor}`;case"unrecognized_keys":return`Άγνωστ${J.keys.length>1?"α":"ο"} κλειδ${J.keys.length>1?"ιά":"ί"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${J.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${J.origin}`;default:return"Μη έγκυρη είσοδος"}}};function sN(){return{localeError:TL0()}}var EL0=()=>{let $={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function I(J){return $[J]??null}let U={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;return`Invalid input: expected ${Q}, received ${q}`}case"invalid_value":if(J.values.length===1)return`Invalid input: expected ${V0(J.values[0])}`;return`Invalid option: expected one of ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Too big: expected ${J.origin??"value"} to have ${Q}${J.maximum.toString()} ${K.unit??"elements"}`;return`Too big: expected ${J.origin??"value"} to be ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Too small: expected ${J.origin} to have ${Q}${J.minimum.toString()} ${K.unit}`;return`Too small: expected ${J.origin} to be ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Invalid string: must start with "${Q.prefix}"`;if(Q.format==="ends_with")return`Invalid string: must end with "${Q.suffix}"`;if(Q.format==="includes")return`Invalid string: must include "${Q.includes}"`;if(Q.format==="regex")return`Invalid string: must match pattern ${Q.pattern}`;return`Invalid ${U[Q.format]??J.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${J.divisor}`;case"unrecognized_keys":return`Unrecognized key${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Invalid key in ${J.origin}`;case"invalid_union":if(J.options&&Array.isArray(J.options)&&J.options.length>0)return`Invalid discriminator value. Expected ${J.options.map((K)=>`'${K}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${J.origin}`;default:return"Invalid input"}}};function tJ(){return{localeError:EL0()}}var BL0=()=>{let $={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function I(J){return $[J]??null}let U={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},Y={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Nevalida enigo: atendiĝis instanceof ${J.expected}, riceviĝis ${q}`;return`Nevalida enigo: atendiĝis ${Q}, riceviĝis ${q}`}case"invalid_value":if(J.values.length===1)return`Nevalida enigo: atendiĝis ${V0(J.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Tro granda: atendiĝis ke ${J.origin??"valoro"} havu ${Q}${J.maximum.toString()} ${K.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${J.origin??"valoro"} havu ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Tro malgranda: atendiĝis ke ${J.origin} havu ${Q}${J.minimum.toString()} ${K.unit}`;return`Tro malgranda: atendiĝis ke ${J.origin} estu ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${Q.prefix}"`;if(Q.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${Q.suffix}"`;if(Q.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${Q.includes}"`;if(Q.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${Q.pattern}`;return`Nevalida ${U[Q.format]??J.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${J.divisor}`;case"unrecognized_keys":return`Nekonata${J.keys.length>1?"j":""} ŝlosilo${J.keys.length>1?"j":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${J.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${J.origin}`;default:return"Nevalida enigo"}}};function eN(){return{localeError:BL0()}}var RL0=()=>{let $={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function I(J){return $[J]??null}let U={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},Y={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrada inválida: se esperaba instanceof ${J.expected}, recibido ${q}`;return`Entrada inválida: se esperaba ${Q}, recibido ${q}`}case"invalid_value":if(J.values.length===1)return`Entrada inválida: se esperaba ${V0(J.values[0])}`;return`Opción inválida: se esperaba una de ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Demasiado grande: se esperaba que ${q??"valor"} tuviera ${Q}${J.maximum.toString()} ${K.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${q??"valor"} fuera ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Demasiado pequeño: se esperaba que ${q} tuviera ${Q}${J.minimum.toString()} ${K.unit}`;return`Demasiado pequeño: se esperaba que ${q} fuera ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Cadena inválida: debe comenzar con "${Q.prefix}"`;if(Q.format==="ends_with")return`Cadena inválida: debe terminar en "${Q.suffix}"`;if(Q.format==="includes")return`Cadena inválida: debe incluir "${Q.includes}"`;if(Q.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${Q.pattern}`;return`Inválido ${U[Q.format]??J.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${J.divisor}`;case"unrecognized_keys":return`Llave${J.keys.length>1?"s":""} desconocida${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Llave inválida en ${Y[J.origin]??J.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${Y[J.origin]??J.origin}`;default:return"Entrada inválida"}}};function $F(){return{localeError:RL0()}}var vL0=()=>{let $={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function I(J){return $[J]??null}let U={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},Y={nan:"NaN",number:"عدد",array:"آرایه"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ورودی نامعتبر: می‌بایست instanceof ${J.expected} می‌بود، ${q} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${Q} می‌بود، ${q} دریافت شد`}case"invalid_value":if(J.values.length===1)return`ورودی نامعتبر: می‌بایست ${V0(J.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${I0(J.values,"|")} می‌بود`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`خیلی بزرگ: ${J.origin??"مقدار"} باید ${Q}${J.maximum.toString()} ${K.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${J.origin??"مقدار"} باید ${Q}${J.maximum.toString()} باشد`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`خیلی کوچک: ${J.origin} باید ${Q}${J.minimum.toString()} ${K.unit} باشد`;return`خیلی کوچک: ${J.origin} باید ${Q}${J.minimum.toString()} باشد`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`رشته نامعتبر: باید با "${Q.prefix}" شروع شود`;if(Q.format==="ends_with")return`رشته نامعتبر: باید با "${Q.suffix}" تمام شود`;if(Q.format==="includes")return`رشته نامعتبر: باید شامل "${Q.includes}" باشد`;if(Q.format==="regex")return`رشته نامعتبر: باید با الگوی ${Q.pattern} مطابقت داشته باشد`;return`${U[Q.format]??J.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${J.divisor} باشد`;case"unrecognized_keys":return`کلید${J.keys.length>1?"های":""} ناشناس: ${I0(J.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${J.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${J.origin}`;default:return"ورودی نامعتبر"}}};function IF(){return{localeError:vL0()}}var CL0=()=>{let $={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function I(J){return $[J]??null}let U={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Virheellinen tyyppi: odotettiin instanceof ${J.expected}, oli ${q}`;return`Virheellinen tyyppi: odotettiin ${Q}, oli ${q}`}case"invalid_value":if(J.values.length===1)return`Virheellinen syöte: täytyy olla ${V0(J.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Liian suuri: ${K.subject} täytyy olla ${Q}${J.maximum.toString()} ${K.unit}`.trim();return`Liian suuri: arvon täytyy olla ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Liian pieni: ${K.subject} täytyy olla ${Q}${J.minimum.toString()} ${K.unit}`.trim();return`Liian pieni: arvon täytyy olla ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${Q.prefix}"`;if(Q.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${Q.suffix}"`;if(Q.format==="includes")return`Virheellinen syöte: täytyy sisältää "${Q.includes}"`;if(Q.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${Q.pattern}`;return`Virheellinen ${U[Q.format]??J.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${J.divisor} monikerta`;case"unrecognized_keys":return`${J.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${I0(J.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function UF(){return{localeError:CL0()}}var jL0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function I(J){return $[J]??null}let U={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},Y={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrée invalide : instanceof ${J.expected} attendu, ${q} reçu`;return`Entrée invalide : ${Q} attendu, ${q} reçu`}case"invalid_value":if(J.values.length===1)return`Entrée invalide : ${V0(J.values[0])} attendu`;return`Option invalide : une valeur parmi ${I0(J.values,"|")} attendue`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Trop grand : ${Y[J.origin]??"valeur"} doit ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"élément(s)"}`;return`Trop grand : ${Y[J.origin]??"valeur"} doit être ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Trop petit : ${Y[J.origin]??"valeur"} doit ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Trop petit : ${Y[J.origin]??"valeur"} doit être ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chaîne invalide : doit commencer par "${Q.prefix}"`;if(Q.format==="ends_with")return`Chaîne invalide : doit se terminer par "${Q.suffix}"`;if(Q.format==="includes")return`Chaîne invalide : doit inclure "${Q.includes}"`;if(Q.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${Q.pattern}`;return`${U[Q.format]??J.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${J.divisor}`;case"unrecognized_keys":return`Clé${J.keys.length>1?"s":""} non reconnue${J.keys.length>1?"s":""} : ${I0(J.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${J.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${J.origin}`;default:return"Entrée invalide"}}};function YF(){return{localeError:jL0()}}var _L0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function I(J){return $[J]??null}let U={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrée invalide : attendu instanceof ${J.expected}, reçu ${q}`;return`Entrée invalide : attendu ${Q}, reçu ${q}`}case"invalid_value":if(J.values.length===1)return`Entrée invalide : attendu ${V0(J.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"≤":"<",K=I(J.origin);if(K)return`Trop grand : attendu que ${J.origin??"la valeur"} ait ${Q}${J.maximum.toString()} ${K.unit}`;return`Trop grand : attendu que ${J.origin??"la valeur"} soit ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"≥":">",K=I(J.origin);if(K)return`Trop petit : attendu que ${J.origin} ait ${Q}${J.minimum.toString()} ${K.unit}`;return`Trop petit : attendu que ${J.origin} soit ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chaîne invalide : doit commencer par "${Q.prefix}"`;if(Q.format==="ends_with")return`Chaîne invalide : doit se terminer par "${Q.suffix}"`;if(Q.format==="includes")return`Chaîne invalide : doit inclure "${Q.includes}"`;if(Q.format==="regex")return`Chaîne invalide : doit correspondre au motif ${Q.pattern}`;return`${U[Q.format]??J.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${J.divisor}`;case"unrecognized_keys":return`Clé${J.keys.length>1?"s":""} non reconnue${J.keys.length>1?"s":""} : ${I0(J.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${J.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${J.origin}`;default:return"Entrée invalide"}}};function JF(){return{localeError:_L0()}}var SL0=()=>{let $={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},I={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},U=(H)=>H?$[H]:void 0,Y=(H)=>{let W=U(H);if(W)return W.label;return H??$.unknown.label},J=(H)=>`ה${Y(H)}`,Q=(H)=>{return(U(H)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},K=(H)=>{if(!H)return null;return I[H]??null},q={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},G={nan:"NaN"};return(H)=>{switch(H.code){case"invalid_type":{let W=H.expected,V=G[W??""]??Y(W),z=z0(H.input),Z=G[z]??$[z]?.label??z;if(/^[A-Z]/.test(H.expected))return`קלט לא תקין: צריך להיות instanceof ${H.expected}, התקבל ${Z}`;return`קלט לא תקין: צריך להיות ${V}, התקבל ${Z}`}case"invalid_value":{if(H.values.length===1)return`ערך לא תקין: הערך חייב להיות ${V0(H.values[0])}`;let W=H.values.map((Z)=>V0(Z));if(H.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${W[0]} או ${W[1]}`;let V=W[W.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${W.slice(0,-1).join(", ")} או ${V}`}case"too_big":{let W=K(H.origin),V=J(H.origin??"value");if(H.origin==="string")return`${W?.longLabel??"ארוך"} מדי: ${V} צריכה להכיל ${H.maximum.toString()} ${W?.unit??""} ${H.inclusive?"או פחות":"לכל היותר"}`.trim();if(H.origin==="number"){let w=H.inclusive?`קטן או שווה ל-${H.maximum}`:`קטן מ-${H.maximum}`;return`גדול מדי: ${V} צריך להיות ${w}`}if(H.origin==="array"||H.origin==="set"){let w=H.origin==="set"?"צריכה":"צריך",L=H.inclusive?`${H.maximum} ${W?.unit??""} או פחות`:`פחות מ-${H.maximum} ${W?.unit??""}`;return`גדול מדי: ${V} ${w} להכיל ${L}`.trim()}let z=H.inclusive?"<=":"<",Z=Q(H.origin??"value");if(W?.unit)return`${W.longLabel} מדי: ${V} ${Z} ${z}${H.maximum.toString()} ${W.unit}`;return`${W?.longLabel??"גדול"} מדי: ${V} ${Z} ${z}${H.maximum.toString()}`}case"too_small":{let W=K(H.origin),V=J(H.origin??"value");if(H.origin==="string")return`${W?.shortLabel??"קצר"} מדי: ${V} צריכה להכיל ${H.minimum.toString()} ${W?.unit??""} ${H.inclusive?"או יותר":"לפחות"}`.trim();if(H.origin==="number"){let w=H.inclusive?`גדול או שווה ל-${H.minimum}`:`גדול מ-${H.minimum}`;return`קטן מדי: ${V} צריך להיות ${w}`}if(H.origin==="array"||H.origin==="set"){let w=H.origin==="set"?"צריכה":"צריך";if(H.minimum===1&&H.inclusive){let D=H.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${V} ${w} להכיל ${D}`}let L=H.inclusive?`${H.minimum} ${W?.unit??""} או יותר`:`יותר מ-${H.minimum} ${W?.unit??""}`;return`קטן מדי: ${V} ${w} להכיל ${L}`.trim()}let z=H.inclusive?">=":">",Z=Q(H.origin??"value");if(W?.unit)return`${W.shortLabel} מדי: ${V} ${Z} ${z}${H.minimum.toString()} ${W.unit}`;return`${W?.shortLabel??"קטן"} מדי: ${V} ${Z} ${z}${H.minimum.toString()}`}case"invalid_format":{let W=H;if(W.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${W.prefix}"`;if(W.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${W.suffix}"`;if(W.format==="includes")return`המחרוזת חייבת לכלול "${W.includes}"`;if(W.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${W.pattern}`;let V=q[W.format],z=V?.label??W.format,w=(V?.gender??"m")==="f"?"תקינה":"תקין";return`${z} לא ${w}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${H.divisor}`;case"unrecognized_keys":return`מפתח${H.keys.length>1?"ות":""} לא מזוה${H.keys.length>1?"ים":"ה"}: ${I0(H.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${J(H.origin??"array")}`;default:return"קלט לא תקין"}}};function QF(){return{localeError:SL0()}}var gL0=()=>{let $={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function I(J){return $[J]??null}let U={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},Y={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Neispravan unos: očekuje se instanceof ${J.expected}, a primljeno je ${q}`;return`Neispravan unos: očekuje se ${Q}, a primljeno je ${q}`}case"invalid_value":if(J.values.length===1)return`Neispravna vrijednost: očekivano ${V0(J.values[0])}`;return`Neispravna opcija: očekivano jedno od ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Preveliko: očekivano da ${q??"vrijednost"} ima ${Q}${J.maximum.toString()} ${K.unit??"elemenata"}`;return`Preveliko: očekivano da ${q??"vrijednost"} bude ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Premalo: očekivano da ${q} ima ${Q}${J.minimum.toString()} ${K.unit}`;return`Premalo: očekivano da ${q} bude ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neispravan tekst: mora započinjati s "${Q.prefix}"`;if(Q.format==="ends_with")return`Neispravan tekst: mora završavati s "${Q.suffix}"`;if(Q.format==="includes")return`Neispravan tekst: mora sadržavati "${Q.includes}"`;if(Q.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${Q.pattern}`;return`Neispravna ${U[Q.format]??J.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${J.divisor}`;case"unrecognized_keys":return`Neprepoznat${J.keys.length>1?"i ključevi":" ključ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${Y[J.origin]??J.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${Y[J.origin]??J.origin}`;default:return"Neispravan unos"}}};function KF(){return{localeError:gL0()}}var yL0=()=>{let $={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function I(J){return $[J]??null}let U={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},Y={nan:"NaN",number:"szám",array:"tömb"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Érvénytelen bemenet: a várt érték instanceof ${J.expected}, a kapott érték ${q}`;return`Érvénytelen bemenet: a várt érték ${Q}, a kapott érték ${q}`}case"invalid_value":if(J.values.length===1)return`Érvénytelen bemenet: a várt érték ${V0(J.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Túl nagy: ${J.origin??"érték"} mérete túl nagy ${Q}${J.maximum.toString()} ${K.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${J.origin??"érték"} túl nagy: ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Túl kicsi: a bemeneti érték ${J.origin} mérete túl kicsi ${Q}${J.minimum.toString()} ${K.unit}`;return`Túl kicsi: a bemeneti érték ${J.origin} túl kicsi ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Érvénytelen string: "${Q.prefix}" értékkel kell kezdődnie`;if(Q.format==="ends_with")return`Érvénytelen string: "${Q.suffix}" értékkel kell végződnie`;if(Q.format==="includes")return`Érvénytelen string: "${Q.includes}" értéket kell tartalmaznia`;if(Q.format==="regex")return`Érvénytelen string: ${Q.pattern} mintának kell megfelelnie`;return`Érvénytelen ${U[Q.format]??J.format}`}case"not_multiple_of":return`Érvénytelen szám: ${J.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${J.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${J.origin}`;default:return"Érvénytelen bemenet"}}};function qF(){return{localeError:yL0()}}function dk($,I,U){return Math.abs($)===1?I:U}function MI($){if(!$)return"";let I=["ա","ե","ը","ի","ո","ու","օ"],U=$[$.length-1];return $+(I.includes(U)?"ն":"ը")}var hL0=()=>{let $={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function I(J){return $[J]??null}let U={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},Y={nan:"NaN",number:"թիվ",array:"զանգված"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${J.expected}, ստացվել է ${q}`;return`Սխալ մուտքագրում․ սպասվում էր ${Q}, ստացվել է ${q}`}case"invalid_value":if(J.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${V0(J.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=dk(q,K.unit.one,K.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${MI(J.origin??"արժեք")} կունենա ${Q}${J.maximum.toString()} ${G}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${MI(J.origin??"արժեք")} լինի ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=dk(q,K.unit.one,K.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${MI(J.origin)} կունենա ${Q}${J.minimum.toString()} ${G}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${MI(J.origin)} լինի ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${Q.prefix}"-ով`;if(Q.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${Q.suffix}"-ով`;if(Q.format==="includes")return`Սխալ տող․ պետք է պարունակի "${Q.includes}"`;if(Q.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${Q.pattern} ձևաչափին`;return`Սխալ ${U[Q.format]??J.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${J.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${J.keys.length>1?"ներ":""}. ${I0(J.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${MI(J.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${MI(J.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function GF(){return{localeError:hL0()}}var xL0=()=>{let $={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function I(J){return $[J]??null}let U={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input tidak valid: diharapkan instanceof ${J.expected}, diterima ${q}`;return`Input tidak valid: diharapkan ${Q}, diterima ${q}`}case"invalid_value":if(J.values.length===1)return`Input tidak valid: diharapkan ${V0(J.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Terlalu besar: diharapkan ${J.origin??"value"} memiliki ${Q}${J.maximum.toString()} ${K.unit??"elemen"}`;return`Terlalu besar: diharapkan ${J.origin??"value"} menjadi ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Terlalu kecil: diharapkan ${J.origin} memiliki ${Q}${J.minimum.toString()} ${K.unit}`;return`Terlalu kecil: diharapkan ${J.origin} menjadi ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`String tidak valid: harus dimulai dengan "${Q.prefix}"`;if(Q.format==="ends_with")return`String tidak valid: harus berakhir dengan "${Q.suffix}"`;if(Q.format==="includes")return`String tidak valid: harus menyertakan "${Q.includes}"`;if(Q.format==="regex")return`String tidak valid: harus sesuai pola ${Q.pattern}`;return`${U[Q.format]??J.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${J.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${J.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${J.origin}`;default:return"Input tidak valid"}}};function HF(){return{localeError:xL0()}}var kL0=()=>{let $={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function I(J){return $[J]??null}let U={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},Y={nan:"NaN",number:"númer",array:"fylki"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Rangt gildi: Þú slóst inn ${q} þar sem á að vera instanceof ${J.expected}`;return`Rangt gildi: Þú slóst inn ${q} þar sem á að vera ${Q}`}case"invalid_value":if(J.values.length===1)return`Rangt gildi: gert ráð fyrir ${V0(J.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Of stórt: gert er ráð fyrir að ${J.origin??"gildi"} hafi ${Q}${J.maximum.toString()} ${K.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${J.origin??"gildi"} sé ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Of lítið: gert er ráð fyrir að ${J.origin} hafi ${Q}${J.minimum.toString()} ${K.unit}`;return`Of lítið: gert er ráð fyrir að ${J.origin} sé ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ógildur strengur: verður að byrja á "${Q.prefix}"`;if(Q.format==="ends_with")return`Ógildur strengur: verður að enda á "${Q.suffix}"`;if(Q.format==="includes")return`Ógildur strengur: verður að innihalda "${Q.includes}"`;if(Q.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${Q.pattern}`;return`Rangt ${U[Q.format]??J.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${J.divisor}`;case"unrecognized_keys":return`Óþekkt ${J.keys.length>1?"ir lyklar":"ur lykill"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${J.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${J.origin}`;default:return"Rangt gildi"}}};function WF(){return{localeError:kL0()}}var uL0=()=>{let $={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function I(J){return $[J]??null}let U={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",number:"numero",array:"vettore"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input non valido: atteso instanceof ${J.expected}, ricevuto ${q}`;return`Input non valido: atteso ${Q}, ricevuto ${q}`}case"invalid_value":if(J.values.length===1)return`Input non valido: atteso ${V0(J.values[0])}`;return`Opzione non valida: atteso uno tra ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Troppo grande: ${J.origin??"valore"} deve avere ${Q}${J.maximum.toString()} ${K.unit??"elementi"}`;return`Troppo grande: ${J.origin??"valore"} deve essere ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Troppo piccolo: ${J.origin} deve avere ${Q}${J.minimum.toString()} ${K.unit}`;return`Troppo piccolo: ${J.origin} deve essere ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Stringa non valida: deve iniziare con "${Q.prefix}"`;if(Q.format==="ends_with")return`Stringa non valida: deve terminare con "${Q.suffix}"`;if(Q.format==="includes")return`Stringa non valida: deve includere "${Q.includes}"`;if(Q.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${Q.pattern}`;return`Input non valido: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${J.divisor}`;case"unrecognized_keys":return`Chiav${J.keys.length>1?"i":"e"} non riconosciut${J.keys.length>1?"e":"a"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${J.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${J.origin}`;default:return"Input non valido"}}};function VF(){return{localeError:uL0()}}var fL0=()=>{let $={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function I(J){return $[J]??null}let U={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},Y={nan:"NaN",number:"数値",array:"配列"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`無効な入力: instanceof ${J.expected}が期待されましたが、${q}が入力されました`;return`無効な入力: ${Q}が期待されましたが、${q}が入力されました`}case"invalid_value":if(J.values.length===1)return`無効な入力: ${V0(J.values[0])}が期待されました`;return`無効な選択: ${I0(J.values,"、")}のいずれかである必要があります`;case"too_big":{let Q=J.inclusive?"以下である":"より小さい",K=I(J.origin);if(K)return`大きすぎる値: ${J.origin??"値"}は${J.maximum.toString()}${K.unit??"要素"}${Q}必要があります`;return`大きすぎる値: ${J.origin??"値"}は${J.maximum.toString()}${Q}必要があります`}case"too_small":{let Q=J.inclusive?"以上である":"より大きい",K=I(J.origin);if(K)return`小さすぎる値: ${J.origin}は${J.minimum.toString()}${K.unit}${Q}必要があります`;return`小さすぎる値: ${J.origin}は${J.minimum.toString()}${Q}必要があります`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`無効な文字列: "${Q.prefix}"で始まる必要があります`;if(Q.format==="ends_with")return`無効な文字列: "${Q.suffix}"で終わる必要があります`;if(Q.format==="includes")return`無効な文字列: "${Q.includes}"を含む必要があります`;if(Q.format==="regex")return`無効な文字列: パターン${Q.pattern}に一致する必要があります`;return`無効な${U[Q.format]??J.format}`}case"not_multiple_of":return`無効な数値: ${J.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${J.keys.length>1?"群":""}: ${I0(J.keys,"、")}`;case"invalid_key":return`${J.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${J.origin}内の無効な値`;default:return"無効な入力"}}};function ZF(){return{localeError:fL0()}}var bL0=()=>{let $={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function I(J){return $[J]??null}let U={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},Y={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${J.expected}, მიღებული ${q}`;return`არასწორი შეყვანა: მოსალოდნელი ${Q}, მიღებული ${q}`}case"invalid_value":if(J.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${V0(J.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${I0(J.values,"|")}-დან`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ზედმეტად დიდი: მოსალოდნელი ${J.origin??"მნიშვნელობა"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${J.origin??"მნიშვნელობა"} იყოს ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`ზედმეტად პატარა: მოსალოდნელი ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${J.origin} იყოს ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${Q.prefix}"-ით`;if(Q.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${Q.suffix}"-ით`;if(Q.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${Q.includes}"-ს`;if(Q.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${Q.pattern}`;return`არასწორი ${U[Q.format]??J.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${J.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${J.keys.length>1?"ები":"ი"}: ${I0(J.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${J.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${J.origin}-ში`;default:return"არასწორი შეყვანა"}}};function zF(){return{localeError:bL0()}}var iL0=()=>{let $={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function I(J){return $[J]??null}let U={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},Y={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${J.expected} ប៉ុន្តែទទួលបាន ${q}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Q} ប៉ុន្តែទទួលបាន ${q}`}case"invalid_value":if(J.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${V0(J.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ធំពេក៖ ត្រូវការ ${J.origin??"តម្លៃ"} ${Q} ${J.maximum.toString()} ${K.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${J.origin??"តម្លៃ"} ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`តូចពេក៖ ត្រូវការ ${J.origin} ${Q} ${J.minimum.toString()} ${K.unit}`;return`តូចពេក៖ ត្រូវការ ${J.origin} ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${Q.prefix}"`;if(Q.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${Q.suffix}"`;if(Q.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${Q.includes}"`;if(Q.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${Q.pattern}`;return`មិនត្រឹមត្រូវ៖ ${U[Q.format]??J.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${J.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${I0(J.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${J.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${J.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function aJ(){return{localeError:iL0()}}function XF(){return aJ()}var nL0=()=>{let $={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function I(J){return $[J]??null}let U={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`잘못된 입력: 예상 타입은 instanceof ${J.expected}, 받은 타입은 ${q}입니다`;return`잘못된 입력: 예상 타입은 ${Q}, 받은 타입은 ${q}입니다`}case"invalid_value":if(J.values.length===1)return`잘못된 입력: 값은 ${V0(J.values[0])} 이어야 합니다`;return`잘못된 옵션: ${I0(J.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let Q=J.inclusive?"이하":"미만",K=Q==="미만"?"이어야 합니다":"여야 합니다",q=I(J.origin),G=q?.unit??"요소";if(q)return`${J.origin??"값"}이 너무 큽니다: ${J.maximum.toString()}${G} ${Q}${K}`;return`${J.origin??"값"}이 너무 큽니다: ${J.maximum.toString()} ${Q}${K}`}case"too_small":{let Q=J.inclusive?"이상":"초과",K=Q==="이상"?"이어야 합니다":"여야 합니다",q=I(J.origin),G=q?.unit??"요소";if(q)return`${J.origin??"값"}이 너무 작습니다: ${J.minimum.toString()}${G} ${Q}${K}`;return`${J.origin??"값"}이 너무 작습니다: ${J.minimum.toString()} ${Q}${K}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`잘못된 문자열: "${Q.prefix}"(으)로 시작해야 합니다`;if(Q.format==="ends_with")return`잘못된 문자열: "${Q.suffix}"(으)로 끝나야 합니다`;if(Q.format==="includes")return`잘못된 문자열: "${Q.includes}"을(를) 포함해야 합니다`;if(Q.format==="regex")return`잘못된 문자열: 정규식 ${Q.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${U[Q.format]??J.format}`}case"not_multiple_of":return`잘못된 숫자: ${J.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${I0(J.keys,", ")}`;case"invalid_key":return`잘못된 키: ${J.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${J.origin}`;default:return"잘못된 입력"}}};function wF(){return{localeError:nL0()}}var sJ=($)=>{return $.charAt(0).toUpperCase()+$.slice(1)};function mk($){let I=Math.abs($),U=I%10,Y=I%100;if(Y>=11&&Y<=19||U===0)return"many";if(U===1)return"one";return"few"}var pL0=()=>{let $={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function I(J,Q,K,q){let G=$[J]??null;if(G===null)return G;return{unit:G.unit[Q],verb:G.verb[q][K?"inclusive":"notInclusive"]}}let U={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},Y={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Gautas tipas ${q}, o tikėtasi - instanceof ${J.expected}`;return`Gautas tipas ${q}, o tikėtasi - ${Q}`}case"invalid_value":if(J.values.length===1)return`Privalo būti ${V0(J.values[0])}`;return`Privalo būti vienas iš ${I0(J.values,"|")} pasirinkimų`;case"too_big":{let Q=Y[J.origin]??J.origin,K=I(J.origin,mk(Number(J.maximum)),J.inclusive??!1,"smaller");if(K?.verb)return`${sJ(Q??J.origin??"reikšmė")} ${K.verb} ${J.maximum.toString()} ${K.unit??"elementų"}`;let q=J.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${sJ(Q??J.origin??"reikšmė")} turi būti ${q} ${J.maximum.toString()} ${K?.unit}`}case"too_small":{let Q=Y[J.origin]??J.origin,K=I(J.origin,mk(Number(J.minimum)),J.inclusive??!1,"bigger");if(K?.verb)return`${sJ(Q??J.origin??"reikšmė")} ${K.verb} ${J.minimum.toString()} ${K.unit??"elementų"}`;let q=J.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${sJ(Q??J.origin??"reikšmė")} turi būti ${q} ${J.minimum.toString()} ${K?.unit}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Eilutė privalo prasidėti "${Q.prefix}"`;if(Q.format==="ends_with")return`Eilutė privalo pasibaigti "${Q.suffix}"`;if(Q.format==="includes")return`Eilutė privalo įtraukti "${Q.includes}"`;if(Q.format==="regex")return`Eilutė privalo atitikti ${Q.pattern}`;return`Neteisingas ${U[Q.format]??J.format}`}case"not_multiple_of":return`Skaičius privalo būti ${J.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${J.keys.length>1?"i":"as"} rakt${J.keys.length>1?"ai":"as"}: ${I0(J.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let Q=Y[J.origin]??J.origin;return`${sJ(Q??J.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function LF(){return{localeError:pL0()}}var cL0=()=>{let $={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function I(J){return $[J]??null}let U={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},Y={nan:"NaN",number:"број",array:"низа"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Грешен внес: се очекува instanceof ${J.expected}, примено ${q}`;return`Грешен внес: се очекува ${Q}, примено ${q}`}case"invalid_value":if(J.values.length===1)return`Invalid input: expected ${V0(J.values[0])}`;return`Грешана опција: се очекува една ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Премногу голем: се очекува ${J.origin??"вредноста"} да има ${Q}${J.maximum.toString()} ${K.unit??"елементи"}`;return`Премногу голем: се очекува ${J.origin??"вредноста"} да биде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Премногу мал: се очекува ${J.origin} да има ${Q}${J.minimum.toString()} ${K.unit}`;return`Премногу мал: се очекува ${J.origin} да биде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неважечка низа: мора да започнува со "${Q.prefix}"`;if(Q.format==="ends_with")return`Неважечка низа: мора да завршува со "${Q.suffix}"`;if(Q.format==="includes")return`Неважечка низа: мора да вклучува "${Q.includes}"`;if(Q.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${Q.pattern}`;return`Invalid ${U[Q.format]??J.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${J.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${J.origin}`;default:return"Грешен внес"}}};function DF(){return{localeError:cL0()}}var dL0=()=>{let $={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function I(J){return $[J]??null}let U={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",number:"nombor"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input tidak sah: dijangka instanceof ${J.expected}, diterima ${q}`;return`Input tidak sah: dijangka ${Q}, diterima ${q}`}case"invalid_value":if(J.values.length===1)return`Input tidak sah: dijangka ${V0(J.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Terlalu besar: dijangka ${J.origin??"nilai"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"elemen"}`;return`Terlalu besar: dijangka ${J.origin??"nilai"} adalah ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Terlalu kecil: dijangka ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Terlalu kecil: dijangka ${J.origin} adalah ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`String tidak sah: mesti bermula dengan "${Q.prefix}"`;if(Q.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${Q.suffix}"`;if(Q.format==="includes")return`String tidak sah: mesti mengandungi "${Q.includes}"`;if(Q.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${Q.pattern}`;return`${U[Q.format]??J.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${J.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${I0(J.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${J.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${J.origin}`;default:return"Input tidak sah"}}};function OF(){return{localeError:dL0()}}var mL0=()=>{let $={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function I(J){return $[J]??null}let U={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},Y={nan:"NaN",number:"getal"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ongeldige invoer: verwacht instanceof ${J.expected}, ontving ${q}`;return`Ongeldige invoer: verwacht ${Q}, ontving ${q}`}case"invalid_value":if(J.values.length===1)return`Ongeldige invoer: verwacht ${V0(J.values[0])}`;return`Ongeldige optie: verwacht één van ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=J.origin==="date"?"laat":J.origin==="string"?"lang":"groot";if(K)return`Te ${q}: verwacht dat ${J.origin??"waarde"} ${Q}${J.maximum.toString()} ${K.unit??"elementen"} ${K.verb}`;return`Te ${q}: verwacht dat ${J.origin??"waarde"} ${Q}${J.maximum.toString()} is`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=J.origin==="date"?"vroeg":J.origin==="string"?"kort":"klein";if(K)return`Te ${q}: verwacht dat ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ${K.verb}`;return`Te ${q}: verwacht dat ${J.origin} ${Q}${J.minimum.toString()} is`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ongeldige tekst: moet met "${Q.prefix}" beginnen`;if(Q.format==="ends_with")return`Ongeldige tekst: moet op "${Q.suffix}" eindigen`;if(Q.format==="includes")return`Ongeldige tekst: moet "${Q.includes}" bevatten`;if(Q.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${Q.pattern}`;return`Ongeldig: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${J.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${J.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${J.origin}`;default:return"Ongeldige invoer"}}};function NF(){return{localeError:mL0()}}var lL0=()=>{let $={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function I(J){return $[J]??null}let U={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",number:"tall",array:"liste"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ugyldig input: forventet instanceof ${J.expected}, fikk ${q}`;return`Ugyldig input: forventet ${Q}, fikk ${q}`}case"invalid_value":if(J.values.length===1)return`Ugyldig verdi: forventet ${V0(J.values[0])}`;return`Ugyldig valg: forventet en av ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`For stor(t): forventet ${J.origin??"value"} til å ha ${Q}${J.maximum.toString()} ${K.unit??"elementer"}`;return`For stor(t): forventet ${J.origin??"value"} til å ha ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`For lite(n): forventet ${J.origin} til å ha ${Q}${J.minimum.toString()} ${K.unit}`;return`For lite(n): forventet ${J.origin} til å ha ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ugyldig streng: må starte med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ugyldig streng: må ende med "${Q.suffix}"`;if(Q.format==="includes")return`Ugyldig streng: må inneholde "${Q.includes}"`;if(Q.format==="regex")return`Ugyldig streng: må matche mønsteret ${Q.pattern}`;return`Ugyldig ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${J.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${J.origin}`;default:return"Ugyldig input"}}};function FF(){return{localeError:lL0()}}var oL0=()=>{let $={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function I(J){return $[J]??null}let U={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},Y={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Fâsit giren: umulan instanceof ${J.expected}, alınan ${q}`;return`Fâsit giren: umulan ${Q}, alınan ${q}`}case"invalid_value":if(J.values.length===1)return`Fâsit giren: umulan ${V0(J.values[0])}`;return`Fâsit tercih: mûteberler ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Fazla büyük: ${J.origin??"value"}, ${Q}${J.maximum.toString()} ${K.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${J.origin??"value"}, ${Q}${J.maximum.toString()} olmalıydı.`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Fazla küçük: ${J.origin}, ${Q}${J.minimum.toString()} ${K.unit} sahip olmalıydı.`;return`Fazla küçük: ${J.origin}, ${Q}${J.minimum.toString()} olmalıydı.`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Fâsit metin: "${Q.prefix}" ile başlamalı.`;if(Q.format==="ends_with")return`Fâsit metin: "${Q.suffix}" ile bitmeli.`;if(Q.format==="includes")return`Fâsit metin: "${Q.includes}" ihtivâ etmeli.`;if(Q.format==="regex")return`Fâsit metin: ${Q.pattern} nakşına uymalı.`;return`Fâsit ${U[Q.format]??J.format}`}case"not_multiple_of":return`Fâsit sayı: ${J.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${J.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function MF(){return{localeError:oL0()}}var rL0=()=>{let $={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function I(J){return $[J]??null}let U={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},Y={nan:"NaN",number:"عدد",array:"ارې"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ناسم ورودي: باید instanceof ${J.expected} وای, مګر ${q} ترلاسه شو`;return`ناسم ورودي: باید ${Q} وای, مګر ${q} ترلاسه شو`}case"invalid_value":if(J.values.length===1)return`ناسم ورودي: باید ${V0(J.values[0])} وای`;return`ناسم انتخاب: باید یو له ${I0(J.values,"|")} څخه وای`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ډیر لوی: ${J.origin??"ارزښت"} باید ${Q}${J.maximum.toString()} ${K.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${J.origin??"ارزښت"} باید ${Q}${J.maximum.toString()} وي`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`ډیر کوچنی: ${J.origin} باید ${Q}${J.minimum.toString()} ${K.unit} ولري`;return`ډیر کوچنی: ${J.origin} باید ${Q}${J.minimum.toString()} وي`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`ناسم متن: باید د "${Q.prefix}" سره پیل شي`;if(Q.format==="ends_with")return`ناسم متن: باید د "${Q.suffix}" سره پای ته ورسيږي`;if(Q.format==="includes")return`ناسم متن: باید "${Q.includes}" ولري`;if(Q.format==="regex")return`ناسم متن: باید د ${Q.pattern} سره مطابقت ولري`;return`${U[Q.format]??J.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${J.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${J.keys.length>1?"کلیډونه":"کلیډ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${J.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${J.origin} کې`;default:return"ناسمه ورودي"}}};function AF(){return{localeError:rL0()}}var tL0=()=>{let $={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function I(J){return $[J]??null}let U={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},Y={nan:"NaN",number:"liczba",array:"tablica"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${J.expected}, otrzymano ${q}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${Q}, otrzymano ${q}`}case"invalid_value":if(J.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${V0(J.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Za duża wartość: oczekiwano, że ${J.origin??"wartość"} będzie mieć ${Q}${J.maximum.toString()} ${K.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${J.origin??"wartość"} będzie wynosić ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Za mała wartość: oczekiwano, że ${J.origin??"wartość"} będzie mieć ${Q}${J.minimum.toString()} ${K.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${J.origin??"wartość"} będzie wynosić ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${Q.prefix}"`;if(Q.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${Q.suffix}"`;if(Q.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${Q.includes}"`;if(Q.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${Q.pattern}`;return`Nieprawidłow(y/a/e) ${U[Q.format]??J.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${J.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${J.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${J.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function PF(){return{localeError:tL0()}}var aL0=()=>{let $={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function I(J){return $[J]??null}let U={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},Y={nan:"NaN",number:"número",null:"nulo"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Tipo inválido: esperado instanceof ${J.expected}, recebido ${q}`;return`Tipo inválido: esperado ${Q}, recebido ${q}`}case"invalid_value":if(J.values.length===1)return`Entrada inválida: esperado ${V0(J.values[0])}`;return`Opção inválida: esperada uma das ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Muito grande: esperado que ${J.origin??"valor"} tivesse ${Q}${J.maximum.toString()} ${K.unit??"elementos"}`;return`Muito grande: esperado que ${J.origin??"valor"} fosse ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Muito pequeno: esperado que ${J.origin} tivesse ${Q}${J.minimum.toString()} ${K.unit}`;return`Muito pequeno: esperado que ${J.origin} fosse ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Texto inválido: deve começar com "${Q.prefix}"`;if(Q.format==="ends_with")return`Texto inválido: deve terminar com "${Q.suffix}"`;if(Q.format==="includes")return`Texto inválido: deve incluir "${Q.includes}"`;if(Q.format==="regex")return`Texto inválido: deve corresponder ao padrão ${Q.pattern}`;return`${U[Q.format]??J.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${J.divisor}`;case"unrecognized_keys":return`Chave${J.keys.length>1?"s":""} desconhecida${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Chave inválida em ${J.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${J.origin}`;default:return"Campo inválido"}}};function TF(){return{localeError:aL0()}}var sL0=()=>{let $={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function I(J){return $[J]??null}let U={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},Y={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;return`Intrare invalidă: așteptat ${Q}, primit ${q}`}case"invalid_value":if(J.values.length===1)return`Intrare invalidă: așteptat ${V0(J.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Prea mare: așteptat ca ${J.origin??"valoarea"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"elemente"}`;return`Prea mare: așteptat ca ${J.origin??"valoarea"} să fie ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Prea mic: așteptat ca ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Prea mic: așteptat ca ${J.origin} să fie ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${Q.prefix}"`;if(Q.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${Q.suffix}"`;if(Q.format==="includes")return`Șir invalid: trebuie să includă "${Q.includes}"`;if(Q.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${Q.pattern}`;return`Format invalid: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${J.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${I0(J.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${J.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${J.origin}`;default:return"Intrare invalidă"}}};function EF(){return{localeError:sL0()}}function lk($,I,U,Y){let J=Math.abs($),Q=J%10,K=J%100;if(K>=11&&K<=19)return Y;if(Q===1)return I;if(Q>=2&&Q<=4)return U;return Y}var eL0=()=>{let $={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function I(J){return $[J]??null}let U={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},Y={nan:"NaN",number:"число",array:"массив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Неверный ввод: ожидалось instanceof ${J.expected}, получено ${q}`;return`Неверный ввод: ожидалось ${Q}, получено ${q}`}case"invalid_value":if(J.values.length===1)return`Неверный ввод: ожидалось ${V0(J.values[0])}`;return`Неверный вариант: ожидалось одно из ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=lk(q,K.unit.one,K.unit.few,K.unit.many);return`Слишком большое значение: ожидалось, что ${J.origin??"значение"} будет иметь ${Q}${J.maximum.toString()} ${G}`}return`Слишком большое значение: ожидалось, что ${J.origin??"значение"} будет ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=lk(q,K.unit.one,K.unit.few,K.unit.many);return`Слишком маленькое значение: ожидалось, что ${J.origin} будет иметь ${Q}${J.minimum.toString()} ${G}`}return`Слишком маленькое значение: ожидалось, что ${J.origin} будет ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неверная строка: должна начинаться с "${Q.prefix}"`;if(Q.format==="ends_with")return`Неверная строка: должна заканчиваться на "${Q.suffix}"`;if(Q.format==="includes")return`Неверная строка: должна содержать "${Q.includes}"`;if(Q.format==="regex")return`Неверная строка: должна соответствовать шаблону ${Q.pattern}`;return`Неверный ${U[Q.format]??J.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${J.divisor}`;case"unrecognized_keys":return`Нераспознанн${J.keys.length>1?"ые":"ый"} ключ${J.keys.length>1?"и":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${J.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${J.origin}`;default:return"Неверные входные данные"}}};function BF(){return{localeError:eL0()}}var $D0=()=>{let $={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function I(J){return $[J]??null}let U={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},Y={nan:"NaN",number:"število",array:"tabela"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Neveljaven vnos: pričakovano instanceof ${J.expected}, prejeto ${q}`;return`Neveljaven vnos: pričakovano ${Q}, prejeto ${q}`}case"invalid_value":if(J.values.length===1)return`Neveljaven vnos: pričakovano ${V0(J.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Preveliko: pričakovano, da bo ${J.origin??"vrednost"} imelo ${Q}${J.maximum.toString()} ${K.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${J.origin??"vrednost"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Premajhno: pričakovano, da bo ${J.origin} imelo ${Q}${J.minimum.toString()} ${K.unit}`;return`Premajhno: pričakovano, da bo ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neveljaven niz: mora se začeti z "${Q.prefix}"`;if(Q.format==="ends_with")return`Neveljaven niz: mora se končati z "${Q.suffix}"`;if(Q.format==="includes")return`Neveljaven niz: mora vsebovati "${Q.includes}"`;if(Q.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${Q.pattern}`;return`Neveljaven ${U[Q.format]??J.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${J.divisor}`;case"unrecognized_keys":return`Neprepoznan${J.keys.length>1?"i ključi":" ključ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${J.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${J.origin}`;default:return"Neveljaven vnos"}}};function RF(){return{localeError:$D0()}}var ID0=()=>{let $={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function I(J){return $[J]??null}let U={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},Y={nan:"NaN",number:"antal",array:"lista"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ogiltig inmatning: förväntat instanceof ${J.expected}, fick ${q}`;return`Ogiltig inmatning: förväntat ${Q}, fick ${q}`}case"invalid_value":if(J.values.length===1)return`Ogiltig inmatning: förväntat ${V0(J.values[0])}`;return`Ogiltigt val: förväntade en av ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`För stor(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.maximum.toString()} ${K.unit??"element"}`;return`För stor(t): förväntat ${J.origin??"värdet"} att ha ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`För lite(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.minimum.toString()} ${K.unit}`;return`För lite(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ogiltig sträng: måste börja med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ogiltig sträng: måste sluta med "${Q.suffix}"`;if(Q.format==="includes")return`Ogiltig sträng: måste innehålla "${Q.includes}"`;if(Q.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${Q.pattern}"`;return`Ogiltig(t) ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${J.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${J.origin??"värdet"}`;default:return"Ogiltig input"}}};function vF(){return{localeError:ID0()}}var UD0=()=>{let $={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function I(J){return $[J]??null}let U={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${J.expected}, பெறப்பட்டது ${q}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Q}, பெறப்பட்டது ${q}`}case"invalid_value":if(J.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${V0(J.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${I0(J.values,"|")} இல் ஒன்று`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${J.origin??"மதிப்பு"} ${Q}${J.maximum.toString()} ${K.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${J.origin??"மதிப்பு"} ${Q}${J.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${J.origin} ${Q}${J.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`தவறான சரம்: "${Q.prefix}" இல் தொடங்க வேண்டும்`;if(Q.format==="ends_with")return`தவறான சரம்: "${Q.suffix}" இல் முடிவடைய வேண்டும்`;if(Q.format==="includes")return`தவறான சரம்: "${Q.includes}" ஐ உள்ளடக்க வேண்டும்`;if(Q.format==="regex")return`தவறான சரம்: ${Q.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${U[Q.format]??J.format}`}case"not_multiple_of":return`தவறான எண்: ${J.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${J.keys.length>1?"கள்":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${J.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function CF(){return{localeError:UD0()}}var YD0=()=>{let $={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function I(J){return $[J]??null}let U={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},Y={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${J.expected} แต่ได้รับ ${q}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${Q} แต่ได้รับ ${q}`}case"invalid_value":if(J.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${V0(J.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"ไม่เกิน":"น้อยกว่า",K=I(J.origin);if(K)return`เกินกำหนด: ${J.origin??"ค่า"} ควรมี${Q} ${J.maximum.toString()} ${K.unit??"รายการ"}`;return`เกินกำหนด: ${J.origin??"ค่า"} ควรมี${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"อย่างน้อย":"มากกว่า",K=I(J.origin);if(K)return`น้อยกว่ากำหนด: ${J.origin} ควรมี${Q} ${J.minimum.toString()} ${K.unit}`;return`น้อยกว่ากำหนด: ${J.origin} ควรมี${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${Q.prefix}"`;if(Q.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${Q.suffix}"`;if(Q.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${Q.includes}" อยู่ในข้อความ`;if(Q.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${Q.pattern}`;return`รูปแบบไม่ถูกต้อง: ${U[Q.format]??J.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${J.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${I0(J.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${J.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${J.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function jF(){return{localeError:YD0()}}var JD0=()=>{let $={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function I(J){return $[J]??null}let U={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Geçersiz değer: beklenen instanceof ${J.expected}, alınan ${q}`;return`Geçersiz değer: beklenen ${Q}, alınan ${q}`}case"invalid_value":if(J.values.length===1)return`Geçersiz değer: beklenen ${V0(J.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Çok büyük: beklenen ${J.origin??"değer"} ${Q}${J.maximum.toString()} ${K.unit??"öğe"}`;return`Çok büyük: beklenen ${J.origin??"değer"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Çok küçük: beklenen ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`Çok küçük: beklenen ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Geçersiz metin: "${Q.prefix}" ile başlamalı`;if(Q.format==="ends_with")return`Geçersiz metin: "${Q.suffix}" ile bitmeli`;if(Q.format==="includes")return`Geçersiz metin: "${Q.includes}" içermeli`;if(Q.format==="regex")return`Geçersiz metin: ${Q.pattern} desenine uymalı`;return`Geçersiz ${U[Q.format]??J.format}`}case"not_multiple_of":return`Geçersiz sayı: ${J.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${J.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function _F(){return{localeError:JD0()}}var QD0=()=>{let $={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function I(J){return $[J]??null}let U={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},Y={nan:"NaN",number:"число",array:"масив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Неправильні вхідні дані: очікується instanceof ${J.expected}, отримано ${q}`;return`Неправильні вхідні дані: очікується ${Q}, отримано ${q}`}case"invalid_value":if(J.values.length===1)return`Неправильні вхідні дані: очікується ${V0(J.values[0])}`;return`Неправильна опція: очікується одне з ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Занадто велике: очікується, що ${J.origin??"значення"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"елементів"}`;return`Занадто велике: очікується, що ${J.origin??"значення"} буде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Занадто мале: очікується, що ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Занадто мале: очікується, що ${J.origin} буде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неправильний рядок: повинен починатися з "${Q.prefix}"`;if(Q.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${Q.suffix}"`;if(Q.format==="includes")return`Неправильний рядок: повинен містити "${Q.includes}"`;if(Q.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${Q.pattern}`;return`Неправильний ${U[Q.format]??J.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${J.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${J.keys.length>1?"і":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${J.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${J.origin}`;default:return"Неправильні вхідні дані"}}};function eJ(){return{localeError:QD0()}}function SF(){return eJ()}var KD0=()=>{let $={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function I(J){return $[J]??null}let U={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},Y={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`غلط ان پٹ: instanceof ${J.expected} متوقع تھا، ${q} موصول ہوا`;return`غلط ان پٹ: ${Q} متوقع تھا، ${q} موصول ہوا`}case"invalid_value":if(J.values.length===1)return`غلط ان پٹ: ${V0(J.values[0])} متوقع تھا`;return`غلط آپشن: ${I0(J.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`بہت بڑا: ${J.origin??"ویلیو"} کے ${Q}${J.maximum.toString()} ${K.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${J.origin??"ویلیو"} کا ${Q}${J.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`بہت چھوٹا: ${J.origin} کے ${Q}${J.minimum.toString()} ${K.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${J.origin} کا ${Q}${J.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`غلط سٹرنگ: "${Q.prefix}" سے شروع ہونا چاہیے`;if(Q.format==="ends_with")return`غلط سٹرنگ: "${Q.suffix}" پر ختم ہونا چاہیے`;if(Q.format==="includes")return`غلط سٹرنگ: "${Q.includes}" شامل ہونا چاہیے`;if(Q.format==="regex")return`غلط سٹرنگ: پیٹرن ${Q.pattern} سے میچ ہونا چاہیے`;return`غلط ${U[Q.format]??J.format}`}case"not_multiple_of":return`غلط نمبر: ${J.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${J.keys.length>1?"ز":""}: ${I0(J.keys,"، ")}`;case"invalid_key":return`${J.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${J.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function gF(){return{localeError:KD0()}}var qD0=()=>{let $={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function I(J){return $[J]??null}let U={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},Y={nan:"NaN",number:"raqam",array:"massiv"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${J.expected}, qabul qilingan ${q}`;return`Noto‘g‘ri kirish: kutilgan ${Q}, qabul qilingan ${q}`}case"invalid_value":if(J.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${V0(J.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Juda katta: kutilgan ${J.origin??"qiymat"} ${Q}${J.maximum.toString()} ${K.unit} ${K.verb}`;return`Juda katta: kutilgan ${J.origin??"qiymat"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Juda kichik: kutilgan ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ${K.verb}`;return`Juda kichik: kutilgan ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Noto‘g‘ri satr: "${Q.prefix}" bilan boshlanishi kerak`;if(Q.format==="ends_with")return`Noto‘g‘ri satr: "${Q.suffix}" bilan tugashi kerak`;if(Q.format==="includes")return`Noto‘g‘ri satr: "${Q.includes}" ni o‘z ichiga olishi kerak`;if(Q.format==="regex")return`Noto‘g‘ri satr: ${Q.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${U[Q.format]??J.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${J.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${J.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function yF(){return{localeError:qD0()}}var GD0=()=>{let $={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function I(J){return $[J]??null}let U={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},Y={nan:"NaN",number:"số",array:"mảng"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${J.expected}, nhận được ${q}`;return`Đầu vào không hợp lệ: mong đợi ${Q}, nhận được ${q}`}case"invalid_value":if(J.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${V0(J.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Quá lớn: mong đợi ${J.origin??"giá trị"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"phần tử"}`;return`Quá lớn: mong đợi ${J.origin??"giá trị"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Quá nhỏ: mong đợi ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Quá nhỏ: mong đợi ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${Q.prefix}"`;if(Q.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${Q.suffix}"`;if(Q.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${Q.includes}"`;if(Q.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${Q.pattern}`;return`${U[Q.format]??J.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${J.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${I0(J.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${J.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${J.origin}`;default:return"Đầu vào không hợp lệ"}}};function hF(){return{localeError:GD0()}}var HD0=()=>{let $={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function I(J){return $[J]??null}let U={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},Y={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`无效输入:期望 instanceof ${J.expected},实际接收 ${q}`;return`无效输入:期望 ${Q},实际接收 ${q}`}case"invalid_value":if(J.values.length===1)return`无效输入:期望 ${V0(J.values[0])}`;return`无效选项:期望以下之一 ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`数值过大:期望 ${J.origin??"值"} ${Q}${J.maximum.toString()} ${K.unit??"个元素"}`;return`数值过大:期望 ${J.origin??"值"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`数值过小:期望 ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`数值过小:期望 ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`无效字符串:必须以 "${Q.prefix}" 开头`;if(Q.format==="ends_with")return`无效字符串:必须以 "${Q.suffix}" 结尾`;if(Q.format==="includes")return`无效字符串:必须包含 "${Q.includes}"`;if(Q.format==="regex")return`无效字符串:必须满足正则表达式 ${Q.pattern}`;return`无效${U[Q.format]??J.format}`}case"not_multiple_of":return`无效数字:必须是 ${J.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${J.origin} 中包含无效值(value)`;default:return"无效输入"}}};function xF(){return{localeError:HD0()}}var WD0=()=>{let $={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function I(J){return $[J]??null}let U={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`無效的輸入值:預期為 instanceof ${J.expected},但收到 ${q}`;return`無效的輸入值:預期為 ${Q},但收到 ${q}`}case"invalid_value":if(J.values.length===1)return`無效的輸入值:預期為 ${V0(J.values[0])}`;return`無效的選項:預期為以下其中之一 ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`數值過大:預期 ${J.origin??"值"} 應為 ${Q}${J.maximum.toString()} ${K.unit??"個元素"}`;return`數值過大:預期 ${J.origin??"值"} 應為 ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`數值過小:預期 ${J.origin} 應為 ${Q}${J.minimum.toString()} ${K.unit}`;return`數值過小:預期 ${J.origin} 應為 ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`無效的字串:必須以 "${Q.prefix}" 開頭`;if(Q.format==="ends_with")return`無效的字串:必須以 "${Q.suffix}" 結尾`;if(Q.format==="includes")return`無效的字串:必須包含 "${Q.includes}"`;if(Q.format==="regex")return`無效的字串:必須符合格式 ${Q.pattern}`;return`無效的 ${U[Q.format]??J.format}`}case"not_multiple_of":return`無效的數字:必須為 ${J.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${J.keys.length>1?"們":""}:${I0(J.keys,"、")}`;case"invalid_key":return`${J.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${J.origin} 中有無效的值`;default:return"無效的輸入值"}}};function kF(){return{localeError:WD0()}}var VD0=()=>{let $={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function I(J){return $[J]??null}let U={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},Y={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${J.expected}, àmọ̀ a rí ${q}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${Q}, àmọ̀ a rí ${q}`}case"invalid_value":if(J.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${V0(J.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${J.origin??"iye"} ${K.verb} ${Q}${J.maximum} ${K.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${Q}${J.maximum}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Kéré ju: a ní láti jẹ́ pé ${J.origin} ${K.verb} ${Q}${J.minimum} ${K.unit}`;return`Kéré ju: a ní láti jẹ́ ${Q}${J.minimum}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${Q.prefix}"`;if(Q.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${Q.suffix}"`;if(Q.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${Q.includes}"`;if(Q.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${Q.pattern}`;return`Aṣìṣe: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${J.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${I0(J.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${J.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${J.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function uF(){return{localeError:VD0()}}var ok,fF=Symbol("ZodOutput"),bF=Symbol("ZodInput");class iF{constructor(){this._map=new WeakMap,this._idmap=new Map}add($,...I){let U=I[0];if(this._map.set($,U),U&&typeof U==="object"&&"id"in U)this._idmap.set(U.id,$);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove($){let I=this._map.get($);if(I&&typeof I==="object"&&"id"in I)this._idmap.delete(I.id);return this._map.delete($),this}get($){let I=$._zod.parent;if(I){let U={...this.get(I)??{}};delete U.id;let Y={...U,...this._map.get($)};return Object.keys(Y).length?Y:void 0}return this._map.get($)}has($){return this._map.has($)}}function KH(){return new iF}(ok=globalThis).__zod_globalRegistry??(ok.__zod_globalRegistry=KH());var d4=globalThis.__zod_globalRegistry;function nF($,I){return new $({type:"string",...L0(I)})}function pF($,I){return new $({type:"string",coerce:!0,...L0(I)})}function qH($,I){return new $({type:"string",format:"email",check:"string_format",abort:!1,...L0(I)})}function IQ($,I){return new $({type:"string",format:"guid",check:"string_format",abort:!1,...L0(I)})}function GH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,...L0(I)})}function HH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...L0(I)})}function WH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...L0(I)})}function VH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...L0(I)})}function UQ($,I){return new $({type:"string",format:"url",check:"string_format",abort:!1,...L0(I)})}function ZH($,I){return new $({type:"string",format:"emoji",check:"string_format",abort:!1,...L0(I)})}function zH($,I){return new $({type:"string",format:"nanoid",check:"string_format",abort:!1,...L0(I)})}function XH($,I){return new $({type:"string",format:"cuid",check:"string_format",abort:!1,...L0(I)})}function wH($,I){return new $({type:"string",format:"cuid2",check:"string_format",abort:!1,...L0(I)})}function LH($,I){return new $({type:"string",format:"ulid",check:"string_format",abort:!1,...L0(I)})}function DH($,I){return new $({type:"string",format:"xid",check:"string_format",abort:!1,...L0(I)})}function OH($,I){return new $({type:"string",format:"ksuid",check:"string_format",abort:!1,...L0(I)})}function NH($,I){return new $({type:"string",format:"ipv4",check:"string_format",abort:!1,...L0(I)})}function FH($,I){return new $({type:"string",format:"ipv6",check:"string_format",abort:!1,...L0(I)})}function cF($,I){return new $({type:"string",format:"mac",check:"string_format",abort:!1,...L0(I)})}function MH($,I){return new $({type:"string",format:"cidrv4",check:"string_format",abort:!1,...L0(I)})}function AH($,I){return new $({type:"string",format:"cidrv6",check:"string_format",abort:!1,...L0(I)})}function PH($,I){return new $({type:"string",format:"base64",check:"string_format",abort:!1,...L0(I)})}function TH($,I){return new $({type:"string",format:"base64url",check:"string_format",abort:!1,...L0(I)})}function EH($,I){return new $({type:"string",format:"e164",check:"string_format",abort:!1,...L0(I)})}function BH($,I){return new $({type:"string",format:"jwt",check:"string_format",abort:!1,...L0(I)})}var dF={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function mF($,I){return new $({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...L0(I)})}function lF($,I){return new $({type:"string",format:"date",check:"string_format",...L0(I)})}function oF($,I){return new $({type:"string",format:"time",check:"string_format",precision:null,...L0(I)})}function rF($,I){return new $({type:"string",format:"duration",check:"string_format",...L0(I)})}function tF($,I){return new $({type:"number",checks:[],...L0(I)})}function aF($,I){return new $({type:"number",coerce:!0,checks:[],...L0(I)})}function sF($,I){return new $({type:"number",check:"number_format",abort:!1,format:"safeint",...L0(I)})}function eF($,I){return new $({type:"number",check:"number_format",abort:!1,format:"float32",...L0(I)})}function $M($,I){return new $({type:"number",check:"number_format",abort:!1,format:"float64",...L0(I)})}function IM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"int32",...L0(I)})}function UM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"uint32",...L0(I)})}function YM($,I){return new $({type:"boolean",...L0(I)})}function JM($,I){return new $({type:"boolean",coerce:!0,...L0(I)})}function QM($,I){return new $({type:"bigint",...L0(I)})}function KM($,I){return new $({type:"bigint",coerce:!0,...L0(I)})}function qM($,I){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...L0(I)})}function GM($,I){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...L0(I)})}function HM($,I){return new $({type:"symbol",...L0(I)})}function WM($,I){return new $({type:"undefined",...L0(I)})}function VM($,I){return new $({type:"null",...L0(I)})}function ZM($){return new $({type:"any"})}function zM($){return new $({type:"unknown"})}function XM($,I){return new $({type:"never",...L0(I)})}function wM($,I){return new $({type:"void",...L0(I)})}function LM($,I){return new $({type:"date",...L0(I)})}function DM($,I){return new $({type:"date",coerce:!0,...L0(I)})}function OM($,I){return new $({type:"nan",...L0(I)})}function K8($,I){return new oG({check:"less_than",...L0(I),value:$,inclusive:!1})}function $$($,I){return new oG({check:"less_than",...L0(I),value:$,inclusive:!0})}function q8($,I){return new rG({check:"greater_than",...L0(I),value:$,inclusive:!1})}function P6($,I){return new rG({check:"greater_than",...L0(I),value:$,inclusive:!0})}function RH($){return q8(0,$)}function vH($){return K8(0,$)}function CH($){return $$(0,$)}function jH($){return P6(0,$)}function r5($,I){return new wO({check:"multiple_of",...L0(I),value:$})}function t5($,I){return new OO({check:"max_size",...L0(I),maximum:$})}function G8($,I){return new NO({check:"min_size",...L0(I),minimum:$})}function P7($,I){return new FO({check:"size_equals",...L0(I),size:$})}function T7($,I){return new MO({check:"max_length",...L0(I),maximum:$})}function o8($,I){return new AO({check:"min_length",...L0(I),minimum:$})}function E7($,I){return new PO({check:"length_equals",...L0(I),length:$})}function AI($,I){return new TO({check:"string_format",format:"regex",...L0(I),pattern:$})}function PI($){return new EO({check:"string_format",format:"lowercase",...L0($)})}function TI($){return new BO({check:"string_format",format:"uppercase",...L0($)})}function EI($,I){return new RO({check:"string_format",format:"includes",...L0(I),includes:$})}function BI($,I){return new vO({check:"string_format",format:"starts_with",...L0(I),prefix:$})}function RI($,I){return new CO({check:"string_format",format:"ends_with",...L0(I),suffix:$})}function _H($,I,U){return new jO({check:"property",property:$,schema:I,...L0(U)})}function vI($,I){return new _O({check:"mime_type",mime:$,...L0(I)})}function u$($){return new SO({check:"overwrite",tx:$})}function CI($){return u$((I)=>I.normalize($))}function jI(){return u$(($)=>$.trim())}function _I(){return u$(($)=>$.toLowerCase())}function SI(){return u$(($)=>$.toUpperCase())}function gI(){return u$(($)=>jD($))}function NM($,I,U){return new $({type:"array",element:I,...L0(U)})}function zD0($,I,U){return new $({type:"union",options:I,...L0(U)})}function XD0($,I,U){return new $({type:"union",options:I,inclusive:!1,...L0(U)})}function wD0($,I,U,Y){return new $({type:"union",options:U,discriminator:I,...L0(Y)})}function LD0($,I,U){return new $({type:"intersection",left:I,right:U})}function DD0($,I,U,Y){let J=U instanceof i0;return new $({type:"tuple",items:I,rest:J?U:null,...L0(J?Y:U)})}function OD0($,I,U,Y){return new $({type:"record",keyType:I,valueType:U,...L0(Y)})}function ND0($,I,U,Y){return new $({type:"map",keyType:I,valueType:U,...L0(Y)})}function FD0($,I,U){return new $({type:"set",valueType:I,...L0(U)})}function MD0($,I,U){let Y=Array.isArray(I)?Object.fromEntries(I.map((J)=>[J,J])):I;return new $({type:"enum",entries:Y,...L0(U)})}function AD0($,I,U){return new $({type:"enum",entries:I,...L0(U)})}function PD0($,I,U){return new $({type:"literal",values:Array.isArray(I)?I:[I],...L0(U)})}function FM($,I){return new $({type:"file",...L0(I)})}function TD0($,I){return new $({type:"transform",transform:I})}function ED0($,I){return new $({type:"optional",innerType:I})}function BD0($,I){return new $({type:"nullable",innerType:I})}function RD0($,I,U){return new $({type:"default",innerType:I,get defaultValue(){return typeof U==="function"?U():SD(U)}})}function vD0($,I,U){return new $({type:"nonoptional",innerType:I,...L0(U)})}function CD0($,I){return new $({type:"success",innerType:I})}function jD0($,I,U){return new $({type:"catch",innerType:I,catchValue:typeof U==="function"?U:()=>U})}function _D0($,I,U){return new $({type:"pipe",in:I,out:U})}function SD0($,I){return new $({type:"readonly",innerType:I})}function gD0($,I,U){return new $({type:"template_literal",parts:I,...L0(U)})}function yD0($,I){return new $({type:"lazy",getter:I})}function hD0($,I){return new $({type:"promise",innerType:I})}function MM($,I,U){let Y=L0(U);return Y.abort??(Y.abort=!0),new $({type:"custom",check:"custom",fn:I,...Y})}function AM($,I,U){return new $({type:"custom",check:"custom",fn:I,...L0(U)})}function PM($,I){let U=rk((Y)=>{return Y.addIssue=(J)=>{if(typeof J==="string")Y.issues.push(XI(J,Y.value,U._zod.def));else{let Q=J;if(Q.fatal)Q.continue=!1;Q.code??(Q.code="custom"),Q.input??(Q.input=Y.value),Q.inst??(Q.inst=U),Q.continue??(Q.continue=!U._zod.def.abort),Y.issues.push(XI(Q))}},$(Y.value,Y)},I);return U}function rk($,I){let U=new k1({check:"custom",...L0(I)});return U._zod.check=$,U}function TM($){let I=new k1({check:"describe"});return I._zod.onattach=[(U)=>{let Y=d4.get(U)??{};d4.add(U,{...Y,description:$})}],I._zod.check=()=>{},I}function EM($){let I=new k1({check:"meta"});return I._zod.onattach=[(U)=>{let Y=d4.get(U)??{};d4.add(U,{...Y,...$})}],I._zod.check=()=>{},I}function BM($,I){let U=L0(I),Y=U.truthy??["true","1","yes","on","y","enabled"],J=U.falsy??["false","0","no","off","n","disabled"];if(U.case!=="sensitive")Y=Y.map((Z)=>typeof Z==="string"?Z.toLowerCase():Z),J=J.map((Z)=>typeof Z==="string"?Z.toLowerCase():Z);let Q=new Set(Y),K=new Set(J),q=$.Codec??rJ,G=$.Boolean??lJ,W=new($.String??A7)({type:"string",error:U.error}),V=new G({type:"boolean",error:U.error}),z=new q({type:"pipe",in:W,out:V,transform:(Z,w)=>{let L=Z;if(U.case!=="sensitive")L=L.toLowerCase();if(Q.has(L))return!0;else if(K.has(L))return!1;else return w.issues.push({code:"invalid_value",expected:"stringbool",values:[...Q,...K],input:w.value,inst:z,continue:!1}),{}},reverseTransform:(Z,w)=>{if(Z===!0)return Y[0]||"true";else return J[0]||"false"},error:U.error});return z}function yI($,I,U,Y={}){let J=L0(Y),Q={...L0(Y),check:"string_format",type:"string",format:I,fn:typeof U==="function"?U:(q)=>U.test(q),...J};if(U instanceof RegExp)Q.pattern=U;return new $(Q)}function a5($){let I=$?.target??"draft-2020-12";if(I==="draft-4")I="draft-04";if(I==="draft-7")I="draft-07";return{processors:$.processors??{},metadataRegistry:$?.metadata??d4,target:I,unrepresentable:$?.unrepresentable??"throw",override:$?.override??(()=>{}),io:$?.io??"output",counter:0,seen:new Map,cycles:$?.cycles??"ref",reused:$?.reused??"inline",external:$?.external??void 0}}function C1($,I,U={path:[],schemaPath:[]}){var Y;let J=$._zod.def,Q=I.seen.get($);if(Q){if(Q.count++,U.schemaPath.includes($))Q.cycle=U.path;return Q.schema}let K={schema:{},count:1,cycle:void 0,path:U.path};I.seen.set($,K);let q=$._zod.toJSONSchema?.();if(q)K.schema=q;else{let W={...U,schemaPath:[...U.schemaPath,$],path:U.path};if($._zod.processJSONSchema)$._zod.processJSONSchema(I,K.schema,W);else{let z=K.schema,Z=I.processors[J.type];if(!Z)throw Error(`[toJSONSchema]: Non-representable type encountered: ${J.type}`);Z($,I,z,W)}let V=$._zod.parent;if(V){if(!K.ref)K.ref=V;C1(V,I,W),I.seen.get(V).isParent=!0}}let G=I.metadataRegistry.get($);if(G)Object.assign(K.schema,G);if(I.io==="input"&&T6($))delete K.schema.examples,delete K.schema.default;if(I.io==="input"&&"_prefault"in K.schema)(Y=K.schema).default??(Y.default=K.schema._prefault);return delete K.schema._prefault,I.seen.get($).schema}function s5($,I){let U=$.seen.get(I);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let Y=new Map;for(let K of $.seen.entries()){let q=$.metadataRegistry.get(K[0])?.id;if(q){let G=Y.get(q);if(G&&G!==K[0])throw Error(`Duplicate schema id "${q}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);Y.set(q,K[0])}}let J=(K)=>{let q=$.target==="draft-2020-12"?"$defs":"definitions";if($.external){let V=$.external.registry.get(K[0])?.id,z=$.external.uri??((w)=>w);if(V)return{ref:z(V)};let Z=K[1].defId??K[1].schema.id??`schema${$.counter++}`;return K[1].defId=Z,{defId:Z,ref:`${z("__shared")}#/${q}/${Z}`}}if(K[1]===U)return{ref:"#"};let H=`${"#"}/${q}/`,W=K[1].schema.id??`__schema${$.counter++}`;return{defId:W,ref:H+W}},Q=(K)=>{if(K[1].schema.$ref)return;let q=K[1],{ref:G,defId:H}=J(K);if(q.def={...q.schema},H)q.defId=H;let W=q.schema;for(let V in W)delete W[V];W.$ref=G};if($.cycles==="throw")for(let K of $.seen.entries()){let q=K[1];if(q.cycle)throw Error(`Cycle detected: #/${q.cycle?.join("/")}/ + `)}Z.write("payload.value = newResult;"),Z.write("return payload;");let E=Z.compile();return(T,A)=>E(w,T,A)},Q,K=A7,q=!N7.jitless,H=q&&cD.value,W=I.catchall,V;$._zod.parse=(w,Z)=>{V??(V=Y.value);let z=w.value;if(!K(z))return w.issues.push({expected:"object",code:"invalid_type",input:z,inst:$}),w;if(q&&H&&Z?.async===!1&&Z.jitless!==!0){if(!Q)Q=J(I.shape);if(w=Q(w,Z),!W)return w;return Ju([],z,w,Z,V,$)}return U(w,Z)}});function nk($,I,U,Y){for(let Q of $)if(Q.issues.length===0)return I.value=Q.value,I;let J=$.filter((Q)=>!t5(Q));if(J.length===1)return I.value=J[0].value,J[0];return I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:$.map((Q)=>Q.issues.map((K)=>A6(K,Y,w4())))}),I}var aJ=o("$ZodUnion",($,I)=>{i0.init($,I),e0($._zod,"optin",()=>I.options.some((Y)=>Y._zod.optin==="optional")?"optional":void 0),e0($._zod,"optout",()=>I.options.some((Y)=>Y._zod.optout==="optional")?"optional":void 0),e0($._zod,"values",()=>{if(I.options.every((Y)=>Y._zod.values))return new Set(I.options.flatMap((Y)=>Array.from(Y._zod.values)));return}),e0($._zod,"pattern",()=>{if(I.options.every((Y)=>Y._zod.pattern)){let Y=I.options.map((J)=>J._zod.pattern);return new RegExp(`^(${Y.map((J)=>kJ(J.source)).join("|")})$`)}return});let U=I.options.length===1?I.options[0]._zod.run:null;$._zod.parse=(Y,J)=>{if(U)return U(Y,J);let Q=!1,K=[];for(let q of I.options){let G=q._zod.run({value:Y.value,issues:[]},J);if(G instanceof Promise)K.push(G),Q=!0;else{if(G.issues.length===0)return G;K.push(G)}}if(!Q)return nk(K,Y,$,J);return Promise.all(K).then((q)=>{return nk(q,Y,$,J)})}});function pk($,I,U,Y){let J=$.filter((Q)=>Q.issues.length===0);if(J.length===1)return I.value=J[0].value,I;if(J.length===0)I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:$.map((Q)=>Q.issues.map((K)=>A6(K,Y,w4())))});else I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:[],inclusive:!1});return I}var SF=o("$ZodXor",($,I)=>{aJ.init($,I),I.inclusive=!1;let U=I.options.length===1?I.options[0]._zod.run:null;$._zod.parse=(Y,J)=>{if(U)return U(Y,J);let Q=!1,K=[];for(let q of I.options){let G=q._zod.run({value:Y.value,issues:[]},J);if(G instanceof Promise)K.push(G),Q=!0;else K.push(G)}if(!Q)return pk(K,Y,$,J);return Promise.all(K).then((q)=>{return pk(q,Y,$,J)})}}),gF=o("$ZodDiscriminatedUnion",($,I)=>{I.inclusive=!1,aJ.init($,I);let U=$._zod.parse;e0($._zod,"propValues",()=>{let J={};for(let Q of I.options){let K=Q._zod.propValues;if(!K||Object.keys(K).length===0)throw Error(`Invalid discriminated union option at index "${I.options.indexOf(Q)}"`);for(let[q,G]of Object.entries(K)){if(!J[q])J[q]=new Set;for(let H of G)J[q].add(H)}}return J});let Y=zI(()=>{let J=I.options,Q=new Map;for(let K of J){let q=K._zod.propValues?.[I.discriminator];if(!q||q.size===0)throw Error(`Invalid discriminated union option at index "${I.options.indexOf(K)}"`);for(let G of q){if(Q.has(G))throw Error(`Duplicate discriminator value "${String(G)}"`);Q.set(G,K)}}return Q});$._zod.parse=(J,Q)=>{let K=J.value;if(!A7(K))return J.issues.push({code:"invalid_type",expected:"object",input:K,inst:$}),J;let q=Y.value.get(K?.[I.discriminator]);if(q)return q._zod.run(J,Q);if(I.unionFallback||Q.direction==="backward")return U(J,Q);return J.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:I.discriminator,options:Array.from(Y.value.keys()),input:K,path:[I.discriminator],inst:$}),J}}),yF=o("$ZodIntersection",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value,Q=I.left._zod.run({value:J,issues:[]},Y),K=I.right._zod.run({value:J,issues:[]},Y);if(Q instanceof Promise||K instanceof Promise)return Promise.all([Q,K]).then(([G,H])=>{return ck(U,G,H)});return ck(U,Q,K)}});function lO($,I){if($===I)return{valid:!0,data:$};if($ instanceof Date&&I instanceof Date&&+$===+I)return{valid:!0,data:$};if(r5($)&&r5(I)){let U=Object.keys(I),Y=Object.keys($).filter((Q)=>U.indexOf(Q)!==-1),J={...$,...I};for(let Q of Y){let K=lO($[Q],I[Q]);if(!K.valid)return{valid:!1,mergeErrorPath:[Q,...K.mergeErrorPath]};J[Q]=K.data}return{valid:!0,data:J}}if(Array.isArray($)&&Array.isArray(I)){if($.length!==I.length)return{valid:!1,mergeErrorPath:[]};let U=[];for(let Y=0;Y<$.length;Y++){let J=$[Y],Q=I[Y],K=lO(J,Q);if(!K.valid)return{valid:!1,mergeErrorPath:[Y,...K.mergeErrorPath]};U.push(K.data)}return{valid:!0,data:U}}return{valid:!1,mergeErrorPath:[]}}function ck($,I,U){let Y=new Map,J;for(let q of I.issues)if(q.code==="unrecognized_keys"){J??(J=q);for(let G of q.keys){if(!Y.has(G))Y.set(G,{});Y.get(G).l=!0}}else $.issues.push(q);for(let q of U.issues)if(q.code==="unrecognized_keys")for(let G of q.keys){if(!Y.has(G))Y.set(G,{});Y.get(G).r=!0}else $.issues.push(q);let Q=[...Y].filter(([,q])=>q.l&&q.r).map(([q])=>q);if(Q.length&&J)$.issues.push({...J,keys:Q});if(t5($))return $;let K=lO(I.value,U.value);if(!K.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(K.mergeErrorPath)}`);return $.value=K.data,$}var qH=o("$ZodTuple",($,I)=>{i0.init($,I);let U=I.items;$._zod.parse=(Y,J)=>{let Q=Y.value;if(!Array.isArray(Q))return Y.issues.push({input:Q,inst:$,expected:"tuple",code:"invalid_type"}),Y;Y.value=[];let K=[],q=dk(U,"optin"),G=dk(U,"optout");if(!I.rest){if(Q.lengthU.length)Y.issues.push({code:"too_big",maximum:U.length,inclusive:!0,input:Q,inst:$,origin:"array"})}let H=Array(U.length);for(let W=0;W{H[W]=w}));else H[W]=V}if(I.rest){let W=U.length-1,V=Q.slice(U.length);for(let w of V){W++;let Z=I.rest._zod.run({value:w,issues:[]},J);if(Z instanceof Promise)K.push(Z.then((z)=>mk(z,Y,W)));else mk(Z,Y,W)}}if(K.length)return Promise.all(K).then(()=>lk(H,Y,U,Q,G));return lk(H,Y,U,Q,G)}});function dk($,I){for(let U=$.length-1;U>=0;U--)if($[U]._zod[I]!=="optional")return U+1;return 0}function mk($,I,U){if($.issues.length)I.issues.push(...h6(U,$.issues));I.value[U]=$.value}function lk($,I,U,Y,J){for(let Q=0;Q=J){I.value.length=Q;break}I.issues.push(...h6(Q,K.issues))}I.value[Q]=K.value}for(let Q=I.value.length-1;Q>=Y.length;Q--)if(U[Q]._zod.optout==="optional"&&I.value[Q]===void 0)I.value.length=Q;else break;return I}var hF=o("$ZodRecord",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!r5(J))return U.issues.push({expected:"record",code:"invalid_type",input:J,inst:$}),U;let Q=[],K=I.keyType._zod.values;if(K){U.value={};let q=new Set;for(let H of K)if(typeof H==="string"||typeof H==="number"||typeof H==="symbol"){q.add(typeof H==="number"?H.toString():H);let W=I.keyType._zod.run({value:H,issues:[]},Y);if(W instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(W.issues.length){U.issues.push({code:"invalid_key",origin:"record",issues:W.issues.map((Z)=>A6(Z,Y,w4())),input:H,path:[H],inst:$});continue}let V=W.value,w=I.valueType._zod.run({value:J[H],issues:[]},Y);if(w instanceof Promise)Q.push(w.then((Z)=>{if(Z.issues.length)U.issues.push(...h6(H,Z.issues));U.value[V]=Z.value}));else{if(w.issues.length)U.issues.push(...h6(H,w.issues));U.value[V]=w.value}}let G;for(let H in J)if(!q.has(H))G=G??[],G.push(H);if(G&&G.length>0)U.issues.push({code:"unrecognized_keys",input:J,inst:$,keys:G})}else{U.value={};for(let q of Reflect.ownKeys(J)){if(q==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(J,q))continue;let G=I.keyType._zod.run({value:q,issues:[]},Y);if(G instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof q==="string"&&lJ.test(q)&&G.issues.length){let V=I.keyType._zod.run({value:Number(q),issues:[]},Y);if(V instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(V.issues.length===0)G=V}if(G.issues.length){if(I.mode==="loose")U.value[q]=J[q];else U.issues.push({code:"invalid_key",origin:"record",issues:G.issues.map((V)=>A6(V,Y,w4())),input:q,path:[q],inst:$});continue}let W=I.valueType._zod.run({value:J[q],issues:[]},Y);if(W instanceof Promise)Q.push(W.then((V)=>{if(V.issues.length)U.issues.push(...h6(q,V.issues));U.value[G.value]=V.value}));else{if(W.issues.length)U.issues.push(...h6(q,W.issues));U.value[G.value]=W.value}}}if(Q.length)return Promise.all(Q).then(()=>U);return U}}),xF=o("$ZodMap",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!(J instanceof Map))return U.issues.push({expected:"map",code:"invalid_type",input:J,inst:$}),U;let Q=[];U.value=new Map;for(let[K,q]of J){let G=I.keyType._zod.run({value:K,issues:[]},Y),H=I.valueType._zod.run({value:q,issues:[]},Y);if(G instanceof Promise||H instanceof Promise)Q.push(Promise.all([G,H]).then(([W,V])=>{ok(W,V,U,K,J,$,Y)}));else ok(G,H,U,K,J,$,Y)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function ok($,I,U,Y,J,Q,K){if($.issues.length)if(uJ.has(typeof Y))U.issues.push(...h6(Y,$.issues));else U.issues.push({code:"invalid_key",origin:"map",input:J,inst:Q,issues:$.issues.map((q)=>A6(q,K,w4()))});if(I.issues.length)if(uJ.has(typeof Y))U.issues.push(...h6(Y,I.issues));else U.issues.push({origin:"map",code:"invalid_element",input:J,inst:Q,key:Y,issues:I.issues.map((q)=>A6(q,K,w4()))});U.value.set($.value,I.value)}var kF=o("$ZodSet",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!(J instanceof Set))return U.issues.push({input:J,inst:$,expected:"set",code:"invalid_type"}),U;let Q=[];U.value=new Set;for(let K of J){let q=I.valueType._zod.run({value:K,issues:[]},Y);if(q instanceof Promise)Q.push(q.then((G)=>rk(G,U)));else rk(q,U)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function rk($,I){if($.issues.length)I.issues.push(...$.issues);I.value.add($.value)}var uF=o("$ZodEnum",($,I)=>{i0.init($,I);let U=xJ(I.entries),Y=new Set(U);$._zod.values=Y,$._zod.pattern=new RegExp(`^(${U.filter((J)=>uJ.has(typeof J)).map((J)=>typeof J==="string"?z$(J):J.toString()).join("|")})$`),$._zod.parse=(J,Q)=>{let K=J.value;if(Y.has(K))return J;return J.issues.push({code:"invalid_value",values:U,input:K,inst:$}),J}}),fF=o("$ZodLiteral",($,I)=>{if(i0.init($,I),I.values.length===0)throw Error("Cannot create literal schema with no valid values");let U=new Set(I.values);$._zod.values=U,$._zod.pattern=new RegExp(`^(${I.values.map((Y)=>typeof Y==="string"?z$(Y):Y?z$(Y.toString()):String(Y)).join("|")})$`),$._zod.parse=(Y,J)=>{let Q=Y.value;if(U.has(Q))return Y;return Y.issues.push({code:"invalid_value",values:I.values,input:Q,inst:$}),Y}}),bF=o("$ZodFile",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(J instanceof File)return U;return U.issues.push({expected:"file",code:"invalid_type",input:J,inst:$}),U}}),iF=o("$ZodTransform",($,I)=>{i0.init($,I),$._zod.optin="optional",$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new M7($.constructor.name);let J=I.transform(U.value,U);if(Y.async)return(J instanceof Promise?J:Promise.resolve(J)).then((K)=>{return U.value=K,U.fallback=!0,U});if(J instanceof Promise)throw new K8;return U.value=J,U.fallback=!0,U}});function tk($,I){if(I===void 0&&($.issues.length||$.fallback))return{issues:[],value:void 0};return $}var GH=o("$ZodOptional",($,I)=>{i0.init($,I),$._zod.optin="optional",$._zod.optout="optional",e0($._zod,"values",()=>{return I.innerType._zod.values?new Set([...I.innerType._zod.values,void 0]):void 0}),e0($._zod,"pattern",()=>{let U=I.innerType._zod.pattern;return U?new RegExp(`^(${kJ(U.source)})?$`):void 0}),$._zod.parse=(U,Y)=>{if(I.innerType._zod.optin==="optional"){let J=U.value,Q=I.innerType._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>tk(K,J));return tk(Q,J)}if(U.value===void 0)return U;return I.innerType._zod.run(U,Y)}}),nF=o("$ZodExactOptional",($,I)=>{GH.init($,I),e0($._zod,"values",()=>I.innerType._zod.values),e0($._zod,"pattern",()=>I.innerType._zod.pattern),$._zod.parse=(U,Y)=>{return I.innerType._zod.run(U,Y)}}),pF=o("$ZodNullable",($,I)=>{i0.init($,I),e0($._zod,"optin",()=>I.innerType._zod.optin),e0($._zod,"optout",()=>I.innerType._zod.optout),e0($._zod,"pattern",()=>{let U=I.innerType._zod.pattern;return U?new RegExp(`^(${kJ(U.source)}|null)$`):void 0}),e0($._zod,"values",()=>{return I.innerType._zod.values?new Set([...I.innerType._zod.values,null]):void 0}),$._zod.parse=(U,Y)=>{if(U.value===null)return U;return I.innerType._zod.run(U,Y)}}),cF=o("$ZodDefault",($,I)=>{i0.init($,I),$._zod.optin="optional",e0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);if(U.value===void 0)return U.value=I.defaultValue,U;let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>ak(Q,I));return ak(J,I)}});function ak($,I){if($.value===void 0)$.value=I.defaultValue;return $}var dF=o("$ZodPrefault",($,I)=>{i0.init($,I),$._zod.optin="optional",e0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);if(U.value===void 0)U.value=I.defaultValue;return I.innerType._zod.run(U,Y)}}),mF=o("$ZodNonOptional",($,I)=>{i0.init($,I),e0($._zod,"values",()=>{let U=I.innerType._zod.values;return U?new Set([...U].filter((Y)=>Y!==void 0)):void 0}),$._zod.parse=(U,Y)=>{let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>sk(Q,$));return sk(J,$)}});function sk($,I){if(!$.issues.length&&$.value===void 0)$.issues.push({code:"invalid_type",expected:"nonoptional",input:$.value,inst:I});return $}var lF=o("$ZodSuccess",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new M7("ZodSuccess");let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>{return U.value=Q.issues.length===0,U});return U.value=J.issues.length===0,U}}),oF=o("$ZodCatch",($,I)=>{i0.init($,I),$._zod.optin="optional",e0($._zod,"optout",()=>I.innerType._zod.optout),e0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>{if(U.value=Q.value,Q.issues.length)U.value=I.catchValue({...U,error:{issues:Q.issues.map((K)=>A6(K,Y,w4()))},input:U.value}),U.issues=[],U.fallback=!0;return U});if(U.value=J.value,J.issues.length)U.value=I.catchValue({...U,error:{issues:J.issues.map((Q)=>A6(Q,Y,w4()))},input:U.value}),U.issues=[],U.fallback=!0;return U}}),rF=o("$ZodNaN",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(typeof U.value!=="number"||!Number.isNaN(U.value))return U.issues.push({input:U.value,inst:$,expected:"nan",code:"invalid_type"}),U;return U}}),HH=o("$ZodPipe",($,I)=>{i0.init($,I),e0($._zod,"values",()=>I.in._zod.values),e0($._zod,"optin",()=>I.in._zod.optin),e0($._zod,"optout",()=>I.out._zod.optout),e0($._zod,"propValues",()=>I.in._zod.propValues),$._zod.parse=(U,Y)=>{if(Y.direction==="backward"){let Q=I.out._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>IH(K,I.in,Y));return IH(Q,I.in,Y)}let J=I.in._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>IH(Q,I.out,Y));return IH(J,I.out,Y)}});function IH($,I,U){if($.issues.length)return $.aborted=!0,$;return I._zod.run({value:$.value,issues:$.issues,fallback:$.fallback},U)}var sJ=o("$ZodCodec",($,I)=>{i0.init($,I),e0($._zod,"values",()=>I.in._zod.values),e0($._zod,"optin",()=>I.in._zod.optin),e0($._zod,"optout",()=>I.out._zod.optout),e0($._zod,"propValues",()=>I.in._zod.propValues),$._zod.parse=(U,Y)=>{if((Y.direction||"forward")==="forward"){let Q=I.in._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>UH(K,I,Y));return UH(Q,I,Y)}else{let Q=I.out._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>UH(K,I,Y));return UH(Q,I,Y)}}});function UH($,I,U){if($.issues.length)return $.aborted=!0,$;if((U.direction||"forward")==="forward"){let J=I.transform($.value,$);if(J instanceof Promise)return J.then((Q)=>YH($,Q,I.out,U));return YH($,J,I.out,U)}else{let J=I.reverseTransform($.value,$);if(J instanceof Promise)return J.then((Q)=>YH($,Q,I.in,U));return YH($,J,I.in,U)}}function YH($,I,U,Y){if($.issues.length)return $.aborted=!0,$;return U._zod.run({value:I,issues:$.issues},Y)}var tF=o("$ZodPreprocess",($,I)=>{HH.init($,I)}),aF=o("$ZodReadonly",($,I)=>{i0.init($,I),e0($._zod,"propValues",()=>I.innerType._zod.propValues),e0($._zod,"values",()=>I.innerType._zod.values),e0($._zod,"optin",()=>I.innerType?._zod?.optin),e0($._zod,"optout",()=>I.innerType?._zod?.optout),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then(ek);return ek(J)}});function ek($){return $.value=Object.freeze($.value),$}var sF=o("$ZodTemplateLiteral",($,I)=>{i0.init($,I);let U=[];for(let Y of I.parts)if(typeof Y==="object"&&Y!==null){if(!Y._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...Y._zod.traits].shift()}`);let J=Y._zod.pattern instanceof RegExp?Y._zod.pattern.source:Y._zod.pattern;if(!J)throw Error(`Invalid template literal part: ${Y._zod.traits}`);let Q=J.startsWith("^")?1:0,K=J.endsWith("$")?J.length-1:J.length;U.push(J.slice(Q,K))}else if(Y===null||mD.has(typeof Y))U.push(z$(`${Y}`));else throw Error(`Invalid template literal part: ${Y}`);$._zod.pattern=new RegExp(`^${U.join("")}$`),$._zod.parse=(Y,J)=>{if(typeof Y.value!=="string")return Y.issues.push({input:Y.value,inst:$,expected:"string",code:"invalid_type"}),Y;if($._zod.pattern.lastIndex=0,!$._zod.pattern.test(Y.value))return Y.issues.push({input:Y.value,inst:$,code:"invalid_format",format:I.format??"template_literal",pattern:$._zod.pattern.source}),Y;return Y}}),eF=o("$ZodFunction",($,I)=>{return i0.init($,I),$._def=I,$._zod.def=I,$.implement=(U)=>{if(typeof U!=="function")throw Error("implement() must be called with a function");return function(...Y){let J=$._def.input?cJ($._def.input,Y):Y,Q=Reflect.apply(U,this,J);if($._def.output)return cJ($._def.output,Q);return Q}},$.implementAsync=(U)=>{if(typeof U!=="function")throw Error("implementAsync() must be called with a function");return async function(...Y){let J=$._def.input?await dJ($._def.input,Y):Y,Q=await Reflect.apply(U,this,J);if($._def.output)return await dJ($._def.output,Q);return Q}},$._zod.parse=(U,Y)=>{if(typeof U.value!=="function")return U.issues.push({code:"invalid_type",expected:"function",input:U.value,inst:$}),U;if($._def.output&&$._def.output._zod.def.type==="promise")U.value=$.implementAsync(U.value);else U.value=$.implement(U.value);return U},$.input=(...U)=>{let Y=$.constructor;if(Array.isArray(U[0]))return new Y({type:"function",input:new qH({type:"tuple",items:U[0],rest:U[1]}),output:$._def.output});return new Y({type:"function",input:U[0],output:$._def.output})},$.output=(U)=>{return new $.constructor({type:"function",input:$._def.input,output:U})},$}),$N=o("$ZodPromise",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{return Promise.resolve(U.value).then((J)=>I.innerType._zod.run({value:J,issues:[]},Y))}}),IN=o("$ZodLazy",($,I)=>{i0.init($,I),e0($._zod,"innerType",()=>{let U=I;if(!U._cachedInner)U._cachedInner=I.getter();return U._cachedInner}),e0($._zod,"pattern",()=>$._zod.innerType?._zod?.pattern),e0($._zod,"propValues",()=>$._zod.innerType?._zod?.propValues),e0($._zod,"optin",()=>$._zod.innerType?._zod?.optin??void 0),e0($._zod,"optout",()=>$._zod.innerType?._zod?.optout??void 0),$._zod.parse=(U,Y)=>{return $._zod.innerType._zod.run(U,Y)}}),UN=o("$ZodCustom",($,I)=>{k1.init($,I),i0.init($,I),$._zod.parse=(U,Y)=>{return U},$._zod.check=(U)=>{let Y=U.value,J=I.fn(Y);if(J instanceof Promise)return J.then((Q)=>$u(Q,U,Y,$));$u(J,U,Y,$);return}});function $u($,I,U,Y){if(!$){let J={code:"custom",input:U,inst:Y,path:[...Y._zod.def.path??[]],continue:!Y._zod.def.abort};if(Y._zod.def.params)J.params=Y._zod.def.params;I.issues.push(LI(J))}}var YQ={};o8(YQ,{zhTW:()=>tN,zhCN:()=>rN,yo:()=>aN,vi:()=>oN,uz:()=>lN,ur:()=>mN,uk:()=>UQ,ua:()=>dN,tr:()=>cN,th:()=>pN,ta:()=>nN,sv:()=>iN,sl:()=>bN,ru:()=>fN,ro:()=>uN,pt:()=>kN,ps:()=>hN,pl:()=>xN,ota:()=>yN,no:()=>gN,nl:()=>SN,ms:()=>_N,mk:()=>jN,lt:()=>CN,ko:()=>RN,km:()=>$Q,kh:()=>vN,ka:()=>BN,ja:()=>EN,it:()=>TN,is:()=>PN,id:()=>AN,hy:()=>MN,hu:()=>NN,hr:()=>FN,he:()=>ON,frCA:()=>DN,fr:()=>LN,fi:()=>zN,fa:()=>XN,es:()=>ZN,eo:()=>wN,en:()=>eJ,el:()=>VN,de:()=>WN,da:()=>HN,cs:()=>GN,ca:()=>qN,bg:()=>KN,be:()=>QN,az:()=>JN,ar:()=>YN});var JD0=()=>{let $={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function I(J){return $[J]??null}let U={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${J.expected}، ولكن تم إدخال ${q}`;return`مدخلات غير مقبولة: يفترض إدخال ${Q}، ولكن تم إدخال ${q}`}case"invalid_value":if(J.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${w0(J.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return` أكبر من اللازم: يفترض أن تكون ${J.origin??"القيمة"} ${Q} ${J.maximum.toString()} ${K.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${J.origin??"القيمة"} ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`أصغر من اللازم: يفترض لـ ${J.origin} أن يكون ${Q} ${J.minimum.toString()} ${K.unit}`;return`أصغر من اللازم: يفترض لـ ${J.origin} أن يكون ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${J.prefix}"`;if(Q.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${Q.suffix}"`;if(Q.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${Q.includes}"`;if(Q.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${Q.pattern}`;return`${U[Q.format]??J.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${J.divisor}`;case"unrecognized_keys":return`معرف${J.keys.length>1?"ات":""} غريب${J.keys.length>1?"ة":""}: ${I0(J.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${J.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${J.origin}`;default:return"مدخل غير مقبول"}}};function YN(){return{localeError:JD0()}}var QD0=()=>{let $={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function I(J){return $[J]??null}let U={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Yanlış dəyər: gözlənilən instanceof ${J.expected}, daxil olan ${q}`;return`Yanlış dəyər: gözlənilən ${Q}, daxil olan ${q}`}case"invalid_value":if(J.values.length===1)return`Yanlış dəyər: gözlənilən ${w0(J.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Çox böyük: gözlənilən ${J.origin??"dəyər"} ${Q}${J.maximum.toString()} ${K.unit??"element"}`;return`Çox böyük: gözlənilən ${J.origin??"dəyər"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Çox kiçik: gözlənilən ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`Çox kiçik: gözlənilən ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Yanlış mətn: "${Q.prefix}" ilə başlamalıdır`;if(Q.format==="ends_with")return`Yanlış mətn: "${Q.suffix}" ilə bitməlidir`;if(Q.format==="includes")return`Yanlış mətn: "${Q.includes}" daxil olmalıdır`;if(Q.format==="regex")return`Yanlış mətn: ${Q.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${U[Q.format]??J.format}`}case"not_multiple_of":return`Yanlış ədəd: ${J.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${J.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function JN(){return{localeError:QD0()}}function Ku($,I,U,Y){let J=Math.abs($),Q=J%10,K=J%100;if(K>=11&&K<=19)return Y;if(Q===1)return I;if(Q>=2&&Q<=4)return U;return Y}var KD0=()=>{let $={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function I(J){return $[J]??null}let U={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},Y={nan:"NaN",number:"лік",array:"масіў"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Няправільны ўвод: чакаўся instanceof ${J.expected}, атрымана ${q}`;return`Няправільны ўвод: чакаўся ${Q}, атрымана ${q}`}case"invalid_value":if(J.values.length===1)return`Няправільны ўвод: чакалася ${w0(J.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=Ku(q,K.unit.one,K.unit.few,K.unit.many);return`Занадта вялікі: чакалася, што ${J.origin??"значэнне"} павінна ${K.verb} ${Q}${J.maximum.toString()} ${G}`}return`Занадта вялікі: чакалася, што ${J.origin??"значэнне"} павінна быць ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=Ku(q,K.unit.one,K.unit.few,K.unit.many);return`Занадта малы: чакалася, што ${J.origin} павінна ${K.verb} ${Q}${J.minimum.toString()} ${G}`}return`Занадта малы: чакалася, што ${J.origin} павінна быць ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${Q.prefix}"`;if(Q.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${Q.suffix}"`;if(Q.format==="includes")return`Няправільны радок: павінен змяшчаць "${Q.includes}"`;if(Q.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${Q.pattern}`;return`Няправільны ${U[Q.format]??J.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${J.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${J.keys.length>1?"ключы":"ключ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${J.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${J.origin}`;default:return"Няправільны ўвод"}}};function QN(){return{localeError:KD0()}}var qD0=()=>{let $={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function I(J){return $[J]??null}let U={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},Y={nan:"NaN",number:"число",array:"масив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Невалиден вход: очакван instanceof ${J.expected}, получен ${q}`;return`Невалиден вход: очакван ${Q}, получен ${q}`}case"invalid_value":if(J.values.length===1)return`Невалиден вход: очакван ${w0(J.values[0])}`;return`Невалидна опция: очаквано едно от ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Твърде голямо: очаква се ${J.origin??"стойност"} да съдържа ${Q}${J.maximum.toString()} ${K.unit??"елемента"}`;return`Твърде голямо: очаква се ${J.origin??"стойност"} да бъде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Твърде малко: очаква се ${J.origin} да съдържа ${Q}${J.minimum.toString()} ${K.unit}`;return`Твърде малко: очаква се ${J.origin} да бъде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Невалиден низ: трябва да започва с "${Q.prefix}"`;if(Q.format==="ends_with")return`Невалиден низ: трябва да завършва с "${Q.suffix}"`;if(Q.format==="includes")return`Невалиден низ: трябва да включва "${Q.includes}"`;if(Q.format==="regex")return`Невалиден низ: трябва да съвпада с ${Q.pattern}`;let K="Невалиден";if(Q.format==="emoji")K="Невалидно";if(Q.format==="datetime")K="Невалидно";if(Q.format==="date")K="Невалидна";if(Q.format==="time")K="Невалидно";if(Q.format==="duration")K="Невалидна";return`${K} ${U[Q.format]??J.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${J.divisor}`;case"unrecognized_keys":return`Неразпознат${J.keys.length>1?"и":""} ключ${J.keys.length>1?"ове":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${J.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${J.origin}`;default:return"Невалиден вход"}}};function KN(){return{localeError:qD0()}}var GD0=()=>{let $={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function I(J){return $[J]??null}let U={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Tipus invàlid: s'esperava instanceof ${J.expected}, s'ha rebut ${q}`;return`Tipus invàlid: s'esperava ${Q}, s'ha rebut ${q}`}case"invalid_value":if(J.values.length===1)return`Valor invàlid: s'esperava ${w0(J.values[0])}`;return`Opció invàlida: s'esperava una de ${I0(J.values," o ")}`;case"too_big":{let Q=J.inclusive?"com a màxim":"menys de",K=I(J.origin);if(K)return`Massa gran: s'esperava que ${J.origin??"el valor"} contingués ${Q} ${J.maximum.toString()} ${K.unit??"elements"}`;return`Massa gran: s'esperava que ${J.origin??"el valor"} fos ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"com a mínim":"més de",K=I(J.origin);if(K)return`Massa petit: s'esperava que ${J.origin} contingués ${Q} ${J.minimum.toString()} ${K.unit}`;return`Massa petit: s'esperava que ${J.origin} fos ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Format invàlid: ha de començar amb "${Q.prefix}"`;if(Q.format==="ends_with")return`Format invàlid: ha d'acabar amb "${Q.suffix}"`;if(Q.format==="includes")return`Format invàlid: ha d'incloure "${Q.includes}"`;if(Q.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${Q.pattern}`;return`Format invàlid per a ${U[Q.format]??J.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${J.divisor}`;case"unrecognized_keys":return`Clau${J.keys.length>1?"s":""} no reconeguda${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${J.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${J.origin}`;default:return"Entrada invàlida"}}};function qN(){return{localeError:GD0()}}var HD0=()=>{let $={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function I(J){return $[J]??null}let U={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},Y={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Neplatný vstup: očekáváno instanceof ${J.expected}, obdrženo ${q}`;return`Neplatný vstup: očekáváno ${Q}, obdrženo ${q}`}case"invalid_value":if(J.values.length===1)return`Neplatný vstup: očekáváno ${w0(J.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Hodnota je příliš velká: ${J.origin??"hodnota"} musí mít ${Q}${J.maximum.toString()} ${K.unit??"prvků"}`;return`Hodnota je příliš velká: ${J.origin??"hodnota"} musí být ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Hodnota je příliš malá: ${J.origin??"hodnota"} musí mít ${Q}${J.minimum.toString()} ${K.unit??"prvků"}`;return`Hodnota je příliš malá: ${J.origin??"hodnota"} musí být ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neplatný řetězec: musí začínat na "${Q.prefix}"`;if(Q.format==="ends_with")return`Neplatný řetězec: musí končit na "${Q.suffix}"`;if(Q.format==="includes")return`Neplatný řetězec: musí obsahovat "${Q.includes}"`;if(Q.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${Q.pattern}`;return`Neplatný formát ${U[Q.format]??J.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${J.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${I0(J.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${J.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${J.origin}`;default:return"Neplatný vstup"}}};function GN(){return{localeError:HD0()}}var WD0=()=>{let $={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function I(J){return $[J]??null}let U={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ugyldigt input: forventede instanceof ${J.expected}, fik ${q}`;return`Ugyldigt input: forventede ${Q}, fik ${q}`}case"invalid_value":if(J.values.length===1)return`Ugyldig værdi: forventede ${w0(J.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`For stor: forventede ${q??"value"} ${K.verb} ${Q} ${J.maximum.toString()} ${K.unit??"elementer"}`;return`For stor: forventede ${q??"value"} havde ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`For lille: forventede ${q} ${K.verb} ${Q} ${J.minimum.toString()} ${K.unit}`;return`For lille: forventede ${q} havde ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ugyldig streng: skal starte med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ugyldig streng: skal ende med "${Q.suffix}"`;if(Q.format==="includes")return`Ugyldig streng: skal indeholde "${Q.includes}"`;if(Q.format==="regex")return`Ugyldig streng: skal matche mønsteret ${Q.pattern}`;return`Ugyldig ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${J.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${J.origin}`;default:return"Ugyldigt input"}}};function HN(){return{localeError:WD0()}}var VD0=()=>{let $={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function I(J){return $[J]??null}let U={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},Y={nan:"NaN",number:"Zahl",array:"Array"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ungültige Eingabe: erwartet instanceof ${J.expected}, erhalten ${q}`;return`Ungültige Eingabe: erwartet ${Q}, erhalten ${q}`}case"invalid_value":if(J.values.length===1)return`Ungültige Eingabe: erwartet ${w0(J.values[0])}`;return`Ungültige Option: erwartet eine von ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Zu groß: erwartet, dass ${J.origin??"Wert"} ${Q}${J.maximum.toString()} ${K.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${J.origin??"Wert"} ${Q}${J.maximum.toString()} ist`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Zu klein: erwartet, dass ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} hat`;return`Zu klein: erwartet, dass ${J.origin} ${Q}${J.minimum.toString()} ist`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ungültiger String: muss mit "${Q.prefix}" beginnen`;if(Q.format==="ends_with")return`Ungültiger String: muss mit "${Q.suffix}" enden`;if(Q.format==="includes")return`Ungültiger String: muss "${Q.includes}" enthalten`;if(Q.format==="regex")return`Ungültiger String: muss dem Muster ${Q.pattern} entsprechen`;return`Ungültig: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${J.divisor} sein`;case"unrecognized_keys":return`${J.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${J.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${J.origin}`;default:return"Ungültige Eingabe"}}};function WN(){return{localeError:VD0()}}var wD0=()=>{let $={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function I(J){return $[J]??null}let U={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(typeof J.expected==="string"&&/^[A-Z]/.test(J.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${J.expected}, λήφθηκε ${q}`;return`Μη έγκυρη είσοδος: αναμενόταν ${Q}, λήφθηκε ${q}`}case"invalid_value":if(J.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${w0(J.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Πολύ μεγάλο: αναμενόταν ${J.origin??"τιμή"} να έχει ${Q}${J.maximum.toString()} ${K.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${J.origin??"τιμή"} να είναι ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Πολύ μικρό: αναμενόταν ${J.origin} να έχει ${Q}${J.minimum.toString()} ${K.unit}`;return`Πολύ μικρό: αναμενόταν ${J.origin} να είναι ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${Q.prefix}"`;if(Q.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${Q.suffix}"`;if(Q.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${Q.includes}"`;if(Q.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${Q.pattern}`;return`Μη έγκυρο: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${J.divisor}`;case"unrecognized_keys":return`Άγνωστ${J.keys.length>1?"α":"ο"} κλειδ${J.keys.length>1?"ιά":"ί"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${J.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${J.origin}`;default:return"Μη έγκυρη είσοδος"}}};function VN(){return{localeError:wD0()}}var ZD0=()=>{let $={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function I(J){return $[J]??null}let U={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;return`Invalid input: expected ${Q}, received ${q}`}case"invalid_value":if(J.values.length===1)return`Invalid input: expected ${w0(J.values[0])}`;return`Invalid option: expected one of ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Too big: expected ${J.origin??"value"} to have ${Q}${J.maximum.toString()} ${K.unit??"elements"}`;return`Too big: expected ${J.origin??"value"} to be ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Too small: expected ${J.origin} to have ${Q}${J.minimum.toString()} ${K.unit}`;return`Too small: expected ${J.origin} to be ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Invalid string: must start with "${Q.prefix}"`;if(Q.format==="ends_with")return`Invalid string: must end with "${Q.suffix}"`;if(Q.format==="includes")return`Invalid string: must include "${Q.includes}"`;if(Q.format==="regex")return`Invalid string: must match pattern ${Q.pattern}`;return`Invalid ${U[Q.format]??J.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${J.divisor}`;case"unrecognized_keys":return`Unrecognized key${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Invalid key in ${J.origin}`;case"invalid_union":if(J.options&&Array.isArray(J.options)&&J.options.length>0)return`Invalid discriminator value. Expected ${J.options.map((K)=>`'${K}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${J.origin}`;default:return"Invalid input"}}};function eJ(){return{localeError:ZD0()}}var XD0=()=>{let $={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function I(J){return $[J]??null}let U={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},Y={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Nevalida enigo: atendiĝis instanceof ${J.expected}, riceviĝis ${q}`;return`Nevalida enigo: atendiĝis ${Q}, riceviĝis ${q}`}case"invalid_value":if(J.values.length===1)return`Nevalida enigo: atendiĝis ${w0(J.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Tro granda: atendiĝis ke ${J.origin??"valoro"} havu ${Q}${J.maximum.toString()} ${K.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${J.origin??"valoro"} havu ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Tro malgranda: atendiĝis ke ${J.origin} havu ${Q}${J.minimum.toString()} ${K.unit}`;return`Tro malgranda: atendiĝis ke ${J.origin} estu ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${Q.prefix}"`;if(Q.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${Q.suffix}"`;if(Q.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${Q.includes}"`;if(Q.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${Q.pattern}`;return`Nevalida ${U[Q.format]??J.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${J.divisor}`;case"unrecognized_keys":return`Nekonata${J.keys.length>1?"j":""} ŝlosilo${J.keys.length>1?"j":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${J.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${J.origin}`;default:return"Nevalida enigo"}}};function wN(){return{localeError:XD0()}}var zD0=()=>{let $={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function I(J){return $[J]??null}let U={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},Y={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrada inválida: se esperaba instanceof ${J.expected}, recibido ${q}`;return`Entrada inválida: se esperaba ${Q}, recibido ${q}`}case"invalid_value":if(J.values.length===1)return`Entrada inválida: se esperaba ${w0(J.values[0])}`;return`Opción inválida: se esperaba una de ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Demasiado grande: se esperaba que ${q??"valor"} tuviera ${Q}${J.maximum.toString()} ${K.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${q??"valor"} fuera ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Demasiado pequeño: se esperaba que ${q} tuviera ${Q}${J.minimum.toString()} ${K.unit}`;return`Demasiado pequeño: se esperaba que ${q} fuera ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Cadena inválida: debe comenzar con "${Q.prefix}"`;if(Q.format==="ends_with")return`Cadena inválida: debe terminar en "${Q.suffix}"`;if(Q.format==="includes")return`Cadena inválida: debe incluir "${Q.includes}"`;if(Q.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${Q.pattern}`;return`Inválido ${U[Q.format]??J.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${J.divisor}`;case"unrecognized_keys":return`Llave${J.keys.length>1?"s":""} desconocida${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Llave inválida en ${Y[J.origin]??J.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${Y[J.origin]??J.origin}`;default:return"Entrada inválida"}}};function ZN(){return{localeError:zD0()}}var LD0=()=>{let $={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function I(J){return $[J]??null}let U={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},Y={nan:"NaN",number:"عدد",array:"آرایه"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ورودی نامعتبر: می‌بایست instanceof ${J.expected} می‌بود، ${q} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${Q} می‌بود، ${q} دریافت شد`}case"invalid_value":if(J.values.length===1)return`ورودی نامعتبر: می‌بایست ${w0(J.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${I0(J.values,"|")} می‌بود`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`خیلی بزرگ: ${J.origin??"مقدار"} باید ${Q}${J.maximum.toString()} ${K.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${J.origin??"مقدار"} باید ${Q}${J.maximum.toString()} باشد`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`خیلی کوچک: ${J.origin} باید ${Q}${J.minimum.toString()} ${K.unit} باشد`;return`خیلی کوچک: ${J.origin} باید ${Q}${J.minimum.toString()} باشد`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`رشته نامعتبر: باید با "${Q.prefix}" شروع شود`;if(Q.format==="ends_with")return`رشته نامعتبر: باید با "${Q.suffix}" تمام شود`;if(Q.format==="includes")return`رشته نامعتبر: باید شامل "${Q.includes}" باشد`;if(Q.format==="regex")return`رشته نامعتبر: باید با الگوی ${Q.pattern} مطابقت داشته باشد`;return`${U[Q.format]??J.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${J.divisor} باشد`;case"unrecognized_keys":return`کلید${J.keys.length>1?"های":""} ناشناس: ${I0(J.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${J.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${J.origin}`;default:return"ورودی نامعتبر"}}};function XN(){return{localeError:LD0()}}var DD0=()=>{let $={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function I(J){return $[J]??null}let U={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Virheellinen tyyppi: odotettiin instanceof ${J.expected}, oli ${q}`;return`Virheellinen tyyppi: odotettiin ${Q}, oli ${q}`}case"invalid_value":if(J.values.length===1)return`Virheellinen syöte: täytyy olla ${w0(J.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Liian suuri: ${K.subject} täytyy olla ${Q}${J.maximum.toString()} ${K.unit}`.trim();return`Liian suuri: arvon täytyy olla ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Liian pieni: ${K.subject} täytyy olla ${Q}${J.minimum.toString()} ${K.unit}`.trim();return`Liian pieni: arvon täytyy olla ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${Q.prefix}"`;if(Q.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${Q.suffix}"`;if(Q.format==="includes")return`Virheellinen syöte: täytyy sisältää "${Q.includes}"`;if(Q.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${Q.pattern}`;return`Virheellinen ${U[Q.format]??J.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${J.divisor} monikerta`;case"unrecognized_keys":return`${J.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${I0(J.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function zN(){return{localeError:DD0()}}var OD0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function I(J){return $[J]??null}let U={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},Y={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrée invalide : instanceof ${J.expected} attendu, ${q} reçu`;return`Entrée invalide : ${Q} attendu, ${q} reçu`}case"invalid_value":if(J.values.length===1)return`Entrée invalide : ${w0(J.values[0])} attendu`;return`Option invalide : une valeur parmi ${I0(J.values,"|")} attendue`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Trop grand : ${Y[J.origin]??"valeur"} doit ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"élément(s)"}`;return`Trop grand : ${Y[J.origin]??"valeur"} doit être ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Trop petit : ${Y[J.origin]??"valeur"} doit ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Trop petit : ${Y[J.origin]??"valeur"} doit être ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chaîne invalide : doit commencer par "${Q.prefix}"`;if(Q.format==="ends_with")return`Chaîne invalide : doit se terminer par "${Q.suffix}"`;if(Q.format==="includes")return`Chaîne invalide : doit inclure "${Q.includes}"`;if(Q.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${Q.pattern}`;return`${U[Q.format]??J.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${J.divisor}`;case"unrecognized_keys":return`Clé${J.keys.length>1?"s":""} non reconnue${J.keys.length>1?"s":""} : ${I0(J.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${J.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${J.origin}`;default:return"Entrée invalide"}}};function LN(){return{localeError:OD0()}}var FD0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function I(J){return $[J]??null}let U={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrée invalide : attendu instanceof ${J.expected}, reçu ${q}`;return`Entrée invalide : attendu ${Q}, reçu ${q}`}case"invalid_value":if(J.values.length===1)return`Entrée invalide : attendu ${w0(J.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"≤":"<",K=I(J.origin);if(K)return`Trop grand : attendu que ${J.origin??"la valeur"} ait ${Q}${J.maximum.toString()} ${K.unit}`;return`Trop grand : attendu que ${J.origin??"la valeur"} soit ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"≥":">",K=I(J.origin);if(K)return`Trop petit : attendu que ${J.origin} ait ${Q}${J.minimum.toString()} ${K.unit}`;return`Trop petit : attendu que ${J.origin} soit ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chaîne invalide : doit commencer par "${Q.prefix}"`;if(Q.format==="ends_with")return`Chaîne invalide : doit se terminer par "${Q.suffix}"`;if(Q.format==="includes")return`Chaîne invalide : doit inclure "${Q.includes}"`;if(Q.format==="regex")return`Chaîne invalide : doit correspondre au motif ${Q.pattern}`;return`${U[Q.format]??J.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${J.divisor}`;case"unrecognized_keys":return`Clé${J.keys.length>1?"s":""} non reconnue${J.keys.length>1?"s":""} : ${I0(J.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${J.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${J.origin}`;default:return"Entrée invalide"}}};function DN(){return{localeError:FD0()}}var ND0=()=>{let $={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},I={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},U=(H)=>H?$[H]:void 0,Y=(H)=>{let W=U(H);if(W)return W.label;return H??$.unknown.label},J=(H)=>`ה${Y(H)}`,Q=(H)=>{return(U(H)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},K=(H)=>{if(!H)return null;return I[H]??null},q={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},G={nan:"NaN"};return(H)=>{switch(H.code){case"invalid_type":{let W=H.expected,V=G[W??""]??Y(W),w=X0(H.input),Z=G[w]??$[w]?.label??w;if(/^[A-Z]/.test(H.expected))return`קלט לא תקין: צריך להיות instanceof ${H.expected}, התקבל ${Z}`;return`קלט לא תקין: צריך להיות ${V}, התקבל ${Z}`}case"invalid_value":{if(H.values.length===1)return`ערך לא תקין: הערך חייב להיות ${w0(H.values[0])}`;let W=H.values.map((Z)=>w0(Z));if(H.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${W[0]} או ${W[1]}`;let V=W[W.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${W.slice(0,-1).join(", ")} או ${V}`}case"too_big":{let W=K(H.origin),V=J(H.origin??"value");if(H.origin==="string")return`${W?.longLabel??"ארוך"} מדי: ${V} צריכה להכיל ${H.maximum.toString()} ${W?.unit??""} ${H.inclusive?"או פחות":"לכל היותר"}`.trim();if(H.origin==="number"){let z=H.inclusive?`קטן או שווה ל-${H.maximum}`:`קטן מ-${H.maximum}`;return`גדול מדי: ${V} צריך להיות ${z}`}if(H.origin==="array"||H.origin==="set"){let z=H.origin==="set"?"צריכה":"צריך",L=H.inclusive?`${H.maximum} ${W?.unit??""} או פחות`:`פחות מ-${H.maximum} ${W?.unit??""}`;return`גדול מדי: ${V} ${z} להכיל ${L}`.trim()}let w=H.inclusive?"<=":"<",Z=Q(H.origin??"value");if(W?.unit)return`${W.longLabel} מדי: ${V} ${Z} ${w}${H.maximum.toString()} ${W.unit}`;return`${W?.longLabel??"גדול"} מדי: ${V} ${Z} ${w}${H.maximum.toString()}`}case"too_small":{let W=K(H.origin),V=J(H.origin??"value");if(H.origin==="string")return`${W?.shortLabel??"קצר"} מדי: ${V} צריכה להכיל ${H.minimum.toString()} ${W?.unit??""} ${H.inclusive?"או יותר":"לפחות"}`.trim();if(H.origin==="number"){let z=H.inclusive?`גדול או שווה ל-${H.minimum}`:`גדול מ-${H.minimum}`;return`קטן מדי: ${V} צריך להיות ${z}`}if(H.origin==="array"||H.origin==="set"){let z=H.origin==="set"?"צריכה":"צריך";if(H.minimum===1&&H.inclusive){let D=H.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${V} ${z} להכיל ${D}`}let L=H.inclusive?`${H.minimum} ${W?.unit??""} או יותר`:`יותר מ-${H.minimum} ${W?.unit??""}`;return`קטן מדי: ${V} ${z} להכיל ${L}`.trim()}let w=H.inclusive?">=":">",Z=Q(H.origin??"value");if(W?.unit)return`${W.shortLabel} מדי: ${V} ${Z} ${w}${H.minimum.toString()} ${W.unit}`;return`${W?.shortLabel??"קטן"} מדי: ${V} ${Z} ${w}${H.minimum.toString()}`}case"invalid_format":{let W=H;if(W.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${W.prefix}"`;if(W.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${W.suffix}"`;if(W.format==="includes")return`המחרוזת חייבת לכלול "${W.includes}"`;if(W.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${W.pattern}`;let V=q[W.format],w=V?.label??W.format,z=(V?.gender??"m")==="f"?"תקינה":"תקין";return`${w} לא ${z}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${H.divisor}`;case"unrecognized_keys":return`מפתח${H.keys.length>1?"ות":""} לא מזוה${H.keys.length>1?"ים":"ה"}: ${I0(H.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${J(H.origin??"array")}`;default:return"קלט לא תקין"}}};function ON(){return{localeError:ND0()}}var MD0=()=>{let $={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function I(J){return $[J]??null}let U={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},Y={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Neispravan unos: očekuje se instanceof ${J.expected}, a primljeno je ${q}`;return`Neispravan unos: očekuje se ${Q}, a primljeno je ${q}`}case"invalid_value":if(J.values.length===1)return`Neispravna vrijednost: očekivano ${w0(J.values[0])}`;return`Neispravna opcija: očekivano jedno od ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Preveliko: očekivano da ${q??"vrijednost"} ima ${Q}${J.maximum.toString()} ${K.unit??"elemenata"}`;return`Preveliko: očekivano da ${q??"vrijednost"} bude ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Premalo: očekivano da ${q} ima ${Q}${J.minimum.toString()} ${K.unit}`;return`Premalo: očekivano da ${q} bude ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neispravan tekst: mora započinjati s "${Q.prefix}"`;if(Q.format==="ends_with")return`Neispravan tekst: mora završavati s "${Q.suffix}"`;if(Q.format==="includes")return`Neispravan tekst: mora sadržavati "${Q.includes}"`;if(Q.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${Q.pattern}`;return`Neispravna ${U[Q.format]??J.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${J.divisor}`;case"unrecognized_keys":return`Neprepoznat${J.keys.length>1?"i ključevi":" ključ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${Y[J.origin]??J.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${Y[J.origin]??J.origin}`;default:return"Neispravan unos"}}};function FN(){return{localeError:MD0()}}var AD0=()=>{let $={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function I(J){return $[J]??null}let U={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},Y={nan:"NaN",number:"szám",array:"tömb"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Érvénytelen bemenet: a várt érték instanceof ${J.expected}, a kapott érték ${q}`;return`Érvénytelen bemenet: a várt érték ${Q}, a kapott érték ${q}`}case"invalid_value":if(J.values.length===1)return`Érvénytelen bemenet: a várt érték ${w0(J.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Túl nagy: ${J.origin??"érték"} mérete túl nagy ${Q}${J.maximum.toString()} ${K.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${J.origin??"érték"} túl nagy: ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Túl kicsi: a bemeneti érték ${J.origin} mérete túl kicsi ${Q}${J.minimum.toString()} ${K.unit}`;return`Túl kicsi: a bemeneti érték ${J.origin} túl kicsi ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Érvénytelen string: "${Q.prefix}" értékkel kell kezdődnie`;if(Q.format==="ends_with")return`Érvénytelen string: "${Q.suffix}" értékkel kell végződnie`;if(Q.format==="includes")return`Érvénytelen string: "${Q.includes}" értéket kell tartalmaznia`;if(Q.format==="regex")return`Érvénytelen string: ${Q.pattern} mintának kell megfelelnie`;return`Érvénytelen ${U[Q.format]??J.format}`}case"not_multiple_of":return`Érvénytelen szám: ${J.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${J.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${J.origin}`;default:return"Érvénytelen bemenet"}}};function NN(){return{localeError:AD0()}}function qu($,I,U){return Math.abs($)===1?I:U}function PI($){if(!$)return"";let I=["ա","ե","ը","ի","ո","ու","օ"],U=$[$.length-1];return $+(I.includes(U)?"ն":"ը")}var PD0=()=>{let $={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function I(J){return $[J]??null}let U={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},Y={nan:"NaN",number:"թիվ",array:"զանգված"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${J.expected}, ստացվել է ${q}`;return`Սխալ մուտքագրում․ սպասվում էր ${Q}, ստացվել է ${q}`}case"invalid_value":if(J.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${w0(J.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=qu(q,K.unit.one,K.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${PI(J.origin??"արժեք")} կունենա ${Q}${J.maximum.toString()} ${G}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${PI(J.origin??"արժեք")} լինի ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=qu(q,K.unit.one,K.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${PI(J.origin)} կունենա ${Q}${J.minimum.toString()} ${G}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${PI(J.origin)} լինի ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${Q.prefix}"-ով`;if(Q.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${Q.suffix}"-ով`;if(Q.format==="includes")return`Սխալ տող․ պետք է պարունակի "${Q.includes}"`;if(Q.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${Q.pattern} ձևաչափին`;return`Սխալ ${U[Q.format]??J.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${J.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${J.keys.length>1?"ներ":""}. ${I0(J.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${PI(J.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${PI(J.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function MN(){return{localeError:PD0()}}var TD0=()=>{let $={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function I(J){return $[J]??null}let U={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input tidak valid: diharapkan instanceof ${J.expected}, diterima ${q}`;return`Input tidak valid: diharapkan ${Q}, diterima ${q}`}case"invalid_value":if(J.values.length===1)return`Input tidak valid: diharapkan ${w0(J.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Terlalu besar: diharapkan ${J.origin??"value"} memiliki ${Q}${J.maximum.toString()} ${K.unit??"elemen"}`;return`Terlalu besar: diharapkan ${J.origin??"value"} menjadi ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Terlalu kecil: diharapkan ${J.origin} memiliki ${Q}${J.minimum.toString()} ${K.unit}`;return`Terlalu kecil: diharapkan ${J.origin} menjadi ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`String tidak valid: harus dimulai dengan "${Q.prefix}"`;if(Q.format==="ends_with")return`String tidak valid: harus berakhir dengan "${Q.suffix}"`;if(Q.format==="includes")return`String tidak valid: harus menyertakan "${Q.includes}"`;if(Q.format==="regex")return`String tidak valid: harus sesuai pola ${Q.pattern}`;return`${U[Q.format]??J.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${J.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${J.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${J.origin}`;default:return"Input tidak valid"}}};function AN(){return{localeError:TD0()}}var ED0=()=>{let $={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function I(J){return $[J]??null}let U={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},Y={nan:"NaN",number:"númer",array:"fylki"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Rangt gildi: Þú slóst inn ${q} þar sem á að vera instanceof ${J.expected}`;return`Rangt gildi: Þú slóst inn ${q} þar sem á að vera ${Q}`}case"invalid_value":if(J.values.length===1)return`Rangt gildi: gert ráð fyrir ${w0(J.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Of stórt: gert er ráð fyrir að ${J.origin??"gildi"} hafi ${Q}${J.maximum.toString()} ${K.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${J.origin??"gildi"} sé ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Of lítið: gert er ráð fyrir að ${J.origin} hafi ${Q}${J.minimum.toString()} ${K.unit}`;return`Of lítið: gert er ráð fyrir að ${J.origin} sé ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ógildur strengur: verður að byrja á "${Q.prefix}"`;if(Q.format==="ends_with")return`Ógildur strengur: verður að enda á "${Q.suffix}"`;if(Q.format==="includes")return`Ógildur strengur: verður að innihalda "${Q.includes}"`;if(Q.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${Q.pattern}`;return`Rangt ${U[Q.format]??J.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${J.divisor}`;case"unrecognized_keys":return`Óþekkt ${J.keys.length>1?"ir lyklar":"ur lykill"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${J.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${J.origin}`;default:return"Rangt gildi"}}};function PN(){return{localeError:ED0()}}var BD0=()=>{let $={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function I(J){return $[J]??null}let U={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",number:"numero",array:"vettore"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input non valido: atteso instanceof ${J.expected}, ricevuto ${q}`;return`Input non valido: atteso ${Q}, ricevuto ${q}`}case"invalid_value":if(J.values.length===1)return`Input non valido: atteso ${w0(J.values[0])}`;return`Opzione non valida: atteso uno tra ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Troppo grande: ${J.origin??"valore"} deve avere ${Q}${J.maximum.toString()} ${K.unit??"elementi"}`;return`Troppo grande: ${J.origin??"valore"} deve essere ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Troppo piccolo: ${J.origin} deve avere ${Q}${J.minimum.toString()} ${K.unit}`;return`Troppo piccolo: ${J.origin} deve essere ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Stringa non valida: deve iniziare con "${Q.prefix}"`;if(Q.format==="ends_with")return`Stringa non valida: deve terminare con "${Q.suffix}"`;if(Q.format==="includes")return`Stringa non valida: deve includere "${Q.includes}"`;if(Q.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${Q.pattern}`;return`Input non valido: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${J.divisor}`;case"unrecognized_keys":return`Chiav${J.keys.length>1?"i":"e"} non riconosciut${J.keys.length>1?"e":"a"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${J.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${J.origin}`;default:return"Input non valido"}}};function TN(){return{localeError:BD0()}}var vD0=()=>{let $={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function I(J){return $[J]??null}let U={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},Y={nan:"NaN",number:"数値",array:"配列"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`無効な入力: instanceof ${J.expected}が期待されましたが、${q}が入力されました`;return`無効な入力: ${Q}が期待されましたが、${q}が入力されました`}case"invalid_value":if(J.values.length===1)return`無効な入力: ${w0(J.values[0])}が期待されました`;return`無効な選択: ${I0(J.values,"、")}のいずれかである必要があります`;case"too_big":{let Q=J.inclusive?"以下である":"より小さい",K=I(J.origin);if(K)return`大きすぎる値: ${J.origin??"値"}は${J.maximum.toString()}${K.unit??"要素"}${Q}必要があります`;return`大きすぎる値: ${J.origin??"値"}は${J.maximum.toString()}${Q}必要があります`}case"too_small":{let Q=J.inclusive?"以上である":"より大きい",K=I(J.origin);if(K)return`小さすぎる値: ${J.origin}は${J.minimum.toString()}${K.unit}${Q}必要があります`;return`小さすぎる値: ${J.origin}は${J.minimum.toString()}${Q}必要があります`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`無効な文字列: "${Q.prefix}"で始まる必要があります`;if(Q.format==="ends_with")return`無効な文字列: "${Q.suffix}"で終わる必要があります`;if(Q.format==="includes")return`無効な文字列: "${Q.includes}"を含む必要があります`;if(Q.format==="regex")return`無効な文字列: パターン${Q.pattern}に一致する必要があります`;return`無効な${U[Q.format]??J.format}`}case"not_multiple_of":return`無効な数値: ${J.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${J.keys.length>1?"群":""}: ${I0(J.keys,"、")}`;case"invalid_key":return`${J.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${J.origin}内の無効な値`;default:return"無効な入力"}}};function EN(){return{localeError:vD0()}}var RD0=()=>{let $={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function I(J){return $[J]??null}let U={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},Y={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${J.expected}, მიღებული ${q}`;return`არასწორი შეყვანა: მოსალოდნელი ${Q}, მიღებული ${q}`}case"invalid_value":if(J.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${w0(J.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${I0(J.values,"|")}-დან`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ზედმეტად დიდი: მოსალოდნელი ${J.origin??"მნიშვნელობა"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${J.origin??"მნიშვნელობა"} იყოს ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`ზედმეტად პატარა: მოსალოდნელი ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${J.origin} იყოს ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${Q.prefix}"-ით`;if(Q.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${Q.suffix}"-ით`;if(Q.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${Q.includes}"-ს`;if(Q.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${Q.pattern}`;return`არასწორი ${U[Q.format]??J.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${J.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${J.keys.length>1?"ები":"ი"}: ${I0(J.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${J.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${J.origin}-ში`;default:return"არასწორი შეყვანა"}}};function BN(){return{localeError:RD0()}}var CD0=()=>{let $={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function I(J){return $[J]??null}let U={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},Y={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${J.expected} ប៉ុន្តែទទួលបាន ${q}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Q} ប៉ុន្តែទទួលបាន ${q}`}case"invalid_value":if(J.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${w0(J.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ធំពេក៖ ត្រូវការ ${J.origin??"តម្លៃ"} ${Q} ${J.maximum.toString()} ${K.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${J.origin??"តម្លៃ"} ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`តូចពេក៖ ត្រូវការ ${J.origin} ${Q} ${J.minimum.toString()} ${K.unit}`;return`តូចពេក៖ ត្រូវការ ${J.origin} ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${Q.prefix}"`;if(Q.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${Q.suffix}"`;if(Q.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${Q.includes}"`;if(Q.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${Q.pattern}`;return`មិនត្រឹមត្រូវ៖ ${U[Q.format]??J.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${J.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${I0(J.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${J.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${J.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function $Q(){return{localeError:CD0()}}function vN(){return $Q()}var jD0=()=>{let $={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function I(J){return $[J]??null}let U={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`잘못된 입력: 예상 타입은 instanceof ${J.expected}, 받은 타입은 ${q}입니다`;return`잘못된 입력: 예상 타입은 ${Q}, 받은 타입은 ${q}입니다`}case"invalid_value":if(J.values.length===1)return`잘못된 입력: 값은 ${w0(J.values[0])} 이어야 합니다`;return`잘못된 옵션: ${I0(J.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let Q=J.inclusive?"이하":"미만",K=Q==="미만"?"이어야 합니다":"여야 합니다",q=I(J.origin),G=q?.unit??"요소";if(q)return`${J.origin??"값"}이 너무 큽니다: ${J.maximum.toString()}${G} ${Q}${K}`;return`${J.origin??"값"}이 너무 큽니다: ${J.maximum.toString()} ${Q}${K}`}case"too_small":{let Q=J.inclusive?"이상":"초과",K=Q==="이상"?"이어야 합니다":"여야 합니다",q=I(J.origin),G=q?.unit??"요소";if(q)return`${J.origin??"값"}이 너무 작습니다: ${J.minimum.toString()}${G} ${Q}${K}`;return`${J.origin??"값"}이 너무 작습니다: ${J.minimum.toString()} ${Q}${K}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`잘못된 문자열: "${Q.prefix}"(으)로 시작해야 합니다`;if(Q.format==="ends_with")return`잘못된 문자열: "${Q.suffix}"(으)로 끝나야 합니다`;if(Q.format==="includes")return`잘못된 문자열: "${Q.includes}"을(를) 포함해야 합니다`;if(Q.format==="regex")return`잘못된 문자열: 정규식 ${Q.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${U[Q.format]??J.format}`}case"not_multiple_of":return`잘못된 숫자: ${J.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${I0(J.keys,", ")}`;case"invalid_key":return`잘못된 키: ${J.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${J.origin}`;default:return"잘못된 입력"}}};function RN(){return{localeError:jD0()}}var IQ=($)=>{return $.charAt(0).toUpperCase()+$.slice(1)};function Gu($){let I=Math.abs($),U=I%10,Y=I%100;if(Y>=11&&Y<=19||U===0)return"many";if(U===1)return"one";return"few"}var _D0=()=>{let $={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function I(J,Q,K,q){let G=$[J]??null;if(G===null)return G;return{unit:G.unit[Q],verb:G.verb[q][K?"inclusive":"notInclusive"]}}let U={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},Y={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Gautas tipas ${q}, o tikėtasi - instanceof ${J.expected}`;return`Gautas tipas ${q}, o tikėtasi - ${Q}`}case"invalid_value":if(J.values.length===1)return`Privalo būti ${w0(J.values[0])}`;return`Privalo būti vienas iš ${I0(J.values,"|")} pasirinkimų`;case"too_big":{let Q=Y[J.origin]??J.origin,K=I(J.origin,Gu(Number(J.maximum)),J.inclusive??!1,"smaller");if(K?.verb)return`${IQ(Q??J.origin??"reikšmė")} ${K.verb} ${J.maximum.toString()} ${K.unit??"elementų"}`;let q=J.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${IQ(Q??J.origin??"reikšmė")} turi būti ${q} ${J.maximum.toString()} ${K?.unit}`}case"too_small":{let Q=Y[J.origin]??J.origin,K=I(J.origin,Gu(Number(J.minimum)),J.inclusive??!1,"bigger");if(K?.verb)return`${IQ(Q??J.origin??"reikšmė")} ${K.verb} ${J.minimum.toString()} ${K.unit??"elementų"}`;let q=J.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${IQ(Q??J.origin??"reikšmė")} turi būti ${q} ${J.minimum.toString()} ${K?.unit}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Eilutė privalo prasidėti "${Q.prefix}"`;if(Q.format==="ends_with")return`Eilutė privalo pasibaigti "${Q.suffix}"`;if(Q.format==="includes")return`Eilutė privalo įtraukti "${Q.includes}"`;if(Q.format==="regex")return`Eilutė privalo atitikti ${Q.pattern}`;return`Neteisingas ${U[Q.format]??J.format}`}case"not_multiple_of":return`Skaičius privalo būti ${J.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${J.keys.length>1?"i":"as"} rakt${J.keys.length>1?"ai":"as"}: ${I0(J.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let Q=Y[J.origin]??J.origin;return`${IQ(Q??J.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function CN(){return{localeError:_D0()}}var SD0=()=>{let $={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function I(J){return $[J]??null}let U={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},Y={nan:"NaN",number:"број",array:"низа"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Грешен внес: се очекува instanceof ${J.expected}, примено ${q}`;return`Грешен внес: се очекува ${Q}, примено ${q}`}case"invalid_value":if(J.values.length===1)return`Invalid input: expected ${w0(J.values[0])}`;return`Грешана опција: се очекува една ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Премногу голем: се очекува ${J.origin??"вредноста"} да има ${Q}${J.maximum.toString()} ${K.unit??"елементи"}`;return`Премногу голем: се очекува ${J.origin??"вредноста"} да биде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Премногу мал: се очекува ${J.origin} да има ${Q}${J.minimum.toString()} ${K.unit}`;return`Премногу мал: се очекува ${J.origin} да биде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неважечка низа: мора да започнува со "${Q.prefix}"`;if(Q.format==="ends_with")return`Неважечка низа: мора да завршува со "${Q.suffix}"`;if(Q.format==="includes")return`Неважечка низа: мора да вклучува "${Q.includes}"`;if(Q.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${Q.pattern}`;return`Invalid ${U[Q.format]??J.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${J.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${J.origin}`;default:return"Грешен внес"}}};function jN(){return{localeError:SD0()}}var gD0=()=>{let $={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function I(J){return $[J]??null}let U={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",number:"nombor"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input tidak sah: dijangka instanceof ${J.expected}, diterima ${q}`;return`Input tidak sah: dijangka ${Q}, diterima ${q}`}case"invalid_value":if(J.values.length===1)return`Input tidak sah: dijangka ${w0(J.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Terlalu besar: dijangka ${J.origin??"nilai"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"elemen"}`;return`Terlalu besar: dijangka ${J.origin??"nilai"} adalah ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Terlalu kecil: dijangka ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Terlalu kecil: dijangka ${J.origin} adalah ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`String tidak sah: mesti bermula dengan "${Q.prefix}"`;if(Q.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${Q.suffix}"`;if(Q.format==="includes")return`String tidak sah: mesti mengandungi "${Q.includes}"`;if(Q.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${Q.pattern}`;return`${U[Q.format]??J.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${J.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${I0(J.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${J.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${J.origin}`;default:return"Input tidak sah"}}};function _N(){return{localeError:gD0()}}var yD0=()=>{let $={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function I(J){return $[J]??null}let U={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},Y={nan:"NaN",number:"getal"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ongeldige invoer: verwacht instanceof ${J.expected}, ontving ${q}`;return`Ongeldige invoer: verwacht ${Q}, ontving ${q}`}case"invalid_value":if(J.values.length===1)return`Ongeldige invoer: verwacht ${w0(J.values[0])}`;return`Ongeldige optie: verwacht één van ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=J.origin==="date"?"laat":J.origin==="string"?"lang":"groot";if(K)return`Te ${q}: verwacht dat ${J.origin??"waarde"} ${Q}${J.maximum.toString()} ${K.unit??"elementen"} ${K.verb}`;return`Te ${q}: verwacht dat ${J.origin??"waarde"} ${Q}${J.maximum.toString()} is`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=J.origin==="date"?"vroeg":J.origin==="string"?"kort":"klein";if(K)return`Te ${q}: verwacht dat ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ${K.verb}`;return`Te ${q}: verwacht dat ${J.origin} ${Q}${J.minimum.toString()} is`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ongeldige tekst: moet met "${Q.prefix}" beginnen`;if(Q.format==="ends_with")return`Ongeldige tekst: moet op "${Q.suffix}" eindigen`;if(Q.format==="includes")return`Ongeldige tekst: moet "${Q.includes}" bevatten`;if(Q.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${Q.pattern}`;return`Ongeldig: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${J.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${J.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${J.origin}`;default:return"Ongeldige invoer"}}};function SN(){return{localeError:yD0()}}var hD0=()=>{let $={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function I(J){return $[J]??null}let U={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",number:"tall",array:"liste"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ugyldig input: forventet instanceof ${J.expected}, fikk ${q}`;return`Ugyldig input: forventet ${Q}, fikk ${q}`}case"invalid_value":if(J.values.length===1)return`Ugyldig verdi: forventet ${w0(J.values[0])}`;return`Ugyldig valg: forventet en av ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`For stor(t): forventet ${J.origin??"value"} til å ha ${Q}${J.maximum.toString()} ${K.unit??"elementer"}`;return`For stor(t): forventet ${J.origin??"value"} til å ha ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`For lite(n): forventet ${J.origin} til å ha ${Q}${J.minimum.toString()} ${K.unit}`;return`For lite(n): forventet ${J.origin} til å ha ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ugyldig streng: må starte med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ugyldig streng: må ende med "${Q.suffix}"`;if(Q.format==="includes")return`Ugyldig streng: må inneholde "${Q.includes}"`;if(Q.format==="regex")return`Ugyldig streng: må matche mønsteret ${Q.pattern}`;return`Ugyldig ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${J.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${J.origin}`;default:return"Ugyldig input"}}};function gN(){return{localeError:hD0()}}var xD0=()=>{let $={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function I(J){return $[J]??null}let U={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},Y={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Fâsit giren: umulan instanceof ${J.expected}, alınan ${q}`;return`Fâsit giren: umulan ${Q}, alınan ${q}`}case"invalid_value":if(J.values.length===1)return`Fâsit giren: umulan ${w0(J.values[0])}`;return`Fâsit tercih: mûteberler ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Fazla büyük: ${J.origin??"value"}, ${Q}${J.maximum.toString()} ${K.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${J.origin??"value"}, ${Q}${J.maximum.toString()} olmalıydı.`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Fazla küçük: ${J.origin}, ${Q}${J.minimum.toString()} ${K.unit} sahip olmalıydı.`;return`Fazla küçük: ${J.origin}, ${Q}${J.minimum.toString()} olmalıydı.`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Fâsit metin: "${Q.prefix}" ile başlamalı.`;if(Q.format==="ends_with")return`Fâsit metin: "${Q.suffix}" ile bitmeli.`;if(Q.format==="includes")return`Fâsit metin: "${Q.includes}" ihtivâ etmeli.`;if(Q.format==="regex")return`Fâsit metin: ${Q.pattern} nakşına uymalı.`;return`Fâsit ${U[Q.format]??J.format}`}case"not_multiple_of":return`Fâsit sayı: ${J.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${J.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function yN(){return{localeError:xD0()}}var kD0=()=>{let $={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function I(J){return $[J]??null}let U={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},Y={nan:"NaN",number:"عدد",array:"ارې"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ناسم ورودي: باید instanceof ${J.expected} وای, مګر ${q} ترلاسه شو`;return`ناسم ورودي: باید ${Q} وای, مګر ${q} ترلاسه شو`}case"invalid_value":if(J.values.length===1)return`ناسم ورودي: باید ${w0(J.values[0])} وای`;return`ناسم انتخاب: باید یو له ${I0(J.values,"|")} څخه وای`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ډیر لوی: ${J.origin??"ارزښت"} باید ${Q}${J.maximum.toString()} ${K.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${J.origin??"ارزښت"} باید ${Q}${J.maximum.toString()} وي`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`ډیر کوچنی: ${J.origin} باید ${Q}${J.minimum.toString()} ${K.unit} ولري`;return`ډیر کوچنی: ${J.origin} باید ${Q}${J.minimum.toString()} وي`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`ناسم متن: باید د "${Q.prefix}" سره پیل شي`;if(Q.format==="ends_with")return`ناسم متن: باید د "${Q.suffix}" سره پای ته ورسيږي`;if(Q.format==="includes")return`ناسم متن: باید "${Q.includes}" ولري`;if(Q.format==="regex")return`ناسم متن: باید د ${Q.pattern} سره مطابقت ولري`;return`${U[Q.format]??J.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${J.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${J.keys.length>1?"کلیډونه":"کلیډ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${J.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${J.origin} کې`;default:return"ناسمه ورودي"}}};function hN(){return{localeError:kD0()}}var uD0=()=>{let $={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function I(J){return $[J]??null}let U={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},Y={nan:"NaN",number:"liczba",array:"tablica"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${J.expected}, otrzymano ${q}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${Q}, otrzymano ${q}`}case"invalid_value":if(J.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${w0(J.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Za duża wartość: oczekiwano, że ${J.origin??"wartość"} będzie mieć ${Q}${J.maximum.toString()} ${K.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${J.origin??"wartość"} będzie wynosić ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Za mała wartość: oczekiwano, że ${J.origin??"wartość"} będzie mieć ${Q}${J.minimum.toString()} ${K.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${J.origin??"wartość"} będzie wynosić ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${Q.prefix}"`;if(Q.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${Q.suffix}"`;if(Q.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${Q.includes}"`;if(Q.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${Q.pattern}`;return`Nieprawidłow(y/a/e) ${U[Q.format]??J.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${J.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${J.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${J.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function xN(){return{localeError:uD0()}}var fD0=()=>{let $={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function I(J){return $[J]??null}let U={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},Y={nan:"NaN",number:"número",null:"nulo"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Tipo inválido: esperado instanceof ${J.expected}, recebido ${q}`;return`Tipo inválido: esperado ${Q}, recebido ${q}`}case"invalid_value":if(J.values.length===1)return`Entrada inválida: esperado ${w0(J.values[0])}`;return`Opção inválida: esperada uma das ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Muito grande: esperado que ${J.origin??"valor"} tivesse ${Q}${J.maximum.toString()} ${K.unit??"elementos"}`;return`Muito grande: esperado que ${J.origin??"valor"} fosse ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Muito pequeno: esperado que ${J.origin} tivesse ${Q}${J.minimum.toString()} ${K.unit}`;return`Muito pequeno: esperado que ${J.origin} fosse ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Texto inválido: deve começar com "${Q.prefix}"`;if(Q.format==="ends_with")return`Texto inválido: deve terminar com "${Q.suffix}"`;if(Q.format==="includes")return`Texto inválido: deve incluir "${Q.includes}"`;if(Q.format==="regex")return`Texto inválido: deve corresponder ao padrão ${Q.pattern}`;return`${U[Q.format]??J.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${J.divisor}`;case"unrecognized_keys":return`Chave${J.keys.length>1?"s":""} desconhecida${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Chave inválida em ${J.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${J.origin}`;default:return"Campo inválido"}}};function kN(){return{localeError:fD0()}}var bD0=()=>{let $={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function I(J){return $[J]??null}let U={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},Y={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;return`Intrare invalidă: așteptat ${Q}, primit ${q}`}case"invalid_value":if(J.values.length===1)return`Intrare invalidă: așteptat ${w0(J.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Prea mare: așteptat ca ${J.origin??"valoarea"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"elemente"}`;return`Prea mare: așteptat ca ${J.origin??"valoarea"} să fie ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Prea mic: așteptat ca ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Prea mic: așteptat ca ${J.origin} să fie ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${Q.prefix}"`;if(Q.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${Q.suffix}"`;if(Q.format==="includes")return`Șir invalid: trebuie să includă "${Q.includes}"`;if(Q.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${Q.pattern}`;return`Format invalid: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${J.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${I0(J.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${J.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${J.origin}`;default:return"Intrare invalidă"}}};function uN(){return{localeError:bD0()}}function Hu($,I,U,Y){let J=Math.abs($),Q=J%10,K=J%100;if(K>=11&&K<=19)return Y;if(Q===1)return I;if(Q>=2&&Q<=4)return U;return Y}var iD0=()=>{let $={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function I(J){return $[J]??null}let U={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},Y={nan:"NaN",number:"число",array:"массив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Неверный ввод: ожидалось instanceof ${J.expected}, получено ${q}`;return`Неверный ввод: ожидалось ${Q}, получено ${q}`}case"invalid_value":if(J.values.length===1)return`Неверный ввод: ожидалось ${w0(J.values[0])}`;return`Неверный вариант: ожидалось одно из ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=Hu(q,K.unit.one,K.unit.few,K.unit.many);return`Слишком большое значение: ожидалось, что ${J.origin??"значение"} будет иметь ${Q}${J.maximum.toString()} ${G}`}return`Слишком большое значение: ожидалось, что ${J.origin??"значение"} будет ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=Hu(q,K.unit.one,K.unit.few,K.unit.many);return`Слишком маленькое значение: ожидалось, что ${J.origin} будет иметь ${Q}${J.minimum.toString()} ${G}`}return`Слишком маленькое значение: ожидалось, что ${J.origin} будет ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неверная строка: должна начинаться с "${Q.prefix}"`;if(Q.format==="ends_with")return`Неверная строка: должна заканчиваться на "${Q.suffix}"`;if(Q.format==="includes")return`Неверная строка: должна содержать "${Q.includes}"`;if(Q.format==="regex")return`Неверная строка: должна соответствовать шаблону ${Q.pattern}`;return`Неверный ${U[Q.format]??J.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${J.divisor}`;case"unrecognized_keys":return`Нераспознанн${J.keys.length>1?"ые":"ый"} ключ${J.keys.length>1?"и":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${J.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${J.origin}`;default:return"Неверные входные данные"}}};function fN(){return{localeError:iD0()}}var nD0=()=>{let $={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function I(J){return $[J]??null}let U={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},Y={nan:"NaN",number:"število",array:"tabela"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Neveljaven vnos: pričakovano instanceof ${J.expected}, prejeto ${q}`;return`Neveljaven vnos: pričakovano ${Q}, prejeto ${q}`}case"invalid_value":if(J.values.length===1)return`Neveljaven vnos: pričakovano ${w0(J.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Preveliko: pričakovano, da bo ${J.origin??"vrednost"} imelo ${Q}${J.maximum.toString()} ${K.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${J.origin??"vrednost"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Premajhno: pričakovano, da bo ${J.origin} imelo ${Q}${J.minimum.toString()} ${K.unit}`;return`Premajhno: pričakovano, da bo ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neveljaven niz: mora se začeti z "${Q.prefix}"`;if(Q.format==="ends_with")return`Neveljaven niz: mora se končati z "${Q.suffix}"`;if(Q.format==="includes")return`Neveljaven niz: mora vsebovati "${Q.includes}"`;if(Q.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${Q.pattern}`;return`Neveljaven ${U[Q.format]??J.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${J.divisor}`;case"unrecognized_keys":return`Neprepoznan${J.keys.length>1?"i ključi":" ključ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${J.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${J.origin}`;default:return"Neveljaven vnos"}}};function bN(){return{localeError:nD0()}}var pD0=()=>{let $={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function I(J){return $[J]??null}let U={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},Y={nan:"NaN",number:"antal",array:"lista"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ogiltig inmatning: förväntat instanceof ${J.expected}, fick ${q}`;return`Ogiltig inmatning: förväntat ${Q}, fick ${q}`}case"invalid_value":if(J.values.length===1)return`Ogiltig inmatning: förväntat ${w0(J.values[0])}`;return`Ogiltigt val: förväntade en av ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`För stor(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.maximum.toString()} ${K.unit??"element"}`;return`För stor(t): förväntat ${J.origin??"värdet"} att ha ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`För lite(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.minimum.toString()} ${K.unit}`;return`För lite(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ogiltig sträng: måste börja med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ogiltig sträng: måste sluta med "${Q.suffix}"`;if(Q.format==="includes")return`Ogiltig sträng: måste innehålla "${Q.includes}"`;if(Q.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${Q.pattern}"`;return`Ogiltig(t) ${U[Q.format]??J.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${J.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${J.origin??"värdet"}`;default:return"Ogiltig input"}}};function iN(){return{localeError:pD0()}}var cD0=()=>{let $={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function I(J){return $[J]??null}let U={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},Y={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${J.expected}, பெறப்பட்டது ${q}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Q}, பெறப்பட்டது ${q}`}case"invalid_value":if(J.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${w0(J.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${I0(J.values,"|")} இல் ஒன்று`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${J.origin??"மதிப்பு"} ${Q}${J.maximum.toString()} ${K.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${J.origin??"மதிப்பு"} ${Q}${J.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${J.origin} ${Q}${J.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`தவறான சரம்: "${Q.prefix}" இல் தொடங்க வேண்டும்`;if(Q.format==="ends_with")return`தவறான சரம்: "${Q.suffix}" இல் முடிவடைய வேண்டும்`;if(Q.format==="includes")return`தவறான சரம்: "${Q.includes}" ஐ உள்ளடக்க வேண்டும்`;if(Q.format==="regex")return`தவறான சரம்: ${Q.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${U[Q.format]??J.format}`}case"not_multiple_of":return`தவறான எண்: ${J.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${J.keys.length>1?"கள்":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${J.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function nN(){return{localeError:cD0()}}var dD0=()=>{let $={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function I(J){return $[J]??null}let U={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},Y={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${J.expected} แต่ได้รับ ${q}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${Q} แต่ได้รับ ${q}`}case"invalid_value":if(J.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${w0(J.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"ไม่เกิน":"น้อยกว่า",K=I(J.origin);if(K)return`เกินกำหนด: ${J.origin??"ค่า"} ควรมี${Q} ${J.maximum.toString()} ${K.unit??"รายการ"}`;return`เกินกำหนด: ${J.origin??"ค่า"} ควรมี${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"อย่างน้อย":"มากกว่า",K=I(J.origin);if(K)return`น้อยกว่ากำหนด: ${J.origin} ควรมี${Q} ${J.minimum.toString()} ${K.unit}`;return`น้อยกว่ากำหนด: ${J.origin} ควรมี${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${Q.prefix}"`;if(Q.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${Q.suffix}"`;if(Q.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${Q.includes}" อยู่ในข้อความ`;if(Q.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${Q.pattern}`;return`รูปแบบไม่ถูกต้อง: ${U[Q.format]??J.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${J.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${I0(J.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${J.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${J.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function pN(){return{localeError:dD0()}}var mD0=()=>{let $={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function I(J){return $[J]??null}let U={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Geçersiz değer: beklenen instanceof ${J.expected}, alınan ${q}`;return`Geçersiz değer: beklenen ${Q}, alınan ${q}`}case"invalid_value":if(J.values.length===1)return`Geçersiz değer: beklenen ${w0(J.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Çok büyük: beklenen ${J.origin??"değer"} ${Q}${J.maximum.toString()} ${K.unit??"öğe"}`;return`Çok büyük: beklenen ${J.origin??"değer"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Çok küçük: beklenen ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`Çok küçük: beklenen ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Geçersiz metin: "${Q.prefix}" ile başlamalı`;if(Q.format==="ends_with")return`Geçersiz metin: "${Q.suffix}" ile bitmeli`;if(Q.format==="includes")return`Geçersiz metin: "${Q.includes}" içermeli`;if(Q.format==="regex")return`Geçersiz metin: ${Q.pattern} desenine uymalı`;return`Geçersiz ${U[Q.format]??J.format}`}case"not_multiple_of":return`Geçersiz sayı: ${J.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${J.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function cN(){return{localeError:mD0()}}var lD0=()=>{let $={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function I(J){return $[J]??null}let U={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},Y={nan:"NaN",number:"число",array:"масив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Неправильні вхідні дані: очікується instanceof ${J.expected}, отримано ${q}`;return`Неправильні вхідні дані: очікується ${Q}, отримано ${q}`}case"invalid_value":if(J.values.length===1)return`Неправильні вхідні дані: очікується ${w0(J.values[0])}`;return`Неправильна опція: очікується одне з ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Занадто велике: очікується, що ${J.origin??"значення"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"елементів"}`;return`Занадто велике: очікується, що ${J.origin??"значення"} буде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Занадто мале: очікується, що ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Занадто мале: очікується, що ${J.origin} буде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неправильний рядок: повинен починатися з "${Q.prefix}"`;if(Q.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${Q.suffix}"`;if(Q.format==="includes")return`Неправильний рядок: повинен містити "${Q.includes}"`;if(Q.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${Q.pattern}`;return`Неправильний ${U[Q.format]??J.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${J.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${J.keys.length>1?"і":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${J.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${J.origin}`;default:return"Неправильні вхідні дані"}}};function UQ(){return{localeError:lD0()}}function dN(){return UQ()}var oD0=()=>{let $={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function I(J){return $[J]??null}let U={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},Y={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`غلط ان پٹ: instanceof ${J.expected} متوقع تھا، ${q} موصول ہوا`;return`غلط ان پٹ: ${Q} متوقع تھا، ${q} موصول ہوا`}case"invalid_value":if(J.values.length===1)return`غلط ان پٹ: ${w0(J.values[0])} متوقع تھا`;return`غلط آپشن: ${I0(J.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`بہت بڑا: ${J.origin??"ویلیو"} کے ${Q}${J.maximum.toString()} ${K.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${J.origin??"ویلیو"} کا ${Q}${J.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`بہت چھوٹا: ${J.origin} کے ${Q}${J.minimum.toString()} ${K.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${J.origin} کا ${Q}${J.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`غلط سٹرنگ: "${Q.prefix}" سے شروع ہونا چاہیے`;if(Q.format==="ends_with")return`غلط سٹرنگ: "${Q.suffix}" پر ختم ہونا چاہیے`;if(Q.format==="includes")return`غلط سٹرنگ: "${Q.includes}" شامل ہونا چاہیے`;if(Q.format==="regex")return`غلط سٹرنگ: پیٹرن ${Q.pattern} سے میچ ہونا چاہیے`;return`غلط ${U[Q.format]??J.format}`}case"not_multiple_of":return`غلط نمبر: ${J.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${J.keys.length>1?"ز":""}: ${I0(J.keys,"، ")}`;case"invalid_key":return`${J.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${J.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function mN(){return{localeError:oD0()}}var rD0=()=>{let $={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function I(J){return $[J]??null}let U={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},Y={nan:"NaN",number:"raqam",array:"massiv"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${J.expected}, qabul qilingan ${q}`;return`Noto‘g‘ri kirish: kutilgan ${Q}, qabul qilingan ${q}`}case"invalid_value":if(J.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${w0(J.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Juda katta: kutilgan ${J.origin??"qiymat"} ${Q}${J.maximum.toString()} ${K.unit} ${K.verb}`;return`Juda katta: kutilgan ${J.origin??"qiymat"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Juda kichik: kutilgan ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ${K.verb}`;return`Juda kichik: kutilgan ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Noto‘g‘ri satr: "${Q.prefix}" bilan boshlanishi kerak`;if(Q.format==="ends_with")return`Noto‘g‘ri satr: "${Q.suffix}" bilan tugashi kerak`;if(Q.format==="includes")return`Noto‘g‘ri satr: "${Q.includes}" ni o‘z ichiga olishi kerak`;if(Q.format==="regex")return`Noto‘g‘ri satr: ${Q.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${U[Q.format]??J.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${J.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${J.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function lN(){return{localeError:rD0()}}var tD0=()=>{let $={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function I(J){return $[J]??null}let U={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},Y={nan:"NaN",number:"số",array:"mảng"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${J.expected}, nhận được ${q}`;return`Đầu vào không hợp lệ: mong đợi ${Q}, nhận được ${q}`}case"invalid_value":if(J.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${w0(J.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Quá lớn: mong đợi ${J.origin??"giá trị"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"phần tử"}`;return`Quá lớn: mong đợi ${J.origin??"giá trị"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Quá nhỏ: mong đợi ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Quá nhỏ: mong đợi ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${Q.prefix}"`;if(Q.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${Q.suffix}"`;if(Q.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${Q.includes}"`;if(Q.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${Q.pattern}`;return`${U[Q.format]??J.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${J.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${I0(J.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${J.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${J.origin}`;default:return"Đầu vào không hợp lệ"}}};function oN(){return{localeError:tD0()}}var aD0=()=>{let $={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function I(J){return $[J]??null}let U={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},Y={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`无效输入:期望 instanceof ${J.expected},实际接收 ${q}`;return`无效输入:期望 ${Q},实际接收 ${q}`}case"invalid_value":if(J.values.length===1)return`无效输入:期望 ${w0(J.values[0])}`;return`无效选项:期望以下之一 ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`数值过大:期望 ${J.origin??"值"} ${Q}${J.maximum.toString()} ${K.unit??"个元素"}`;return`数值过大:期望 ${J.origin??"值"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`数值过小:期望 ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`数值过小:期望 ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`无效字符串:必须以 "${Q.prefix}" 开头`;if(Q.format==="ends_with")return`无效字符串:必须以 "${Q.suffix}" 结尾`;if(Q.format==="includes")return`无效字符串:必须包含 "${Q.includes}"`;if(Q.format==="regex")return`无效字符串:必须满足正则表达式 ${Q.pattern}`;return`无效${U[Q.format]??J.format}`}case"not_multiple_of":return`无效数字:必须是 ${J.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${J.origin} 中包含无效值(value)`;default:return"无效输入"}}};function rN(){return{localeError:aD0()}}var sD0=()=>{let $={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function I(J){return $[J]??null}let U={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`無效的輸入值:預期為 instanceof ${J.expected},但收到 ${q}`;return`無效的輸入值:預期為 ${Q},但收到 ${q}`}case"invalid_value":if(J.values.length===1)return`無效的輸入值:預期為 ${w0(J.values[0])}`;return`無效的選項:預期為以下其中之一 ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`數值過大:預期 ${J.origin??"值"} 應為 ${Q}${J.maximum.toString()} ${K.unit??"個元素"}`;return`數值過大:預期 ${J.origin??"值"} 應為 ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`數值過小:預期 ${J.origin} 應為 ${Q}${J.minimum.toString()} ${K.unit}`;return`數值過小:預期 ${J.origin} 應為 ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`無效的字串:必須以 "${Q.prefix}" 開頭`;if(Q.format==="ends_with")return`無效的字串:必須以 "${Q.suffix}" 結尾`;if(Q.format==="includes")return`無效的字串:必須包含 "${Q.includes}"`;if(Q.format==="regex")return`無效的字串:必須符合格式 ${Q.pattern}`;return`無效的 ${U[Q.format]??J.format}`}case"not_multiple_of":return`無效的數字:必須為 ${J.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${J.keys.length>1?"們":""}:${I0(J.keys,"、")}`;case"invalid_key":return`${J.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${J.origin} 中有無效的值`;default:return"無效的輸入值"}}};function tN(){return{localeError:sD0()}}var eD0=()=>{let $={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function I(J){return $[J]??null}let U={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},Y={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=X0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${J.expected}, àmọ̀ a rí ${q}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${Q}, àmọ̀ a rí ${q}`}case"invalid_value":if(J.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${w0(J.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${J.origin??"iye"} ${K.verb} ${Q}${J.maximum} ${K.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${Q}${J.maximum}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Kéré ju: a ní láti jẹ́ pé ${J.origin} ${K.verb} ${Q}${J.minimum} ${K.unit}`;return`Kéré ju: a ní láti jẹ́ ${Q}${J.minimum}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${Q.prefix}"`;if(Q.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${Q.suffix}"`;if(Q.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${Q.includes}"`;if(Q.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${Q.pattern}`;return`Aṣìṣe: ${U[Q.format]??J.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${J.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${I0(J.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${J.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${J.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function aN(){return{localeError:eD0()}}var Wu,sN=Symbol("ZodOutput"),eN=Symbol("ZodInput");class $M{constructor(){this._map=new WeakMap,this._idmap=new Map}add($,...I){let U=I[0];if(this._map.set($,U),U&&typeof U==="object"&&"id"in U)this._idmap.set(U.id,$);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove($){let I=this._map.get($);if(I&&typeof I==="object"&&"id"in I)this._idmap.delete(I.id);return this._map.delete($),this}get($){let I=$._zod.parent;if(I){let U={...this.get(I)??{}};delete U.id;let Y={...U,...this._map.get($)};return Object.keys(Y).length?Y:void 0}return this._map.get($)}has($){return this._map.has($)}}function WH(){return new $M}(Wu=globalThis).__zod_globalRegistry??(Wu.__zod_globalRegistry=WH());var d4=globalThis.__zod_globalRegistry;function IM($,I){return new $({type:"string",...O0(I)})}function UM($,I){return new $({type:"string",coerce:!0,...O0(I)})}function VH($,I){return new $({type:"string",format:"email",check:"string_format",abort:!1,...O0(I)})}function JQ($,I){return new $({type:"string",format:"guid",check:"string_format",abort:!1,...O0(I)})}function wH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,...O0(I)})}function ZH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...O0(I)})}function XH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...O0(I)})}function zH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...O0(I)})}function QQ($,I){return new $({type:"string",format:"url",check:"string_format",abort:!1,...O0(I)})}function LH($,I){return new $({type:"string",format:"emoji",check:"string_format",abort:!1,...O0(I)})}function DH($,I){return new $({type:"string",format:"nanoid",check:"string_format",abort:!1,...O0(I)})}function OH($,I){return new $({type:"string",format:"cuid",check:"string_format",abort:!1,...O0(I)})}function FH($,I){return new $({type:"string",format:"cuid2",check:"string_format",abort:!1,...O0(I)})}function NH($,I){return new $({type:"string",format:"ulid",check:"string_format",abort:!1,...O0(I)})}function MH($,I){return new $({type:"string",format:"xid",check:"string_format",abort:!1,...O0(I)})}function AH($,I){return new $({type:"string",format:"ksuid",check:"string_format",abort:!1,...O0(I)})}function PH($,I){return new $({type:"string",format:"ipv4",check:"string_format",abort:!1,...O0(I)})}function TH($,I){return new $({type:"string",format:"ipv6",check:"string_format",abort:!1,...O0(I)})}function YM($,I){return new $({type:"string",format:"mac",check:"string_format",abort:!1,...O0(I)})}function EH($,I){return new $({type:"string",format:"cidrv4",check:"string_format",abort:!1,...O0(I)})}function BH($,I){return new $({type:"string",format:"cidrv6",check:"string_format",abort:!1,...O0(I)})}function vH($,I){return new $({type:"string",format:"base64",check:"string_format",abort:!1,...O0(I)})}function RH($,I){return new $({type:"string",format:"base64url",check:"string_format",abort:!1,...O0(I)})}function CH($,I){return new $({type:"string",format:"e164",check:"string_format",abort:!1,...O0(I)})}function jH($,I){return new $({type:"string",format:"jwt",check:"string_format",abort:!1,...O0(I)})}var JM={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function QM($,I){return new $({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...O0(I)})}function KM($,I){return new $({type:"string",format:"date",check:"string_format",...O0(I)})}function qM($,I){return new $({type:"string",format:"time",check:"string_format",precision:null,...O0(I)})}function GM($,I){return new $({type:"string",format:"duration",check:"string_format",...O0(I)})}function HM($,I){return new $({type:"number",checks:[],...O0(I)})}function WM($,I){return new $({type:"number",coerce:!0,checks:[],...O0(I)})}function VM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"safeint",...O0(I)})}function wM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"float32",...O0(I)})}function ZM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"float64",...O0(I)})}function XM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"int32",...O0(I)})}function zM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"uint32",...O0(I)})}function LM($,I){return new $({type:"boolean",...O0(I)})}function DM($,I){return new $({type:"boolean",coerce:!0,...O0(I)})}function OM($,I){return new $({type:"bigint",...O0(I)})}function FM($,I){return new $({type:"bigint",coerce:!0,...O0(I)})}function NM($,I){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...O0(I)})}function MM($,I){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...O0(I)})}function AM($,I){return new $({type:"symbol",...O0(I)})}function PM($,I){return new $({type:"undefined",...O0(I)})}function TM($,I){return new $({type:"null",...O0(I)})}function EM($){return new $({type:"any"})}function BM($){return new $({type:"unknown"})}function vM($,I){return new $({type:"never",...O0(I)})}function RM($,I){return new $({type:"void",...O0(I)})}function CM($,I){return new $({type:"date",...O0(I)})}function jM($,I){return new $({type:"date",coerce:!0,...O0(I)})}function _M($,I){return new $({type:"nan",...O0(I)})}function q8($,I){return new sG({check:"less_than",...O0(I),value:$,inclusive:!1})}function $$($,I){return new sG({check:"less_than",...O0(I),value:$,inclusive:!0})}function G8($,I){return new eG({check:"greater_than",...O0(I),value:$,inclusive:!1})}function P6($,I){return new eG({check:"greater_than",...O0(I),value:$,inclusive:!0})}function _H($){return G8(0,$)}function SH($){return q8(0,$)}function gH($){return $$(0,$)}function yH($){return P6(0,$)}function a5($,I){return new RO({check:"multiple_of",...O0(I),value:$})}function s5($,I){return new _O({check:"max_size",...O0(I),maximum:$})}function H8($,I){return new SO({check:"min_size",...O0(I),minimum:$})}function E7($,I){return new gO({check:"size_equals",...O0(I),size:$})}function B7($,I){return new yO({check:"max_length",...O0(I),maximum:$})}function t8($,I){return new hO({check:"min_length",...O0(I),minimum:$})}function v7($,I){return new xO({check:"length_equals",...O0(I),length:$})}function TI($,I){return new kO({check:"string_format",format:"regex",...O0(I),pattern:$})}function EI($){return new uO({check:"string_format",format:"lowercase",...O0($)})}function BI($){return new fO({check:"string_format",format:"uppercase",...O0($)})}function vI($,I){return new bO({check:"string_format",format:"includes",...O0(I),includes:$})}function RI($,I){return new iO({check:"string_format",format:"starts_with",...O0(I),prefix:$})}function CI($,I){return new nO({check:"string_format",format:"ends_with",...O0(I),suffix:$})}function hH($,I,U){return new pO({check:"property",property:$,schema:I,...O0(U)})}function jI($,I){return new cO({check:"mime_type",mime:$,...O0(I)})}function f$($){return new dO({check:"overwrite",tx:$})}function _I($){return f$((I)=>I.normalize($))}function SI(){return f$(($)=>$.trim())}function gI(){return f$(($)=>$.toLowerCase())}function yI(){return f$(($)=>$.toUpperCase())}function hI(){return f$(($)=>pD($))}function SM($,I,U){return new $({type:"array",element:I,...O0(U)})}function IO0($,I,U){return new $({type:"union",options:I,...O0(U)})}function UO0($,I,U){return new $({type:"union",options:I,inclusive:!1,...O0(U)})}function YO0($,I,U,Y){return new $({type:"union",options:U,discriminator:I,...O0(Y)})}function JO0($,I,U){return new $({type:"intersection",left:I,right:U})}function QO0($,I,U,Y){let J=U instanceof i0;return new $({type:"tuple",items:I,rest:J?U:null,...O0(J?Y:U)})}function KO0($,I,U,Y){return new $({type:"record",keyType:I,valueType:U,...O0(Y)})}function qO0($,I,U,Y){return new $({type:"map",keyType:I,valueType:U,...O0(Y)})}function GO0($,I,U){return new $({type:"set",valueType:I,...O0(U)})}function HO0($,I,U){let Y=Array.isArray(I)?Object.fromEntries(I.map((J)=>[J,J])):I;return new $({type:"enum",entries:Y,...O0(U)})}function WO0($,I,U){return new $({type:"enum",entries:I,...O0(U)})}function VO0($,I,U){return new $({type:"literal",values:Array.isArray(I)?I:[I],...O0(U)})}function gM($,I){return new $({type:"file",...O0(I)})}function wO0($,I){return new $({type:"transform",transform:I})}function ZO0($,I){return new $({type:"optional",innerType:I})}function XO0($,I){return new $({type:"nullable",innerType:I})}function zO0($,I,U){return new $({type:"default",innerType:I,get defaultValue(){return typeof U==="function"?U():dD(U)}})}function LO0($,I,U){return new $({type:"nonoptional",innerType:I,...O0(U)})}function DO0($,I){return new $({type:"success",innerType:I})}function OO0($,I,U){return new $({type:"catch",innerType:I,catchValue:typeof U==="function"?U:()=>U})}function FO0($,I,U){return new $({type:"pipe",in:I,out:U})}function NO0($,I){return new $({type:"readonly",innerType:I})}function MO0($,I,U){return new $({type:"template_literal",parts:I,...O0(U)})}function AO0($,I){return new $({type:"lazy",getter:I})}function PO0($,I){return new $({type:"promise",innerType:I})}function yM($,I,U){let Y=O0(U);return Y.abort??(Y.abort=!0),new $({type:"custom",check:"custom",fn:I,...Y})}function hM($,I,U){return new $({type:"custom",check:"custom",fn:I,...O0(U)})}function xM($,I){let U=Vu((Y)=>{return Y.addIssue=(J)=>{if(typeof J==="string")Y.issues.push(LI(J,Y.value,U._zod.def));else{let Q=J;if(Q.fatal)Q.continue=!1;Q.code??(Q.code="custom"),Q.input??(Q.input=Y.value),Q.inst??(Q.inst=U),Q.continue??(Q.continue=!U._zod.def.abort),Y.issues.push(LI(Q))}},$(Y.value,Y)},I);return U}function Vu($,I){let U=new k1({check:"custom",...O0(I)});return U._zod.check=$,U}function kM($){let I=new k1({check:"describe"});return I._zod.onattach=[(U)=>{let Y=d4.get(U)??{};d4.add(U,{...Y,description:$})}],I._zod.check=()=>{},I}function uM($){let I=new k1({check:"meta"});return I._zod.onattach=[(U)=>{let Y=d4.get(U)??{};d4.add(U,{...Y,...$})}],I._zod.check=()=>{},I}function fM($,I){let U=O0(I),Y=U.truthy??["true","1","yes","on","y","enabled"],J=U.falsy??["false","0","no","off","n","disabled"];if(U.case!=="sensitive")Y=Y.map((Z)=>typeof Z==="string"?Z.toLowerCase():Z),J=J.map((Z)=>typeof Z==="string"?Z.toLowerCase():Z);let Q=new Set(Y),K=new Set(J),q=$.Codec??sJ,G=$.Boolean??tJ,W=new($.String??T7)({type:"string",error:U.error}),V=new G({type:"boolean",error:U.error}),w=new q({type:"pipe",in:W,out:V,transform:(Z,z)=>{let L=Z;if(U.case!=="sensitive")L=L.toLowerCase();if(Q.has(L))return!0;else if(K.has(L))return!1;else return z.issues.push({code:"invalid_value",expected:"stringbool",values:[...Q,...K],input:z.value,inst:w,continue:!1}),{}},reverseTransform:(Z,z)=>{if(Z===!0)return Y[0]||"true";else return J[0]||"false"},error:U.error});return w}function xI($,I,U,Y={}){let J=O0(Y),Q={...O0(Y),check:"string_format",type:"string",format:I,fn:typeof U==="function"?U:(q)=>U.test(q),...J};if(U instanceof RegExp)Q.pattern=U;return new $(Q)}function e5($){let I=$?.target??"draft-2020-12";if(I==="draft-4")I="draft-04";if(I==="draft-7")I="draft-07";return{processors:$.processors??{},metadataRegistry:$?.metadata??d4,target:I,unrepresentable:$?.unrepresentable??"throw",override:$?.override??(()=>{}),io:$?.io??"output",counter:0,seen:new Map,cycles:$?.cycles??"ref",reused:$?.reused??"inline",external:$?.external??void 0}}function C1($,I,U={path:[],schemaPath:[]}){var Y;let J=$._zod.def,Q=I.seen.get($);if(Q){if(Q.count++,U.schemaPath.includes($))Q.cycle=U.path;return Q.schema}let K={schema:{},count:1,cycle:void 0,path:U.path};I.seen.set($,K);let q=$._zod.toJSONSchema?.();if(q)K.schema=q;else{let W={...U,schemaPath:[...U.schemaPath,$],path:U.path};if($._zod.processJSONSchema)$._zod.processJSONSchema(I,K.schema,W);else{let w=K.schema,Z=I.processors[J.type];if(!Z)throw Error(`[toJSONSchema]: Non-representable type encountered: ${J.type}`);Z($,I,w,W)}let V=$._zod.parent;if(V){if(!K.ref)K.ref=V;C1(V,I,W),I.seen.get(V).isParent=!0}}let G=I.metadataRegistry.get($);if(G)Object.assign(K.schema,G);if(I.io==="input"&&T6($))delete K.schema.examples,delete K.schema.default;if(I.io==="input"&&"_prefault"in K.schema)(Y=K.schema).default??(Y.default=K.schema._prefault);return delete K.schema._prefault,I.seen.get($).schema}function $9($,I){let U=$.seen.get(I);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let Y=new Map;for(let K of $.seen.entries()){let q=$.metadataRegistry.get(K[0])?.id;if(q){let G=Y.get(q);if(G&&G!==K[0])throw Error(`Duplicate schema id "${q}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);Y.set(q,K[0])}}let J=(K)=>{let q=$.target==="draft-2020-12"?"$defs":"definitions";if($.external){let V=$.external.registry.get(K[0])?.id,w=$.external.uri??((z)=>z);if(V)return{ref:w(V)};let Z=K[1].defId??K[1].schema.id??`schema${$.counter++}`;return K[1].defId=Z,{defId:Z,ref:`${w("__shared")}#/${q}/${Z}`}}if(K[1]===U)return{ref:"#"};let H=`${"#"}/${q}/`,W=K[1].schema.id??`__schema${$.counter++}`;return{defId:W,ref:H+W}},Q=(K)=>{if(K[1].schema.$ref)return;let q=K[1],{ref:G,defId:H}=J(K);if(q.def={...q.schema},H)q.defId=H;let W=q.schema;for(let V in W)delete W[V];W.$ref=G};if($.cycles==="throw")for(let K of $.seen.entries()){let q=K[1];if(q.cycle)throw Error(`Cycle detected: #/${q.cycle?.join("/")}/ -Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let K of $.seen.entries()){let q=K[1];if(I===K[0]){Q(K);continue}if($.external){let H=$.external.registry.get(K[0])?.id;if(I!==K[0]&&H){Q(K);continue}}if($.metadataRegistry.get(K[0])?.id){Q(K);continue}if(q.cycle){Q(K);continue}if(q.count>1){if($.reused==="ref"){Q(K);continue}}}}function e5($,I){let U=$.seen.get(I);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let Y=(q)=>{let G=$.seen.get(q);if(G.ref===null)return;let H=G.def??G.schema,W={...H},V=G.ref;if(G.ref=null,V){Y(V);let Z=$.seen.get(V),w=Z.schema;if(w.$ref&&($.target==="draft-07"||$.target==="draft-04"||$.target==="openapi-3.0"))H.allOf=H.allOf??[],H.allOf.push(w);else Object.assign(H,w);if(Object.assign(H,W),q._zod.parent===V)for(let D in H){if(D==="$ref"||D==="allOf")continue;if(!(D in W))delete H[D]}if(w.$ref&&Z.def)for(let D in H){if(D==="$ref"||D==="allOf")continue;if(D in Z.def&&JSON.stringify(H[D])===JSON.stringify(Z.def[D]))delete H[D]}}let z=q._zod.parent;if(z&&z!==V){Y(z);let Z=$.seen.get(z);if(Z?.schema.$ref){if(H.$ref=Z.schema.$ref,Z.def)for(let w in H){if(w==="$ref"||w==="allOf")continue;if(w in Z.def&&JSON.stringify(H[w])===JSON.stringify(Z.def[w]))delete H[w]}}}$.override({zodSchema:q,jsonSchema:H,path:G.path??[]})};for(let q of[...$.seen.entries()].reverse())Y(q[0]);let J={};if($.target==="draft-2020-12")J.$schema="https://json-schema.org/draft/2020-12/schema";else if($.target==="draft-07")J.$schema="http://json-schema.org/draft-07/schema#";else if($.target==="draft-04")J.$schema="http://json-schema.org/draft-04/schema#";else if($.target==="openapi-3.0");if($.external?.uri){let q=$.external.registry.get(I)?.id;if(!q)throw Error("Schema is missing an `id` property");J.$id=$.external.uri(q)}Object.assign(J,U.def??U.schema);let Q=$.metadataRegistry.get(I)?.id;if(Q!==void 0&&J.id===Q)delete J.id;let K=$.external?.defs??{};for(let q of $.seen.entries()){let G=q[1];if(G.def&&G.defId){if(G.def.id===G.defId)delete G.def.id;K[G.defId]=G.def}}if($.external);else if(Object.keys(K).length>0)if($.target==="draft-2020-12")J.$defs=K;else J.definitions=K;try{let q=JSON.parse(JSON.stringify(J));return Object.defineProperty(q,"~standard",{value:{...I["~standard"],jsonSchema:{input:hI(I,"input",$.processors),output:hI(I,"output",$.processors)}},enumerable:!1,writable:!1}),q}catch(q){throw Error("Error converting schema to JSON.")}}function T6($,I){let U=I??{seen:new Set};if(U.seen.has($))return!1;U.seen.add($);let Y=$._zod.def;if(Y.type==="transform")return!0;if(Y.type==="array")return T6(Y.element,U);if(Y.type==="set")return T6(Y.valueType,U);if(Y.type==="lazy")return T6(Y.getter(),U);if(Y.type==="promise"||Y.type==="optional"||Y.type==="nonoptional"||Y.type==="nullable"||Y.type==="readonly"||Y.type==="default"||Y.type==="prefault")return T6(Y.innerType,U);if(Y.type==="intersection")return T6(Y.left,U)||T6(Y.right,U);if(Y.type==="record"||Y.type==="map")return T6(Y.keyType,U)||T6(Y.valueType,U);if(Y.type==="pipe"){if($._zod.traits.has("$ZodCodec"))return!0;return T6(Y.in,U)||T6(Y.out,U)}if(Y.type==="object"){for(let J in Y.shape)if(T6(Y.shape[J],U))return!0;return!1}if(Y.type==="union"){for(let J of Y.options)if(T6(J,U))return!0;return!1}if(Y.type==="tuple"){for(let J of Y.items)if(T6(J,U))return!0;if(Y.rest&&T6(Y.rest,U))return!0;return!1}return!1}var RM=($,I={})=>(U)=>{let Y=a5({...U,processors:I});return C1($,Y),s5(Y,$),e5(Y,$)},hI=($,I,U={})=>(Y)=>{let{libraryOptions:J,target:Q}=Y??{},K=a5({...J??{},target:Q,io:I,processors:U});return C1($,K),s5(K,$),e5(K,$)};var xD0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},vM=($,I,U,Y)=>{let J=U;J.type="string";let{minimum:Q,maximum:K,format:q,patterns:G,contentEncoding:H}=$._zod.bag;if(typeof Q==="number")J.minLength=Q;if(typeof K==="number")J.maxLength=K;if(q){if(J.format=xD0[q]??q,J.format==="")delete J.format;if(q==="time")delete J.format}if(H)J.contentEncoding=H;if(G&&G.size>0){let W=[...G];if(W.length===1)J.pattern=W[0].source;else if(W.length>1)J.allOf=[...W.map((V)=>({...I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"?{type:"string"}:{},pattern:V.source}))]}},CM=($,I,U,Y)=>{let J=U,{minimum:Q,maximum:K,format:q,multipleOf:G,exclusiveMaximum:H,exclusiveMinimum:W}=$._zod.bag;if(typeof q==="string"&&q.includes("int"))J.type="integer";else J.type="number";let V=typeof W==="number"&&W>=(Q??Number.NEGATIVE_INFINITY),z=typeof H==="number"&&H<=(K??Number.POSITIVE_INFINITY),Z=I.target==="draft-04"||I.target==="openapi-3.0";if(V)if(Z)J.minimum=W,J.exclusiveMinimum=!0;else J.exclusiveMinimum=W;else if(typeof Q==="number")J.minimum=Q;if(z)if(Z)J.maximum=H,J.exclusiveMaximum=!0;else J.exclusiveMaximum=H;else if(typeof K==="number")J.maximum=K;if(typeof G==="number")J.multipleOf=G},jM=($,I,U,Y)=>{U.type="boolean"},_M=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},SM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},gM=($,I,U,Y)=>{if(I.target==="openapi-3.0")U.type="string",U.nullable=!0,U.enum=[null];else U.type="null"},yM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},hM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},xM=($,I,U,Y)=>{U.not={}},kM=($,I,U,Y)=>{},uM=($,I,U,Y)=>{},fM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},bM=($,I,U,Y)=>{let J=$._zod.def,Q=gJ(J.entries);if(Q.every((K)=>typeof K==="number"))U.type="number";if(Q.every((K)=>typeof K==="string"))U.type="string";U.enum=Q},iM=($,I,U,Y)=>{let J=$._zod.def,Q=[];for(let K of J.values)if(K===void 0){if(I.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof K==="bigint")if(I.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else Q.push(Number(K));else Q.push(K);if(Q.length===0);else if(Q.length===1){let K=Q[0];if(U.type=K===null?"null":typeof K,I.target==="draft-04"||I.target==="openapi-3.0")U.enum=[K];else U.const=K}else{if(Q.every((K)=>typeof K==="number"))U.type="number";if(Q.every((K)=>typeof K==="string"))U.type="string";if(Q.every((K)=>typeof K==="boolean"))U.type="boolean";if(Q.every((K)=>K===null))U.type="null";U.enum=Q}},nM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},pM=($,I,U,Y)=>{let J=U,Q=$._zod.pattern;if(!Q)throw Error("Pattern not found in template literal");J.type="string",J.pattern=Q.source},cM=($,I,U,Y)=>{let J=U,Q={type:"string",format:"binary",contentEncoding:"binary"},{minimum:K,maximum:q,mime:G}=$._zod.bag;if(K!==void 0)Q.minLength=K;if(q!==void 0)Q.maxLength=q;if(G)if(G.length===1)Q.contentMediaType=G[0],Object.assign(J,Q);else Object.assign(J,Q),J.anyOf=G.map((H)=>({contentMediaType:H}));else Object.assign(J,Q)},dM=($,I,U,Y)=>{U.type="boolean"},mM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},lM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},oM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},rM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},tM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},aM=($,I,U,Y)=>{let J=U,Q=$._zod.def,{minimum:K,maximum:q}=$._zod.bag;if(typeof K==="number")J.minItems=K;if(typeof q==="number")J.maxItems=q;J.type="array",J.items=C1(Q.element,I,{...Y,path:[...Y.path,"items"]})},sM=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="object",J.properties={};let K=Q.shape;for(let H in K)J.properties[H]=C1(K[H],I,{...Y,path:[...Y.path,"properties",H]});let q=new Set(Object.keys(K)),G=new Set([...q].filter((H)=>{let W=Q.shape[H]._zod;if(I.io==="input")return W.optin===void 0;else return W.optout===void 0}));if(G.size>0)J.required=Array.from(G);if(Q.catchall?._zod.def.type==="never")J.additionalProperties=!1;else if(!Q.catchall){if(I.io==="output")J.additionalProperties=!1}else if(Q.catchall)J.additionalProperties=C1(Q.catchall,I,{...Y,path:[...Y.path,"additionalProperties"]})},gH=($,I,U,Y)=>{let J=$._zod.def,Q=J.inclusive===!1,K=J.options.map((q,G)=>C1(q,I,{...Y,path:[...Y.path,Q?"oneOf":"anyOf",G]}));if(Q)U.oneOf=K;else U.anyOf=K},eM=($,I,U,Y)=>{let J=$._zod.def,Q=C1(J.left,I,{...Y,path:[...Y.path,"allOf",0]}),K=C1(J.right,I,{...Y,path:[...Y.path,"allOf",1]}),q=(H)=>("allOf"in H)&&Object.keys(H).length===1,G=[...q(Q)?Q.allOf:[Q],...q(K)?K.allOf:[K]];U.allOf=G},$A=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="array";let K=I.target==="draft-2020-12"?"prefixItems":"items",q=I.target==="draft-2020-12"?"items":I.target==="openapi-3.0"?"items":"additionalItems",G=Q.items.map((z,Z)=>C1(z,I,{...Y,path:[...Y.path,K,Z]})),H=Q.rest?C1(Q.rest,I,{...Y,path:[...Y.path,q,...I.target==="openapi-3.0"?[Q.items.length]:[]]}):null;if(I.target==="draft-2020-12"){if(J.prefixItems=G,H)J.items=H}else if(I.target==="openapi-3.0"){if(J.items={anyOf:G},H)J.items.anyOf.push(H);if(J.minItems=G.length,!H)J.maxItems=G.length}else if(J.items=G,H)J.additionalItems=H;let{minimum:W,maximum:V}=$._zod.bag;if(typeof W==="number")J.minItems=W;if(typeof V==="number")J.maxItems=V},IA=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="object";let K=Q.keyType,G=K._zod.bag?.patterns;if(Q.mode==="loose"&&G&&G.size>0){let W=C1(Q.valueType,I,{...Y,path:[...Y.path,"patternProperties","*"]});J.patternProperties={};for(let V of G)J.patternProperties[V.source]=W}else{if(I.target==="draft-07"||I.target==="draft-2020-12")J.propertyNames=C1(Q.keyType,I,{...Y,path:[...Y.path,"propertyNames"]});J.additionalProperties=C1(Q.valueType,I,{...Y,path:[...Y.path,"additionalProperties"]})}let H=K._zod.values;if(H){let W=[...H].filter((V)=>typeof V==="string"||typeof V==="number");if(W.length>0)J.required=W}},UA=($,I,U,Y)=>{let J=$._zod.def,Q=C1(J.innerType,I,Y),K=I.seen.get($);if(I.target==="openapi-3.0")K.ref=J.innerType,U.nullable=!0;else U.anyOf=[Q,{type:"null"}]},YA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},JA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType,U.default=JSON.parse(JSON.stringify(J.defaultValue))},QA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);if(Q.ref=J.innerType,I.io==="input")U._prefault=JSON.parse(JSON.stringify(J.defaultValue))},KA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType;let K;try{K=J.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}U.default=K},qA=($,I,U,Y)=>{let J=$._zod.def,Q=J.in._zod.traits.has("$ZodTransform"),K=I.io==="input"?Q?J.out:J.in:J.out;C1(K,I,Y);let q=I.seen.get($);q.ref=K},GA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType,U.readOnly=!0},HA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},yH=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},WA=($,I,U,Y)=>{let J=$._zod.innerType;C1(J,I,Y);let Q=I.seen.get($);Q.ref=J},SH={string:vM,number:CM,boolean:jM,bigint:_M,symbol:SM,null:gM,undefined:yM,void:hM,never:xM,any:kM,unknown:uM,date:fM,enum:bM,literal:iM,nan:nM,template_literal:pM,file:cM,success:dM,custom:mM,function:lM,transform:oM,map:rM,set:tM,array:aM,object:sM,union:gH,intersection:eM,tuple:$A,record:IA,nullable:UA,nonoptional:YA,default:JA,prefault:QA,catch:KA,pipe:qA,readonly:GA,promise:HA,optional:yH,lazy:WA};function hH($,I){if("_idmap"in $){let Y=$,J=a5({...I,processors:SH}),Q={};for(let G of Y._idmap.entries()){let[H,W]=G;C1(W,J)}let K={},q={registry:Y,uri:I?.uri,defs:Q};J.external=q;for(let G of Y._idmap.entries()){let[H,W]=G;s5(J,W),K[H]=e5(J,W)}if(Object.keys(Q).length>0){let G=J.target==="draft-2020-12"?"$defs":"definitions";K.__shared={[G]:Q}}return{schemas:K}}let U=a5({...I,processors:SH});return C1($,U),s5(U,$),e5(U,$)}class VA{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter($){this.ctx.counter=$}get seen(){return this.ctx.seen}constructor($){let I=$?.target??"draft-2020-12";if(I==="draft-4")I="draft-04";if(I==="draft-7")I="draft-07";this.ctx=a5({processors:SH,target:I,...$?.metadata&&{metadata:$.metadata},...$?.unrepresentable&&{unrepresentable:$.unrepresentable},...$?.override&&{override:$.override},...$?.io&&{io:$.io}})}process($,I={path:[],schemaPath:[]}){return C1($,this.ctx,I)}emit($,I){if(I){if(I.cycles)this.ctx.cycles=I.cycles;if(I.reused)this.ctx.reused=I.reused;if(I.external)this.ctx.external=I.external}s5(this.ctx,$);let U=e5(this.ctx,$),{"~standard":Y,...J}=U;return J}}var tk={};function xI($){return!!$._zod}function $9($,I){if(xI($))return OI($,I);return $.safeParse(I)}function xH($){if(!$)return;let I;if(xI($))I=$._zod?.def?.shape;else I=$.shape;if(!I)return;if(typeof I==="function")try{return I()}catch{return}return I}function ak($){if(xI($)){let Q=$._zod?.def;if(Q){if(Q.value!==void 0)return Q.value;if(Array.isArray(Q.values)&&Q.values.length>0)return Q.values[0]}}let U=$._def;if(U){if(U.value!==void 0)return U.value;if(Array.isArray(U.values)&&U.values.length>0)return U.values[0]}let Y=$.value;if(Y!==void 0)return Y;return}var X={};m8(X,{xor:()=>nu,xid:()=>zu,void:()=>uu,uuidv7:()=>Qu,uuidv6:()=>Ju,uuidv4:()=>Yu,uuid:()=>Uu,util:()=>w0,url:()=>Ku,uppercase:()=>TI,unknown:()=>y1,union:()=>h1,undefined:()=>xu,ulid:()=>Zu,uint64:()=>yu,uint32:()=>_u,tuple:()=>iA,trim:()=>jI,treeifyError:()=>uD,transform:()=>HW,toUpperCase:()=>SI,toLowerCase:()=>_I,toJSONSchema:()=>hH,templateLiteral:()=>$f,symbol:()=>hu,superRefine:()=>XP,success:()=>tu,stringbool:()=>qf,stringFormat:()=>Tu,string:()=>Q0,strictObject:()=>iu,startsWith:()=>BI,slugify:()=>gI,size:()=>P7,setErrorMap:()=>iD0,set:()=>mu,safeParseAsync:()=>NA,safeParse:()=>OA,safeEncodeAsync:()=>BA,safeEncode:()=>TA,safeDecodeAsync:()=>RA,safeDecode:()=>EA,registry:()=>KH,regexes:()=>e6,regex:()=>AI,refine:()=>zP,record:()=>_1,readonly:()=>qP,property:()=>_H,promise:()=>If,prettifyError:()=>fD,preprocess:()=>LQ,prefault:()=>eA,positive:()=>RH,pipe:()=>pH,partialRecord:()=>pu,parseAsync:()=>DA,parse:()=>LA,overwrite:()=>u$,optional:()=>u1,object:()=>P0,number:()=>z1,nullish:()=>ru,nullable:()=>QQ,null:()=>GQ,normalize:()=>CI,nonpositive:()=>CH,nonoptional:()=>$P,nonnegative:()=>jH,never:()=>GW,negative:()=>vH,nativeEnum:()=>lu,nanoid:()=>Hu,nan:()=>au,multipleOf:()=>r5,minSize:()=>G8,minLength:()=>o8,mime:()=>vI,meta:()=>Qf,maxSize:()=>t5,maxLength:()=>T7,map:()=>du,mac:()=>Lu,lte:()=>$$,lt:()=>K8,lowercase:()=>PI,looseRecord:()=>cu,looseObject:()=>m4,locales:()=>$Q,literal:()=>j0,length:()=>E7,lazy:()=>WP,ksuid:()=>Xu,keyof:()=>bu,jwt:()=>Pu,json:()=>Gf,iso:()=>I9,ipv6:()=>Du,ipv4:()=>wu,invertCodec:()=>eu,intersection:()=>cI,int64:()=>gu,int32:()=>ju,int:()=>nH,instanceof:()=>Kf,includes:()=>EI,httpUrl:()=>qu,hostname:()=>Eu,hex:()=>Bu,hash:()=>Ru,guid:()=>Iu,gte:()=>P6,gt:()=>q8,globalRegistry:()=>d4,getErrorMap:()=>nD0,function:()=>Uf,fromJSONSchema:()=>Wf,formatError:()=>bJ,float64:()=>Cu,float32:()=>vu,flattenError:()=>fJ,file:()=>ou,exactOptional:()=>oA,enum:()=>l4,endsWith:()=>RI,encodeAsync:()=>AA,encode:()=>FA,emoji:()=>Gu,email:()=>$u,e164:()=>Au,discriminatedUnion:()=>ZQ,describe:()=>Jf,decodeAsync:()=>PA,decode:()=>MA,date:()=>fu,custom:()=>ZW,cuid2:()=>Vu,cuid:()=>Wu,core:()=>r8,config:()=>Z4,coerce:()=>LP,codec:()=>su,clone:()=>M6,cidrv6:()=>Nu,cidrv4:()=>Ou,check:()=>Yf,catch:()=>YP,boolean:()=>O4,bigint:()=>Su,base64url:()=>Mu,base64:()=>Fu,array:()=>e0,any:()=>ku,_function:()=>Uf,_default:()=>aA,_ZodString:()=>cH,ZodXor:()=>kA,ZodXID:()=>aH,ZodVoid:()=>hA,ZodUnknown:()=>gA,ZodUnion:()=>VQ,ZodUndefined:()=>jA,ZodUUID:()=>H8,ZodURL:()=>qQ,ZodULID:()=>tH,ZodType:()=>m0,ZodTuple:()=>bA,ZodTransform:()=>mA,ZodTemplateLiteral:()=>GP,ZodSymbol:()=>CA,ZodSuccess:()=>IP,ZodStringFormat:()=>g1,ZodString:()=>fI,ZodSet:()=>pA,ZodRecord:()=>kI,ZodRealError:()=>x6,ZodReadonly:()=>KP,ZodPromise:()=>VP,ZodPreprocess:()=>QP,ZodPrefault:()=>sA,ZodPipe:()=>zQ,ZodOptional:()=>WW,ZodObject:()=>WQ,ZodNumberFormat:()=>B7,ZodNumber:()=>iI,ZodNullable:()=>rA,ZodNull:()=>_A,ZodNonOptional:()=>VW,ZodNever:()=>yA,ZodNanoID:()=>lH,ZodNaN:()=>JP,ZodMap:()=>nA,ZodMAC:()=>vA,ZodLiteral:()=>cA,ZodLazy:()=>HP,ZodKSUID:()=>sH,ZodJWT:()=>KW,ZodIssueCode:()=>bD0,ZodIntersection:()=>fA,ZodISOTime:()=>bH,ZodISODuration:()=>iH,ZodISODateTime:()=>uH,ZodISODate:()=>fH,ZodIPv6:()=>$W,ZodIPv4:()=>eH,ZodGUID:()=>JQ,ZodFunction:()=>ZP,ZodFirstPartyTypeKind:()=>wP,ZodFile:()=>dA,ZodExactOptional:()=>lA,ZodError:()=>uD0,ZodEnum:()=>uI,ZodEmoji:()=>mH,ZodEmail:()=>dH,ZodE164:()=>QW,ZodDiscriminatedUnion:()=>uA,ZodDefault:()=>tA,ZodDate:()=>HQ,ZodCustomStringFormat:()=>bI,ZodCustom:()=>wQ,ZodCodec:()=>XQ,ZodCatch:()=>UP,ZodCUID2:()=>rH,ZodCUID:()=>oH,ZodCIDRv6:()=>UW,ZodCIDRv4:()=>IW,ZodBoolean:()=>nI,ZodBigIntFormat:()=>qW,ZodBigInt:()=>pI,ZodBase64URL:()=>JW,ZodBase64:()=>YW,ZodArray:()=>xA,ZodAny:()=>SA,TimePrecision:()=>dF,NEVER:()=>BD,$output:()=>fF,$input:()=>bF,$brand:()=>RD});var YQ={};m8(YQ,{xor:()=>nu,xid:()=>zu,void:()=>uu,uuidv7:()=>Qu,uuidv6:()=>Ju,uuidv4:()=>Yu,uuid:()=>Uu,url:()=>Ku,unknown:()=>y1,union:()=>h1,undefined:()=>xu,ulid:()=>Zu,uint64:()=>yu,uint32:()=>_u,tuple:()=>iA,transform:()=>HW,templateLiteral:()=>$f,symbol:()=>hu,superRefine:()=>XP,success:()=>tu,stringbool:()=>qf,stringFormat:()=>Tu,string:()=>Q0,strictObject:()=>iu,set:()=>mu,refine:()=>zP,record:()=>_1,readonly:()=>qP,promise:()=>If,preprocess:()=>LQ,prefault:()=>eA,pipe:()=>pH,partialRecord:()=>pu,optional:()=>u1,object:()=>P0,number:()=>z1,nullish:()=>ru,nullable:()=>QQ,null:()=>GQ,nonoptional:()=>$P,never:()=>GW,nativeEnum:()=>lu,nanoid:()=>Hu,nan:()=>au,meta:()=>Qf,map:()=>du,mac:()=>Lu,looseRecord:()=>cu,looseObject:()=>m4,literal:()=>j0,lazy:()=>WP,ksuid:()=>Xu,keyof:()=>bu,jwt:()=>Pu,json:()=>Gf,ipv6:()=>Du,ipv4:()=>wu,invertCodec:()=>eu,intersection:()=>cI,int64:()=>gu,int32:()=>ju,int:()=>nH,instanceof:()=>Kf,httpUrl:()=>qu,hostname:()=>Eu,hex:()=>Bu,hash:()=>Ru,guid:()=>Iu,function:()=>Uf,float64:()=>Cu,float32:()=>vu,file:()=>ou,exactOptional:()=>oA,enum:()=>l4,emoji:()=>Gu,email:()=>$u,e164:()=>Au,discriminatedUnion:()=>ZQ,describe:()=>Jf,date:()=>fu,custom:()=>ZW,cuid2:()=>Vu,cuid:()=>Wu,codec:()=>su,cidrv6:()=>Nu,cidrv4:()=>Ou,check:()=>Yf,catch:()=>YP,boolean:()=>O4,bigint:()=>Su,base64url:()=>Mu,base64:()=>Fu,array:()=>e0,any:()=>ku,_function:()=>Uf,_default:()=>aA,_ZodString:()=>cH,ZodXor:()=>kA,ZodXID:()=>aH,ZodVoid:()=>hA,ZodUnknown:()=>gA,ZodUnion:()=>VQ,ZodUndefined:()=>jA,ZodUUID:()=>H8,ZodURL:()=>qQ,ZodULID:()=>tH,ZodType:()=>m0,ZodTuple:()=>bA,ZodTransform:()=>mA,ZodTemplateLiteral:()=>GP,ZodSymbol:()=>CA,ZodSuccess:()=>IP,ZodStringFormat:()=>g1,ZodString:()=>fI,ZodSet:()=>pA,ZodRecord:()=>kI,ZodReadonly:()=>KP,ZodPromise:()=>VP,ZodPreprocess:()=>QP,ZodPrefault:()=>sA,ZodPipe:()=>zQ,ZodOptional:()=>WW,ZodObject:()=>WQ,ZodNumberFormat:()=>B7,ZodNumber:()=>iI,ZodNullable:()=>rA,ZodNull:()=>_A,ZodNonOptional:()=>VW,ZodNever:()=>yA,ZodNanoID:()=>lH,ZodNaN:()=>JP,ZodMap:()=>nA,ZodMAC:()=>vA,ZodLiteral:()=>cA,ZodLazy:()=>HP,ZodKSUID:()=>sH,ZodJWT:()=>KW,ZodIntersection:()=>fA,ZodIPv6:()=>$W,ZodIPv4:()=>eH,ZodGUID:()=>JQ,ZodFunction:()=>ZP,ZodFile:()=>dA,ZodExactOptional:()=>lA,ZodEnum:()=>uI,ZodEmoji:()=>mH,ZodEmail:()=>dH,ZodE164:()=>QW,ZodDiscriminatedUnion:()=>uA,ZodDefault:()=>tA,ZodDate:()=>HQ,ZodCustomStringFormat:()=>bI,ZodCustom:()=>wQ,ZodCodec:()=>XQ,ZodCatch:()=>UP,ZodCUID2:()=>rH,ZodCUID:()=>oH,ZodCIDRv6:()=>UW,ZodCIDRv4:()=>IW,ZodBoolean:()=>nI,ZodBigIntFormat:()=>qW,ZodBigInt:()=>pI,ZodBase64URL:()=>JW,ZodBase64:()=>YW,ZodArray:()=>xA,ZodAny:()=>SA});var kH={};m8(kH,{uppercase:()=>TI,trim:()=>jI,toUpperCase:()=>SI,toLowerCase:()=>_I,startsWith:()=>BI,slugify:()=>gI,size:()=>P7,regex:()=>AI,property:()=>_H,positive:()=>RH,overwrite:()=>u$,normalize:()=>CI,nonpositive:()=>CH,nonnegative:()=>jH,negative:()=>vH,multipleOf:()=>r5,minSize:()=>G8,minLength:()=>o8,mime:()=>vI,maxSize:()=>t5,maxLength:()=>T7,lte:()=>$$,lt:()=>K8,lowercase:()=>PI,length:()=>E7,includes:()=>EI,gte:()=>P6,gt:()=>q8,endsWith:()=>RI});var I9={};m8(I9,{time:()=>XA,duration:()=>wA,datetime:()=>ZA,date:()=>zA,ZodISOTime:()=>bH,ZodISODuration:()=>iH,ZodISODateTime:()=>uH,ZodISODate:()=>fH});var uH=o("ZodISODateTime",($,I)=>{mO.init($,I),g1.init($,I)});function ZA($){return mF(uH,$)}var fH=o("ZodISODate",($,I)=>{lO.init($,I),g1.init($,I)});function zA($){return lF(fH,$)}var bH=o("ZodISOTime",($,I)=>{oO.init($,I),g1.init($,I)});function XA($){return oF(bH,$)}var iH=o("ZodISODuration",($,I)=>{rO.init($,I),g1.init($,I)});function wA($){return rF(iH,$)}var sk=($,I)=>{uJ.init($,I),$.name="ZodError",Object.defineProperties($,{format:{value:(U)=>bJ($,U)},flatten:{value:(U)=>fJ($,U)},addIssue:{value:(U)=>{$.issues.push(U),$.message=JSON.stringify($.issues,ZI,2)}},addIssues:{value:(U)=>{$.issues.push(...U),$.message=JSON.stringify($.issues,ZI,2)}},isEmpty:{get(){return $.issues.length===0}}})},uD0=o("ZodError",sk),x6=o("ZodError",sk,{Parent:Error});var LA=wI(x6),DA=LI(x6),OA=DI(x6),NA=NI(x6),FA=fG(x6),MA=bG(x6),AA=iG(x6),PA=nG(x6),TA=pG(x6),EA=cG(x6),BA=dG(x6),RA=mG(x6);var ek=new WeakMap;function KQ($,I,U){let Y=Object.getPrototypeOf($),J=ek.get(Y);if(!J)J=new Set,ek.set(Y,J);if(J.has(I))return;J.add(I);for(let Q in U){let K=U[Q];Object.defineProperty(Y,Q,{configurable:!0,enumerable:!1,get(){let q=K.bind(this);return Object.defineProperty(this,Q,{configurable:!0,writable:!0,enumerable:!0,value:q}),q},set(q){Object.defineProperty(this,Q,{configurable:!0,writable:!0,enumerable:!0,value:q})}})}}var m0=o("ZodType",($,I)=>{return i0.init($,I),Object.assign($["~standard"],{jsonSchema:{input:hI($,"input"),output:hI($,"output")}}),$.toJSONSchema=RM($,{}),$.def=I,$.type=I.type,Object.defineProperty($,"_def",{value:I}),$.parse=(U,Y)=>LA($,U,Y,{callee:$.parse}),$.safeParse=(U,Y)=>OA($,U,Y),$.parseAsync=async(U,Y)=>DA($,U,Y,{callee:$.parseAsync}),$.safeParseAsync=async(U,Y)=>NA($,U,Y),$.spa=$.safeParseAsync,$.encode=(U,Y)=>FA($,U,Y),$.decode=(U,Y)=>MA($,U,Y),$.encodeAsync=async(U,Y)=>AA($,U,Y),$.decodeAsync=async(U,Y)=>PA($,U,Y),$.safeEncode=(U,Y)=>TA($,U,Y),$.safeDecode=(U,Y)=>EA($,U,Y),$.safeEncodeAsync=async(U,Y)=>BA($,U,Y),$.safeDecodeAsync=async(U,Y)=>RA($,U,Y),KQ($,"ZodType",{check(...U){let Y=this.def;return this.clone(w0.mergeDefs(Y,{checks:[...Y.checks??[],...U.map((J)=>typeof J==="function"?{_zod:{check:J,def:{check:"custom"},onattach:[]}}:J)]}),{parent:!0})},with(...U){return this.check(...U)},clone(U,Y){return M6(this,U,Y)},brand(){return this},register(U,Y){return U.add(this,Y),this},refine(U,Y){return this.check(zP(U,Y))},superRefine(U,Y){return this.check(XP(U,Y))},overwrite(U){return this.check(u$(U))},optional(){return u1(this)},exactOptional(){return oA(this)},nullable(){return QQ(this)},nullish(){return u1(QQ(this))},nonoptional(U){return $P(this,U)},array(){return e0(this)},or(U){return h1([this,U])},and(U){return cI(this,U)},transform(U){return pH(this,HW(U))},default(U){return aA(this,U)},prefault(U){return eA(this,U)},catch(U){return YP(this,U)},pipe(U){return pH(this,U)},readonly(){return qP(this)},describe(U){let Y=this.clone();return d4.add(Y,{description:U}),Y},meta(...U){if(U.length===0)return d4.get(this);let Y=this.clone();return d4.add(Y,U[0]),Y},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(U){return U(this)}}),Object.defineProperty($,"description",{get(){return d4.get($)?.description},configurable:!0}),$}),cH=o("_ZodString",($,I)=>{A7.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>vM($,Y,J,Q);let U=$._zod.bag;$.format=U.format??null,$.minLength=U.minimum??null,$.maxLength=U.maximum??null,KQ($,"_ZodString",{regex(...Y){return this.check(AI(...Y))},includes(...Y){return this.check(EI(...Y))},startsWith(...Y){return this.check(BI(...Y))},endsWith(...Y){return this.check(RI(...Y))},min(...Y){return this.check(o8(...Y))},max(...Y){return this.check(T7(...Y))},length(...Y){return this.check(E7(...Y))},nonempty(...Y){return this.check(o8(1,...Y))},lowercase(Y){return this.check(PI(Y))},uppercase(Y){return this.check(TI(Y))},trim(){return this.check(jI())},normalize(...Y){return this.check(CI(...Y))},toLowerCase(){return this.check(_I())},toUpperCase(){return this.check(SI())},slugify(){return this.check(gI())}})}),fI=o("ZodString",($,I)=>{A7.init($,I),cH.init($,I),$.email=(U)=>$.check(qH(dH,U)),$.url=(U)=>$.check(UQ(qQ,U)),$.jwt=(U)=>$.check(BH(KW,U)),$.emoji=(U)=>$.check(ZH(mH,U)),$.guid=(U)=>$.check(IQ(JQ,U)),$.uuid=(U)=>$.check(GH(H8,U)),$.uuidv4=(U)=>$.check(HH(H8,U)),$.uuidv6=(U)=>$.check(WH(H8,U)),$.uuidv7=(U)=>$.check(VH(H8,U)),$.nanoid=(U)=>$.check(zH(lH,U)),$.guid=(U)=>$.check(IQ(JQ,U)),$.cuid=(U)=>$.check(XH(oH,U)),$.cuid2=(U)=>$.check(wH(rH,U)),$.ulid=(U)=>$.check(LH(tH,U)),$.base64=(U)=>$.check(PH(YW,U)),$.base64url=(U)=>$.check(TH(JW,U)),$.xid=(U)=>$.check(DH(aH,U)),$.ksuid=(U)=>$.check(OH(sH,U)),$.ipv4=(U)=>$.check(NH(eH,U)),$.ipv6=(U)=>$.check(FH($W,U)),$.cidrv4=(U)=>$.check(MH(IW,U)),$.cidrv6=(U)=>$.check(AH(UW,U)),$.e164=(U)=>$.check(EH(QW,U)),$.datetime=(U)=>$.check(ZA(U)),$.date=(U)=>$.check(zA(U)),$.time=(U)=>$.check(XA(U)),$.duration=(U)=>$.check(wA(U))});function Q0($){return nF(fI,$)}var g1=o("ZodStringFormat",($,I)=>{S1.init($,I),cH.init($,I)}),dH=o("ZodEmail",($,I)=>{kO.init($,I),g1.init($,I)});function $u($){return qH(dH,$)}var JQ=o("ZodGUID",($,I)=>{hO.init($,I),g1.init($,I)});function Iu($){return IQ(JQ,$)}var H8=o("ZodUUID",($,I)=>{xO.init($,I),g1.init($,I)});function Uu($){return GH(H8,$)}function Yu($){return HH(H8,$)}function Ju($){return WH(H8,$)}function Qu($){return VH(H8,$)}var qQ=o("ZodURL",($,I)=>{uO.init($,I),g1.init($,I)});function Ku($){return UQ(qQ,$)}function qu($){return UQ(qQ,{protocol:e6.httpProtocol,hostname:e6.domain,...w0.normalizeParams($)})}var mH=o("ZodEmoji",($,I)=>{fO.init($,I),g1.init($,I)});function Gu($){return ZH(mH,$)}var lH=o("ZodNanoID",($,I)=>{bO.init($,I),g1.init($,I)});function Hu($){return zH(lH,$)}var oH=o("ZodCUID",($,I)=>{iO.init($,I),g1.init($,I)});function Wu($){return XH(oH,$)}var rH=o("ZodCUID2",($,I)=>{nO.init($,I),g1.init($,I)});function Vu($){return wH(rH,$)}var tH=o("ZodULID",($,I)=>{pO.init($,I),g1.init($,I)});function Zu($){return LH(tH,$)}var aH=o("ZodXID",($,I)=>{cO.init($,I),g1.init($,I)});function zu($){return DH(aH,$)}var sH=o("ZodKSUID",($,I)=>{dO.init($,I),g1.init($,I)});function Xu($){return OH(sH,$)}var eH=o("ZodIPv4",($,I)=>{tO.init($,I),g1.init($,I)});function wu($){return NH(eH,$)}var vA=o("ZodMAC",($,I)=>{sO.init($,I),g1.init($,I)});function Lu($){return cF(vA,$)}var $W=o("ZodIPv6",($,I)=>{aO.init($,I),g1.init($,I)});function Du($){return FH($W,$)}var IW=o("ZodCIDRv4",($,I)=>{eO.init($,I),g1.init($,I)});function Ou($){return MH(IW,$)}var UW=o("ZodCIDRv6",($,I)=>{$N.init($,I),g1.init($,I)});function Nu($){return AH(UW,$)}var YW=o("ZodBase64",($,I)=>{UN.init($,I),g1.init($,I)});function Fu($){return PH(YW,$)}var JW=o("ZodBase64URL",($,I)=>{YN.init($,I),g1.init($,I)});function Mu($){return TH(JW,$)}var QW=o("ZodE164",($,I)=>{JN.init($,I),g1.init($,I)});function Au($){return EH(QW,$)}var KW=o("ZodJWT",($,I)=>{QN.init($,I),g1.init($,I)});function Pu($){return BH(KW,$)}var bI=o("ZodCustomStringFormat",($,I)=>{KN.init($,I),g1.init($,I)});function Tu($,I,U={}){return yI(bI,$,I,U)}function Eu($){return yI(bI,"hostname",e6.hostname,$)}function Bu($){return yI(bI,"hex",e6.hex,$)}function Ru($,I){let U=I?.enc??"hex",Y=`${$}_${U}`,J=e6[Y];if(!J)throw Error(`Unrecognized hash format: ${Y}`);return yI(bI,Y,J,I)}var iI=o("ZodNumber",($,I)=>{IH.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>CM($,Y,J,Q),KQ($,"ZodNumber",{gt(Y,J){return this.check(q8(Y,J))},gte(Y,J){return this.check(P6(Y,J))},min(Y,J){return this.check(P6(Y,J))},lt(Y,J){return this.check(K8(Y,J))},lte(Y,J){return this.check($$(Y,J))},max(Y,J){return this.check($$(Y,J))},int(Y){return this.check(nH(Y))},safe(Y){return this.check(nH(Y))},positive(Y){return this.check(q8(0,Y))},nonnegative(Y){return this.check(P6(0,Y))},negative(Y){return this.check(K8(0,Y))},nonpositive(Y){return this.check($$(0,Y))},multipleOf(Y,J){return this.check(r5(Y,J))},step(Y,J){return this.check(r5(Y,J))},finite(){return this}});let U=$._zod.bag;$.minValue=Math.max(U.minimum??Number.NEGATIVE_INFINITY,U.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,$.maxValue=Math.min(U.maximum??Number.POSITIVE_INFINITY,U.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,$.isInt=(U.format??"").includes("int")||Number.isSafeInteger(U.multipleOf??0.5),$.isFinite=!0,$.format=U.format??null});function z1($){return tF(iI,$)}var B7=o("ZodNumberFormat",($,I)=>{qN.init($,I),iI.init($,I)});function nH($){return sF(B7,$)}function vu($){return eF(B7,$)}function Cu($){return $M(B7,$)}function ju($){return IM(B7,$)}function _u($){return UM(B7,$)}var nI=o("ZodBoolean",($,I)=>{lJ.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>jM($,U,Y,J)});function O4($){return YM(nI,$)}var pI=o("ZodBigInt",($,I)=>{UH.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>_M($,Y,J,Q),$.gte=(Y,J)=>$.check(P6(Y,J)),$.min=(Y,J)=>$.check(P6(Y,J)),$.gt=(Y,J)=>$.check(q8(Y,J)),$.gte=(Y,J)=>$.check(P6(Y,J)),$.min=(Y,J)=>$.check(P6(Y,J)),$.lt=(Y,J)=>$.check(K8(Y,J)),$.lte=(Y,J)=>$.check($$(Y,J)),$.max=(Y,J)=>$.check($$(Y,J)),$.positive=(Y)=>$.check(q8(BigInt(0),Y)),$.negative=(Y)=>$.check(K8(BigInt(0),Y)),$.nonpositive=(Y)=>$.check($$(BigInt(0),Y)),$.nonnegative=(Y)=>$.check(P6(BigInt(0),Y)),$.multipleOf=(Y,J)=>$.check(r5(Y,J));let U=$._zod.bag;$.minValue=U.minimum??null,$.maxValue=U.maximum??null,$.format=U.format??null});function Su($){return QM(pI,$)}var qW=o("ZodBigIntFormat",($,I)=>{GN.init($,I),pI.init($,I)});function gu($){return qM(qW,$)}function yu($){return GM(qW,$)}var CA=o("ZodSymbol",($,I)=>{HN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>SM($,U,Y,J)});function hu($){return HM(CA,$)}var jA=o("ZodUndefined",($,I)=>{WN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>yM($,U,Y,J)});function xu($){return WM(jA,$)}var _A=o("ZodNull",($,I)=>{VN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>gM($,U,Y,J)});function GQ($){return VM(_A,$)}var SA=o("ZodAny",($,I)=>{ZN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>kM($,U,Y,J)});function ku(){return ZM(SA)}var gA=o("ZodUnknown",($,I)=>{zN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>uM($,U,Y,J)});function y1(){return zM(gA)}var yA=o("ZodNever",($,I)=>{XN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>xM($,U,Y,J)});function GW($){return XM(yA,$)}var hA=o("ZodVoid",($,I)=>{wN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>hM($,U,Y,J)});function uu($){return wM(hA,$)}var HQ=o("ZodDate",($,I)=>{LN.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>fM($,Y,J,Q),$.min=(Y,J)=>$.check(P6(Y,J)),$.max=(Y,J)=>$.check($$(Y,J));let U=$._zod.bag;$.minDate=U.minimum?new Date(U.minimum):null,$.maxDate=U.maximum?new Date(U.maximum):null});function fu($){return LM(HQ,$)}var xA=o("ZodArray",($,I)=>{DN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>aM($,U,Y,J),$.element=I.element,KQ($,"ZodArray",{min(U,Y){return this.check(o8(U,Y))},nonempty(U){return this.check(o8(1,U))},max(U,Y){return this.check(T7(U,Y))},length(U,Y){return this.check(E7(U,Y))},unwrap(){return this.element}})});function e0($,I){return NM(xA,$,I)}function bu($){let I=$._zod.def.shape;return l4(Object.keys(I))}var WQ=o("ZodObject",($,I)=>{ON.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>sM($,U,Y,J),w0.defineLazy($,"shape",()=>{return I.shape}),KQ($,"ZodObject",{keyof(){return l4(Object.keys(this._zod.def.shape))},catchall(U){return this.clone({...this._zod.def,catchall:U})},passthrough(){return this.clone({...this._zod.def,catchall:y1()})},loose(){return this.clone({...this._zod.def,catchall:y1()})},strict(){return this.clone({...this._zod.def,catchall:GW()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(U){return w0.extend(this,U)},safeExtend(U){return w0.safeExtend(this,U)},merge(U){return w0.merge(this,U)},pick(U){return w0.pick(this,U)},omit(U){return w0.omit(this,U)},partial(...U){return w0.partial(WW,this,U[0])},required(...U){return w0.required(VW,this,U[0])}})});function P0($,I){let U={type:"object",shape:$??{},...w0.normalizeParams(I)};return new WQ(U)}function iu($,I){return new WQ({type:"object",shape:$,catchall:GW(),...w0.normalizeParams(I)})}function m4($,I){return new WQ({type:"object",shape:$,catchall:y1(),...w0.normalizeParams(I)})}var VQ=o("ZodUnion",($,I)=>{oJ.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>gH($,U,Y,J),$.options=I.options});function h1($,I){return new VQ({type:"union",options:$,...w0.normalizeParams(I)})}var kA=o("ZodXor",($,I)=>{VQ.init($,I),NN.init($,I),$._zod.processJSONSchema=(U,Y,J)=>gH($,U,Y,J),$.options=I.options});function nu($,I){return new kA({type:"union",options:$,inclusive:!1,...w0.normalizeParams(I)})}var uA=o("ZodDiscriminatedUnion",($,I)=>{VQ.init($,I),FN.init($,I)});function ZQ($,I,U){return new uA({type:"union",options:I,discriminator:$,...w0.normalizeParams(U)})}var fA=o("ZodIntersection",($,I)=>{MN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>eM($,U,Y,J)});function cI($,I){return new fA({type:"intersection",left:$,right:I})}var bA=o("ZodTuple",($,I)=>{YH.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>$A($,U,Y,J),$.rest=(U)=>$.clone({...$._zod.def,rest:U})});function iA($,I,U){let Y=I instanceof i0,J=Y?U:I;return new bA({type:"tuple",items:$,rest:Y?I:null,...w0.normalizeParams(J)})}var kI=o("ZodRecord",($,I)=>{AN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>IA($,U,Y,J),$.keyType=I.keyType,$.valueType=I.valueType});function _1($,I,U){if(!I||!I._zod)return new kI({type:"record",keyType:Q0(),valueType:$,...w0.normalizeParams(I)});return new kI({type:"record",keyType:$,valueType:I,...w0.normalizeParams(U)})}function pu($,I,U){let Y=M6($);return Y._zod.values=void 0,new kI({type:"record",keyType:Y,valueType:I,...w0.normalizeParams(U)})}function cu($,I,U){return new kI({type:"record",keyType:$,valueType:I,mode:"loose",...w0.normalizeParams(U)})}var nA=o("ZodMap",($,I)=>{PN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>rM($,U,Y,J),$.keyType=I.keyType,$.valueType=I.valueType,$.min=(...U)=>$.check(G8(...U)),$.nonempty=(U)=>$.check(G8(1,U)),$.max=(...U)=>$.check(t5(...U)),$.size=(...U)=>$.check(P7(...U))});function du($,I,U){return new nA({type:"map",keyType:$,valueType:I,...w0.normalizeParams(U)})}var pA=o("ZodSet",($,I)=>{TN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>tM($,U,Y,J),$.min=(...U)=>$.check(G8(...U)),$.nonempty=(U)=>$.check(G8(1,U)),$.max=(...U)=>$.check(t5(...U)),$.size=(...U)=>$.check(P7(...U))});function mu($,I){return new pA({type:"set",valueType:$,...w0.normalizeParams(I)})}var uI=o("ZodEnum",($,I)=>{EN.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>bM($,Y,J,Q),$.enum=I.entries,$.options=Object.values(I.entries);let U=new Set(Object.keys(I.entries));$.extract=(Y,J)=>{let Q={};for(let K of Y)if(U.has(K))Q[K]=I.entries[K];else throw Error(`Key ${K} not found in enum`);return new uI({...I,checks:[],...w0.normalizeParams(J),entries:Q})},$.exclude=(Y,J)=>{let Q={...I.entries};for(let K of Y)if(U.has(K))delete Q[K];else throw Error(`Key ${K} not found in enum`);return new uI({...I,checks:[],...w0.normalizeParams(J),entries:Q})}});function l4($,I){let U=Array.isArray($)?Object.fromEntries($.map((Y)=>[Y,Y])):$;return new uI({type:"enum",entries:U,...w0.normalizeParams(I)})}function lu($,I){return new uI({type:"enum",entries:$,...w0.normalizeParams(I)})}var cA=o("ZodLiteral",($,I)=>{BN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>iM($,U,Y,J),$.values=new Set(I.values),Object.defineProperty($,"value",{get(){if(I.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return I.values[0]}})});function j0($,I){return new cA({type:"literal",values:Array.isArray($)?$:[$],...w0.normalizeParams(I)})}var dA=o("ZodFile",($,I)=>{RN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>cM($,U,Y,J),$.min=(U,Y)=>$.check(G8(U,Y)),$.max=(U,Y)=>$.check(t5(U,Y)),$.mime=(U,Y)=>$.check(vI(Array.isArray(U)?U:[U],Y))});function ou($){return FM(dA,$)}var mA=o("ZodTransform",($,I)=>{vN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>oM($,U,Y,J),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new N7($.constructor.name);U.addIssue=(Q)=>{if(typeof Q==="string")U.issues.push(w0.issue(Q,U.value,I));else{let K=Q;if(K.fatal)K.continue=!1;K.code??(K.code="custom"),K.input??(K.input=U.value),K.inst??(K.inst=$),U.issues.push(w0.issue(K))}};let J=I.transform(U.value,U);if(J instanceof Promise)return J.then((Q)=>{return U.value=Q,U.fallback=!0,U});return U.value=J,U.fallback=!0,U}});function HW($){return new mA({type:"transform",transform:$})}var WW=o("ZodOptional",($,I)=>{JH.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>yH($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function u1($){return new WW({type:"optional",innerType:$})}var lA=o("ZodExactOptional",($,I)=>{CN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>yH($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function oA($){return new lA({type:"optional",innerType:$})}var rA=o("ZodNullable",($,I)=>{jN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>UA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function QQ($){return new rA({type:"nullable",innerType:$})}function ru($){return u1(QQ($))}var tA=o("ZodDefault",($,I)=>{_N.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>JA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType,$.removeDefault=$.unwrap});function aA($,I){return new tA({type:"default",innerType:$,get defaultValue(){return typeof I==="function"?I():w0.shallowClone(I)}})}var sA=o("ZodPrefault",($,I)=>{SN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>QA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function eA($,I){return new sA({type:"prefault",innerType:$,get defaultValue(){return typeof I==="function"?I():w0.shallowClone(I)}})}var VW=o("ZodNonOptional",($,I)=>{gN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>YA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function $P($,I){return new VW({type:"nonoptional",innerType:$,...w0.normalizeParams(I)})}var IP=o("ZodSuccess",($,I)=>{yN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>dM($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function tu($){return new IP({type:"success",innerType:$})}var UP=o("ZodCatch",($,I)=>{hN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>KA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType,$.removeCatch=$.unwrap});function YP($,I){return new UP({type:"catch",innerType:$,catchValue:typeof I==="function"?I:()=>I})}var JP=o("ZodNaN",($,I)=>{xN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>nM($,U,Y,J)});function au($){return OM(JP,$)}var zQ=o("ZodPipe",($,I)=>{QH.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>qA($,U,Y,J),$.in=I.in,$.out=I.out});function pH($,I){return new zQ({type:"pipe",in:$,out:I})}var XQ=o("ZodCodec",($,I)=>{zQ.init($,I),rJ.init($,I)});function su($,I,U){return new XQ({type:"pipe",in:$,out:I,transform:U.decode,reverseTransform:U.encode})}function eu($){let I=$._zod.def;return new XQ({type:"pipe",in:I.out,out:I.in,transform:I.reverseTransform,reverseTransform:I.transform})}var QP=o("ZodPreprocess",($,I)=>{zQ.init($,I),kN.init($,I)}),KP=o("ZodReadonly",($,I)=>{uN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>GA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function qP($){return new KP({type:"readonly",innerType:$})}var GP=o("ZodTemplateLiteral",($,I)=>{fN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>pM($,U,Y,J)});function $f($,I){return new GP({type:"template_literal",parts:$,...w0.normalizeParams(I)})}var HP=o("ZodLazy",($,I)=>{nN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>WA($,U,Y,J),$.unwrap=()=>$._zod.def.getter()});function WP($){return new HP({type:"lazy",getter:$})}var VP=o("ZodPromise",($,I)=>{iN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>HA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function If($){return new VP({type:"promise",innerType:$})}var ZP=o("ZodFunction",($,I)=>{bN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>lM($,U,Y,J)});function Uf($){return new ZP({type:"function",input:Array.isArray($?.input)?iA($?.input):$?.input??e0(y1()),output:$?.output??y1()})}var wQ=o("ZodCustom",($,I)=>{pN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>mM($,U,Y,J)});function Yf($){let I=new k1({check:"custom"});return I._zod.check=$,I}function ZW($,I){return MM(wQ,$??(()=>!0),I)}function zP($,I={}){return AM(wQ,$,I)}function XP($,I){return PM($,I)}var Jf=TM,Qf=EM;function Kf($,I={}){let U=new wQ({type:"custom",check:"custom",fn:(Y)=>Y instanceof $,abort:!0,...w0.normalizeParams(I)});return U._zod.bag.Class=$,U._zod.check=(Y)=>{if(!(Y.value instanceof $))Y.issues.push({code:"invalid_type",expected:$.name,input:Y.value,inst:U,path:[...U._zod.def.path??[]]})},U}var qf=(...$)=>BM({Codec:XQ,Boolean:nI,String:fI},...$);function Gf($){let I=WP(()=>{return h1([Q0($),z1(),O4(),GQ(),e0(I),_1(Q0(),I)])});return I}function LQ($,I){return new QP({type:"pipe",in:HW($),out:I})}var bD0={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function iD0($){Z4({customError:$})}function nD0(){return Z4().customError}var wP;(function($){})(wP||(wP={}));var A0={...YQ,...kH,iso:I9},pD0=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function cD0($,I){let U=$.$schema;if(U==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(U==="http://json-schema.org/draft-07/schema#")return"draft-7";if(U==="http://json-schema.org/draft-04/schema#")return"draft-4";return I??"draft-2020-12"}function dD0($,I){if(!$.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let U=$.slice(1).split("/").filter(Boolean);if(U.length===0)return I.rootSchema;let Y=I.version==="draft-2020-12"?"$defs":"definitions";if(U[0]===Y){let J=U[1];if(!J||!I.defs[J])throw Error(`Reference not found: ${$}`);return I.defs[J]}throw Error(`Reference not found: ${$}`)}function Hf($,I){if($.not!==void 0){if(typeof $.not==="object"&&Object.keys($.not).length===0)return A0.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if($.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if($.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if($.if!==void 0||$.then!==void 0||$.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if($.dependentSchemas!==void 0||$.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if($.$ref){let J=$.$ref;if(I.refs.has(J))return I.refs.get(J);if(I.processing.has(J))return A0.lazy(()=>{if(!I.refs.has(J))throw Error(`Circular reference not resolved: ${J}`);return I.refs.get(J)});I.processing.add(J);let Q=dD0(J,I),K=Z6(Q,I);return I.refs.set(J,K),I.processing.delete(J),K}if($.enum!==void 0){let J=$.enum;if(I.version==="openapi-3.0"&&$.nullable===!0&&J.length===1&&J[0]===null)return A0.null();if(J.length===0)return A0.never();if(J.length===1)return A0.literal(J[0]);if(J.every((K)=>typeof K==="string"))return A0.enum(J);let Q=J.map((K)=>A0.literal(K));if(Q.length<2)return Q[0];return A0.union([Q[0],Q[1],...Q.slice(2)])}if($.const!==void 0)return A0.literal($.const);let U=$.type;if(Array.isArray(U)){let J=U.map((Q)=>{let K={...$,type:Q};return Hf(K,I)});if(J.length===0)return A0.never();if(J.length===1)return J[0];return A0.union(J)}if(!U)return A0.any();let Y;switch(U){case"string":{let J=A0.string();if($.format){let Q=$.format;if(Q==="email")J=J.check(A0.email());else if(Q==="uri"||Q==="uri-reference")J=J.check(A0.url());else if(Q==="uuid"||Q==="guid")J=J.check(A0.uuid());else if(Q==="date-time")J=J.check(A0.iso.datetime());else if(Q==="date")J=J.check(A0.iso.date());else if(Q==="time")J=J.check(A0.iso.time());else if(Q==="duration")J=J.check(A0.iso.duration());else if(Q==="ipv4")J=J.check(A0.ipv4());else if(Q==="ipv6")J=J.check(A0.ipv6());else if(Q==="mac")J=J.check(A0.mac());else if(Q==="cidr")J=J.check(A0.cidrv4());else if(Q==="cidr-v6")J=J.check(A0.cidrv6());else if(Q==="base64")J=J.check(A0.base64());else if(Q==="base64url")J=J.check(A0.base64url());else if(Q==="e164")J=J.check(A0.e164());else if(Q==="jwt")J=J.check(A0.jwt());else if(Q==="emoji")J=J.check(A0.emoji());else if(Q==="nanoid")J=J.check(A0.nanoid());else if(Q==="cuid")J=J.check(A0.cuid());else if(Q==="cuid2")J=J.check(A0.cuid2());else if(Q==="ulid")J=J.check(A0.ulid());else if(Q==="xid")J=J.check(A0.xid());else if(Q==="ksuid")J=J.check(A0.ksuid())}if(typeof $.minLength==="number")J=J.min($.minLength);if(typeof $.maxLength==="number")J=J.max($.maxLength);if($.pattern)J=J.regex(new RegExp($.pattern));Y=J;break}case"number":case"integer":{let J=U==="integer"?A0.number().int():A0.number();if(typeof $.minimum==="number")J=J.min($.minimum);if(typeof $.maximum==="number")J=J.max($.maximum);if(typeof $.exclusiveMinimum==="number")J=J.gt($.exclusiveMinimum);else if($.exclusiveMinimum===!0&&typeof $.minimum==="number")J=J.gt($.minimum);if(typeof $.exclusiveMaximum==="number")J=J.lt($.exclusiveMaximum);else if($.exclusiveMaximum===!0&&typeof $.maximum==="number")J=J.lt($.maximum);if(typeof $.multipleOf==="number")J=J.multipleOf($.multipleOf);Y=J;break}case"boolean":{Y=A0.boolean();break}case"null":{Y=A0.null();break}case"object":{let J={},Q=$.properties||{},K=new Set($.required||[]);for(let[G,H]of Object.entries(Q)){let W=Z6(H,I);J[G]=K.has(G)?W:W.optional()}if($.propertyNames){let G=Z6($.propertyNames,I),H=$.additionalProperties&&typeof $.additionalProperties==="object"?Z6($.additionalProperties,I):A0.any();if(Object.keys(J).length===0){Y=A0.record(G,H);break}let W=A0.object(J).passthrough(),V=A0.looseRecord(G,H);Y=A0.intersection(W,V);break}if($.patternProperties){let G=$.patternProperties,H=Object.keys(G),W=[];for(let z of H){let Z=Z6(G[z],I),w=A0.string().regex(new RegExp(z));W.push(A0.looseRecord(w,Z))}let V=[];if(Object.keys(J).length>0)V.push(A0.object(J).passthrough());if(V.push(...W),V.length===0)Y=A0.object({}).passthrough();else if(V.length===1)Y=V[0];else{let z=A0.intersection(V[0],V[1]);for(let Z=2;ZZ6(G,I)),q=Q&&typeof Q==="object"&&!Array.isArray(Q)?Z6(Q,I):void 0;if(q)Y=A0.tuple(K).rest(q);else Y=A0.tuple(K);if(typeof $.minItems==="number")Y=Y.check(A0.minLength($.minItems));if(typeof $.maxItems==="number")Y=Y.check(A0.maxLength($.maxItems))}else if(Array.isArray(Q)){let K=Q.map((G)=>Z6(G,I)),q=$.additionalItems&&typeof $.additionalItems==="object"?Z6($.additionalItems,I):void 0;if(q)Y=A0.tuple(K).rest(q);else Y=A0.tuple(K);if(typeof $.minItems==="number")Y=Y.check(A0.minLength($.minItems));if(typeof $.maxItems==="number")Y=Y.check(A0.maxLength($.maxItems))}else if(Q!==void 0){let K=Z6(Q,I),q=A0.array(K);if(typeof $.minItems==="number")q=q.min($.minItems);if(typeof $.maxItems==="number")q=q.max($.maxItems);Y=q}else Y=A0.array(A0.any());break}default:throw Error(`Unsupported type: ${U}`)}return Y}function Z6($,I){if(typeof $==="boolean")return $?A0.any():A0.never();let U=Hf($,I),Y=$.type||$.enum!==void 0||$.const!==void 0;if($.anyOf&&Array.isArray($.anyOf)){let q=$.anyOf.map((H)=>Z6(H,I)),G=A0.union(q);U=Y?A0.intersection(U,G):G}if($.oneOf&&Array.isArray($.oneOf)){let q=$.oneOf.map((H)=>Z6(H,I)),G=A0.xor(q);U=Y?A0.intersection(U,G):G}if($.allOf&&Array.isArray($.allOf))if($.allOf.length===0)U=Y?U:A0.any();else{let q=Y?U:Z6($.allOf[0],I),G=Y?0:1;for(let H=G;H<$.allOf.length;H++)q=A0.intersection(q,Z6($.allOf[H],I));U=q}if($.nullable===!0&&I.version==="openapi-3.0")U=A0.nullable(U);if($.readOnly===!0)U=A0.readonly(U);if($.default!==void 0)U=U.default($.default);let J={},Q=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let q of Q)if(q in $)J[q]=$[q];let K=["contentEncoding","contentMediaType","contentSchema"];for(let q of K)if(q in $)J[q]=$[q];for(let q of Object.keys($))if(!pD0.has(q))J[q]=$[q];if(Object.keys(J).length>0)I.registry.add(U,J);if($.description)U=U.describe($.description);return U}function Wf($,I){if(typeof $==="boolean")return $?A0.any():A0.never();let U;try{U=JSON.parse(JSON.stringify($))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let Y=cD0(U,I?.defaultTarget),J=U.$defs||U.definitions||{},Q={version:Y,defs:J,refs:new Map,processing:new Set,rootSchema:U,registry:I?.registry??d4};return Z6(U,Q)}var LP={};m8(LP,{string:()=>mD0,number:()=>lD0,date:()=>tD0,boolean:()=>oD0,bigint:()=>rD0});function mD0($){return pF(fI,$)}function lD0($){return aF(iI,$)}function oD0($){return JM(nI,$)}function rD0($){return KM(pI,$)}function tD0($){return DM(HQ,$)}Z4(tJ());var DP="2025-11-25";var Vf=[DP,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],U9="io.modelcontextprotocol/related-task",XW="2.0",_4=ZW(($)=>$!==null&&(typeof $==="object"||typeof $==="function")),Zf=h1([Q0(),z1().int()]),zf=Q0(),UZ1=m4({ttl:z1().optional(),pollInterval:z1().optional()}),aD0=P0({ttl:z1().optional()}),sD0=P0({taskId:Q0()}),OP=m4({progressToken:Zf.optional(),[U9]:sD0.optional()}),I$=P0({_meta:OP.optional()}),DQ=I$.extend({task:aD0.optional()}),Xf=($)=>DQ.safeParse($).success,o4=P0({method:Q0(),params:I$.loose().optional()}),w$=P0({_meta:OP.optional()}),L$=P0({method:Q0(),params:w$.loose().optional()}),r4=m4({_meta:OP.optional()}),wW=h1([Q0(),z1().int()]),wf=P0({jsonrpc:j0(XW),id:wW,...o4.shape}).strict(),NP=($)=>wf.safeParse($).success,Lf=P0({jsonrpc:j0(XW),...L$.shape}).strict(),Df=($)=>Lf.safeParse($).success,FP=P0({jsonrpc:j0(XW),id:wW,result:r4}).strict(),OQ=($)=>FP.safeParse($).success;var Y1;(function($){$[$.ConnectionClosed=-32000]="ConnectionClosed",$[$.RequestTimeout=-32001]="RequestTimeout",$[$.ParseError=-32700]="ParseError",$[$.InvalidRequest=-32600]="InvalidRequest",$[$.MethodNotFound=-32601]="MethodNotFound",$[$.InvalidParams=-32602]="InvalidParams",$[$.InternalError=-32603]="InternalError",$[$.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Y1||(Y1={}));var MP=P0({jsonrpc:j0(XW),id:wW.optional(),error:P0({code:z1().int(),message:Q0(),data:y1().optional()})}).strict();var Of=($)=>MP.safeParse($).success;var Nf=h1([wf,Lf,FP,MP]),YZ1=h1([FP,MP]),LW=r4.strict(),eD0=w$.extend({requestId:wW.optional(),reason:Q0().optional()}),DW=L$.extend({method:j0("notifications/cancelled"),params:eD0}),$O0=P0({src:Q0(),mimeType:Q0().optional(),sizes:e0(Q0()).optional(),theme:l4(["light","dark"]).optional()}),NQ=P0({icons:e0($O0).optional()}),dI=P0({name:Q0(),title:Q0().optional()}),Ff=dI.extend({...dI.shape,...NQ.shape,version:Q0(),websiteUrl:Q0().optional(),description:Q0().optional()}),IO0=cI(P0({applyDefaults:O4().optional()}),_1(Q0(),y1())),UO0=LQ(($)=>{if($&&typeof $==="object"&&!Array.isArray($)){if(Object.keys($).length===0)return{form:{}}}return $},cI(P0({form:IO0.optional(),url:_4.optional()}),_1(Q0(),y1()).optional())),YO0=m4({list:_4.optional(),cancel:_4.optional(),requests:m4({sampling:m4({createMessage:_4.optional()}).optional(),elicitation:m4({create:_4.optional()}).optional()}).optional()}),JO0=m4({list:_4.optional(),cancel:_4.optional(),requests:m4({tools:m4({call:_4.optional()}).optional()}).optional()}),QO0=P0({experimental:_1(Q0(),_4).optional(),sampling:P0({context:_4.optional(),tools:_4.optional()}).optional(),elicitation:UO0.optional(),roots:P0({listChanged:O4().optional()}).optional(),tasks:YO0.optional(),extensions:_1(Q0(),_4).optional()}),KO0=I$.extend({protocolVersion:Q0(),capabilities:QO0,clientInfo:Ff}),AP=o4.extend({method:j0("initialize"),params:KO0});var qO0=P0({experimental:_1(Q0(),_4).optional(),logging:_4.optional(),completions:_4.optional(),prompts:P0({listChanged:O4().optional()}).optional(),resources:P0({subscribe:O4().optional(),listChanged:O4().optional()}).optional(),tools:P0({listChanged:O4().optional()}).optional(),tasks:JO0.optional(),extensions:_1(Q0(),_4).optional()}),GO0=r4.extend({protocolVersion:Q0(),capabilities:qO0,serverInfo:Ff,instructions:Q0().optional()}),PP=L$.extend({method:j0("notifications/initialized"),params:w$.optional()});var OW=o4.extend({method:j0("ping"),params:I$.optional()}),HO0=P0({progress:z1(),total:u1(z1()),message:u1(Q0())}),WO0=P0({...w$.shape,...HO0.shape,progressToken:Zf}),NW=L$.extend({method:j0("notifications/progress"),params:WO0}),VO0=I$.extend({cursor:zf.optional()}),FQ=o4.extend({params:VO0.optional()}),MQ=r4.extend({nextCursor:zf.optional()}),ZO0=l4(["working","input_required","completed","failed","cancelled"]),AQ=P0({taskId:Q0(),status:ZO0,ttl:h1([z1(),GQ()]),createdAt:Q0(),lastUpdatedAt:Q0(),pollInterval:u1(z1()),statusMessage:u1(Q0())}),mI=r4.extend({task:AQ}),zO0=w$.merge(AQ),PQ=L$.extend({method:j0("notifications/tasks/status"),params:zO0}),FW=o4.extend({method:j0("tasks/get"),params:I$.extend({taskId:Q0()})}),MW=r4.merge(AQ),AW=o4.extend({method:j0("tasks/result"),params:I$.extend({taskId:Q0()})}),JZ1=r4.loose(),PW=FQ.extend({method:j0("tasks/list")}),TW=MQ.extend({tasks:e0(AQ)}),EW=o4.extend({method:j0("tasks/cancel"),params:I$.extend({taskId:Q0()})}),Mf=r4.merge(AQ),Af=P0({uri:Q0(),mimeType:u1(Q0()),_meta:_1(Q0(),y1()).optional()}),Pf=Af.extend({text:Q0()}),TP=Q0().refine(($)=>{try{return atob($),!0}catch{return!1}},{message:"Invalid Base64 string"}),Tf=Af.extend({blob:TP}),TQ=l4(["user","assistant"]),lI=P0({audience:e0(TQ).optional(),priority:z1().min(0).max(1).optional(),lastModified:I9.datetime({offset:!0}).optional()}),Ef=P0({...dI.shape,...NQ.shape,uri:Q0(),description:u1(Q0()),mimeType:u1(Q0()),size:u1(z1()),annotations:lI.optional(),_meta:u1(m4({}))}),XO0=P0({...dI.shape,...NQ.shape,uriTemplate:Q0(),description:u1(Q0()),mimeType:u1(Q0()),annotations:lI.optional(),_meta:u1(m4({}))}),wO0=FQ.extend({method:j0("resources/list")}),LO0=MQ.extend({resources:e0(Ef)}),DO0=FQ.extend({method:j0("resources/templates/list")}),OO0=MQ.extend({resourceTemplates:e0(XO0)}),EP=I$.extend({uri:Q0()}),NO0=EP,FO0=o4.extend({method:j0("resources/read"),params:NO0}),MO0=r4.extend({contents:e0(h1([Pf,Tf]))}),AO0=L$.extend({method:j0("notifications/resources/list_changed"),params:w$.optional()}),PO0=EP,TO0=o4.extend({method:j0("resources/subscribe"),params:PO0}),EO0=EP,BO0=o4.extend({method:j0("resources/unsubscribe"),params:EO0}),RO0=w$.extend({uri:Q0()}),vO0=L$.extend({method:j0("notifications/resources/updated"),params:RO0}),CO0=P0({name:Q0(),description:u1(Q0()),required:u1(O4())}),jO0=P0({...dI.shape,...NQ.shape,description:u1(Q0()),arguments:u1(e0(CO0)),_meta:u1(m4({}))}),_O0=FQ.extend({method:j0("prompts/list")}),SO0=MQ.extend({prompts:e0(jO0)}),gO0=I$.extend({name:Q0(),arguments:_1(Q0(),Q0()).optional()}),yO0=o4.extend({method:j0("prompts/get"),params:gO0}),BP=P0({type:j0("text"),text:Q0(),annotations:lI.optional(),_meta:_1(Q0(),y1()).optional()}),RP=P0({type:j0("image"),data:TP,mimeType:Q0(),annotations:lI.optional(),_meta:_1(Q0(),y1()).optional()}),vP=P0({type:j0("audio"),data:TP,mimeType:Q0(),annotations:lI.optional(),_meta:_1(Q0(),y1()).optional()}),hO0=P0({type:j0("tool_use"),name:Q0(),id:Q0(),input:_1(Q0(),y1()),_meta:_1(Q0(),y1()).optional()}),xO0=P0({type:j0("resource"),resource:h1([Pf,Tf]),annotations:lI.optional(),_meta:_1(Q0(),y1()).optional()}),kO0=Ef.extend({type:j0("resource_link")}),CP=h1([BP,RP,vP,kO0,xO0]),uO0=P0({role:TQ,content:CP}),fO0=r4.extend({description:Q0().optional(),messages:e0(uO0)}),bO0=L$.extend({method:j0("notifications/prompts/list_changed"),params:w$.optional()}),iO0=P0({title:Q0().optional(),readOnlyHint:O4().optional(),destructiveHint:O4().optional(),idempotentHint:O4().optional(),openWorldHint:O4().optional()}),nO0=P0({taskSupport:l4(["required","optional","forbidden"]).optional()}),Bf=P0({...dI.shape,...NQ.shape,description:Q0().optional(),inputSchema:P0({type:j0("object"),properties:_1(Q0(),_4).optional(),required:e0(Q0()).optional()}).catchall(y1()),outputSchema:P0({type:j0("object"),properties:_1(Q0(),_4).optional(),required:e0(Q0()).optional()}).catchall(y1()).optional(),annotations:iO0.optional(),execution:nO0.optional(),_meta:_1(Q0(),y1()).optional()}),jP=FQ.extend({method:j0("tools/list")}),pO0=MQ.extend({tools:e0(Bf)}),BW=r4.extend({content:e0(CP).default([]),structuredContent:_1(Q0(),y1()).optional(),isError:O4().optional()}),QZ1=BW.or(r4.extend({toolResult:y1()})),cO0=DQ.extend({name:Q0(),arguments:_1(Q0(),y1()).optional()}),EQ=o4.extend({method:j0("tools/call"),params:cO0}),dO0=L$.extend({method:j0("notifications/tools/list_changed"),params:w$.optional()}),KZ1=P0({autoRefresh:O4().default(!0),debounceMs:z1().int().nonnegative().default(300)}),BQ=l4(["debug","info","notice","warning","error","critical","alert","emergency"]),mO0=I$.extend({level:BQ}),_P=o4.extend({method:j0("logging/setLevel"),params:mO0}),lO0=w$.extend({level:BQ,logger:Q0().optional(),data:y1()}),oO0=L$.extend({method:j0("notifications/message"),params:lO0}),rO0=P0({name:Q0().optional()}),tO0=P0({hints:e0(rO0).optional(),costPriority:z1().min(0).max(1).optional(),speedPriority:z1().min(0).max(1).optional(),intelligencePriority:z1().min(0).max(1).optional()}),aO0=P0({mode:l4(["auto","required","none"]).optional()}),sO0=P0({type:j0("tool_result"),toolUseId:Q0().describe("The unique identifier for the corresponding tool call."),content:e0(CP).default([]),structuredContent:P0({}).loose().optional(),isError:O4().optional(),_meta:_1(Q0(),y1()).optional()}),eO0=ZQ("type",[BP,RP,vP]),zW=ZQ("type",[BP,RP,vP,hO0,sO0]),$N0=P0({role:TQ,content:h1([zW,e0(zW)]),_meta:_1(Q0(),y1()).optional()}),IN0=DQ.extend({messages:e0($N0),modelPreferences:tO0.optional(),systemPrompt:Q0().optional(),includeContext:l4(["none","thisServer","allServers"]).optional(),temperature:z1().optional(),maxTokens:z1().int(),stopSequences:e0(Q0()).optional(),metadata:_4.optional(),tools:e0(Bf).optional(),toolChoice:aO0.optional()}),UN0=o4.extend({method:j0("sampling/createMessage"),params:IN0}),RQ=r4.extend({model:Q0(),stopReason:u1(l4(["endTurn","stopSequence","maxTokens"]).or(Q0())),role:TQ,content:eO0}),SP=r4.extend({model:Q0(),stopReason:u1(l4(["endTurn","stopSequence","maxTokens","toolUse"]).or(Q0())),role:TQ,content:h1([zW,e0(zW)])}),YN0=P0({type:j0("boolean"),title:Q0().optional(),description:Q0().optional(),default:O4().optional()}),JN0=P0({type:j0("string"),title:Q0().optional(),description:Q0().optional(),minLength:z1().optional(),maxLength:z1().optional(),format:l4(["email","uri","date","date-time"]).optional(),default:Q0().optional()}),QN0=P0({type:l4(["number","integer"]),title:Q0().optional(),description:Q0().optional(),minimum:z1().optional(),maximum:z1().optional(),default:z1().optional()}),KN0=P0({type:j0("string"),title:Q0().optional(),description:Q0().optional(),enum:e0(Q0()),default:Q0().optional()}),qN0=P0({type:j0("string"),title:Q0().optional(),description:Q0().optional(),oneOf:e0(P0({const:Q0(),title:Q0()})),default:Q0().optional()}),GN0=P0({type:j0("string"),title:Q0().optional(),description:Q0().optional(),enum:e0(Q0()),enumNames:e0(Q0()).optional(),default:Q0().optional()}),HN0=h1([KN0,qN0]),WN0=P0({type:j0("array"),title:Q0().optional(),description:Q0().optional(),minItems:z1().optional(),maxItems:z1().optional(),items:P0({type:j0("string"),enum:e0(Q0())}),default:e0(Q0()).optional()}),VN0=P0({type:j0("array"),title:Q0().optional(),description:Q0().optional(),minItems:z1().optional(),maxItems:z1().optional(),items:P0({anyOf:e0(P0({const:Q0(),title:Q0()}))}),default:e0(Q0()).optional()}),ZN0=h1([WN0,VN0]),zN0=h1([GN0,HN0,ZN0]),XN0=h1([zN0,YN0,JN0,QN0]),wN0=DQ.extend({mode:j0("form").optional(),message:Q0(),requestedSchema:P0({type:j0("object"),properties:_1(Q0(),XN0),required:e0(Q0()).optional()})}),LN0=DQ.extend({mode:j0("url"),message:Q0(),elicitationId:Q0(),url:Q0().url()}),DN0=h1([wN0,LN0]),ON0=o4.extend({method:j0("elicitation/create"),params:DN0}),NN0=w$.extend({elicitationId:Q0()}),FN0=L$.extend({method:j0("notifications/elicitation/complete"),params:NN0}),oI=r4.extend({action:l4(["accept","decline","cancel"]),content:LQ(($)=>$===null?void 0:$,_1(Q0(),h1([Q0(),z1(),O4(),e0(Q0())])).optional())}),MN0=P0({type:j0("ref/resource"),uri:Q0()});var AN0=P0({type:j0("ref/prompt"),name:Q0()}),PN0=I$.extend({ref:h1([AN0,MN0]),argument:P0({name:Q0(),value:Q0()}),context:P0({arguments:_1(Q0(),Q0()).optional()}).optional()}),TN0=o4.extend({method:j0("completion/complete"),params:PN0});var EN0=r4.extend({completion:m4({values:e0(Q0()).max(100),total:u1(z1().int()),hasMore:u1(O4())})}),BN0=P0({uri:Q0().startsWith("file://"),name:Q0().optional(),_meta:_1(Q0(),y1()).optional()}),RN0=o4.extend({method:j0("roots/list"),params:I$.optional()}),gP=r4.extend({roots:e0(BN0)}),vN0=L$.extend({method:j0("notifications/roots/list_changed"),params:w$.optional()}),qZ1=h1([OW,AP,TN0,_P,yO0,_O0,wO0,DO0,FO0,TO0,BO0,EQ,jP,FW,AW,PW,EW]),GZ1=h1([DW,NW,PP,vN0,PQ]),HZ1=h1([LW,RQ,SP,oI,gP,MW,TW,mI]),WZ1=h1([OW,UN0,ON0,RN0,FW,AW,PW,EW]),VZ1=h1([DW,NW,oO0,vO0,AO0,dO0,bO0,PQ,FN0]),ZZ1=h1([LW,GO0,EN0,fO0,SO0,LO0,OO0,MO0,BW,pO0,MW,TW,mI]);class o0 extends Error{constructor($,I,U){super(`MCP error ${$}: ${I}`);this.code=$,this.data=U,this.name="McpError"}static fromError($,I,U){if($===Y1.UrlElicitationRequired&&U){let Y=U;if(Y.elicitations)return new Rf(Y.elicitations,I)}return new o0($,I,U)}}class Rf extends o0{constructor($,I=`URL elicitation${$.length>1?"s":""} required`){super(Y1.UrlElicitationRequired,I,{elicitations:$})}get elicitations(){return this.data?.elicitations??[]}}function Y9($){return $==="completed"||$==="failed"||$==="cancelled"}var CN0=Symbol("Let zodToJsonSchema decide on which parser to use");var dZ1=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function yP($){let U=xH($)?.method;if(!U)throw Error("Schema is missing a method literal");let Y=ak(U);if(typeof Y!=="string")throw Error("Schema method literal must be a string");return Y}function hP($,I){let U=$9($,I);if(!U.success)throw U.error;return U.data}var hN0=60000;class xP{constructor($){if(this._options=$,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(DW,(I)=>{this._oncancel(I)}),this.setNotificationHandler(NW,(I)=>{this._onprogress(I)}),this.setRequestHandler(OW,(I)=>({})),this._taskStore=$?.taskStore,this._taskMessageQueue=$?.taskMessageQueue,this._taskStore)this.setRequestHandler(FW,async(I,U)=>{let Y=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!Y)throw new o0(Y1.InvalidParams,"Failed to retrieve task: Task not found");return{...Y}}),this.setRequestHandler(AW,async(I,U)=>{let Y=async()=>{let J=I.params.taskId;if(this._taskMessageQueue){let K;while(K=await this._taskMessageQueue.dequeue(J,U.sessionId)){if(K.type==="response"||K.type==="error"){let q=K.message,G=q.id,H=this._requestResolvers.get(G);if(H)if(this._requestResolvers.delete(G),K.type==="response")H(q);else{let W=q,V=new o0(W.error.code,W.error.message,W.error.data);H(V)}else{let W=K.type==="response"?"Response":"Error";this._onerror(Error(`${W} handler missing for request ${G}`))}continue}await this._transport?.send(K.message,{relatedRequestId:U.requestId})}}let Q=await this._taskStore.getTask(J,U.sessionId);if(!Q)throw new o0(Y1.InvalidParams,`Task not found: ${J}`);if(!Y9(Q.status))return await this._waitForTaskUpdate(J,U.signal),await Y();if(Y9(Q.status)){let K=await this._taskStore.getTaskResult(J,U.sessionId);return this._clearTaskQueue(J),{...K,_meta:{...K._meta,[U9]:{taskId:J}}}}return await Y()};return await Y()}),this.setRequestHandler(PW,async(I,U)=>{try{let{tasks:Y,nextCursor:J}=await this._taskStore.listTasks(I.params?.cursor,U.sessionId);return{tasks:Y,nextCursor:J,_meta:{}}}catch(Y){throw new o0(Y1.InvalidParams,`Failed to list tasks: ${Y instanceof Error?Y.message:String(Y)}`)}}),this.setRequestHandler(EW,async(I,U)=>{try{let Y=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!Y)throw new o0(Y1.InvalidParams,`Task not found: ${I.params.taskId}`);if(Y9(Y.status))throw new o0(Y1.InvalidParams,`Cannot cancel task in terminal status: ${Y.status}`);await this._taskStore.updateTaskStatus(I.params.taskId,"cancelled","Client cancelled task execution.",U.sessionId),this._clearTaskQueue(I.params.taskId);let J=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!J)throw new o0(Y1.InvalidParams,`Task not found after cancellation: ${I.params.taskId}`);return{_meta:{},...J}}catch(Y){if(Y instanceof o0)throw Y;throw new o0(Y1.InvalidRequest,`Failed to cancel task: ${Y instanceof Error?Y.message:String(Y)}`)}})}async _oncancel($){if(!$.params.requestId)return;this._requestHandlerAbortControllers.get($.params.requestId)?.abort($.params.reason)}_setupTimeout($,I,U,Y,J=!1){this._timeoutInfo.set($,{timeoutId:setTimeout(Y,I),startTime:Date.now(),timeout:I,maxTotalTimeout:U,resetTimeoutOnProgress:J,onTimeout:Y})}_resetTimeout($){let I=this._timeoutInfo.get($);if(!I)return!1;let U=Date.now()-I.startTime;if(I.maxTotalTimeout&&U>=I.maxTotalTimeout)throw this._timeoutInfo.delete($),o0.fromError(Y1.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:I.maxTotalTimeout,totalElapsed:U});return clearTimeout(I.timeoutId),I.timeoutId=setTimeout(I.onTimeout,I.timeout),!0}_cleanupTimeout($){let I=this._timeoutInfo.get($);if(I)clearTimeout(I.timeoutId),this._timeoutInfo.delete($)}async connect($){if(this._transport)throw Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=$;let I=this.transport?.onclose;this._transport.onclose=()=>{I?.(),this._onclose()};let U=this.transport?.onerror;this._transport.onerror=(J)=>{U?.(J),this._onerror(J)};let Y=this._transport?.onmessage;this._transport.onmessage=(J,Q)=>{if(Y?.(J,Q),OQ(J)||Of(J))this._onresponse(J);else if(NP(J))this._onrequest(J,Q);else if(Df(J))this._onnotification(J);else this._onerror(Error(`Unknown message type: ${JSON.stringify(J)}`))},await this._transport.start()}_onclose(){let $=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let U of this._timeoutInfo.values())clearTimeout(U.timeoutId);this._timeoutInfo.clear();for(let U of this._requestHandlerAbortControllers.values())U.abort();this._requestHandlerAbortControllers.clear();let I=o0.fromError(Y1.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let U of $.values())U(I)}_onerror($){this.onerror?.($)}_onnotification($){let I=this._notificationHandlers.get($.method)??this.fallbackNotificationHandler;if(I===void 0)return;Promise.resolve().then(()=>I($)).catch((U)=>this._onerror(Error(`Uncaught error in notification handler: ${U}`)))}_onrequest($,I){let U=this._requestHandlers.get($.method)??this.fallbackRequestHandler,Y=this._transport,J=$.params?._meta?.[U9]?.taskId;if(U===void 0){let H={jsonrpc:"2.0",id:$.id,error:{code:Y1.MethodNotFound,message:"Method not found"}};if(J&&this._taskMessageQueue)this._enqueueTaskMessage(J,{type:"error",message:H,timestamp:Date.now()},Y?.sessionId).catch((W)=>this._onerror(Error(`Failed to enqueue error response: ${W}`)));else Y?.send(H).catch((W)=>this._onerror(Error(`Failed to send an error response: ${W}`)));return}let Q=new AbortController;this._requestHandlerAbortControllers.set($.id,Q);let K=Xf($.params)?$.params.task:void 0,q=this._taskStore?this.requestTaskStore($,Y?.sessionId):void 0,G={signal:Q.signal,sessionId:Y?.sessionId,_meta:$.params?._meta,sendNotification:async(H)=>{if(Q.signal.aborted)return;let W={relatedRequestId:$.id};if(J)W.relatedTask={taskId:J};await this.notification(H,W)},sendRequest:async(H,W,V)=>{if(Q.signal.aborted)throw new o0(Y1.ConnectionClosed,"Request was cancelled");let z={...V,relatedRequestId:$.id};if(J&&!z.relatedTask)z.relatedTask={taskId:J};let Z=z.relatedTask?.taskId??J;if(Z&&q)await q.updateTaskStatus(Z,"input_required");return await this.request(H,W,z)},authInfo:I?.authInfo,requestId:$.id,requestInfo:I?.requestInfo,taskId:J,taskStore:q,taskRequestedTtl:K?.ttl,closeSSEStream:I?.closeSSEStream,closeStandaloneSSEStream:I?.closeStandaloneSSEStream};Promise.resolve().then(()=>{if(K)this.assertTaskHandlerCapability($.method)}).then(()=>U($,G)).then(async(H)=>{if(Q.signal.aborted)return;let W={result:H,jsonrpc:"2.0",id:$.id};if(J&&this._taskMessageQueue)await this._enqueueTaskMessage(J,{type:"response",message:W,timestamp:Date.now()},Y?.sessionId);else await Y?.send(W)},async(H)=>{if(Q.signal.aborted)return;let W={jsonrpc:"2.0",id:$.id,error:{code:Number.isSafeInteger(H.code)?H.code:Y1.InternalError,message:H.message??"Internal error",...H.data!==void 0&&{data:H.data}}};if(J&&this._taskMessageQueue)await this._enqueueTaskMessage(J,{type:"error",message:W,timestamp:Date.now()},Y?.sessionId);else await Y?.send(W)}).catch((H)=>this._onerror(Error(`Failed to send response: ${H}`))).finally(()=>{if(this._requestHandlerAbortControllers.get($.id)===Q)this._requestHandlerAbortControllers.delete($.id)})}_onprogress($){let{progressToken:I,...U}=$.params,Y=Number(I),J=this._progressHandlers.get(Y);if(!J){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify($)}`));return}let Q=this._responseHandlers.get(Y),K=this._timeoutInfo.get(Y);if(K&&Q&&K.resetTimeoutOnProgress)try{this._resetTimeout(Y)}catch(q){this._responseHandlers.delete(Y),this._progressHandlers.delete(Y),this._cleanupTimeout(Y),Q(q);return}J(U)}_onresponse($){let I=Number($.id),U=this._requestResolvers.get(I);if(U){if(this._requestResolvers.delete(I),OQ($))U($);else{let Q=new o0($.error.code,$.error.message,$.error.data);U(Q)}return}let Y=this._responseHandlers.get(I);if(Y===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify($)}`));return}this._responseHandlers.delete(I),this._cleanupTimeout(I);let J=!1;if(OQ($)&&$.result&&typeof $.result==="object"){let Q=$.result;if(Q.task&&typeof Q.task==="object"){let K=Q.task;if(typeof K.taskId==="string")J=!0,this._taskProgressTokens.set(K.taskId,I)}}if(!J)this._progressHandlers.delete(I);if(OQ($))Y($);else{let Q=o0.fromError($.error.code,$.error.message,$.error.data);Y(Q)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream($,I,U){let{task:Y}=U??{};if(!Y){try{yield{type:"result",result:await this.request($,I,U)}}catch(Q){yield{type:"error",error:Q instanceof o0?Q:new o0(Y1.InternalError,String(Q))}}return}let J;try{let Q=await this.request($,mI,U);if(Q.task)J=Q.task.taskId,yield{type:"taskCreated",task:Q.task};else throw new o0(Y1.InternalError,"Task creation did not return a task");while(!0){let K=await this.getTask({taskId:J},U);if(yield{type:"taskStatus",task:K},Y9(K.status)){if(K.status==="completed")yield{type:"result",result:await this.getTaskResult({taskId:J},I,U)};else if(K.status==="failed")yield{type:"error",error:new o0(Y1.InternalError,`Task ${J} failed`)};else if(K.status==="cancelled")yield{type:"error",error:new o0(Y1.InternalError,`Task ${J} was cancelled`)};return}if(K.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:J},I,U)};return}let q=K.pollInterval??this._options?.defaultTaskPollInterval??1000;await new Promise((G)=>setTimeout(G,q)),U?.signal?.throwIfAborted()}}catch(Q){yield{type:"error",error:Q instanceof o0?Q:new o0(Y1.InternalError,String(Q))}}}request($,I,U){let{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q,task:K,relatedTask:q}=U??{};return new Promise((G,H)=>{let W=(N)=>{H(N)};if(!this._transport){W(Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{if(this.assertCapabilityForMethod($.method),K)this.assertTaskCapability($.method)}catch(N){W(N);return}U?.signal?.throwIfAborted();let V=this._requestMessageId++,z={...$,jsonrpc:"2.0",id:V};if(U?.onprogress)this._progressHandlers.set(V,U.onprogress),z.params={...$.params,_meta:{...$.params?._meta||{},progressToken:V}};if(K)z.params={...z.params,task:K};if(q)z.params={...z.params,_meta:{...z.params?._meta||{},[U9]:q}};let Z=(N)=>{this._responseHandlers.delete(V),this._progressHandlers.delete(V),this._cleanupTimeout(V),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:V,reason:String(N)}},{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q}).catch((T)=>this._onerror(Error(`Failed to send cancellation: ${T}`)));let E=N instanceof o0?N:new o0(Y1.RequestTimeout,String(N));H(E)};this._responseHandlers.set(V,(N)=>{if(U?.signal?.aborted)return;if(N instanceof Error)return H(N);try{let E=$9(I,N.result);if(!E.success)H(E.error);else G(E.data)}catch(E){H(E)}}),U?.signal?.addEventListener("abort",()=>{Z(U?.signal?.reason)});let w=U?.timeout??hN0,L=()=>Z(o0.fromError(Y1.RequestTimeout,"Request timed out",{timeout:w}));this._setupTimeout(V,w,U?.maxTotalTimeout,L,U?.resetTimeoutOnProgress??!1);let D=q?.taskId;if(D){let N=(E)=>{let T=this._responseHandlers.get(V);if(T)T(E);else this._onerror(Error(`Response handler missing for side-channeled request ${V}`))};this._requestResolvers.set(V,N),this._enqueueTaskMessage(D,{type:"request",message:z,timestamp:Date.now()}).catch((E)=>{this._cleanupTimeout(V),H(E)})}else this._transport.send(z,{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q}).catch((N)=>{this._cleanupTimeout(V),H(N)})})}async getTask($,I){return this.request({method:"tasks/get",params:$},MW,I)}async getTaskResult($,I,U){return this.request({method:"tasks/result",params:$},I,U)}async listTasks($,I){return this.request({method:"tasks/list",params:$},TW,I)}async cancelTask($,I){return this.request({method:"tasks/cancel",params:$},Mf,I)}async notification($,I){if(!this._transport)throw Error("Not connected");this.assertNotificationCapability($.method);let U=I?.relatedTask?.taskId;if(U){let K={...$,jsonrpc:"2.0",params:{...$.params,_meta:{...$.params?._meta||{},[U9]:I.relatedTask}}};await this._enqueueTaskMessage(U,{type:"notification",message:K,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes($.method)&&!$.params&&!I?.relatedRequestId&&!I?.relatedTask){if(this._pendingDebouncedNotifications.has($.method))return;this._pendingDebouncedNotifications.add($.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete($.method),!this._transport)return;let K={...$,jsonrpc:"2.0"};if(I?.relatedTask)K={...K,params:{...K.params,_meta:{...K.params?._meta||{},[U9]:I.relatedTask}}};this._transport?.send(K,I).catch((q)=>this._onerror(q))});return}let Q={...$,jsonrpc:"2.0"};if(I?.relatedTask)Q={...Q,params:{...Q.params,_meta:{...Q.params?._meta||{},[U9]:I.relatedTask}}};await this._transport.send(Q,I)}setRequestHandler($,I){let U=yP($);this.assertRequestHandlerCapability(U),this._requestHandlers.set(U,(Y,J)=>{let Q=hP($,Y);return Promise.resolve(I(Q,J))})}removeRequestHandler($){this._requestHandlers.delete($)}assertCanSetRequestHandler($){if(this._requestHandlers.has($))throw Error(`A request handler for ${$} already exists, which would be overridden`)}setNotificationHandler($,I){let U=yP($);this._notificationHandlers.set(U,(Y)=>{let J=hP($,Y);return Promise.resolve(I(J))})}removeNotificationHandler($){this._notificationHandlers.delete($)}_cleanupTaskProgressHandler($){let I=this._taskProgressTokens.get($);if(I!==void 0)this._progressHandlers.delete(I),this._taskProgressTokens.delete($)}async _enqueueTaskMessage($,I,U){if(!this._taskStore||!this._taskMessageQueue)throw Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let Y=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue($,I,U,Y)}async _clearTaskQueue($,I){if(this._taskMessageQueue){let U=await this._taskMessageQueue.dequeueAll($,I);for(let Y of U)if(Y.type==="request"&&NP(Y.message)){let J=Y.message.id,Q=this._requestResolvers.get(J);if(Q)Q(new o0(Y1.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(J);else this._onerror(Error(`Resolver missing for request ${J} during task ${$} cleanup`))}}}async _waitForTaskUpdate($,I){let U=this._options?.defaultTaskPollInterval??1000;try{let Y=await this._taskStore?.getTask($);if(Y?.pollInterval)U=Y.pollInterval}catch{}return new Promise((Y,J)=>{if(I.aborted){J(new o0(Y1.InvalidRequest,"Request cancelled"));return}let Q=setTimeout(Y,U);I.addEventListener("abort",()=>{clearTimeout(Q),J(new o0(Y1.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore($,I){let U=this._taskStore;if(!U)throw Error("No task store configured");return{createTask:async(Y)=>{if(!$)throw Error("No request provided");return await U.createTask(Y,$.id,{method:$.method,params:$.params},I)},getTask:async(Y)=>{let J=await U.getTask(Y,I);if(!J)throw new o0(Y1.InvalidParams,"Failed to retrieve task: Task not found");return J},storeTaskResult:async(Y,J,Q)=>{await U.storeTaskResult(Y,J,Q,I);let K=await U.getTask(Y,I);if(K){let q=PQ.parse({method:"notifications/tasks/status",params:K});if(await this.notification(q),Y9(K.status))this._cleanupTaskProgressHandler(Y)}},getTaskResult:(Y)=>{return U.getTaskResult(Y,I)},updateTaskStatus:async(Y,J,Q)=>{let K=await U.getTask(Y,I);if(!K)throw new o0(Y1.InvalidParams,`Task "${Y}" not found - it may have been cleaned up`);if(Y9(K.status))throw new o0(Y1.InvalidParams,`Cannot update task "${Y}" from terminal status "${K.status}" to "${J}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await U.updateTaskStatus(Y,J,Q,I);let q=await U.getTask(Y,I);if(q){let G=PQ.parse({method:"notifications/tasks/status",params:q});if(await this.notification(G),Y9(q.status))this._cleanupTaskProgressHandler(Y)}},listTasks:(Y)=>{return U.listTasks(Y,I)}}}}function vf($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Cf($,I){let U={...$};for(let Y in I){let J=Y,Q=I[J];if(Q===void 0)continue;let K=U[J];if(vf(K)&&vf(Q))U[J]={...K,...Q};else U[J]=Q}return U}var zc=VI(_T(),1),Xc=VI(Zc(),1);function Yv0(){let $=new zc.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return Xc.default($),$}class iT{constructor($){this._ajv=$??Yv0()}getValidator($){let I="$id"in $&&typeof $.$id==="string"?this._ajv.getSchema($.$id)??this._ajv.compile($):this._ajv.compile($);return(U)=>{if(I(U))return{valid:!0,data:U,errorMessage:void 0};else return{valid:!1,data:void 0,errorMessage:this._ajv.errorsText(I.errors)}}}}class nT{constructor($){this._server=$}requestStream($,I,U){return this._server.requestStream($,I,U)}createMessageStream($,I){let U=this._server.getClientCapabilities();if(($.tools||$.toolChoice)&&!U?.sampling?.tools)throw Error("Client does not support sampling tools capability.");if($.messages.length>0){let Y=$.messages[$.messages.length-1],J=Array.isArray(Y.content)?Y.content:[Y.content],Q=J.some((H)=>H.type==="tool_result"),K=$.messages.length>1?$.messages[$.messages.length-2]:void 0,q=K?Array.isArray(K.content)?K.content:[K.content]:[],G=q.some((H)=>H.type==="tool_use");if(Q){if(J.some((H)=>H.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!G)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(G){let H=new Set(q.filter((V)=>V.type==="tool_use").map((V)=>V.id)),W=new Set(J.filter((V)=>V.type==="tool_result").map((V)=>V.toolUseId));if(H.size!==W.size||![...H].every((V)=>W.has(V)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:$},RQ,I)}elicitInputStream($,I){let U=this._server.getClientCapabilities(),Y=$.mode??"form";switch(Y){case"url":{if(!U?.elicitation?.url)throw Error("Client does not support url elicitation.");break}case"form":{if(!U?.elicitation?.form)throw Error("Client does not support form elicitation.");break}}let J=Y==="form"&&$.mode===void 0?{...$,mode:"form"}:$;return this.requestStream({method:"elicitation/create",params:J},oI,I)}async getTask($,I){return this._server.getTask({taskId:$},I)}async getTaskResult($,I,U){return this._server.getTaskResult({taskId:$},I,U)}async listTasks($,I){return this._server.listTasks($?{cursor:$}:void 0,I)}async cancelTask($,I){return this._server.cancelTask({taskId:$},I)}}function wc($,I,U){if(!$)throw Error(`${U} does not support task creation (required for ${I})`);switch(I){case"tools/call":if(!$.tools?.call)throw Error(`${U} does not support task creation for tools/call (required for ${I})`);break;default:break}}function Lc($,I,U){if(!$)throw Error(`${U} does not support task creation (required for ${I})`);switch(I){case"sampling/createMessage":if(!$.sampling?.createMessage)throw Error(`${U} does not support task creation for sampling/createMessage (required for ${I})`);break;case"elicitation/create":if(!$.elicitation?.create)throw Error(`${U} does not support task creation for elicitation/create (required for ${I})`);break;default:break}}class pT extends xP{constructor($,I){super(I);if(this._serverInfo=$,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(BQ.options.map((U,Y)=>[U,Y])),this.isMessageIgnored=(U,Y)=>{let J=this._loggingLevels.get(Y);return J?this.LOG_LEVEL_SEVERITY.get(U)this._oninitialize(U)),this.setNotificationHandler(PP,()=>this.oninitialized?.()),this._capabilities.logging)this.setRequestHandler(_P,async(U,Y)=>{let J=Y.sessionId||Y.requestInfo?.headers["mcp-session-id"]||void 0,{level:Q}=U.params,K=BQ.safeParse(Q);if(K.success)this._loggingLevels.set(J,K.data);return{}})}get experimental(){if(!this._experimental)this._experimental={tasks:new nT(this)};return this._experimental}registerCapabilities($){if(this.transport)throw Error("Cannot register capabilities after connecting to transport");this._capabilities=Cf(this._capabilities,$)}setRequestHandler($,I){let Y=xH($)?.method;if(!Y)throw Error("Schema is missing a method literal");let J;if(xI(Y)){let K=Y;J=K._zod?.def?.value??K.value}else{let K=Y;J=K._def?.value??K.value}if(typeof J!=="string")throw Error("Schema method literal must be a string");if(J==="tools/call"){let K=async(q,G)=>{let H=$9(EQ,q);if(!H.success){let Z=H.error instanceof Error?H.error.message:String(H.error);throw new o0(Y1.InvalidParams,`Invalid tools/call request: ${Z}`)}let{params:W}=H.data,V=await Promise.resolve(I(q,G));if(W.task){let Z=$9(mI,V);if(!Z.success){let w=Z.error instanceof Error?Z.error.message:String(Z.error);throw new o0(Y1.InvalidParams,`Invalid task creation result: ${w}`)}return Z.data}let z=$9(BW,V);if(!z.success){let Z=z.error instanceof Error?z.error.message:String(z.error);throw new o0(Y1.InvalidParams,`Invalid tools/call result: ${Z}`)}return z.data};return super.setRequestHandler($,K)}return super.setRequestHandler($,I)}assertCapabilityForMethod($){switch($){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw Error(`Client does not support sampling (required for ${$})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw Error(`Client does not support elicitation (required for ${$})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw Error(`Client does not support listing roots (required for ${$})`);break;case"ping":break}}assertNotificationCapability($){switch($){case"notifications/message":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${$})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw Error(`Server does not support notifying about resources (required for ${$})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw Error(`Server does not support notifying of tool list changes (required for ${$})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw Error(`Server does not support notifying of prompt list changes (required for ${$})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw Error(`Client does not support URL elicitation (required for ${$})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability($){if(!this._capabilities)return;switch($){case"completion/complete":if(!this._capabilities.completions)throw Error(`Server does not support completions (required for ${$})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${$})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw Error(`Server does not support prompts (required for ${$})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw Error(`Server does not support resources (required for ${$})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Server does not support tools (required for ${$})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw Error(`Server does not support tasks capability (required for ${$})`);break;case"ping":case"initialize":break}}assertTaskCapability($){Lc(this._clientCapabilities?.tasks?.requests,$,"Client")}assertTaskHandlerCapability($){if(!this._capabilities)return;wc(this._capabilities.tasks?.requests,$,"Server")}async _oninitialize($){let I=$.params.protocolVersion;return this._clientCapabilities=$.params.capabilities,this._clientVersion=$.params.clientInfo,{protocolVersion:Vf.includes(I)?I:DP,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},LW)}async createMessage($,I){if($.tools||$.toolChoice){if(!this._clientCapabilities?.sampling?.tools)throw Error("Client does not support sampling tools capability.")}if($.messages.length>0){let U=$.messages[$.messages.length-1],Y=Array.isArray(U.content)?U.content:[U.content],J=Y.some((G)=>G.type==="tool_result"),Q=$.messages.length>1?$.messages[$.messages.length-2]:void 0,K=Q?Array.isArray(Q.content)?Q.content:[Q.content]:[],q=K.some((G)=>G.type==="tool_use");if(J){if(Y.some((G)=>G.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!q)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(q){let G=new Set(K.filter((W)=>W.type==="tool_use").map((W)=>W.id)),H=new Set(Y.filter((W)=>W.type==="tool_result").map((W)=>W.toolUseId));if(G.size!==H.size||![...G].every((W)=>H.has(W)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}if($.tools)return this.request({method:"sampling/createMessage",params:$},SP,I);return this.request({method:"sampling/createMessage",params:$},RQ,I)}async elicitInput($,I){switch($.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support url elicitation.");let Y=$;return this.request({method:"elicitation/create",params:Y},oI,I)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw Error("Client does not support form elicitation.");let Y=$.mode==="form"?$:{...$,mode:"form"},J=await this.request({method:"elicitation/create",params:Y},oI,I);if(J.action==="accept"&&J.content&&Y.requestedSchema)try{let K=this._jsonSchemaValidator.getValidator(Y.requestedSchema)(J.content);if(!K.valid)throw new o0(Y1.InvalidParams,`Elicitation response content does not match requested schema: ${K.errorMessage}`)}catch(Q){if(Q instanceof o0)throw Q;throw new o0(Y1.InternalError,`Error validating elicitation response: ${Q instanceof Error?Q.message:String(Q)}`)}return J}}}createElicitationCompletionNotifier($,I){if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:$}},I)}async listRoots($,I){return this.request({method:"roots/list",params:$},gP,I)}async sendLoggingMessage($,I){if(this._capabilities.logging){if(!this.isMessageIgnored($.level,I))return this.notification({method:"notifications/message",params:$})}}async sendResourceUpdated($){return this.notification({method:"notifications/resources/updated",params:$})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}}import Oc from"node:process";class cT{append($){this._buffer=this._buffer?Buffer.concat([this._buffer,$]):$}readMessage(){if(!this._buffer)return null;let $=this._buffer.indexOf(` -`);if($===-1)return null;let I=this._buffer.toString("utf8",0,$).replace(/\r$/,"");return this._buffer=this._buffer.subarray($+1),Jv0(I)}clear(){this._buffer=void 0}}function Jv0($){return Nf.parse(JSON.parse($))}function Dc($){return JSON.stringify($)+` -`}class dT{constructor($=Oc.stdin,I=Oc.stdout){this._stdin=$,this._stdout=I,this._readBuffer=new cT,this._started=!1,this._ondata=(U)=>{this._readBuffer.append(U),this.processReadBuffer()},this._onerror=(U)=>{this.onerror?.(U)}}async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){while(!0)try{let $=this._readBuffer.readMessage();if($===null)break;this.onmessage?.($)}catch($){this.onerror?.($)}}async close(){if(this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send($){return new Promise((I)=>{let U=Dc($);if(this._stdout.write(U))I();else this._stdout.once("drain",I)})}}import{dirname as Mx,join as bG1}from"node:path";import{fileURLToPath as iG1}from"node:url";class I5 extends Error{name="KyError";get isKyError(){return!0}}class i6 extends I5{name="HTTPError";response;request;options;data;constructor($,I,U){let Y=$.status||$.status===0?$.status:"",J=$.statusText??"",Q=`${Y} ${J}`.trim(),K=Q?`status code ${Q}`:"an unknown error";super(`Request failed with ${K}: ${I.method} ${I.url}`);this.response=$,this.request=I,this.options=U}}class sQ extends I5{name="NetworkError";request;constructor($,I){super(`Request failed due to a network error: ${$.method} ${$.url}`,I);this.request=$}}class eQ extends Error{name="NonError";value;constructor($){let I="Non-error value was thrown";try{if(typeof $==="string")I=$;else if($&&typeof $==="object"&&"message"in $&&typeof $.message==="string")I=$.message}catch{}super(I);this.value=$}}class GU extends I5{name="ForceRetryError";customDelay;code;customRequest;constructor($){let I=$?.cause?$.cause instanceof Error?$.cause:new eQ($.cause):void 0;super($?.code?`Forced retry: ${$.code}`:"Forced retry",I?{cause:I}:void 0);this.customDelay=$?.delay,this.code=$?.code,this.customRequest=$?.request}}class mT extends Error{name="SchemaValidationError";issues;constructor($){super("Response schema validation failed");this.issues=$}}class d$ extends I5{name="TimeoutError";request;constructor($){super(`Request timed out: ${$.method} ${$.url}`);this.request=$}}var lT=(()=>{let $=!1,I=!1,U=typeof globalThis.ReadableStream==="function",Y=typeof globalThis.Request==="function";if(U&&Y)try{I=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return $=!0,"half"}}).headers.has("Content-Type")}catch(J){if(J instanceof Error&&J.message==="unsupported BodyInit type")return!1;throw J}return $&&!I})(),Nc=typeof globalThis.AbortController==="function",HV=typeof globalThis.AbortSignal==="function"&&typeof globalThis.AbortSignal.any==="function",Fc=typeof globalThis.ReadableStream==="function",Mc=typeof globalThis.FormData==="function",WV=["get","post","put","patch","head","delete"],Qv0=()=>{return};Qv0();var Ac={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},HU=2147483647,Pc=40,VV=Symbol("stop");class ZV{options;constructor($){this.options=$}}var Tc=($)=>new ZV($),Ec={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,baseUrl:!0,prefix:!0,retry:!0,timeout:!0,totalTimeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},Bc={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0};var zV=new TextEncoder,Kv0=($)=>{if(!$)return 0;if($ instanceof FormData){let I=0;for(let[U,Y]of $)I+=Pc,I+=zV.encode(`Content-Disposition: form-data; name="${U}"`).byteLength,I+=typeof Y==="string"?zV.encode(Y).byteLength:Y.size;return I}if($ instanceof Blob)return $.size;if($ instanceof ArrayBuffer||ArrayBuffer.isView($))return $.byteLength;if(typeof $==="string")return zV.encode($).byteLength;if($ instanceof URLSearchParams)return zV.encode($.toString()).byteLength;return 0},Rc=($,I,U)=>{let Y,J=0;return $.pipeThrough(new TransformStream({transform(Q,K){if(K.enqueue(Q),Y){J+=Y.byteLength;let q=I===0?0:J/I;if(q>=1)q=1-Number.EPSILON;U?.({percent:q,totalBytes:Math.max(I,J),transferredBytes:J},Y)}Y=Q},flush(){if(Y)J+=Y.byteLength,U?.({percent:1,totalBytes:Math.max(I,J),transferredBytes:J},Y)}}))},vc=($,I)=>{if(!$.body)return $;let U={status:$.status,statusText:$.statusText,headers:$.headers};if($.status===204)return new Response(null,U);let Y=Math.max(0,Number($.headers.get("content-length"))||0);return new Response(Rc($.body,Y,I),U)},Cc=($,I,U)=>{if(!$.body)return $;let Y=Kv0(U??$.body);return new Request($,{duplex:"half",body:Rc($.body,Y,I)})};var Z8=($)=>$!==null&&typeof $==="object";var qv0=Symbol("replaceOption"),oT=($)=>Z8($)&&$[qv0]===!0?{isReplace:!0,value:$.value}:{isReplace:!1,value:$};var I2=(...$)=>{for(let I of $)if((!Z8(I)||Array.isArray(I))&&I!==void 0)throw TypeError("The `options` argument must be an object");return aT({},...$)},tT=($={},I={})=>{let U=new globalThis.Headers($),Y=I instanceof globalThis.Headers,J=new globalThis.Headers(I);for(let[Q,K]of J.entries())if(Y&&K==="undefined"||K===void 0)U.delete(Q);else U.set(Q,K);return U},rT=($)=>{if(!Z8($)||Array.isArray($))return!1;let I=Object.getPrototypeOf($);return I===Object.prototype||I===null},WU=($)=>{if($ instanceof URLSearchParams){let I=new URLSearchParams($),U=$[V9];if(U)I[V9]=new Set(U);return I}if($ instanceof globalThis.Headers)return new globalThis.Headers($);if(Array.isArray($))return[...$];if(rT($))return{...$};return $},Gv0=($)=>Object.fromEntries(Object.entries($).filter((I)=>I[1]!==void 0)),Hv0=($,I)=>{if(rT($)&&rT(I))return Gv0({...$,...I});return tT($,I)};function $2($,I,U){return Object.hasOwn(I,U)&&I[U]===void 0?[]:aT($[U]??[],I[U]??[])}var XV=($={},I={})=>({init:$2($,I,"init"),beforeRequest:$2($,I,"beforeRequest"),beforeRetry:$2($,I,"beforeRetry"),beforeError:$2($,I,"beforeError"),afterResponse:$2($,I,"afterResponse")}),V9=Symbol("deletedParameters"),Wv0=($,I)=>{let U=new URLSearchParams,Y=new Set;for(let J of[$,I]){if(J===void 0)continue;if(J instanceof URLSearchParams){for(let[K,q]of J.entries())U.append(K,q),Y.delete(K);let Q=J[V9];if(Q)for(let K of Q)U.delete(K),Y.add(K)}else if(Array.isArray(J))for(let Q of J){if(!Array.isArray(Q)||Q.length!==2)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");U.append(String(Q[0]),String(Q[1])),Y.delete(String(Q[0]))}else if(Z8(J))for(let[Q,K]of Object.entries(J))if(K===void 0)U.delete(Q),Y.add(Q);else U.append(Q,String(K)),Y.delete(Q);else{let Q=new URLSearchParams(J);for(let[K,q]of Q.entries())U.append(K,q),Y.delete(K)}}if(Y.size>0)U[V9]=Y;return U},aT=(...$)=>{let I={},U={},Y={},J,Q=[];for(let K of $)if(Array.isArray(K)){if(!Array.isArray(I))I=[];I=[...I,...K]}else if(Z8(K)){for(let[q,G]of Object.entries(K)){if(q==="signal"&&G instanceof globalThis.AbortSignal){Q.push(G);continue}let H=oT(G),{isReplace:W}=H;if(G=H.value,q==="context"){if(G!==void 0&&G!==null&&(!Z8(G)||Array.isArray(G)))throw TypeError("The `context` option must be an object");I={...I,context:G===void 0||G===null?{}:W?{...G}:{...I.context,...G}};continue}if(q==="searchParams"){if(G===void 0||G===null)J=void 0;else if(W)J=G;else J=J===void 0?G:Wv0(J,G);continue}if(Z8(G)&&!W&&q in I)G=aT(I[q],G);I={...I,[q]:G}}if(Z8(K.hooks)){let{value:q,isReplace:G}=oT(K.hooks);Y=G?XV({},q):XV(Y,q),I.hooks=Y}if(Z8(K.headers)){let{value:q,isReplace:G}=oT(K.headers);U=G?WU(q):Hv0(U,q),I.headers=U}}if(J!==void 0)I.searchParams=J;if(Q.length>0)if(Q.length===1)I.signal=Q[0];else if(HV)I.signal=AbortSignal.any(Q);else I.signal=Q.at(-1);return I};var _c=($)=>WV.includes($)?$.toUpperCase():$,Vv0=["get","put","head","delete","options","trace"],Zv0=[408,413,429,500,502,503,504],zv0=[413,429,503],jc={limit:2,methods:Vv0,statusCodes:Zv0,afterStatusCodes:zv0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:($)=>0.3*2**($-1)*1000,jitter:void 0,retryOnTimeout:!1},Sc=($={})=>{if(typeof $==="number")return{...jc,limit:$};if($.methods&&!Array.isArray($.methods))throw Error("retry.methods must be an array");if($.statusCodes&&!Array.isArray($.statusCodes))throw Error("retry.statusCodes must be an array");let I=Object.fromEntries(Object.entries({...$,methods:$.methods?.map((U)=>U.toLowerCase())}).filter(([,U])=>U!==void 0));return{...jc,...I}};async function sT($,I,U,Y){return new Promise((J,Q)=>{let K=setTimeout(()=>{if(U)U.abort();Q(new d$($))},Y.timeout);Y.fetch($,I).then(J).catch(Q).then(()=>{clearTimeout(K)})})}async function wV($,{signal:I}){return new Promise((U,Y)=>{if(I)I.throwIfAborted(),I.addEventListener("abort",J,{once:!0});function J(){clearTimeout(Q),Y(I.reason)}let Q=setTimeout(()=>{I?.removeEventListener("abort",J),U()},$)})}var gc=($)=>{let I={};for(let U in $){if(!Object.hasOwn($,U))continue;if(!(U in Bc)&&!(U in Ec))I[U]=$[U]}return I},yc=($)=>{if($===void 0)return!1;if(Array.isArray($))return $.length>0;if($ instanceof URLSearchParams)return $.size>0||Boolean($[V9]?.size);if(typeof $==="object")return Object.keys($).length>0;if(typeof $==="string")return $.trim().length>0;return Boolean($)};var Xv0=Object.prototype.toString,wv0=($)=>Xv0.call($)==="[object Error]",Lv0=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"]);function eT($){if(!($&&wv0($)&&$.name==="TypeError"&&typeof $.message==="string"))return!1;let{message:U,stack:Y}=$;if(U==="Load failed")return Y===void 0||"__sentry_captured__"in $;if(U.startsWith("error sending request for url"))return!0;if(U==="Failed to fetch"||U.startsWith("Failed to fetch (")&&U.endsWith(")"))return!0;return Lv0.has(U)}var $E=($,I)=>$ instanceof I||$?.name===I.name;function hc($){return $E($,i6)}function xc($){return $E($,sQ)}function kc($){return $E($,d$)}var Dv0=10485760,Ov0="The `prefixUrl` option has been renamed `prefix` in v2 and enhanced to allow slashes in input. See also the new `baseUrl` option for improved flexibility with standard URL resolution: https://github.com/sindresorhus/ky#baseurl",U2=Symbol("timedOutResponseData"),Nv0=($)=>{let I=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec($),U=I?.[1]??I?.[2];if(U)try{return new TextDecoder(U)}catch{}return new TextDecoder},uc="The `schema` argument must follow the Standard Schema specification",Fv0=($)=>{if(typeof $!=="object")return $;return{...$,...$.methods&&{methods:[...$.methods]},...$.statusCodes&&{statusCodes:[...$.statusCodes]},...$.afterStatusCodes&&{afterStatusCodes:[...$.afterStatusCodes]}}},ic=Object.prototype.toString,fc=($)=>$ instanceof globalThis.Request||ic.call($)==="[object Request]",Y2=($)=>$ instanceof globalThis.Response||ic.call($)==="[object Response]",Mv0=($)=>{if(Array.isArray($))return $.map((I)=>[...I]);return WU($)};function Av0($){let I={...$,json:WU($.json),context:WU($.context),headers:WU($.headers),searchParams:Mv0($.searchParams)};if($.retry!==void 0)I.retry=Fv0($.retry);return I}var bc=async($,I)=>{if(typeof I!=="object"&&typeof I!=="function"||I===null)throw TypeError(uc);let U=I["~standard"];if(typeof U!=="object"||U===null||typeof U.validate!=="function")throw TypeError(uc);let Y=await U.validate($);if(Y.issues)throw new mT(Y.issues);return Y.value};class VU{static create($,I){let U=I.hooks?.init??[],Y=U.length>0?Av0(I):I;for(let q of U)q(Y);let J=new VU($,Y),Q=async()=>{if(typeof J.#$.timeout==="number"&&J.#$.timeout>HU)throw RangeError(`The \`timeout\` option cannot be greater than ${HU}`);if(typeof J.#$.totalTimeout==="number"&&J.#$.totalTimeout>HU)throw RangeError(`The \`totalTimeout\` option cannot be greater than ${HU}`);await Promise.resolve();let q=await J.#y(),G=q??await J.#B(async()=>J.#D()),H=q!==void 0||J.#L();for(;;){if(G===void 0)return G;if(Y2(G))try{G=await J.#h(G)}catch(V){if(!(V instanceof GU))throw V;let z=await J.#w(V,async()=>J.#D());if(z===void 0)return z;G=z,H=J.#L();continue}let W=G;if(!W.ok&&W.type!=="opaque"&&(typeof J.#$.throwHttpErrors==="function"?J.#$.throwHttpErrors(W.status):J.#$.throwHttpErrors)){let V=new i6(W,J.#q(W),J.#K()),z=V;if(V.data=await J.#j(W),H)throw z;let Z=await J.#w(V,async()=>J.#D());if(Z===void 0)return Z;G=Z,H=J.#L();continue}break}if(!Y2(G))return G;if(J.#P(G),J.#$.onDownloadProgress){if(typeof J.#$.onDownloadProgress!=="function")throw TypeError("The `onDownloadProgress` option must be a function");if(!Fc)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let W=G.clone();return J.#Y(G),vc(W,J.#$.onDownloadProgress)}return G},K=(async()=>{try{return await Q()}catch(q){if(!(q instanceof Error))throw q;if(J.#M.has(q))throw q;let G=q;for(let H of J.#$.hooks.beforeError){let W=await H({request:J.request,options:J.#K(),error:G,retryCount:J.#U});if(W instanceof Error)G=W}throw G}finally{let q=J.#F;if(J.#X(q?.body??void 0),J.request!==q)J.#X(J.request.body??void 0)}})();for(let[q,G]of Object.entries(Ac)){if(q==="bytes"&&typeof globalThis.Response?.prototype?.bytes!=="function")continue;K[q]=async(H)=>{J.request.headers.set("accept",J.request.headers.get("accept")||G);let W=await K;if(q!=="json")return W[q]();let V=await W.text();if(V===""){if(H!==void 0)return bc(void 0,H);return JSON.parse(V)}let z=Y.parseJson?await Y.parseJson(V,{request:J.#q(W),response:W}):JSON.parse(V);return H===void 0?z:bc(z,H)}}return K}static#v($){if($&&typeof $==="object"&&!Array.isArray($)&&!($ instanceof URLSearchParams))return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0));return $}request;#J;#U=0;#I;#$;#F;#G;#M=new WeakSet;#H;#z;#W=!1;#A=new WeakMap;constructor($,I={}){if(this.#I=$,Object.hasOwn(I,"prefixUrl"))throw Error(Ov0);if(this.#$={...I,headers:tT(this.#I.headers,I.headers),hooks:XV({},I.hooks),method:_c(I.method??this.#I.method??"GET"),prefix:String(I.prefix||""),retry:Sc(I.retry),throwHttpErrors:I.throwHttpErrors??!0,timeout:I.timeout??1e4,totalTimeout:I.totalTimeout??!1,fetch:I.fetch??globalThis.fetch.bind(globalThis),context:I.context??{}},typeof this.#I!=="string"&&!(this.#I instanceof URL||this.#I instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(typeof this.#I==="string"){if(this.#$.prefix){let Y=this.#$.prefix.replace(/\/+$/,""),J=this.#I.replace(/^\/+/,"");this.#I=`${Y}/${J}`}if(this.#$.baseUrl){let Y;try{Y=new URL(this.#I)}catch{}if(!Y)this.#I=new URL(this.#I,new Request(this.#$.baseUrl).url)}}if(Nc&&HV)this.#G=this.#$.signal??this.#I.signal,this.#J=new globalThis.AbortController,this.#$.signal=this.#E();if(lT)this.#$.duplex="half";if(this.#$.json!==void 0)this.#$.body=this.#$.stringifyJson?.(this.#$.json)??JSON.stringify(this.#$.json),this.#$.headers.set("content-type",this.#$.headers.get("content-type")??"application/json");let U=I.headers&&new globalThis.Headers(I.headers).has("content-type");if(this.#I instanceof globalThis.Request&&(Mc&&this.#$.body instanceof globalThis.FormData||this.#$.body instanceof URLSearchParams)&&!U)this.#$.headers.delete("content-type");if(this.request=new globalThis.Request(this.#I,this.#$),yc(this.#$.searchParams)){let Y=new URL(this.request.url),J=this.#$.searchParams?.[V9];if(J)for(let Q of J)Y.searchParams.delete(Q);if(typeof this.#$.searchParams==="string"){let Q=this.#$.searchParams.replace(/^\?/,"");if(Q!=="")Y.search=Y.search?`${Y.search}&${Q}`:`?${Q}`}else{let Q=new URLSearchParams(VU.#v(this.#$.searchParams));for(let[K,q]of Q.entries())Y.searchParams.append(K,q)}if(this.#$.searchParams&&typeof this.#$.searchParams==="object"&&!Array.isArray(this.#$.searchParams)&&!(this.#$.searchParams instanceof URLSearchParams)){for(let[Q,K]of Object.entries(this.#$.searchParams))if(K===void 0)Y.searchParams.delete(Q)}this.request=new globalThis.Request(Y,this.#$)}if(this.#$.onUploadProgress&&typeof this.#$.onUploadProgress!=="function")throw TypeError("The `onUploadProgress` option must be a function");this.#z=typeof this.#$.totalTimeout==="number"?this.#R():void 0}#Q(){let $=this.#$.retry.delay(this.#U+1),I=$;if(this.#$.retry.jitter===!0)I=Math.random()*$;else if(typeof this.#$.retry.jitter==="function"){if(I=this.#$.retry.jitter($),!Number.isFinite(I)||I<0)I=$}return Math.min(this.#$.retry.backoffLimit,I)}async#C($){if(this.#U>=this.#$.retry.limit)throw $;let I=$ instanceof Error?$:new eQ($);if(I instanceof GU)return I.customDelay??this.#Q();if(!this.#$.retry.methods.includes(this.request.method.toLowerCase()))throw $;if(this.#$.retry.shouldRetry!==void 0){let U=await this.#$.retry.shouldRetry({error:I,retryCount:this.#U+1});if(U===!1)throw $;if(U===!0)return this.#Q()}if(kc($)){if(!this.#$.retry.retryOnTimeout)throw $;return this.#Q()}if(hc($)){if(!this.#$.retry.statusCodes.includes($.response.status))throw $;let U=$.response.headers.get("Retry-After")??$.response.headers.get("RateLimit-Reset")??$.response.headers.get("X-RateLimit-Retry-After")??$.response.headers.get("X-RateLimit-Reset")??$.response.headers.get("X-Rate-Limit-Reset");if(U&&this.#$.retry.afterStatusCodes.includes($.response.status)){let Y=Number(U)*1000;if(Number.isNaN(Y))Y=Date.parse(U)-Date.now();else if(Y>=Date.parse("2024-01-01"))Y-=Date.now();if(!Number.isFinite(Y))return Math.min(this.#$.retry.maxRetryAfter,this.#Q());return Y=Math.max(0,Y),Math.min(this.#$.retry.maxRetryAfter,Y)}if($.response.status===413)throw $;return this.#Q()}if(!xc($))throw $;return this.#Q()}#P($){let I=this.#q($);if(this.#$.parseJson)$.json=async()=>{let U=await $.text();if(U==="")return JSON.parse(U);return this.#$.parseJson(U,{request:I,response:$})};return $}async#j($){let I=await this.#S($,this.#T());if(I===U2){this.#V();return}if(!I)return;if(!this.#_($.headers.get("content-type")??""))return I;let U=await this.#g(I,$,this.#T(),this.#q($));if(U===U2){this.#V();return}return U}#T(){let $=this.#$.timeout===!1?1e4:this.#$.timeout,I=this.#Z();if(I===void 0)return $;if(I<=0)throw new d$(this.request);return Math.min($,I)}#_($){let I=($.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(I)}async#S($,I){let{body:U}=$;if(!U)try{return await $.text()}catch{return}let Y;try{Y=U.getReader()}catch{return}let J=Nv0($.headers.get("content-type")??""),Q=[],K=0,q=(async()=>{try{for(;;){let{done:W,value:V}=await Y.read();if(W)break;if(K+=V.byteLength,K>Dv0){Y.cancel().catch(()=>{return});return}Q.push(J.decode(V,{stream:!0}))}}catch{return}return Q.push(J.decode()),Q.join("")})(),G=new Promise((W)=>{let V=setTimeout(()=>{W(U2)},I);q.finally(()=>{clearTimeout(V)})}),H=await Promise.race([q,G]);if(H===U2)Y.cancel().catch(()=>{return});return H}async#g($,I,U,Y){let J;try{return await Promise.race([Promise.resolve().then(()=>this.#$.parseJson?this.#$.parseJson($,{request:Y,response:I}):JSON.parse($)),new Promise((Q)=>{J=setTimeout(()=>{Q(U2)},U)})])}catch{return}finally{clearTimeout(J)}}#X($){if(!$)return;$.cancel().catch(()=>{return})}#Y($){this.#X($.body??void 0)}#E(){return this.#G?AbortSignal.any([this.#G,this.#J.signal]):this.#J.signal}#V(){let $=this.#Z();if($!==void 0&&$<=0)throw new d$(this.request)}async#y(){for(let $ of this.#$.hooks.beforeRequest){let I=await $({request:this.request,options:this.#K(),retryCount:0});if(fc(I))this.#O(I);else if(Y2(I))return I}return}async#h($){let I=this.#q($);for(let U of this.#$.hooks.afterResponse){let Y=this.#N($.clone(),I);this.#P(Y);let J;try{J=await U({request:this.request,options:this.#K(),response:Y,retryCount:this.#U})}catch(K){if(Y!==$)this.#Y(Y);throw this.#Y($),K}if(J instanceof ZV){if(Y!==$)this.#Y(Y);throw this.#Y($),new GU(J.options)}let Q=Y2(J)?this.#N(J,I):$;if(Y!==$&&Y!==Q&&Y.body!==Q.body)this.#Y(Y);if($!==Q&&$.body!==Q.body)this.#Y($);$=Q}return $}async#B($){try{return await $()}catch(I){return this.#w(I,$)}}async#w($,I){this.#W=!1;let U=Math.min(await this.#C($),HU),Y={signal:this.#G},J=this.#Z();if(J!==void 0){if(J<=0)throw new d$(this.request);if(U>=J)throw await wV(J,Y),new d$(this.request)}if(await wV(U,Y),this.#V(),$ instanceof GU&&$.customRequest){let Q=new globalThis.Request($.customRequest,this.#$.signal?{signal:this.#$.signal}:void 0);this.#O(Q)}for(let Q of this.#$.hooks.beforeRetry){let K;try{K=await Q({request:this.request,options:this.#K(),error:$,retryCount:this.#U+1})}catch(q){if(q instanceof Error&&q!==$)this.#M.add(q);throw q}if(fc(K)){this.#O(K);break}if(Y2(K))return this.#W=!0,this.#U++,K;if(K===VV)return}return this.#V(),this.#U++,this.#B(I)}#L(){let $=this.#W;return this.#W=!1,$}async#D(){if(this.#J?.signal.aborted)this.#J=new globalThis.AbortController,this.#$.signal=this.#E(),this.request=new globalThis.Request(this.request,{signal:this.#$.signal});let $=gc(this.#$),I=this.#$.retry.limit>0?this.request.clone():void 0,U=this.#x(this.request,this.#$.body??void 0);if(this.#F=U,I)this.request=I;try{let Y=this.#Z();if(Y!==void 0&&Y<=0)throw new d$(this.request);let J=this.#$.timeout===!1?Y:Y===void 0?this.#$.timeout:Math.min(this.#$.timeout,Y),Q=J===void 0?await this.#$.fetch(U,$):await sT(U,$,this.#J,{timeout:J,fetch:this.#$.fetch});return this.#N(Q,U)}catch(Y){if(eT(Y))throw new sQ(this.request,{cause:Y});throw Y}}#Z(){if(this.#z===void 0)return;let $=this.#R()-this.#z;return Math.max(0,this.#$.totalTimeout-$)}#R(){return globalThis.performance?.now()??Date.now()}#K(){if(!this.#H){let{hooks:$,json:I,parseJson:U,stringifyJson:Y,searchParams:J,timeout:Q,totalTimeout:K,throwHttpErrors:q,fetch:G,...H}=this.#$;this.#H=Object.freeze(H)}return this.#H}#O($){this.#H=void 0,this.request=$}#q($){return this.#A.get($)??this.request}#N($,I){return this.#A.set($,I),$}#x($,I){if(!this.#$.onUploadProgress||!$.body||!lT)return $;return Cc($,this.#$.onUploadProgress,I??this.#$.body??void 0)}}/*! MIT License © Sindre Sorhus */var IE=($)=>{let I=(U,Y)=>VU.create(U,I2($,Y));for(let U of WV)I[U]=(Y,J)=>VU.create(Y,I2($,J,{method:U}));return I.create=(U)=>IE(I2(U)),I.extend=(U)=>{if(typeof U==="function")U=U($??{});return IE(I2($,U))},I.stop=VV,I.retry=Tc,I},Pv0=IE(),U5=Pv0;async function nc($){if($.source.type!=="direct"&&$.source.type!=="seal")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=$.seal.url??$.source.sealUrl,U=$.source.type==="seal"?$.source:void 0;return{token:$.source.token,expiresAt:Date.now()+$.source.expiresIn*1000,enterprise:{provider:U?"seal":"direct",corpId:$.source.corpId??$.id,staffId:$.source.staffId,sealUrl:I,tenantId:U?.tenantId,tenantSlug:$.seal.tenantSlug??U?.tenantSlug,tenantName:U?.tenantName,raw:{sourceType:$.source.type}}}}import{existsSync as UE,mkdirSync as vv0,readFileSync as Cv0,writeFileSync as jv0}from"node:fs";import{dirname as _v0,join as mc}from"node:path";import{homedir as lc}from"node:os";var pc=X.object({token:X.string(),expiresAt:X.number(),url:X.string().url().optional()}),Tv0=X.object({provider:X.string(),corpId:X.string().optional(),staffId:X.string(),sealUrl:X.string().url(),tenantId:X.string().optional(),tenantSlug:X.string().optional(),tenantName:X.string().optional(),raw:X.unknown().optional()}),Ev0=X.object({token:X.string(),expiresAt:X.number(),enterprise:Tv0}),Bv0=X.object({openapi:pc.optional(),closeapi:pc.optional()}),Rv0=X.object({seal:Ev0.optional(),hose:Bv0.optional()}),cc=X.record(X.string(),Rv0);var LV=mc(lc(),".config","seal-use","seal_tokens.json"),dc=mc(lc(),".config","seal-home","seal_tokens.json");function Sv0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;if(UE(LV))return LV;if(UE(dc))return dc;return LV}function gv0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;return LV}function ZU(){let $=Sv0();if(!UE($))return{};try{return cc.parse(JSON.parse(Cv0($,"utf-8")))}catch{return{}}}function DV($){let I=gv0();vv0(_v0(I),{recursive:!0,mode:448}),jv0(I,JSON.stringify($,null,2),{mode:384})}function oc($){return ZU()[$]?.seal}function rc($,I){let U=ZU();DV({...U,[$]:{...U[$],seal:I}})}function tc($){let I=ZU(),U=I[$];if(!U)return;DV({...I,[$]:{...U,seal:void 0}})}function J2($){return ZU()[$]?.hose??{}}function YE($,I){let U=ZU();DV({...U,[$]:{...U[$],hose:I}})}function OV($){let I=ZU();delete I[$],DV(I)}var yv0=["https://app.ekuaibao.com","https://dd2.hosecloud.com","https://wx2.ekuaibao.com","https://kdcloud2.ekuaibao.com","https://ddenterprise.ekuaibao.com","https://feishu.ekuaibao.com"],hv0=[".ekuaibao.com",".hosecloud.com"],xv0="/web/thirdparty.html",sc=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/,JE=new Map,QE=new Map;function m$($){return $.replace(/\/+$/,"")}function kv0($){let I;try{I=new URL($.trim())}catch{throw Error("Invalid Hose assistance link: expected a valid HTTPS URL")}if(I.protocol!=="https:"||I.port||!uv0(I.hostname)||I.pathname.replace(/\/+$/,"")!==xv0)throw Error("Invalid Hose assistance link: expected an HTTPS */web/thirdparty.html URL from ekuaibao.com or hosecloud.com");let U=I.searchParams.getAll("accessToken").filter(Boolean),Y=I.searchParams.getAll("ekbCorpId").filter(Boolean);if(U.length!==1||Y.length!==1)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required exactly once");let J=Y[0].trim().toLowerCase();if(!sc.test(J))throw Error("Invalid Hose assistance link: ekbCorpId is not a valid tenant slug");return{corpId:J,accessToken:U[0]}}async function NV($){let I=typeof $==="string"?kv0($):fv0($),U=`https://${I.corpId}.sealai.cc`,Y=await U5.get(`${U}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:I.accessToken,returnToken:"1"},timeout:30000}).json(),J=Y.token??Y.accessToken??Y.data?.token??Y.data?.accessToken;if(!J)throw Error("Seal SSO did not return a bearer token");let Q=Y.expiresIn??Y.expires_in??Y.data?.expiresIn??Y.data?.expires_in??3600;return{corpId:I.corpId,sealUrl:U,token:J,expiresIn:Number.isFinite(Q)&&Q>0?Q:3600}}function FV($,I){let U=I.hoseCorpConfig&&typeof I.hoseCorpConfig==="object"?I.hoseCorpConfig:void 0,Y=[I.tenantSlug,U?.corporationId].filter((K)=>typeof K==="string"&&Boolean(K)),J=$.trim().toLowerCase(),Q=Y.map((K)=>K.trim().toLowerCase()).filter(Boolean);if(Q.length===0||Q.some((K)=>K!==J))throw Error("Hose assistance link tenant mismatch: the Seal tenant does not match ekbCorpId")}function uv0($){let I=$.toLowerCase();return hv0.some((U)=>I.endsWith(U))}function fv0($){let I=typeof $?.corpId==="string"?$.corpId.trim().toLowerCase():"",U=typeof $?.accessToken==="string"?$.accessToken.trim():"";if(!sc.test(I)||!U)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required");return{corpId:I,accessToken:U}}function ec($,I=60){return Boolean($&&Date.now()<$.expiresAt-I*1000)}function Q2($,I){if($.seal.url)return $.seal.url;if(I.sealUrl)return I.sealUrl;return`https://${I.corpId.toLowerCase()}.sealai.cc`}function bv0($){return $.staffId.includes(":")?$.staffId:`${$.corpId}:${$.staffId}`}function $d($){return U5.create({prefix:m$($.domain),timeout:30000,hooks:{beforeError:[async({error:I})=>{let U=I instanceof i6?await I.response.text().catch(()=>""):"";return I.message=`${I.message}${U?`: ${U}`:""}`,I}]}})}async function iv0($){let I=$d($),U=$.appKey??$.key,Y=$.appSecurity??$.password;if(!U||!Y)throw Error("Hose source requires appKey/key and appSecurity/password");let J=await I.post("api/openapi/v1/auth/getAccessToken",{json:{appKey:U,appSecurity:Y}}).json(),Q=J.value?.accessToken??J.accessToken??J.token;if(!Q)throw Error("Hose login did not return an access token");return{token:Q,expiresAt:Date.now()+3600000}}async function MV($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=J2($.id);if(ec(I.openapi))return I.openapi.token;let U=JE.get($.id);if(U)return U;let Y=iv0($.source).then((J)=>{return YE($.id,{...J2($.id),openapi:J}),J.token}).finally(()=>JE.delete($.id));return JE.set($.id,Y),Y}async function AV($,I,U=7200){let Y=$d($),J=bv0($),K=(await Y.post("api/openapi/v1.1/provisional/getProvisionalAuth",{searchParams:{accessToken:I},json:{uid:J,pageType:"home",expireDate:U}}).json()).value?.message;if(!K)throw Error("Hose CloseAPI did not return a provisional auth URL");let q=new URL(K).searchParams.get("accessToken");if(!q)throw Error("Hose provisional auth URL did not include accessToken");return{token:q,url:K,expiresAt:Date.now()+U*1000}}async function Id($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=$.source,U=J2($.id);if(ec(U.closeapi)&&U.closeapi.url)return U.closeapi;let Y=QE.get($.id);if(Y)return Y;let J=MV($).then((Q)=>AV(I,Q)).then((Q)=>{return YE($.id,{...J2($.id),closeapi:Q}),Q}).finally(()=>QE.delete($.id));return QE.set($.id,J),J}async function Ud($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=(await Id($)).url;if(!I)throw Error("Hose provisional auth URL was not available");return I}async function Yd($,I=7200){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let U=await MV($),Y=await AV($.source,U,I);if(!Y.url)throw Error("Hose provisional auth URL was not available");return{corpId:$.source.corpId,staffId:$.source.staffId,url:Y.url,expiresIn:I}}async function Jd($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=await Id($),U=Q2($,$.source),Y=await U5.get(`${m$(U)}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:I.token,returnToken:"1"},timeout:30000}).json(),J=Y.token??Y.accessToken??Y.data?.token??Y.data?.accessToken;if(!J)throw Error("Seal SSO did not return a bearer token");let Q=Y.expiresIn??Y.expires_in??Y.data?.expiresIn??Y.data?.expires_in??3600,K={provider:"hose",corpId:$.source.corpId,staffId:$.source.staffId,sealUrl:m$(U),tenantSlug:$.seal.tenantSlug,raw:{sourceType:"hose",hoseDomain:m$($.source.domain)}};return{token:J,expiresAt:Date.now()+Q*1000,enterprise:K}}async function zU($,I,U){if(U){let K=m$(U),q=await ac(K,$,I);if(!q)throw Error(`Failed to authenticate on specified domain: ${K}. Please verify appKey/appSecurity and domain connectivity.`);return q}let Y=yv0.map(async(K)=>{try{return await ac(K,$,I)}catch{return}}),Q=(await Promise.all(Y)).filter((K)=>Boolean(K));if(Q.length>0&&Q[0])return Q[0];throw Error("Failed to authenticate with appKey/appSecurity on all 6 standard Hose domains (app.ekuaibao.com, dd2.hosecloud.com, wx2.ekuaibao.com, kdcloud2.ekuaibao.com, ddenterprise.ekuaibao.com, feishu.ekuaibao.com). "+'If your enterprise uses a private cloud or custom domain (such as 美年大健康), please specify the "domain" parameter explicitly.')}async function ac($,I,U){try{let Y=await fetch(`${$}/api/openapi/v1/auth/getAccessToken`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({appKey:I,appSecurity:U}),signal:AbortSignal.timeout(8000)});if(!Y.ok)return;let J=await Y.json();if(J.value?.errorCode)return;let Q=J.value?.accessToken??J.accessToken,K=J.value?.corporationId??J.value?.corporation?.id;if(!Q||!K)return;return{domain:$,corpId:K,corpName:J.value?.corporation?.name,openapiToken:Q,expireTime:J.value?.expireTime}}catch{return}}async function PV($,I){let U=`${m$($)}/api/openapi/v1/roleDefGroups?accessToken=${encodeURIComponent(I)}`,Y=await fetch(U,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!Y.ok){let K=await Y.text().catch(()=>"");throw Error(`Failed to fetch Hose role definition groups: ${Y.status} ${K}`)}return((await Y.json()).items??[]).map((K)=>({id:K.id,name:K.name,enName:K.enName,roleDefs:(K.roleDefs??[]).map((q)=>({id:q.id,name:q.name,enName:q.enName,sourceType:q.sourceType,sourceTypeValue:q.sourceTypeValue,groupId:K.id,groupName:K.name}))}))}async function KE($,I,U,Y="id"){let J=U.startsWith("$")?U.slice(1):U,Q=`${m$($)}/api/openapi/v1/roledefs/$${J}?accessToken=${encodeURIComponent(I)}&staffBy=${encodeURIComponent(Y)}&pathType=name`,K=await fetch(Q,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!K.ok){let W=await K.text().catch(()=>"");throw Error(`Failed to fetch Hose role staffs for ${J}: ${K.status} ${W}`)}let G=(await K.json()).value;if(!G)throw Error(`Hose role staff query returned empty result for ${J}`);let H=[];for(let W of G.contents??[])for(let V of W.staffs??[])if(V&&!H.includes(V))H.push(V);return{id:G.id??J,name:G.name??"",count:G.count??H.length,staffs:H}}async function qE($,I,U){if(U.length===0)return[];let Y=`${m$($)}/api/openapi/v1/staffs/getStaffIds?accessToken=${encodeURIComponent(I)}`,J=await fetch(Y,{method:"POST",headers:{"content-type":"application/json",Accept:"application/json"},body:JSON.stringify({type:"STAFFID",conditionIds:U.slice(0,100)}),signal:AbortSignal.timeout(1e4)});if(!J.ok){let K=await J.text().catch(()=>"");throw Error(`Failed to fetch Hose staff details: ${J.status} ${K}`)}return(await J.json()).items??[]}var TV=new Map;function Qd($,I){return Date.now()>=$.expiresAt-I*1000}async function nv0($){switch($.source.type){case"hose":return Jd($);case"direct":case"seal":return nc($)}}async function EV($){let I=$.auth.refreshTtl,U=TV.get($.id);if(U&&!Qd(U,I))return U;let Y=oc($.id);if(Y&&!Qd(Y,I))return TV.set($.id,Y),Y;let J=await nv0($);return TV.set($.id,J),rc($.id,J),J}async function Kd($){return(await EV($)).enterprise}function qd($){TV.delete($),tc($)}async function U4($){let I=await EV($);return U5.create({prefix:I.enterprise.sealUrl,timeout:30000,headers:{Authorization:`Bearer ${I.token}`},hooks:{beforeError:[async({error:U})=>{if(U instanceof i6&&U.response.status===401)qd($.id);let Y=U instanceof i6?await U.response.text().catch(()=>""):"";return U.message=`${U.message}${Y?`: ${Y}`:""}`,U}]}})}async function Gd($,I){let U=await EV($);return K2(U.enterprise.sealUrl,I)}function K2($,I){return U5.create({prefix:$.replace(/\/+$/,""),timeout:30000,headers:{Authorization:`Bearer ${I}`},hooks:{beforeError:[async({error:U})=>{let Y=U instanceof i6?await U.response.text().catch(()=>""):"";return U.message=`${U.message}${Y?`: ${Y}`:""}`,U}]}})}var Hd={name:"seal-use",version:"0.10.13",type:"module",module:"src/server.ts",bin:{"seal-use":"src/cli.ts","seal-home":"src/cli.ts"},scripts:{dev:"bun run --watch src/server.ts",start:"bun run src/server.ts",probe:"bun run src/probe.ts",cli:"bun run src/cli.ts",check:"tsc --noEmit","build:binary":"node scripts/build-binary.mjs","build:plugin":"node scripts/build-plugin.mjs",bump:"bun run scripts/bump-version.ts","openapi:bundle":"bun run scripts/bundle-openapi.ts","openapi:raw":"bun run scripts/generate-raw-openapi.ts",test:"bun test"},dependencies:{"@modelcontextprotocol/sdk":"^1.29.0",exceljs:"^4.4.0","iconv-lite":"^0.7.3",ky:"^2.0.2","pinyin-pro":"^3.29.3",yauzl:"^3.4.0",zod:"^4.4.3"},devDependencies:{"@types/bun":"^1.3.14","@types/yauzl":"^3.4.0","bun-types":"^1.3.14",typescript:"^5.9.3",yaml:"^2.9.0"}};var $1=Hd.version;import{randomBytes as xd}from"node:crypto";var Wd=[".pdf",".xls",".xlsx",".csv",".doc",".docx",".ppt",".pptx",".txt",".rtf",".odt",".ods",".odp",".jpg",".jpeg",".png",".gif",".bmp",".webp",".heic",".eml",".msg"],GE={minFileSizeBytes:500,allowedExtensions:[...Wd]},Vd=X.string().trim().min(1).transform(($)=>{let I=$.toLowerCase();return I.startsWith(".")?I:`.${I}`}).refine(($)=>/^\.[a-z0-9][a-z0-9+_-]*$/.test($),{message:"文件后缀必须是简单扩展名,例如 .pdf 或 xlsx"}),HE=X.object({minFileSizeBytes:X.number().int().min(0).default(GE.minFileSizeBytes),maxFileSizeBytes:X.number().int().positive().nullable().optional(),allowedExtensions:X.array(Vd).min(1).default([...Wd]).transform(($)=>[...new Set($)])}).superRefine(($,I)=>{if($.maxFileSizeBytes!==void 0&&$.maxFileSizeBytes!==null&&$.maxFileSizeBytes<$.minFileSizeBytes)I.addIssue({code:"custom",path:["maxFileSizeBytes"],message:"最大文件大小不能小于最小文件大小"})}),WE=X.object({minFileSizeBytes:X.number().int().min(0).optional(),maxFileSizeBytes:X.number().int().positive().nullable().optional(),allowedExtensions:X.array(Vd).min(1).transform(($)=>[...new Set($)])}).optional();function XU($=void 0){return HE.parse($??{})}function Zd($,I){return XU({...XU($),...I})}var cv0=X.object({staffId:X.string(),name:X.string().optional(),code:X.string().default(""),bindTime:X.number().optional()}),dv0=X.object({id:X.string(),tenantId:X.string(),name:X.string(),isAdmin:X.boolean().default(!1),permissions:X.array(X.string()).default([]),providerUserId:X.string().optional(),hosecloudStaff:cv0.optional()}),mv0=X.object({apiKey:X.string().optional(),corporationId:X.string().optional(),corporationName:X.string().optional()}),lv0=X.object({id:X.string(),name:X.string(),tenantSlug:X.string().optional(),isDemo:X.boolean().default(!1),logoUrl:X.string().nullable().optional(),hoseCorpConfig:mv0.optional()}),Xd=X.object({user:dv0,tenant:lv0}),ov0=X.object({id:X.string(),name:X.string(),email:X.string().nullable().optional(),emailVerified:X.boolean().optional(),image:X.string().nullable().optional(),tenantId:X.string().optional(),provider:X.string().optional(),providerUserId:X.string().optional(),mobile:X.string().nullable().optional(),status:X.string().optional(),permissions:X.array(X.string()).default([]),isAdmin:X.boolean().default(!1),hosecloudStaff:X.unknown().optional()}).passthrough(),rv0=X.object({id:X.string(),token:X.string().optional(),expiresAt:X.string(),createdAt:X.string().optional(),updatedAt:X.string().optional(),ipAddress:X.string().optional(),userAgent:X.string().optional(),userId:X.string(),delegationId:X.string().nullable().optional()}).passthrough(),wd=X.object({user:ov0,session:rv0}),BV=X.object({id:X.string(),tenantId:X.string().optional(),code:X.number().optional(),description:X.string(),scope:X.string(),strictness:X.string(),status:X.string().optional(),createdAt:X.number().optional(),updatedAt:X.number().optional()}),Ld=X.object({rules:X.array(BV),hasPendingDeletes:X.boolean().default(!1)}),tv0=X.object({code:X.string().optional(),description:X.string(),scope:X.string(),strictness:X.string()}),RV=X.object({id:X.string(),tenantId:X.string().optional(),versionNumber:X.number(),versionName:X.string().nullable().optional(),publishedBy:X.string().nullable().optional(),publishedByName:X.string().nullable().optional(),rules:X.array(tv0).default([]),publishedAt:X.number().optional(),createdAt:X.number().optional()}),Dd=X.object({version:RV,rulesCount:X.number()}),q2=X.object({id:X.string(),tenantId:X.string().optional(),title:X.string(),purpose:X.string().default(""),contentType:X.string().default("policy"),content:X.string(),status:X.string().default("published"),enabled:X.boolean().default(!0),scenarios:X.array(X.string()).default([]),tags:X.array(X.string()).default([]),category:X.string().nullable().optional(),categoryTags:X.array(X.string()).default([]),createdBy:X.string().nullable().optional(),createdByName:X.string().nullable().optional(),createdAt:X.number().optional(),updatedAt:X.number().optional(),updatedBy:X.string().nullable().optional(),updatedByName:X.string().nullable().optional(),isDeleted:X.boolean().default(!1)}),Od=X.object({articles:X.array(q2),total:X.number().optional()}),av0=X.object({explicitApprove:X.string().default(""),explicitReject:X.string().default(""),exemptApprove:X.string().default(""),review:X.string().default("")}).passthrough(),sv0=X.object({type:X.string(),signKey:X.string().optional(),outboundName:X.string().optional(),mode:X.string().optional(),autoApprovalRate:X.number().optional(),apiKey:X.string().optional(),apiSecret:X.string().optional(),apiOrigin:X.string().optional(),corporationId:X.string().optional(),ebotSignKey:X.string().optional(),completionSignKey:X.string().optional(),outboundMessageId:X.string().optional(),completionMessageId:X.string().optional()}).passthrough(),ev0=X.enum(["assisted","semi_automatic","fully_automatic"]),zd=X.object({id:X.string(),url:X.string().url()}).passthrough(),G2=X.object({type:X.literal("webhook"),id:X.string(),name:X.string(),mode:ev0,incomingDocumentWebhook:zd,outgoingResultWebhook:X.string().url(),incomingManualResultWebhook:zd,secret:X.string().min(1),autoApprovalRate:X.number().int().min(0).max(100).optional(),materialPackFilePolicy:HE.default(GE)}).passthrough(),VE=X.object({id:X.string().optional(),tenantId:X.string().optional(),tone:X.string().optional(),language:X.string().optional(),detailLevel:X.string().optional(),outputFormat:X.string().optional(),examples:X.array(X.string()).default([]),prohibitedPhrases:X.array(X.string()).default([]),customInstructions:X.string().optional(),updatedAt:X.number().optional(),decisionPreferences:av0.optional(),integrationSystem:X.string().optional(),integrations:X.array(sv0).default([])}).passthrough(),$C0=X.object({id:X.string().optional(),sn:X.string().optional(),title:X.string().optional(),name:X.string().optional(),fields:X.array(X.unknown()).optional()}).passthrough(),IC0=X.object({_langfuseTraceId:X.string().optional(),simulation_batch_id:X.string().optional()}).passthrough(),vV=X.object({id:X.string(),tenantId:X.string().optional(),agentId:X.string().optional(),status:X.string().optional(),taskMode:X.string().optional(),finalExecutionMode:X.string().optional(),sourceSystem:X.string().optional(),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),documentId:X.string().optional(),document:$C0.optional(),result:X.unknown().optional(),pipelineData:X.unknown().optional(),sourceExtendData:IC0.optional(),ruleSetVersionNumber:X.number().optional(),ruleSetPublishedAt:X.number().optional(),ruleSetPublishedByName:X.string().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),ZE=X.object({records:X.array(vV).default([]),total:X.number().optional(),page:X.number().optional(),pageSize:X.number().optional()}).passthrough(),Nd=X.object({id:X.string(),expiresAt:X.number().nullable().optional(),revokedAt:X.number().nullable().optional(),createdAt:X.number().nullable().optional(),lastUsedAt:X.number().nullable().optional(),useCount:X.number().default(0),note:X.string().nullable().optional(),link:X.string()}).passthrough(),Fd=X.object({id:X.string(),token:X.string(),link:X.string()}).passthrough(),Md=X.object({userId:X.string(),password:X.string()}).passthrough(),Ad=X.object({password:X.string()}).passthrough(),zE=X.object({_id:X.string(),tenantId:X.string().optional(),name:X.string(),mobile:X.string().optional(),email:X.string().optional(),departmentIds:X.array(X.string()).default([]),status:X.string().optional(),permissions:X.array(X.string()).default([]),createdAt:X.string().optional(),updatedAt:X.string().optional()}).passthrough(),Pd=X.object({departments:X.array(X.record(X.string(),X.unknown())).default([]),users:X.array(zE).default([])}).passthrough(),Td=X.object({provider:X.string(),config:X.record(X.string(),X.unknown()).default({})}).passthrough(),Ed=X.object({id:X.string(),name:X.string(),description:X.string().optional(),available:X.boolean().default(!0),fields:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),Bd=X.object({permissions:X.array(X.object({key:X.string(),name:X.string(),description:X.string().optional()}).passthrough()).default([])}).passthrough(),Rd=X.object({configs:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),vd=X.object({subscriptions:X.array(X.record(X.string(),X.unknown())).default([]),features:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),Cd=X.object({key:X.string(),type:X.string(),label:X.string(),column:X.string(),mask:X.string().optional()}).passthrough(),UC0=X.object({columns:X.array(Cd).default([]),fieldKey:X.string().optional(),keyColumn:X.string().optional(),sheetName:X.string().optional(),fieldLabel:X.string().optional()}).passthrough(),jd=X.object({id:X.string().optional(),listSheets:X.array(UC0).default([]),mainColumns:X.array(Cd).default([]),workbookName:X.string().optional(),mainKeyColumn:X.string().optional(),mainSheetName:X.string().optional(),titleColumn:X.string().optional(),statusColumn:X.string().optional(),applicationDateColumn:X.string().optional(),updatedDateColumn:X.string().optional(),attachmentFieldKey:X.string().optional(),attachmentFieldLabel:X.string().optional()}).passthrough(),YC0=X.object({approvalCode:X.string(),nodeId:X.string().optional(),flowIds:X.array(X.string()).max(100).optional(),limit:X.number().int().positive().max(100).optional(),dataCollectionMode:X.string().optional(),signKey:X.string().optional(),rejectNodeName:X.string().nullable().optional(),skipInvoiceGeneration:X.boolean().optional(),skipExpenseExtraction:X.boolean().optional(),disableAttachmentCache:X.boolean().optional(),thinkingDepthOverride:X.enum(["default","medium","high"]).optional(),startTime:X.number().optional(),endTime:X.number().optional(),templateId:X.string().optional(),packageIds:X.array(X.string()).optional(),packageLabel:X.string().optional(),runMode:X.string().optional(),schemaConfig:jd.optional()}).passthrough(),JC0=X.object({mode:X.string().optional(),conditions:X.array(X.object({label:X.string(),value:X.string()}).passthrough()).default([])}).passthrough(),QC0=X.object({kind:X.string().optional(),stage:X.string().optional(),code:X.string().optional(),message:X.string().optional()}).passthrough(),XE=X.object({id:X.string(),tenantId:X.string().optional(),approvalCode:X.string().optional(),nodeId:X.string().optional(),sourceSystem:X.string().optional(),status:X.string().optional(),totalCount:X.number().default(0),processedCount:X.number().default(0),successCount:X.number().default(0),failedCount:X.number().default(0),createdCount:X.number().default(0),createFailedCount:X.number().default(0),params:YC0.optional(),requestSummary:JC0.nullable().optional(),resultSummary:QC0.nullable().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),wE=X.object({batchId:X.string()}).passthrough(),KC0=X.object({dataCollectionMode:X.string().optional(),flowIds:X.array(X.string()).max(100).optional(),rejectNodeName:X.string().nullable().optional(),skipInvoiceGeneration:X.boolean().optional(),skipExpenseExtraction:X.boolean().optional()}).passthrough(),_d=X.object({id:X.string(),tenantId:X.string().optional(),name:X.string().optional(),description:X.string().optional(),approvalSystem:X.string().optional(),hosecloudConfig:KC0.optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),Sd=X.object({hasFeishu:X.boolean().default(!1),hasHosecloud:X.boolean().default(!1),hasWeaver:X.boolean().default(!1),hasHelios:X.boolean().default(!1),hasMaycur:X.boolean().default(!1),hasMaycurStandard:X.boolean().default(!1)}).passthrough(),gd=X.object({signKey:X.string().optional(),displayName:X.string().optional(),corporationId:X.string().optional()}).passthrough(),yd=X.object({id:X.string(),tenantId:X.string().optional(),name:X.string().optional(),templateId:X.string().optional(),originalFileName:X.string().optional(),status:X.string().optional(),documentCount:X.number().optional(),attachmentCount:X.number().optional(),uploadedBy:X.string().optional(),schemaConfig:jd.nullable().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),qC0=X.object({hitScopes:X.array(X.string()).default([]),hitRuleIds:X.array(X.string()).default([]),notHitScopes:X.array(X.string()).default([]),notHitRuleIds:X.array(X.string()).default([])}).passthrough(),LE=X.object({id:X.string().min(1),name:X.string().min(1),enabled:X.boolean().default(!0),description:X.string().default(""),condition:qC0.default({hitScopes:[],hitRuleIds:[],notHitScopes:[],notHitRuleIds:[]}),level:X.enum(["medium","high"])}).passthrough(),TN1=X.object({defaultLevel:X.enum(["medium","high"]).default("medium"),routingPolicies:X.array(LE).default([])}).passthrough(),EN1=X.object({signKey:X.string().min(1).optional(),outboundName:X.string().optional(),specificationId:X.string().optional(),specificationName:X.string().optional(),mode:X.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:X.number().min(0).max(100).optional(),rejectResubmitMethod:X.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:X.array(X.string()).optional(),apiKey:X.string().min(1),apiSecret:X.string().min(1),apiOrigin:X.string().default("production"),customApiUrl:X.string().optional()}).passthrough(),hd=X.object({id:X.string().optional(),code:X.string().optional(),name:X.string().optional(),approvalSystem:X.string().optional()}).passthrough(),BN1=X.object({total:X.number(),dedupeBy:X.string(),unique:X.number(),byStatus:X.record(X.string(),X.number()),bySourceSystem:X.record(X.string(),X.number())}).passthrough();var _V=X.object({success:X.boolean().optional()}).passthrough(),GC0=X.object({items:X.array(X.object({_id:X.string()})).optional()}).passthrough(),HC0=X.object({user:X.unknown().optional(),session:X.object({token:X.string().optional()}).optional()}).passthrough(),kd=X.json();async function O1($,I){let U=await $.json();return I.parse(U.data??U)}async function N$($){return O1(await $.get("api/v1/auth/me"),Xd)}async function ud($){return O1(await $.get("api/auth/get-session"),wd)}async function F$($){return O1(await $.get("api/v1/rules"),Ld)}async function DE($,I){return O1(await $.post("api/v1/rules",{json:I}),BV)}async function fd($,I,U){return O1(await $.put(`api/v1/rules/${I}`,{json:U}),BV)}async function SV($,I){await $.delete(`api/v1/rules/${I}`)}async function OE($){let I=await $.post("api/v1/rules/batch-recode",{throwHttpErrors:!1}),U=await I.json().catch(()=>({}));return X.object({ok:X.boolean(),status:X.number(),body:X.unknown()}).parse({ok:I.ok,status:I.status,body:U})}async function Y5($){return O1(await $.get("api/v1/rule-set-versions"),X.array(RV))}async function W2($,I){return O1(await $.get(`api/v1/rule-set-versions/${I}`),RV)}async function NE($,I){return O1(await $.post("api/v1/rule-set-versions/publish",{json:{versionName:I}}),Dd)}async function V2($,I={}){let U=new URLSearchParams;return U.set("offset",String(I.offset??0)),U.set("limit",String(I.limit??20)),U.set("sortBy",I.sortBy??"createdAt"),U.set("sortOrder",I.sortOrder??"desc"),I.scenarios?.forEach((Y,J)=>{U.set(`filter[scenarios][${J}]`,Y)}),O1(await $.get("api/v1/knowledge/articles",{searchParams:U}),Od)}async function bd($,I){return O1(await $.get(`api/v1/knowledge/articles/${I}`),q2)}async function id($,I){return O1(await $.post("api/v1/knowledge/articles",{json:{...I,contentType:I.contentType??"policy",status:I.status??"published",scenarios:I.scenarios??[],tags:I.tags??[]}}),q2)}async function nd($,I,U){let Y=Object.fromEntries(Object.entries(U).filter(([,J])=>J!==void 0));return O1(await $.patch(`api/v1/knowledge/articles/${I}`,{json:{attributes:Y}}),q2)}async function q4($,I="api/v1/agent/ai-approval/config"){return O1(await $.get(I),VE)}async function y7($,I,U="api/v1/agent/ai-approval/config"){return O1(await $.patch(U,{json:I}),VE)}async function FE($,I,U="api/v1/agent/ai-approval/config"){let Y=await $.post(U,{json:I}),J=await Y.json().catch(()=>({})),Q=_V.safeParse(J.data??J);return Q.success?Q.data.success??Y.ok:Y.ok}async function Z9($,I="api/v1/agent/ai-approval/config"){let U=await q4($,I);return ld(U.integrations)}async function pd($,I,U,Y="api/v1/agent/ai-approval/config"){let J=await q4($,Y),Q=ld(J.integrations),K=WC0(I,Q,U);if(!await FE($,{...J,integrations:[...J.integrations,K]},Y))throw Error("Seal did not confirm saving the Webhook integration");return K}async function cd($,I,U,Y="api/v1/agent/ai-approval/config"){let J=await q4($,Y),Q=od(J.integrations),K=rd(Q,I),q=G2.parse({...K.integration,...U.name===void 0?{}:{name:H2(U.name,"name")},...U.mode===void 0?{}:{mode:U.mode},...U.outgoingResultWebhook===void 0?{}:{outgoingResultWebhook:ad(U.outgoingResultWebhook,"outgoingResultWebhook")},...U.autoApprovalRate===void 0?{}:{autoApprovalRate:sd(U.autoApprovalRate)},...U.rotateSecret||U.secret!==void 0?{secret:U.rotateSecret?td():H2(U.secret??"","secret")}:{},...U.materialPackFilePolicy===void 0?{}:{materialPackFilePolicy:Zd(K.integration.materialPackFilePolicy,U.materialPackFilePolicy)}});if(!await FE($,{...J,integrations:J.integrations.map((H,W)=>W===K.index?q:H)},Y))throw Error("Seal did not confirm saving the Webhook integration");return q}async function dd($,I,U="api/v1/agent/ai-approval/config"){let Y=await q4($,U),J=od(Y.integrations),Q=rd(J,I);if(!await FE($,{...Y,integrations:Y.integrations.filter((q,G)=>G!==Q.index)},U))throw Error("Seal did not confirm deleting the Webhook integration");return Q.integration}function z9($,I){let U=I.trim();if(!U)throw Error("Webhook selector must not be empty");let Y=$.find((Q)=>Q.id===U);if(Y)return Y;let J=$.filter((Q)=>Q.name===U);if(J.length===1)return J[0];if(J.length>1)throw Error(`Multiple Webhook integrations match name: ${U}. Use the integration ID.`);throw Error(`Webhook integration not found: ${U}`)}function md($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>[Y.id,Y.name,Y.mode,Y.outgoingResultWebhook,Y.incomingDocumentWebhook.url,Y.incomingManualResultWebhook.url].some((J)=>J.toLowerCase().includes(U)))}function ld($){return $.filter((I)=>I.type==="webhook").map((I)=>G2.parse(I))}function od($){return $.flatMap((I,U)=>{if(I.type!=="webhook")return[];return[{index:U,integration:G2.parse(I)}]})}function rd($,I){let U=z9($.map((Y)=>Y.integration),I);return $.find((Y)=>Y.integration.id===U.id)}function WC0($,I,U){let Y=H2(U.name,"name"),J=U.mode??"assisted",Q=ad(U.outgoingResultWebhook,"outgoingResultWebhook"),K=sd(U.autoApprovalRate??60),q=VC0(I),G=`wh_${q}_${xd(8).toString("hex").slice(0,7)}`,H=m$($);return G2.parse({type:"webhook",id:`integration-${q}`,name:Y,mode:J,incomingDocumentWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/document`},outgoingResultWebhook:Q,incomingManualResultWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/manual-result`},secret:U.secret?H2(U.secret,"secret"):td(),autoApprovalRate:K,materialPackFilePolicy:XU(U.materialPackFilePolicy)})}function VC0($){let I=new Set($.map((Y)=>Y.id)),U=Date.now();while(I.has(`integration-${U}`))U+=1;return U}function td(){return xd(16).toString("hex")}function H2($,I){let U=$.trim();if(!U)throw Error(`Webhook ${I} must not be empty`);return U}function ad($,I){let U=H2($,I);try{return new URL(U).toString()}catch{throw Error(`Webhook ${I} must be a valid URL`)}}function sd($){if(!Number.isInteger($)||$<0||$>100)throw Error("Webhook autoApprovalRate must be an integer between 0 and 100");return $}async function gV($,I={}){let[U,Y,J]=await Promise.all([F$($),V2($,{limit:I.documentLimit??50}),q4($,I.stylePreferencesEndpoint).then((Q)=>({ok:!0,data:Q}),(Q)=>({ok:!1,error:Q instanceof Error?Q.message:String(Q)}))]);return{rules:U,documents:Y,stylePreferences:J}}async function X8($,I={}){let U=new URLSearchParams;return U.set("offset",String(I.offset??0)),U.set("limit",String(I.limit??50)),z8(U,"fromTimestamp",I.fromTimestamp),z8(U,"toTimestamp",I.toTimestamp),z8(U,"startDate",I.startDate),z8(U,"endDate",I.endDate),z8(U,"status",I.status),z8(U,"sourceSystem",I.sourceSystem),z8(U,"taskMode",I.taskMode),z8(U,"search",I.search),z8(U,"sourceDocumentSN",I.sourceDocumentSN),z8(U,"sourceDocumentId",I.sourceDocumentId),ZC0(U,"manualApprovalStatus",I.manualApprovalStatus),O1(await $.get("api/v1/approvals",{searchParams:U}),ZE)}async function f4($,I){return O1(await $.get(`api/v1/approvals/${I}`),vV)}async function ME($,I){let U=await $.get(`api/v1/simulation/batch/${I}/records`).json(),Y=U.data??U;if(Array.isArray(Y))return X.array(vV).parse(Y);return ZE.parse(Y).records}async function ed($,I){return O1(await $.post("api/v1/simulation/create-batch",{json:I}),wE)}async function $m($,I){return O1(await $.post("api/v1/simulation/create-material-pack-batch",{json:I}),wE)}async function Im($,I={}){let U=await $.get("api/v1/simulation/batches",{searchParams:{limit:String(I.limit??50)}}).json(),Y=U.data??U;return X.array(XE).parse(Y)}async function AE($,I){return O1(await $.get(`api/v1/simulation/batch/${I}`),XE)}async function Um($){let I=await $.get("api/v1/simulation/templates").json(),U=I.data??I;return X.array(_d).parse(U)}async function PE($){return O1(await $.get("api/v1/simulation/integration-status"),Sd)}async function TE($){let I=await $.get("api/v1/simulation/hosecloud-integrations").json(),U=I.data??I;return X.array(gd).parse(U)}async function Ym($,I){let Y=await(await $.delete(`api/v1/simulation/batch/${encodeURIComponent(I)}/data`)).json().catch(()=>({}));return Y.data??Y}async function Jm($,I){let U=I?"api/v1/simulation/hosecloud-specifications-by-sign-key":"api/v1/simulation/hosecloud-specifications",Y=I?new URLSearchParams({signKey:I}):void 0,J=await $.get(U,{searchParams:Y}).json(),Q=J.data??J;return X.array(hd).parse(Q)}async function Qm($,I){let U=await $.post("api/hosecloud/corporation",{json:I}).json(),Y=U.data??U;return X.object({corporationId:X.string()}).parse(Y)}async function Km($,I){let Y=await(await $.post("api/hosecloud/outbound-config/sync",{json:I})).json().catch(()=>({}));return Y.data??Y}async function qm($,I){let U=new FormData;return U.append("file",new Blob([new Uint8Array(I.fileBuffer)]),I.fileName),O1(await $.post("api/v1/material-packages/upload",{body:U}),yd)}function z8($,I,U){if(U)$.set(I,U)}function ZC0($,I,U){if(!U)return;(Array.isArray(U)?U:[U]).map((J)=>J.trim()).filter(Boolean).forEach((J,Q)=>{$.set(`${I}[${Q}]`,J)})}async function Gm($){return O1(await $.get("api/v1/delegation/list"),X.array(Nd))}async function wU($,I){return O1(await $.post("api/v1/delegation/create",{json:I??{}}),Fd)}async function Hm($,I){let U=await $.post("api/v1/delegation/revoke",{json:{tokenId:I}}),Y=await U.json(),J=_V.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function Wm($,I){let U=I.departmentIds&&I.departmentIds.length>0?I.departmentIds:void 0;if(!U){let Y=await $.get("api/v1/contacts/departments/root/children").json(),J=GC0.safeParse(Y.data??Y),Q=J.success?J.data.items?.[0]?._id:void 0;if(Q)U=[Q]}return O1(await $.post("api/v1/contacts/local/users",{json:{name:I.name,phone:I.phone,permissions:I.permissions??[],departmentIds:U??[]}}),Md)}async function EE($,I){return O1(await $.post(`api/v1/contacts/local/users/${I}/reset-password`,{json:{}}),Ad)}async function CV($,I){return O1(await $.get(`api/v1/contacts/users/${I}`),zE)}async function jV($,I=""){return O1(await $.get("api/v1/contacts/search",{searchParams:{query:I}}),Pd)}async function Vm($,I){let U=await $.delete(`api/v1/contacts/local/users/${I}`),Y=await U.json(),J=_V.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function BE($,I){let U=await $.post(`api/v1/contacts/local/users/${I}/activate`,{json:{}}),Y=await U.json(),J=_V.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function zC0($,I){let U=await $.post("api/auth/sms-otp/sign-in-password",{json:I}),Y=U.headers.get("set-auth-token"),J=HC0.parse(await U.json()),Q=Y??J.session?.token;if(!Q)throw Error("Failed to retrieve authentication token from login response");return{token:Q,user:J.user}}async function Zm($,I,U,Y){let J;if(I.userIdOrPhone.startsWith("+")||/^\d{11}$/.test(I.userIdOrPhone)){let Z=await jV($,I.userIdOrPhone),w=Z.users.find((L)=>L.mobile?.includes(I.userIdOrPhone)||L._id===I.userIdOrPhone)??Z.users[0];if(!w)throw Error(`User not found with phone/ID: ${I.userIdOrPhone}`);J=w}else J=await CV($,I.userIdOrPhone).catch(async()=>{let Z=await jV($,I.userIdOrPhone),w=Z.users.find((L)=>L.name===I.userIdOrPhone)??Z.users[0];if(!w)throw Error(`User not found: ${I.userIdOrPhone}`);return w});if(J.status==="resigned")await BE($,J._id),J=await CV($,J._id);let Q=J,K=Array.isArray(Q.identities)&&Q.identities.some((Z)=>Z.provider&&Z.provider!=="local")||!!Q.apps?.hosecloud;if(K&&Y&&Y.source.type==="hose"){let w=(J.mobile||Q.identities?.[0]?.providerId||"").replace(/^\+86/,""),L=Q.identities?.find((N)=>N.provider==="hosecloud")?.providerId,D=Q.apps?.hosecloud?.boundId||L||(w?`${Y.source.corpId}:${w}`:void 0);if(D){let N=await MV(Y),T=(await AV({...Y.source,staffId:D},N)).token,A=Q2(Y,Y.source),v;try{v=await U5.get(`${m$(A)}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:T,returnToken:"1"},timeout:30000}).json()}catch(g){if(g instanceof i6&&g.response.status===400)throw Error(`Seal AI 用户“${J.name}”未绑定合思账号,无法生成个人协助链接。`);throw g}let u=v.token??v.accessToken??v.data?.token;if(u){let g=await U(u),b=await wU(g,{note:I.note??`Delegation generated by admin for ${J.name}`});return{targetUser:J,delegation:b,temporaryPassword:"N/A (Hose SSO)"}}}}let q;try{q=await EE($,J._id)}catch(Z){if(K)throw Error(`用户 "${J.name}" (${J.mobile||J._id}) 为合思同步账号 (provider: hosecloud),无 Seal 本地密码。`+"Seal 系统暂不支持对同步账号直接重置本地密码。");throw Z}let H=(J.mobile||J.identities?.[0]?.providerId||"").replace(/^\+86/,"");if(!H)throw Error(`User ${J.name} has no associated phone number for password login`);let{token:W}=await zC0($,{phone:H,password:q.password}),V=await U(W),z=await wU(V,{note:I.note??`Delegation generated by admin for ${J.name}`});return{targetUser:J,delegation:z,temporaryPassword:q.password}}async function zm($){return O1(await $.get("api/v1/llm/config"),Td)}async function Xm($){return O1(await $.get("api/v1/llm/providers"),X.array(Ed))}async function wm($){return O1(await $.get("api/v1/permissions/available"),Bd)}async function Lm($){return O1(await $.get("api/v1/permissions/configs"),Rd)}async function Dm($){return O1(await $.get("api/v1/billing/status"),vd)}async function Om($){let U=await(await $.get("api/v1/billing/plans")).json();return kd.parse(U.data??U)}async function Nm($){let U=await(await $.get("api/v1/billing/features")).json();return kd.parse(U.data??U)}var dW0=VI(ky(),1);import{existsSync as nW0,mkdirSync as pW0,statSync as TQ1}from"node:fs";import{homedir as EQ1}from"node:os";import{dirname as BQ1,resolve as PL}from"node:path";function cW0($,I=!1){if($===void 0||$===null||$==="")return;if(typeof $==="number")return String($);let U=String($).trim();if(!U)return;if(/^\d{10,13}$/.test(U))return U.length===10?`${U}000`:U;if(/^\d{4}-\d{2}-\d{2}$/.test(U)){let Q=new Date(`${U}${I?"T23:59:59.999+08:00":"T00:00:00.000+08:00"}`).getTime();if(!Number.isNaN(Q))return String(Q)}let Y=new Date(U).getTime();if(!Number.isNaN(Y))return String(Y);return U}function RQ1($){if(!$)return;let I=Array.isArray($)?$:[$],U=[];for(let Y of I){let J=Y.trim().toUpperCase();if(["APPROVED","已通过","已完成","已支付","已支付/审批完成"].includes(J))U.push("APPROVED");else if(["TERMINATED","REJECTED","REJECT","驳回","被驳回","已驳回"].includes(J))U.push("TERMINATED");else if(["PROCESSING","审批中","处理中"].includes(J))U.push("PROCESSING");else if(["CANCELLED","CANCELED","已撤回","已撤销"].includes(J))U.push("CANCELLED");else if(J)U.push(J)}return U.length>0?U:void 0}function vQ1($,I,U){if(!I)return U?`${$} (${U})`:$;return(I.split(/[。\n\r;;!!]/)[0]?.trim()||I.trim()).replace(/[*#`_]/g,"").trim().slice(0,22)}function CQ1($){if($.outputFile){let K=PL($.outputFile),q=BQ1(K);if(!nW0(q))pW0(q,{recursive:!0});return K}let I=$.corpName.replace(/[/\\?%*:|"<>]/g,"_").trim()||"审批记录",U=$.dateTag||new Date().toISOString().slice(0,10),Y=$.recordCount>0?`${$.recordCount}条`:"空数据",J=`${I}_审核记录_${U}_${Y}.xlsx`,Q;if($.toDownloads)Q=PL(EQ1(),"Downloads");else Q=PL(process.cwd(),"exports");if(!nW0(Q))pW0(Q,{recursive:!0});return PL(Q,J)}async function TL($,I,U={}){let Y=I.name||I.id,J=U.pageSize??100,Q=U.pageDelayMs??250,K=U.limit??1e5,q=cW0(U.startDate,!1),G=cW0(U.endDate,!0),H=RQ1(U.manualApprovalStatus);console.error(`正在加载企业「${Y}」审核规则集...`);let W=new Map;try{(await F$($)).rules.forEach((p,n)=>{let S=`rule-${p.code??n}`,f=vQ1(S,p.description,p.scope);W.set(S,{id:S,code:String(p.code??n),title:`[${S}] ${f}`,desc:p.description})})}catch(C){console.error(`⚠️ 加载规则字典失败: ${C.message},将仅导出基础信息列。`)}let V=Array.from(W.keys()).sort((C,p)=>{let n=parseInt(C.replace(/\D/g,""),10)||0,S=parseInt(p.replace(/\D/g,""),10)||0;return n-S});console.error(`已就绪 ${V.length} 个规则列。开始拉取单据...`);let z=[],Z=0,w=0;while(z.length0)try{C=await X8($,{limit:J,offset:Z,startDate:q,endDate:G,status:U.status,manualApprovalStatus:H});break}catch(S){if(p--,console.error(`分页拉取失败 (offset=${Z}): ${S.message},剩余重试 ${p} 次...`),p===0)throw S;await new Promise((f)=>setTimeout(f,1000))}if(!C||!C.records||C.records.length===0)break;w=C.total??w;for(let S of C.records){if(U.includeCompletedOnly&&S.status!=="completed")continue;if(S.status==="completed"&&(!S.result||!S.result.rulesResult))try{let f=await f4($,S.id);z.push(f)}catch{z.push(S)}else z.push(S);if(z.length>=K)break}Z+=C.records.length;let n=w>0?(Z/w*100).toFixed(1):"-";if(Z%500===0||Z>=w||z.length>=K)console.error(`[进度] 已读取单据: ${Z}/${w} (${n}%),有效加入: ${z.length} 条`);if(C.records.length=w)break;if(Q>0)await new Promise((S)=>setTimeout(S,Q))}console.error(`成功拉取 ${z.length} 条单据数据,正在生成高保真 Excel...`);let L=new dW0.default.Workbook;L.creator="Seal AI (seal-use)",L.created=new Date;let D=L.addWorksheet("审核记录明细",{views:[{state:"frozen",ySplit:1,xSplit:2}]}),N=[{header:"单据编号",key:"sn",width:16},{header:"单据模板名称",key:"templateName",width:26},{header:"来源系统",key:"sourceSystem",width:12},{header:"任务模式",key:"taskMode",width:12},{header:"状态",key:"status",width:12},{header:"AI行为",key:"aiAction",width:14},{header:"AI决策",key:"aiDecision",width:14},{header:"思考深度",key:"thinkingDepth",width:12},{header:"人工审核",key:"manualStatus",width:16},{header:"人工驳回原因",key:"humanRejectReason",width:36},{header:"创建时间",key:"createdAt",width:20},{header:"任务耗时",key:"duration",width:12},{header:"关联规则数",key:"hitRuleCount",width:12},{header:"关联规则汇总",key:"hitRulesSummary",width:30},{header:"AI审核结论摘要",key:"aiSummary",width:45}],E=V.map((C)=>{return{header:W.get(C).title,key:`rule_${C}`,width:22}});D.columns=[...N,...E];let T=D.getRow(1);T.height=32,T.eachCell((C,p)=>{let n=p<=N.length;C.font={name:"Microsoft YaHei",bold:!0,color:{argb:"FFFFFFFF"},size:11},C.fill={type:"pattern",pattern:"solid",fgColor:{argb:n?"FF1E3A8A":"FF334155"}},C.alignment={vertical:"middle",horizontal:n&&p<=2?"left":"center",wrapText:!1}});let A={},v=0;for(let C of z){let p=C.result||{},n=C.document||{},S="未知模板";if(Array.isArray(n.fields)){let O0=n.fields.find((g0)=>g0.label==="单据模板"||g0.label==="流程名称"||g0.key==="templateName"||g0.key==="specificationId"||g0.key==="formName");if(O0?.value)S=String(O0.value)}if(S==="未知模板"&&(n.name||n.title))S=n.name||n.title;let f=C.taskMode||"-";if(f==="assisted")f="辅助审核";else if(f==="simulation")f="测试任务";else if(f==="automatic")f="自动审批";let i=C.status||"-";if(i==="completed")i="已完成";else if(i==="processing")i="处理中";else if(i==="failed")i="失败";let Y0=p.decision||C.aiDecision||"-",B=Y0,k="-";if(Y0==="APPROVE")B="通过",k="添加评论";else if(Y0==="REVIEW")B="转交复核",k="转交复核";else if(Y0==="REJECT")B="驳回",k="驳回";let d="-";if(C.createdAt&&C.updatedAt&&C.status==="completed"){let O0=Math.round((Number(C.updatedAt)-Number(C.createdAt))/1000);if(O0>=60)d=`${Math.floor(O0/60)}分${O0%60}秒`;else if(O0>0)d=`${O0}秒`}let t=C.manualApprovalRecord||{},K0="-";if(t.status?.label)K0=String(t.status.label);else if(t.status?.type){let O0=String(t.status.type);if(O0==="APPROVED")K0="已通过";else if(O0==="TERMINATED")K0="被驳回";else if(O0==="PROCESSING")K0="处理中";else if(O0==="CANCELLED")K0="已撤回";else K0=O0}A[K0]=(A[K0]||0)+1;let W0=t.rejectComment?String(t.rejectComment).trim():"-";if(W0!=="-")v++;let M0=new Map,B0=[];if(Array.isArray(p.rulesResult)){for(let O0 of p.rulesResult)if(O0.id)M0.set(O0.id,O0.checkResult||"PASS"),B0.push(O0.id)}if(Array.isArray(p.hitRules)){for(let O0 of p.hitRules)if(O0.id&&!M0.has(O0.id))M0.set(O0.id,"TRIGGERED"),B0.push(O0.id)}let w1="-";if(C.createdAt)w1=new Date(Number(C.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1});let f0={sn:C.sourceDocumentSN||C.sourceDocumentId||"-",templateName:S,sourceSystem:C.sourceSystem||"合思",taskMode:f,status:i,aiAction:k,aiDecision:B,thinkingDepth:"标准",manualStatus:K0,humanRejectReason:W0,createdAt:w1,duration:d,hitRuleCount:B0.length,hitRulesSummary:B0.join(", ")||"-",aiSummary:p.summary||"-"};for(let O0 of V){let g0=M0.get(O0);if(g0)if(g0==="PASS")f0[`rule_${O0}`]="关联 (通过)";else if(g0==="FAIL")f0[`rule_${O0}`]="关联 (不通过)";else if(g0==="UNKNOWN")f0[`rule_${O0}`]="关联 (待复核)";else f0[`rule_${O0}`]="已关联";else f0[`rule_${O0}`]="未关联"}let G1=D.addRow(f0);G1.height=24,G1.eachCell((O0,g0)=>{let d0=String(O0.value||"");if(O0.font={name:"Microsoft YaHei",size:10},O0.border={top:{style:"thin",color:{argb:"FFE2E8F0"}},bottom:{style:"thin",color:{argb:"FFE2E8F0"}},left:{style:"thin",color:{argb:"FFE2E8F0"}},right:{style:"thin",color:{argb:"FFE2E8F0"}}},g0<=N.length){if(O0.alignment={vertical:"middle",horizontal:[1,2,10,14,15].includes(g0)?"left":"center",wrapText:[10,14,15].includes(g0)},g0===7){if(d0==="通过")O0.font={color:{argb:"FF16A34A"},bold:!0};else if(d0==="转交复核")O0.font={color:{argb:"FFD97706"},bold:!0};else if(d0==="驳回")O0.font={color:{argb:"FFDC2626"},bold:!0}}if(g0===9){if(d0.includes("驳回"))O0.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(d0.includes("通过")||d0.includes("支付")||d0.includes("完成"))O0.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(d0.includes("处理中")||d0.includes("审批中"))O0.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"}},O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}}}if(g0===10&&d0!=="-")O0.font={name:"Microsoft YaHei",size:9,color:{argb:"FF991B1B"}}}else if(O0.alignment={vertical:"middle",horizontal:"center"},d0.includes("不通过"))O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}},O0.font={color:{argb:"FF991B1B"},bold:!0};else if(d0.includes("通过"))O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}},O0.font={color:{argb:"FF166534"},bold:!0};else if(d0.includes("待复核")||d0.includes("已关联"))O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}},O0.font={color:{argb:"FF92400E"}};else O0.font={color:{argb:"FF94A3B8"}}})}let u;if(U.startDate){let C=String(U.startDate);if(/^\d{4}-\d{2}-\d{2}/.test(C))u=`${C.slice(0,10)}至今`;else if(/^\d+$/.test(C)){let p=new Date(Number(C));u=`${p.getFullYear()}${String(p.getMonth()+1).padStart(2,"0")}${String(p.getDate()).padStart(2,"0")}至今`}}let g=CQ1({outputFile:U.outputFile,toDownloads:U.toDownloads,corpName:Y,dateTag:u,recordCount:z.length});await L.xlsx.writeFile(g),console.error(`Excel 文件已成功落地: ${g}`);let b=TQ1(g);return{filePath:g,corpId:I.id,corpName:Y,recordCount:z.length,ruleColumnCount:V.length,statusCounts:A,rejectReasonCount:v,fileSizeBytes:b.size,exportedAt:new Date().toISOString()}}import mW0 from"node:fs";import lW0 from"node:path";function jQ1($){try{let I=new URL($);if(I.search)return`${I.origin}${I.pathname}?[MASKED]`;return $}catch{return $.replace(/\?.*$/,"?[MASKED]")}}function _Q1($){return $.replace(/[/\\?%*:|"<>]/g,"_").trim()||"attachment"}function oW0($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}function SQ1($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function v1($){return typeof $==="string"&&$.trim()?$.trim():void 0}function uy($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function gQ1($){if(!$)return;if(typeof $==="string")try{let I=JSON.parse($);if(I&&typeof I==="object")return I}catch{return}if(typeof $==="object"&&!Array.isArray($))return $;return}function yQ1($,I,U){if(U?.fieldType?.toUpperCase()==="ATTACHMENT"){if(Boolean($.fileName||$.filename||$.name||$.originalName||$.fileId||$.ossPath||$.url||$.ossSignedUrl||$.signedUrl||$.token))return!0}if($.ossSignedUrl||$.signedUrl)return!0;let Y=$.fileName??$.filename??$.name??$.originalName,J=$.fileId??$.id??$.attachmentId,Q=$.ossPath??$.ossKey,K=$.url??$.downloadUrl??$.previewUrl,q=$.mimeType??$.mimetype??$.contentType,G=$.ossFileSize??$.fileSize??$.size;if(Y&&(K||Q||J||G))return!0;if(J&&(q||G||Q||K))return!0;let H=Object.keys($).map((z)=>z.toLowerCase());return(/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(I)||Boolean(U?.fieldKey&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldKey))||Boolean(U?.fieldLabel&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldLabel)))&&["filename","filename","mimetype","contenttype","fileid","osspath","signedurl","downloadurl","previewurl","attachmentid","ossfilesize","osssignedurl"].some((z)=>H.includes(z))}function hQ1($,I,U){let Y=`${$} ${U?.fieldLabel??""} ${U?.fieldKey??""} ${v1(I.type)??""} ${v1(I.category)??""}`.toLowerCase();if(Y.includes("invoice")||Y.includes("发票"))return"invoice";if(Y.includes("receipt"))return"receipt";let J=(v1(I.fileName)??v1(I.name)??"").toLowerCase();if(J.includes("发票")||J.includes("invoice"))return"invoice";return"attachment"}function fy($,I,U,Y,J){if(Array.isArray($)){$.forEach((H,W)=>fy(H,`${I}.${W}`,U,Y,J));return}let Q=SQ1($);if(!Q)return;let K=Q.type&&typeof Q.type==="string"||"label"in Q&&"value"in Q||"key"in Q&&"value"in Q,q=J;if(K)q={fieldLabel:v1(Q.label)??J?.fieldLabel,fieldKey:v1(Q.key)??J?.fieldKey,fieldType:v1(Q.type)??J?.fieldType};if(!(Array.isArray(Q.value)&&!Q.url&&!Q.ossSignedUrl&&!Q.fileId)&&yQ1(Q,I,J)){let H=gQ1(Q.token),W=v1(H?.key),V=v1(H?.fileId),z=oW0({path:I,fieldPath:I,kind:hQ1(I,Q,J),fileName:v1(Q.fileName)??v1(Q.filename)??v1(Q.name)??v1(Q.originalName),mimeType:v1(Q.mimeType)??v1(Q.mimetype)??v1(Q.contentType),fileId:v1(Q.fileId)??v1(Q.id)??v1(Q.attachmentId)??V,ossPath:v1(Q.ossPath)??v1(Q.ossKey)??W,url:v1(Q.url)??v1(Q.signedUrl)??v1(Q.downloadUrl)??v1(Q.previewUrl),ossSignedUrl:v1(Q.ossSignedUrl)??v1(Q.signedUrl),token:Q.token,tokenKey:W,category:v1(Q.category),ossFileSize:uy(Q.ossFileSize)??uy(Q.fileSize)??uy(Q.size),invoiceId:v1(Q.invoiceId),sourceField:v1(Q.fieldName)??v1(Q.label)??J?.fieldLabel??J?.fieldKey}),Z=JSON.stringify(z);if(!Y.has(Z))Y.add(Z),U.push(z)}for(let[H,W]of Object.entries(Q))fy(W,`${I}.${H}`,U,Y,q)}function WJ($,I={}){let U=[["document",$.document],["result",$.result],["pipelineData",$.pipelineData],["sourceExtendData",$.sourceExtendData]],Y=[],J=new Set;for(let[Q,K]of U)fy(K,Q,Y,J);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,count:Y.length,attachments:I.summary?Y.map((Q)=>oW0({path:Q.path,kind:Q.kind,fileName:Q.fileName,mimeType:Q.mimeType,fileId:Q.fileId,sourceField:Q.sourceField,ossFileSize:Q.ossFileSize,hasSignedUrl:Boolean(Q.ossSignedUrl)})):Y}}async function EL($){let{record:I,fetchFn:U=globalThis.fetch}=$,J=WJ(I,{summary:!1}).attachments,Q=lW0.resolve($.outDir??"./attachments");if(J.length===0)return{recordId:I.id,outDir:Q,total:0,downloaded:0,failed:0,files:[]};let K=[];if($.name){let V=$.name.toLowerCase();if(K=J.filter((z)=>{let Z=z.fileName?.toLowerCase()??"",w=z.fileId?.toLowerCase()??"",L=z.tokenKey?.toLowerCase()??"";return Z.includes(V)||w===V||L.includes(V)}),K.length===0){let z=J.map((Z)=>Z.fileName??Z.fileId).filter(Boolean).join(", ");throw Error(`未找到匹配 "${$.name}" 的附件。可选附件: ${z||"无"}`)}}else if(!$.all){if(J.length>1){let V=J.map((z)=>z.fileName??z.fileId).filter(Boolean).join(", ");throw Error(`共发现 ${J.length} 个附件。请使用 --all 下载全部附件,或使用 --name <名称|fileId> 指定下载项。可选附件: ${V}`)}K=J}else K=J;await mW0.promises.mkdir(Q,{recursive:!0});let q=[],G=new Set;for(let V of K){let z=V.fileName??V.fileId??"attachment",Z=_Q1(z),w=Z,L=Z.lastIndexOf("."),D=L>0?Z.slice(0,L):Z,N=L>0?Z.slice(L):"",E=1;while(G.has(w.toLowerCase()))w=`${D}_${E}${N}`,E++;G.add(w.toLowerCase());let T=V.ossSignedUrl??V.url;if(!T){console.error(`⚠️ [跳过] 附件 "${z}": 记录中无下载直链 (ossSignedUrl/url)`),q.push({name:w,fileId:V.fileId,status:"failed",error:"缺少可用的下载直链 (ossSignedUrl/url)。",sourceField:V.sourceField,tokenKey:V.tokenKey});continue}let A=jQ1(T);try{let v=await U(T,{signal:AbortSignal.timeout(60000)});if(!v.ok){let C=v.status===403?"HTTP 403 Forbidden: 签名直链可能已过期":`HTTP ${v.status} ${v.statusText}`;throw Error(C)}let u=await v.arrayBuffer(),g=Buffer.from(u);if(V.ossFileSize!==void 0&&g.length!==V.ossFileSize)console.error(`⚠️ [校验] 附件 "${w}" 实际大小 (${g.length} 字节) 与 ossFileSize (${V.ossFileSize} 字节) 不一致`);let b=lW0.join(Q,w);await mW0.promises.writeFile(b,g),console.error(`✓ 已下载: ${w} (${g.length} 字节)`),q.push({name:w,fileId:V.fileId,path:b,size:g.length,expectedSize:V.ossFileSize,status:"success",sourceField:V.sourceField,tokenKey:V.tokenKey})}catch(v){let u=v.message??String(v);console.error(`⚠️ [失败] 附件 "${z}" 下载失败: ${u} [${A}]`),q.push({name:w,fileId:V.fileId,status:"failed",error:u,sourceField:V.sourceField,tokenKey:V.tokenKey})}}let H=q.filter((V)=>V.status==="success").length,W=q.filter((V)=>V.status==="failed").length;return{recordId:I.id,outDir:Q,total:K.length,downloaded:H,failed:W,files:q}}import{existsSync as o3,mkdirSync as pQ1,readFileSync as aW0,readdirSync as cQ1,writeFileSync as dQ1}from"node:fs";import{homedir as vL}from"node:os";import{dirname as mQ1,join as oq}from"node:path";var xQ1=X.object({type:X.literal("hose"),domain:X.string().url().default("https://app.ekuaibao.com"),appKey:X.string().optional(),appSecurity:X.string().optional(),key:X.string().optional(),password:X.string().optional(),staffId:X.string(),corpId:X.string(),sealUrl:X.string().url().optional()}).superRefine(($,I)=>{if(!$.appKey&&!$.key)I.addIssue({code:"custom",path:["appKey"],message:"Hose source requires appKey or key"});if(!$.appSecurity&&!$.password)I.addIssue({code:"custom",path:["appSecurity"],message:"Hose source requires appSecurity or password"})}),kQ1=X.object({type:X.literal("direct"),token:X.string(),sealUrl:X.string().url(),expiresIn:X.number().int().positive().default(3600),staffId:X.string().default("direct"),corpId:X.string().optional()}),uQ1=X.object({type:X.literal("seal"),token:X.string(),sealUrl:X.string().url(),expiresIn:X.number().int().positive().default(3600),staffId:X.string().default("seal"),corpId:X.string().optional(),tenantId:X.string().optional(),tenantSlug:X.string().optional(),tenantName:X.string().optional(),providerUserId:X.string().optional(),provider:X.string().optional(),providerName:X.string().optional()}),fQ1=X.discriminatedUnion("type",[xQ1,kQ1,uQ1]),bQ1=X.object({url:X.string().url().optional(),tenantSlug:X.string().optional(),endpoints:X.object({approvalStylePreferences:X.string().default("api/v1/agent/ai-approval/config")}).default({approvalStylePreferences:"api/v1/agent/ai-approval/config"})}).default({endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}}),iQ1=X.object({refreshTtl:X.number().int().positive().default(300)}).default({refreshTtl:300}),rW0=X.object({id:X.string(),name:X.string(),seal:bQ1,source:fQ1,auth:iQ1}),nQ1=X.object({enabled:X.boolean().default(!1),activeLinter:X.string().default("builtin"),minScore:X.number().min(0).max(100).default(0)}).default({enabled:!1,activeLinter:"builtin",minScore:0}),BL=X.object({stateful:X.boolean().default(!1),defaultCorpId:X.string().min(1).optional(),testEnterprisesDir:X.string().min(1).optional(),lint:nQ1});var by="SEAL_USE_ENTERPRISES_DIR",sW0="SEAL_HOME_ENTERPRISES_DIR",eW0="SEAL_USE_USER_ENTERPRISES_DIR",$V0="SEAL_HOME_USER_ENTERPRISES_DIR",IV0="SEAL_USE_CONFIG_FILE",UV0="SEAL_HOME_CONFIG_FILE",iy=oq(vL(),".config","seal-use","enterprises"),YV0=oq(vL(),".config","seal-home","enterprises"),RL=oq(vL(),".config","seal-use","config.json"),tW0=oq(vL(),".config","seal-home","config.json");function b8(){let $=lQ1(),I=new Map;for(let U of $)for(let Y of cQ1(U).filter((J)=>J.endsWith(".json")).filter((J)=>!J.startsWith("example."))){let J=aW0(oq(U,Y),"utf-8"),Q=rW0.parse(JSON.parse(J));I.set(Q.id,Q)}return Array.from(I.values())}function lQ1(){let $=(process.env[by]??process.env[sW0])?.trim();if($)return o3($)?[$]:[];let I=(process.env[eW0]??process.env[$V0])?.trim(),U=I?o3(I)?[I]:[]:[iy,YV0],J=L4().testEnterprisesDir?.trim(),Q=J?[J,...U]:U,K=[];for(let q of Q)if(o3(q)&&!K.includes(q))K.push(q);return K}function ny(){let $=(process.env[by]??process.env[sW0])?.trim();if($)return $;let I=(process.env[eW0]??process.env[$V0])?.trim();if(I)return I;let U=L4().testEnterprisesDir?.trim();if(U&&o3(U))return U;return iy}function r3(){let $=L4().testEnterprisesDir?.trim();return[`${by}=`,...$?[`testEnterprisesDir: ${$}`]:[],iy,YV0]}function t3(){let $=(process.env[IV0]??process.env[UV0])?.trim();if($)return $;if(o3(RL))return RL;if(o3(tW0))return tW0;return RL}function L4(){let $=t3();if(!o3($))return BL.parse({});return BL.parse(JSON.parse(aW0($,"utf-8")))}function a3($){let I=BL.parse($),Y=(process.env[IV0]??process.env[UV0])?.trim()||RL;return pQ1(mQ1(Y),{recursive:!0,mode:448}),dQ1(Y,`${JSON.stringify(I,null,2)} -`,{mode:384}),I}function VJ($,I,U=[]){let Y=I.corpId?.trim()||void 0,J=I.stateful?I.defaultCorpId?.trim()||void 0:void 0,Q=Y??J;if(Q){let q=$.find((G)=>G.id===Q);if(q)return q;throw Error(`No enterprise config found for ${Q}`)}if(!I.stateful)throw Error("Stateless mode is enabled. Every enterprise command requires --corp . Use `seal-home config mode stateful` to enable a default enterprise.");let K=$[0];if(K)return K;throw Error("No enterprise config found. Add a non-example JSON file under one of: "+(U.length?U.join(", "):"the configured enterprise directories"))}import{readFileSync as Zq1}from"node:fs";import{randomBytes as zq1}from"node:crypto";var KV0=300000,JV0=new Map;function oQ1($,I){return $.map((U)=>U.trim()).filter(Boolean).map((U)=>I?U:U.toLowerCase())}function rQ1($,I){return I?$:$.toLowerCase()}function tQ1($,I,U,Y){let J=rQ1($,Y),Q=I.filter((K)=>J.includes(K));if(U==="all"&&Q.length!==I.length)return[];return Q}function aQ1($){if(typeof $==="string")return $.split(/\r?\n/);return JSON.stringify($,null,2).split(/\r?\n/)}function sQ1($,I){if(I.fields&&!I.fields.has($.field))return[];let U=aQ1($.value),Y=[];return U.forEach((J,Q)=>{let K=tQ1(J,I.keywords,I.matchMode,I.caseSensitive);if(K.length===0)return;let q=Math.max(0,Q-I.contextLines),G=Math.min(U.length,Q+I.contextLines+1),H={area:$.area,entityType:$.entityType,entityId:$.entityId,title:$.title,field:$.field,lineNumber:Q+1,matchedKeywords:K,matchedText:CL(J,I.maxChars),context:{before:I.snippetOnly?[]:U.slice(q,Q).map((W)=>CL(W,I.maxChars)),line:CL(J,I.maxChars),after:I.snippetOnly?[]:U.slice(Q+1,G).map((W)=>CL(W,I.maxChars))},metadata:$.metadata};if(I.snippetOnly)H.context={before:[],line:H.context.line,after:[]};Y.push(H)}),Y}function CL($,I){if(!I||$.length<=I)return $;return`${$.slice(0,Math.max(0,I))}...`}function eQ1($){return[{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"description",value:$.description,metadata:{scope:$.scope,strictness:$.strictness,status:$.status}},{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"scope",value:$.scope,metadata:{strictness:$.strictness,status:$.status}}]}function QV0($){return $.rules.flatMap((I,U)=>{let Y=`${$.id}:${I.description.slice(0,32)}`,J={versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedByName:$.publishedByName,publishedAt:$.publishedAt,scope:I.scope,strictness:I.strictness,code:"code"in I?I.code:void 0,index:U};return[{area:"rules",entityType:"rule",entityId:Y,title:`${$.versionName} / ${I.scope}`,field:"history.description",value:I.description,metadata:J},{area:"rules",entityType:"rule",entityId:Y,title:`${$.versionName} / ${I.scope}`,field:"history.scope",value:I.scope,metadata:J}]})}function $21($){return[{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"title",value:$.title,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"purpose",value:$.purpose,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"content",value:$.content,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}}]}function I21($){let I=[];if($.decisionPreferences)for(let[U,Y]of Object.entries($.decisionPreferences))I.push({area:"preferences",entityType:"preference",field:`decisionPreferences.${U}`,value:Y,metadata:{integrationSystem:$.integrationSystem}});return $.integrations.forEach((U,Y)=>{I.push({area:"preferences",entityType:"integration",title:U.outboundName,field:`integrations[${Y}]`,value:U,metadata:{type:U.type,outboundName:U.outboundName,mode:U.mode,corporationId:U.corporationId}})}),I}async function U21($,I,U){let Y=U.ruleVersionScope??"current",J=[I.id,`ruleVersionScope=${Y}`,`ruleVersionId=${U.ruleVersionId??""}`,`ruleVersionNumber=${U.ruleVersionNumber??""}`,`latestRuleVersion=${U.latestRuleVersion??!1}`,`documentLimit=${U.documentLimit??100}`].join("|"),Q=JV0.get(J);if(!U.refresh&&Q&&Date.now()J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}async function qV0($,I,U){let Y=U.matchMode??"any",J=U.caseSensitive??!1,Q=U.contextLines??3,K=new Set(U.areas??["rules","documents","preferences"]),q=U.maxResults??50,G=U.ruleVersionScope??"current",H=oQ1(U.keywords,J),W=U.fields?.length?new Set(U.fields):void 0;if(H.length===0)throw Error("keywords must contain at least one non-empty string");let V=await U21($,I,{documentLimit:U.documentLimit,refresh:U.refresh,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion}),z=V.entries.filter((Z)=>K.has(Z.area)).flatMap((Z)=>sQ1(Z,{keywords:H,matchMode:Y,caseSensitive:J,contextLines:Q,snippetOnly:U.snippetOnly,maxChars:U.maxChars,fields:W}));return{query:{keywords:U.keywords,matchMode:Y,areas:Array.from(K),caseSensitive:J,contextLines:Q,refresh:U.refresh??!1,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion??!1,snippetOnly:U.snippetOnly??!1,maxChars:U.maxChars,fields:U.fields},cache:{fetchedAt:new Date(V.fetchedAt).toISOString(),expiresAt:new Date(V.expiresAt).toISOString(),ttlMs:KV0},total:z.length,returned:Math.min(z.length,q),results:z.slice(0,q)}}var GV0=X.object({level:X.enum(["error","warning","info"]),code:X.string(),message:X.string(),snippet:X.string().optional(),suggestion:X.string().optional()}),Dj1=X.object({score:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(GV0)}),Q21=X.object({ruleId:X.string().optional(),ruleCode:X.string().optional(),ruleName:X.string().optional(),score:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(GV0),description:X.string().optional()}),Oj1=X.object({linter:X.string(),linterType:X.enum(["builtin","custom"]),totalRules:X.number(),healthyCount:X.number(),issueCount:X.number(),overallScore:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(Q21)});var K21=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况"],q21=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],G21=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"];function s3($){let I=($.description||"").trim(),U=[];if(I.length<5)U.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});for(let G of K21)if(I.includes(G))U.push({level:"error",code:"VAGUE_WORD",snippet:G,message:`包含主观模糊词 "${G}",容易导致大模型判定标准产生波动与幻觉`,suggestion:`建议移除 "${G}",改为具体的金额上限、枚举范围或刚性判定条件`});let Y=q21.find((G)=>I.includes(G)),J=G21.some((G)=>I.includes(G));if(Y&&!J)U.push({level:"warning",code:"HANGING_EXCEPTION",snippet:Y,message:`包含例外条款 "${Y}",但未指定 AI 从何处核验该例外成立的依据`,suggestion:'建议补充明确的凭据来源(例如:"需在【单据备注】中说明原因" 或 "需在【附件】中上传审批截图")'});let Q=U.filter((G)=>G.level==="error").length,K=U.filter((G)=>G.level==="warning").length;return{score:Math.max(0,100-Q*25-K*10),passed:Q===0,issues:U}}import{existsSync as py,readdirSync as Aj1}from"node:fs";import{homedir as H21}from"node:os";import{isAbsolute as W21,join as V7,resolve as V21}from"node:path";import{pathToFileURL as Z21}from"node:url";var cy=V7(H21(),".config","seal-use","linters"),dy=V7(process.cwd(),"linters");function z21($){if(!$||$==="builtin")return;if(W21($)||$.startsWith("./")||$.startsWith("../")){let U=V21($);if(py(U))return U;for(let Y of[".ts",".js",".mjs"])if(py(`${U}${Y}`))return`${U}${Y}`}let I=[V7(cy,`${$}.ts`),V7(cy,`${$}.js`),V7(cy,`${$}.mjs`),V7(dy,`${$}.ts`),V7(dy,`${$}.js`),V7(dy,`${$}.mjs`)];for(let U of I)if(py(U))return U;return}async function my($){if(!$||$==="builtin")return{name:"builtin",type:"builtin",linter:s3};let I=z21($);if(!I)return console.error(`⚠️ [linter] 未找到自定义校验器 "${$}",已自动安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:s3};try{let Y=await import(Z21(I).href),J=Y.default??Y.lintRule??Y.linter??Y.lint;if(typeof J!=="function")return console.error(`⚠️ [linter] 自定义校验器 "${I}" 未导出标准函数 (default / lintRule),已安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:s3};return{name:$,type:"custom",filePath:I,linter:async(K,q)=>{try{let G=await J(K,q);if(G&&typeof G==="object"&&typeof G.score==="number"&&Array.isArray(G.issues))return G;return console.error("⚠️ [linter] 自定义校验器返回值格式不符合 RuleLintResult 契约,已回退至内置结果。"),s3(K)}catch(G){return console.error("⚠️ [linter] 自定义校验器执行异常:",G),s3(K)}}}}catch(U){return console.error(`⚠️ [linter] 加载自定义校验器脚本 "${I}" 失败(语法错误或依赖缺失: ${U?.message??U}),已自动安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:s3}}}async function ly($,I,U){let Y=await I.linter($,U);return{ruleId:$.id,ruleCode:$.code,ruleName:$.name,score:Y.score,passed:Y.passed,issues:Y.issues,description:$.description}}async function HV0($,I,U,Y){let J=Y?.minScore??0,Q=Y?.level??"all",K=[],q=0;for(let Z of $){let w=await ly(Z,I,U);q+=w.score;let L=w.issues;if(Q==="error")L=w.issues.filter((N)=>N.level==="error");else if(Q==="warning")L=w.issues.filter((N)=>N.level==="warning"||N.level==="error");let D=L.every((N)=>N.level!=="error");if(Y?.summary){if(L.length>0)K.push({...w,passed:D,issues:L})}else K.push({...w,passed:D,issues:L})}let G=$.length,H=G===0?100:Math.round(q/G),W=K.filter((Z)=>Z.issues.length>0).length,V=G-W,z=H>=J&&K.every((Z)=>Z.passed);return{linter:I.name,linterType:I.type,totalRules:G,healthyCount:V,issueCount:W,overallScore:H,passed:z,issues:K}}import{existsSync as X21,readFileSync as w21,writeFileSync as L21,mkdirSync as D21}from"node:fs";import{dirname as O21,resolve as VV0}from"node:path";function N21($){let I;try{I=JSON.parse($)}catch(U){throw Error(`本地规则文件 JSON 解析失败: ${U instanceof Error?U.message:String(U)}`)}if(Array.isArray(I))return{rules:WV0(I),meta:{rulesCount:I.length}};if(I&&typeof I==="object"){let U=I,Y=Array.isArray(U.rules)?U.rules:void 0;if(!Y)throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象");return{rules:WV0(Y),meta:{corpId:typeof U.corpId==="string"?U.corpId:void 0,source:typeof U.source==="string"?U.source:void 0,versionNumber:typeof U.versionNumber==="number"?U.versionNumber:void 0,exportedAt:typeof U.exportedAt==="string"?U.exportedAt:void 0,rulesCount:Y.length}}}throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象")}function WV0($){return $.map((I,U)=>{if(!I||typeof I!=="object")throw Error(`第 ${U+1} 条规则格式错误: 必须为对象`);let Y=I,J=typeof Y.description==="string"?Y.description.trim():"";if(!J)throw Error(`第 ${U+1} 条规则缺少有效的 'description' (规则描述) 字段`);let Q=typeof Y.code==="number"||typeof Y.code==="string"?Y.code:U+1;return{...Y,code:Q,description:J,scope:typeof Y.scope==="string"?Y.scope:"ALL",strictness:typeof Y.strictness==="string"?Y.strictness:"MUST_FOLLOW"}})}function oy($){let I=VV0($);if(!X21(I))throw Error(`未找到本地规则文件: ${$} (${I})`);let U=w21(I,"utf8");return{...N21(U),resolvedPath:I}}function ZV0($,I){let U=VV0($);return D21(O21(U),{recursive:!0}),L21(U,`${JSON.stringify(I,null,2)} -`,"utf8"),U}function zV0($){return $.map((I,U)=>{let Y;if(typeof I.code==="number")Y=`#${String(I.code).padStart(4,"0")}`;else if(typeof I.code==="string")Y=I.code.startsWith("#")?I.code:`#${I.code}`;else Y=`#${String(U+1).padStart(4,"0")}`;return{id:I.id,code:Y,name:I.name,description:I.description,scope:I.scope,strictness:I.strictness}})}class S$ extends Error{errors;warnings;constructor($,I=[]){super([`材料包校验失败:${$.length} 个错误`,...$.map((U)=>`- ${U}`)].join(` -`));this.errors=$;this.warnings=I;this.name="MaterialPackValidationError"}}import{createHmac as F21,randomBytes as M21}from"node:crypto";function A21($,I,U,Y){return F21("sha256",Y).update(`${$}.${I}.${JSON.stringify(U)}`).digest("hex")}function ry($,I){let U=Math.floor(Date.now()/1000),Y=M21(16).toString("hex");return{Authorization:`Bearer ${I}`,"x-webhook-signature":A21(U,Y,$,I),"x-webhook-timestamp":String(U),"x-webhook-nonce":Y}}var fh=VI(gV0(),1),AZ0=VI(MZ0(),1);var oL={maxEntries:1000,maxTotalSize:524288000,maxCompressionRatio:150};async function PZ0($){return new Promise((I,U)=>{fh.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(Y,J)=>{if(Y||!J)return U(Y??Error("无法打开 ZIP"));let Q=[];J.readEntry(),J.on("entry",(K)=>{let q=TZ0(K);if(!q.endsWith("/")&&!aK1(q))Q.push({fileName:q,uncompressedSize:K.uncompressedSize,compressedSize:K.compressedSize,raw:K});J.readEntry()}),J.on("end",()=>I(Q)),J.on("error",U)})})}function TZ0($){let I=Buffer.isBuffer($.fileName)?$.fileName:Buffer.from(String($.fileName),"binary"),U=I.toString("utf8");if(!U.includes("�"))return U;let Y=AZ0.default.decode(I,"gbk");if(!Y.includes("�"))return Y;return U}function aK1($){let I=$.split("/").pop()??"";return $.split("/").includes("__MACOSX")||I===".DS_Store"||I.startsWith("._")||I.startsWith(".~")||I.startsWith("~$")}function EZ0($,I){let U=[],Y=XU(I);if($.length>oL.maxEntries)U.push(`文件数超过 ${oL.maxEntries}`);if($.reduce((K,q)=>K+q.uncompressedSize,0)>oL.maxTotalSize)U.push("解压后总大小超过 500MB");for(let K of $){if(K.fileName.startsWith("/")||K.fileName.split("/").includes(".."))U.push(`存在不安全路径: ${K.fileName}`);if(K.compressedSize>0&&K.uncompressedSize/K.compressedSize>oL.maxCompressionRatio)U.push(`压缩比超过 150: ${K.fileName}`);if(K.fileName==="信息表.xlsx")continue;sK1(K,Y,U)}if(!$.find((K)=>K.fileName==="信息表.xlsx"))U.push("ZIP 根目录缺少精确名为「信息表.xlsx」的文件");if($.some((K)=>K.fileName.toLowerCase().endsWith(".zip")))U.push("不允许嵌套 ZIP");if(U.length)throw new S$(U)}function sK1($,I,U){let Y=eK1($.fileName);if(!Y||!I.allowedExtensions.includes(Y))U.push(`附件后缀不在白名单中: ${$.fileName}(允许: ${I.allowedExtensions.join(", ")})`);if($.uncompressedSizeI.maxFileSizeBytes)U.push(`附件文件过大: ${$.fileName}(${$.uncompressedSize} B,大于最大值 ${I.maxFileSizeBytes} B)`)}function eK1($){let I=$.split("/").pop()??$,U=I.lastIndexOf(".");return U>0?I.slice(U).toLowerCase():""}function bh($,I){return new Promise((U,Y)=>{fh.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(J,Q)=>{if(J||!Q)return Y(J??Error("无法打开 ZIP"));Q.readEntry(),Q.on("entry",(K)=>{if(TZ0(K)!==I.fileName)return Q.readEntry();Q.openReadStream(K,(q,G)=>{if(q||!G)return Y(q??Error(`无法读取 ${I.fileName}`));let H=[];G.on("data",(W)=>H.push(W)),G.on("end",()=>U(Buffer.concat(H))),G.on("error",Y)})}),Q.on("error",Y)})})}var RZ0=VI(ky(),1);function $q1($){return $.startsWith("[附件]")}function vZ0($){return $.startsWith("[附件]")?$.slice(4):$}function Iq1($){return vZ0($).toLowerCase().replace(/\s+/g,"_")||"attachment"}function Uq1($){if($==null||$==="")return[];return String($).split(/[\n,;,;]/).map((I)=>I.trim()).filter(Boolean)}function ih($,I){let U=[];for(let[Y,J]of I.entries()){if(!$q1(Y))continue;let Q=$.getCell(J).value,K=Uq1(Q);if(!K.length)continue;U.push({key:Iq1(Y),label:vZ0(Y),paths:K})}return U}function nh($){let I=new Map;return $.map((U)=>{let Y=(I.get(U.key)??0)+1;return I.set(U.key,Y),Y===1?U:{...U,key:`${U.key}-${Y}`}})}function rL($,I,U,Y){return{key:$,label:I,type:U,value:Y}}function CZ0($,I,U){return rL($,I,"TEXT",U==null?"":String(U))}function jZ0($,I,U){return rL($,I,"AMOUNT",typeof U==="number"?{amount:U,currency:"CNY"}:null)}function _Z0($){if($ instanceof Date)return $.toISOString();if(typeof $==="string"&&$.trim())return $.trim();return null}function Yq1($){if($ instanceof Date)return Math.floor($.getTime()/1000);if(typeof $==="string"&&$.trim()){let I=Date.parse($.trim().replace(" ","T"));if(Number.isFinite(I))return Math.floor(I/1000)}return null}function UG($){let I=new Map;return $.getRow(1).eachCell((U,Y)=>I.set(String(U.value??"").trim(),Y)),I}function $I($,I,U){let Y=I.get(U);return Y?$.getCell(Y).value:void 0}function Jq1($,I){return[["会议编号","meeting_id","TEXT"],["会议名称","meeting_name","TEXT"],["状态","status","TEXT"],["总金额","total_amount","AMOUNT"],["税前劳务总额","pretax_labor_total","AMOUNT"],["报销事由","reimbursement_reason","TEXT"],["po码","po_code","TEXT"],["快递单号","tracking_number","TEXT"],["申请日期","application_date","DATE"],["更新日期","updated_date","DATE"]].flatMap(([Y,J,Q])=>{let K=$I($,I,Y);if(K==null||K==="")return[];return[Q==="TEXT"?CZ0(J,Y,K):Q==="AMOUNT"?jZ0(J,Y,K):rL(J,Y,Q,_Z0(K))]})}function BZ0($,I,U){return U.flatMap(([Y,J,Q])=>{let K=$I($,I,Y);if(K==null||K==="")return[];return[Q==="TEXT"?CZ0(J,Y,K):Q==="AMOUNT"?jZ0(J,Y,K):rL(J,Y,Q,_Z0(K))]})}var Qq1=[["姓名","name","TEXT"],["身份证号码","id_number","TEXT"],["手机号","phone","TEXT"],["劳务费用","labor_fee","AMOUNT"],["税前费用","pretax_fee","AMOUNT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["联行号","bank_code","TEXT"],["银行卡号","bank_card_number","TEXT"]],Kq1=[["报销金额","reimbursement_amount","AMOUNT"],["费用类型","expense_type","TEXT"],["发生时间","occurrence_time","DATE"],["收款人","payee","TEXT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["支行行号","branch_code","TEXT"],["银行卡号","bank_card_number","TEXT"],["费用说明","expense_description","TEXT"]];async function SZ0($){let I=new RZ0.default.Workbook;if(await I.xlsx.load(Buffer.from($)),!I.worksheets.length)throw new S$(["信息表没有任何 Sheet"]);let U=I.worksheets,Y=U[0],J=UG(Y),Q=J.get("会议编号")??1,K=(Y.getRows(2,Y.rowCount)??[]).filter((Z)=>Z.getCell(Q).value!=null&&Z.getCell(Q).value!==""),q=new Set,G=U.find((Z,w)=>w>0&&UG(Z).has("姓名")),H=U.find((Z,w)=>w>0&&UG(Z).has("报销金额")),W=G?UG(G):void 0,V=H?UG(H):void 0;return K.map((Z)=>{let w=String(Z.getCell(Q).value).trim();if(!w)throw new S$(["主表会议编号不能为空"]);if(q.has(w))throw new S$([`主表会议编号重复: ${w}`]);q.add(w);let L=$I(Z,J,"申请日期"),D=(G?.getRows(2,G.rowCount)??[]).filter((g)=>String($I(g,W,"会议编号")??"").trim()===w),N=(H?.getRows(2,H.rowCount)??[]).filter((g)=>String($I(g,V,"会议编号")??"").trim()===w),E=D.map((g)=>String($I(g,W,"姓名")??"").trim()).filter(Boolean),T=nh(ih(Z,J)),A={};N.forEach((g,b)=>{let C=nh(ih(g,V));if(C.length)A[b]=C});let v={};D.forEach((g)=>{let b=String($I(g,W,"姓名")??"").trim();if(!b)return;let C=nh(ih(g,W));if(C.length)v[b]=C});let u=Jq1(Z,J);if(D.length)u.push({key:"daoshi_list",label:"导师列表",type:"LIST",value:D.map((g)=>BZ0(g,W,Qq1))});if(N.length)u.push({key:"mingxi_list",label:"明细列表",type:"LIST",value:N.map((g)=>BZ0(g,V,Kq1))});return{laborNames:E,documentAttachments:T,expenseAttachments:A,personAttachments:v,document:{type:"document",documentId:w,documentSN:w,startTime:Yq1(L),fields:u}}})}function gZ0($,I){let U=[],Y=new Map,J=I.map((K)=>{let{documentAttachments:q,expenseAttachments:G,personAttachments:H}=K,W=K.document.documentId,V=(z,Z)=>{let w=z.split("/")[0],L=w.indexOf("@");if((L>=0?w.slice(0,L):w)!==W)U.push(`单据「${W}」声明了跨单据或非本单据目录的附件路径: ${z}。附件必须位于该单据自己的根目录「${W}/」或「${W}@备注/」下。`);let N=Y.get(z);if(N)N.push({documentId:W,location:Z});else Y.set(z,[{documentId:W,location:Z}])};for(let z of q)z.paths.forEach((Z)=>V(Z,`主表 [附件]${z.label}`));for(let[z,Z]of Object.entries(G)){let w=Number(z)+1;for(let L of Z)L.paths.forEach((D)=>V(D,`费用明细行 ${w} [附件]${L.label}`))}for(let[z,Z]of Object.entries(H))for(let w of Z)w.paths.forEach((L)=>V(L,`劳务人员「${z}」[附件]${w.label}`));return{documentId:W,categoryFields:q,expenseAttachments:G,personAttachments:H}});for(let[K,q]of Y.entries())if(q.length>1){let G=q.map((H)=>`单据「${H.documentId}」的 ${H.location}`).join("、");U.push(`附件路径「${K}」被重复声明了 ${q.length} 次(出现在 ${G})。禁止复用同一路径,若需在不同单据或不同字段使用,请分别放置到独立的附件文件路径。`)}if(!$.length){if(U.length)throw new S$(U);return J}let Q=new Set($.map((K)=>K.fileName));for(let K of Y.keys())if(!Q.has(K))U.push(`Excel 声明的附件路径在 ZIP 中不存在: ${K}`);for(let K of $){if(K.fileName==="信息表.xlsx")continue;if(!Y.has(K.fileName))U.push(`ZIP 中的文件未在 Excel 任何 [附件] 列中声明: ${K.fileName}`)}if(U.length)throw new S$(U);return J}function ph($,I,U){let Y=structuredClone($),J=(q)=>{if(U.has(q))return U.get(q);return[{path:q,fileName:q.split("/").pop()??q}]};for(let q of I.categoryFields){let G=q.paths.flatMap(J);Y.fields.push({key:q.key,label:q.label,type:"ATTACHMENT",value:G})}let Q=Y.fields.find((q)=>q.key==="daoshi_list"&&q.type==="LIST");if(Q&&Array.isArray(Q.value))for(let q of Q.value){let G=q.find((H)=>H.key==="name")?.value;for(let H of I.personAttachments[String(G)]??[])q.push({key:H.key,label:H.label,type:"ATTACHMENT",value:H.paths.flatMap(J)})}let K=Y.fields.find((q)=>q.key==="mingxi_list"&&q.type==="LIST");if(K&&Array.isArray(K.value))for(let q=0;q{let K=Q.fileName.split("/")[0],q=K.indexOf("@");return q>=0?K.slice(0,q):K}).filter((Q)=>Q!=="信息表.xlsx")),Y=[];for(let Q of I)if(!U.has(Q))Y.push(`Excel 会议编号「${Q}」在 ZIP 中找不到对应的根目录「${Q}/」或「${Q}@.../」。`);let J=new Set(I);for(let Q of U)if(!J.has(Q))Y.push(`ZIP 根目录对应的编号「${Q}」在信息表中找不到对应的会议编号。`);if(Y.length)throw new S$(Y)}async function yZ0($,I,U){let Y=[],J=$;if(Hq1($,I)){Y=await PZ0($),EZ0(Y,U);let G=Y.find((H)=>H.fileName==="信息表.xlsx");if(!G)throw Error("ZIP 根目录缺少信息表.xlsx");J=await bh($,G)}let Q=await SZ0(J);Wq1(Y,Q.map((G)=>G.document.documentId));let K=gZ0(Y,Q),q=Q.map((G)=>G.document);return{entries:Y,parsed:Q,plans:K,documents:q,fileBuffer:$}}async function II($,I,U){let Y=await yZ0($,I,U),J=Y.parsed.map((Q,K)=>ph(Q.document,Y.plans[K],new Map));return{warnings:[],documents:J,attachmentPlan:Y.plans}}async function tL($,I,U){let Y=await yZ0($,I,U.materialPackFilePolicy),{baseUrl:J,webhookId:Q}=Gq1(U.webhookUrl),K=[];for(let q=0;qu.fileName===L);if(!D)continue;process.stderr.write(`⬆ 上传附件: ${L} -`);let N=new FormData,E=await bh(Y.fileBuffer,D),T=L.split("/").pop()??L;N.append("files",new File([new Uint8Array(E)],T));let A=await fetch(`${J}/api/v1/integrations/webhook/${encodeURIComponent(Q)}/attachments`,{method:"POST",headers:ry({},U.secret),body:N});if(!A.ok)throw Error(`附件上传失败 ${A.status}: ${await A.text()}`);let v=await A.json();W.set(L,v.attachments?.map((u)=>u.data)??(v.data===void 0?[]:[v.data])),process.stderr.write(`✓ 附件上传成功: ${L} +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let K of $.seen.entries()){let q=K[1];if(I===K[0]){Q(K);continue}if($.external){let H=$.external.registry.get(K[0])?.id;if(I!==K[0]&&H){Q(K);continue}}if($.metadataRegistry.get(K[0])?.id){Q(K);continue}if(q.cycle){Q(K);continue}if(q.count>1){if($.reused==="ref"){Q(K);continue}}}}function I9($,I){let U=$.seen.get(I);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let Y=(q)=>{let G=$.seen.get(q);if(G.ref===null)return;let H=G.def??G.schema,W={...H},V=G.ref;if(G.ref=null,V){Y(V);let Z=$.seen.get(V),z=Z.schema;if(z.$ref&&($.target==="draft-07"||$.target==="draft-04"||$.target==="openapi-3.0"))H.allOf=H.allOf??[],H.allOf.push(z);else Object.assign(H,z);if(Object.assign(H,W),q._zod.parent===V)for(let D in H){if(D==="$ref"||D==="allOf")continue;if(!(D in W))delete H[D]}if(z.$ref&&Z.def)for(let D in H){if(D==="$ref"||D==="allOf")continue;if(D in Z.def&&JSON.stringify(H[D])===JSON.stringify(Z.def[D]))delete H[D]}}let w=q._zod.parent;if(w&&w!==V){Y(w);let Z=$.seen.get(w);if(Z?.schema.$ref){if(H.$ref=Z.schema.$ref,Z.def)for(let z in H){if(z==="$ref"||z==="allOf")continue;if(z in Z.def&&JSON.stringify(H[z])===JSON.stringify(Z.def[z]))delete H[z]}}}$.override({zodSchema:q,jsonSchema:H,path:G.path??[]})};for(let q of[...$.seen.entries()].reverse())Y(q[0]);let J={};if($.target==="draft-2020-12")J.$schema="https://json-schema.org/draft/2020-12/schema";else if($.target==="draft-07")J.$schema="http://json-schema.org/draft-07/schema#";else if($.target==="draft-04")J.$schema="http://json-schema.org/draft-04/schema#";else if($.target==="openapi-3.0");if($.external?.uri){let q=$.external.registry.get(I)?.id;if(!q)throw Error("Schema is missing an `id` property");J.$id=$.external.uri(q)}Object.assign(J,U.def??U.schema);let Q=$.metadataRegistry.get(I)?.id;if(Q!==void 0&&J.id===Q)delete J.id;let K=$.external?.defs??{};for(let q of $.seen.entries()){let G=q[1];if(G.def&&G.defId){if(G.def.id===G.defId)delete G.def.id;K[G.defId]=G.def}}if($.external);else if(Object.keys(K).length>0)if($.target==="draft-2020-12")J.$defs=K;else J.definitions=K;try{let q=JSON.parse(JSON.stringify(J));return Object.defineProperty(q,"~standard",{value:{...I["~standard"],jsonSchema:{input:kI(I,"input",$.processors),output:kI(I,"output",$.processors)}},enumerable:!1,writable:!1}),q}catch(q){throw Error("Error converting schema to JSON.")}}function T6($,I){let U=I??{seen:new Set};if(U.seen.has($))return!1;U.seen.add($);let Y=$._zod.def;if(Y.type==="transform")return!0;if(Y.type==="array")return T6(Y.element,U);if(Y.type==="set")return T6(Y.valueType,U);if(Y.type==="lazy")return T6(Y.getter(),U);if(Y.type==="promise"||Y.type==="optional"||Y.type==="nonoptional"||Y.type==="nullable"||Y.type==="readonly"||Y.type==="default"||Y.type==="prefault")return T6(Y.innerType,U);if(Y.type==="intersection")return T6(Y.left,U)||T6(Y.right,U);if(Y.type==="record"||Y.type==="map")return T6(Y.keyType,U)||T6(Y.valueType,U);if(Y.type==="pipe"){if($._zod.traits.has("$ZodCodec"))return!0;return T6(Y.in,U)||T6(Y.out,U)}if(Y.type==="object"){for(let J in Y.shape)if(T6(Y.shape[J],U))return!0;return!1}if(Y.type==="union"){for(let J of Y.options)if(T6(J,U))return!0;return!1}if(Y.type==="tuple"){for(let J of Y.items)if(T6(J,U))return!0;if(Y.rest&&T6(Y.rest,U))return!0;return!1}return!1}var bM=($,I={})=>(U)=>{let Y=e5({...U,processors:I});return C1($,Y),$9(Y,$),I9(Y,$)},kI=($,I,U={})=>(Y)=>{let{libraryOptions:J,target:Q}=Y??{},K=e5({...J??{},target:Q,io:I,processors:U});return C1($,K),$9(K,$),I9(K,$)};var TO0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},iM=($,I,U,Y)=>{let J=U;J.type="string";let{minimum:Q,maximum:K,format:q,patterns:G,contentEncoding:H}=$._zod.bag;if(typeof Q==="number")J.minLength=Q;if(typeof K==="number")J.maxLength=K;if(q){if(J.format=TO0[q]??q,J.format==="")delete J.format;if(q==="time")delete J.format}if(H)J.contentEncoding=H;if(G&&G.size>0){let W=[...G];if(W.length===1)J.pattern=W[0].source;else if(W.length>1)J.allOf=[...W.map((V)=>({...I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"?{type:"string"}:{},pattern:V.source}))]}},nM=($,I,U,Y)=>{let J=U,{minimum:Q,maximum:K,format:q,multipleOf:G,exclusiveMaximum:H,exclusiveMinimum:W}=$._zod.bag;if(typeof q==="string"&&q.includes("int"))J.type="integer";else J.type="number";let V=typeof W==="number"&&W>=(Q??Number.NEGATIVE_INFINITY),w=typeof H==="number"&&H<=(K??Number.POSITIVE_INFINITY),Z=I.target==="draft-04"||I.target==="openapi-3.0";if(V)if(Z)J.minimum=W,J.exclusiveMinimum=!0;else J.exclusiveMinimum=W;else if(typeof Q==="number")J.minimum=Q;if(w)if(Z)J.maximum=H,J.exclusiveMaximum=!0;else J.exclusiveMaximum=H;else if(typeof K==="number")J.maximum=K;if(typeof G==="number")J.multipleOf=G},pM=($,I,U,Y)=>{U.type="boolean"},cM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},dM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},mM=($,I,U,Y)=>{if(I.target==="openapi-3.0")U.type="string",U.nullable=!0,U.enum=[null];else U.type="null"},lM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},oM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},rM=($,I,U,Y)=>{U.not={}},tM=($,I,U,Y)=>{},aM=($,I,U,Y)=>{},sM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},eM=($,I,U,Y)=>{let J=$._zod.def,Q=xJ(J.entries);if(Q.every((K)=>typeof K==="number"))U.type="number";if(Q.every((K)=>typeof K==="string"))U.type="string";U.enum=Q},$A=($,I,U,Y)=>{let J=$._zod.def,Q=[];for(let K of J.values)if(K===void 0){if(I.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof K==="bigint")if(I.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else Q.push(Number(K));else Q.push(K);if(Q.length===0);else if(Q.length===1){let K=Q[0];if(U.type=K===null?"null":typeof K,I.target==="draft-04"||I.target==="openapi-3.0")U.enum=[K];else U.const=K}else{if(Q.every((K)=>typeof K==="number"))U.type="number";if(Q.every((K)=>typeof K==="string"))U.type="string";if(Q.every((K)=>typeof K==="boolean"))U.type="boolean";if(Q.every((K)=>K===null))U.type="null";U.enum=Q}},IA=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},UA=($,I,U,Y)=>{let J=U,Q=$._zod.pattern;if(!Q)throw Error("Pattern not found in template literal");J.type="string",J.pattern=Q.source},YA=($,I,U,Y)=>{let J=U,Q={type:"string",format:"binary",contentEncoding:"binary"},{minimum:K,maximum:q,mime:G}=$._zod.bag;if(K!==void 0)Q.minLength=K;if(q!==void 0)Q.maxLength=q;if(G)if(G.length===1)Q.contentMediaType=G[0],Object.assign(J,Q);else Object.assign(J,Q),J.anyOf=G.map((H)=>({contentMediaType:H}));else Object.assign(J,Q)},JA=($,I,U,Y)=>{U.type="boolean"},QA=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},KA=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},qA=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},GA=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},HA=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},WA=($,I,U,Y)=>{let J=U,Q=$._zod.def,{minimum:K,maximum:q}=$._zod.bag;if(typeof K==="number")J.minItems=K;if(typeof q==="number")J.maxItems=q;J.type="array",J.items=C1(Q.element,I,{...Y,path:[...Y.path,"items"]})},VA=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="object",J.properties={};let K=Q.shape;for(let H in K)J.properties[H]=C1(K[H],I,{...Y,path:[...Y.path,"properties",H]});let q=new Set(Object.keys(K)),G=new Set([...q].filter((H)=>{let W=Q.shape[H]._zod;if(I.io==="input")return W.optin===void 0;else return W.optout===void 0}));if(G.size>0)J.required=Array.from(G);if(Q.catchall?._zod.def.type==="never")J.additionalProperties=!1;else if(!Q.catchall){if(I.io==="output")J.additionalProperties=!1}else if(Q.catchall)J.additionalProperties=C1(Q.catchall,I,{...Y,path:[...Y.path,"additionalProperties"]})},kH=($,I,U,Y)=>{let J=$._zod.def,Q=J.inclusive===!1,K=J.options.map((q,G)=>C1(q,I,{...Y,path:[...Y.path,Q?"oneOf":"anyOf",G]}));if(Q)U.oneOf=K;else U.anyOf=K},wA=($,I,U,Y)=>{let J=$._zod.def,Q=C1(J.left,I,{...Y,path:[...Y.path,"allOf",0]}),K=C1(J.right,I,{...Y,path:[...Y.path,"allOf",1]}),q=(H)=>("allOf"in H)&&Object.keys(H).length===1,G=[...q(Q)?Q.allOf:[Q],...q(K)?K.allOf:[K]];U.allOf=G},ZA=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="array";let K=I.target==="draft-2020-12"?"prefixItems":"items",q=I.target==="draft-2020-12"?"items":I.target==="openapi-3.0"?"items":"additionalItems",G=Q.items.map((w,Z)=>C1(w,I,{...Y,path:[...Y.path,K,Z]})),H=Q.rest?C1(Q.rest,I,{...Y,path:[...Y.path,q,...I.target==="openapi-3.0"?[Q.items.length]:[]]}):null;if(I.target==="draft-2020-12"){if(J.prefixItems=G,H)J.items=H}else if(I.target==="openapi-3.0"){if(J.items={anyOf:G},H)J.items.anyOf.push(H);if(J.minItems=G.length,!H)J.maxItems=G.length}else if(J.items=G,H)J.additionalItems=H;let{minimum:W,maximum:V}=$._zod.bag;if(typeof W==="number")J.minItems=W;if(typeof V==="number")J.maxItems=V},XA=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="object";let K=Q.keyType,G=K._zod.bag?.patterns;if(Q.mode==="loose"&&G&&G.size>0){let W=C1(Q.valueType,I,{...Y,path:[...Y.path,"patternProperties","*"]});J.patternProperties={};for(let V of G)J.patternProperties[V.source]=W}else{if(I.target==="draft-07"||I.target==="draft-2020-12")J.propertyNames=C1(Q.keyType,I,{...Y,path:[...Y.path,"propertyNames"]});J.additionalProperties=C1(Q.valueType,I,{...Y,path:[...Y.path,"additionalProperties"]})}let H=K._zod.values;if(H){let W=[...H].filter((V)=>typeof V==="string"||typeof V==="number");if(W.length>0)J.required=W}},zA=($,I,U,Y)=>{let J=$._zod.def,Q=C1(J.innerType,I,Y),K=I.seen.get($);if(I.target==="openapi-3.0")K.ref=J.innerType,U.nullable=!0;else U.anyOf=[Q,{type:"null"}]},LA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},DA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType,U.default=JSON.parse(JSON.stringify(J.defaultValue))},OA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);if(Q.ref=J.innerType,I.io==="input")U._prefault=JSON.parse(JSON.stringify(J.defaultValue))},FA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType;let K;try{K=J.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}U.default=K},NA=($,I,U,Y)=>{let J=$._zod.def,Q=J.in._zod.traits.has("$ZodTransform"),K=I.io==="input"?Q?J.out:J.in:J.out;C1(K,I,Y);let q=I.seen.get($);q.ref=K},MA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType,U.readOnly=!0},AA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},uH=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},PA=($,I,U,Y)=>{let J=$._zod.innerType;C1(J,I,Y);let Q=I.seen.get($);Q.ref=J},xH={string:iM,number:nM,boolean:pM,bigint:cM,symbol:dM,null:mM,undefined:lM,void:oM,never:rM,any:tM,unknown:aM,date:sM,enum:eM,literal:$A,nan:IA,template_literal:UA,file:YA,success:JA,custom:QA,function:KA,transform:qA,map:GA,set:HA,array:WA,object:VA,union:kH,intersection:wA,tuple:ZA,record:XA,nullable:zA,nonoptional:LA,default:DA,prefault:OA,catch:FA,pipe:NA,readonly:MA,promise:AA,optional:uH,lazy:PA};function fH($,I){if("_idmap"in $){let Y=$,J=e5({...I,processors:xH}),Q={};for(let G of Y._idmap.entries()){let[H,W]=G;C1(W,J)}let K={},q={registry:Y,uri:I?.uri,defs:Q};J.external=q;for(let G of Y._idmap.entries()){let[H,W]=G;$9(J,W),K[H]=I9(J,W)}if(Object.keys(Q).length>0){let G=J.target==="draft-2020-12"?"$defs":"definitions";K.__shared={[G]:Q}}return{schemas:K}}let U=e5({...I,processors:xH});return C1($,U),$9(U,$),I9(U,$)}class TA{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter($){this.ctx.counter=$}get seen(){return this.ctx.seen}constructor($){let I=$?.target??"draft-2020-12";if(I==="draft-4")I="draft-04";if(I==="draft-7")I="draft-07";this.ctx=e5({processors:xH,target:I,...$?.metadata&&{metadata:$.metadata},...$?.unrepresentable&&{unrepresentable:$.unrepresentable},...$?.override&&{override:$.override},...$?.io&&{io:$.io}})}process($,I={path:[],schemaPath:[]}){return C1($,this.ctx,I)}emit($,I){if(I){if(I.cycles)this.ctx.cycles=I.cycles;if(I.reused)this.ctx.reused=I.reused;if(I.external)this.ctx.external=I.external}$9(this.ctx,$);let U=I9(this.ctx,$),{"~standard":Y,...J}=U;return J}}var wu={};function uI($){return!!$._zod}function U9($,I){if(uI($))return NI($,I);return $.safeParse(I)}function bH($){if(!$)return;let I;if(uI($))I=$._zod?.def?.shape;else I=$.shape;if(!I)return;if(typeof I==="function")try{return I()}catch{return}return I}function Zu($){if(uI($)){let Q=$._zod?.def;if(Q){if(Q.value!==void 0)return Q.value;if(Array.isArray(Q.values)&&Q.values.length>0)return Q.values[0]}}let U=$._def;if(U){if(U.value!==void 0)return U.value;if(Array.isArray(U.values)&&U.values.length>0)return U.values[0]}let Y=$.value;if(Y!==void 0)return Y;return}var X={};o8(X,{xor:()=>Jf,xid:()=>Cu,void:()=>$f,uuidv7:()=>Mu,uuidv6:()=>Nu,uuidv4:()=>Fu,uuid:()=>Ou,util:()=>L0,url:()=>Au,uppercase:()=>BI,unknown:()=>y1,union:()=>h1,undefined:()=>su,ulid:()=>Ru,uint64:()=>tu,uint32:()=>lu,tuple:()=>$P,trim:()=>SI,treeifyError:()=>aD,transform:()=>ZW,toUpperCase:()=>yI,toLowerCase:()=>gI,toJSONSchema:()=>fH,templateLiteral:()=>Lf,symbol:()=>au,superRefine:()=>vP,success:()=>wf,stringbool:()=>Pf,stringFormat:()=>bu,string:()=>Q0,strictObject:()=>Yf,startsWith:()=>RI,slugify:()=>hI,size:()=>E7,setErrorMap:()=>CO0,set:()=>Gf,safeParseAsync:()=>SA,safeParse:()=>_A,safeEncodeAsync:()=>fA,safeEncode:()=>kA,safeDecodeAsync:()=>bA,safeDecode:()=>uA,registry:()=>WH,regexes:()=>e6,regex:()=>TI,refine:()=>BP,record:()=>_1,readonly:()=>NP,property:()=>hH,promise:()=>Df,prettifyError:()=>sD,preprocess:()=>FQ,prefault:()=>wP,positive:()=>_H,pipe:()=>lH,partialRecord:()=>Qf,parseAsync:()=>jA,parse:()=>CA,overwrite:()=>f$,optional:()=>u1,object:()=>T0,number:()=>X1,nullish:()=>Vf,nullable:()=>GQ,null:()=>VQ,normalize:()=>_I,nonpositive:()=>gH,nonoptional:()=>ZP,nonnegative:()=>yH,never:()=>wW,negative:()=>SH,nativeEnum:()=>Hf,nanoid:()=>Eu,nan:()=>Zf,multipleOf:()=>a5,minSize:()=>H8,minLength:()=>t8,mime:()=>jI,meta:()=>Mf,maxSize:()=>s5,maxLength:()=>B7,map:()=>qf,mac:()=>Su,lte:()=>$$,lt:()=>q8,lowercase:()=>EI,looseRecord:()=>Kf,looseObject:()=>m4,locales:()=>YQ,literal:()=>_0,length:()=>v7,lazy:()=>PP,ksuid:()=>ju,keyof:()=>Uf,jwt:()=>fu,json:()=>Tf,iso:()=>Y9,ipv6:()=>gu,ipv4:()=>_u,invertCodec:()=>zf,intersection:()=>mI,int64:()=>ru,int32:()=>mu,int:()=>mH,instanceof:()=>Af,includes:()=>vI,httpUrl:()=>Pu,hostname:()=>iu,hex:()=>nu,hash:()=>pu,guid:()=>Du,gte:()=>P6,gt:()=>G8,globalRegistry:()=>d4,getErrorMap:()=>jO0,function:()=>Of,fromJSONSchema:()=>Bf,formatError:()=>pJ,float64:()=>du,float32:()=>cu,flattenError:()=>nJ,file:()=>Wf,exactOptional:()=>qP,enum:()=>l4,endsWith:()=>CI,encodeAsync:()=>hA,encode:()=>gA,emoji:()=>Tu,email:()=>Lu,e164:()=>uu,discriminatedUnion:()=>zQ,describe:()=>Nf,decodeAsync:()=>xA,decode:()=>yA,date:()=>If,custom:()=>LW,cuid2:()=>vu,cuid:()=>Bu,core:()=>a8,config:()=>w4,coerce:()=>CP,codec:()=>Xf,clone:()=>M6,cidrv6:()=>hu,cidrv4:()=>yu,check:()=>Ff,catch:()=>LP,boolean:()=>O4,bigint:()=>ou,base64url:()=>ku,base64:()=>xu,array:()=>$1,any:()=>eu,_function:()=>Of,_default:()=>WP,_ZodString:()=>oH,ZodXor:()=>tA,ZodXID:()=>IW,ZodVoid:()=>oA,ZodUnknown:()=>mA,ZodUnion:()=>XQ,ZodUndefined:()=>pA,ZodUUID:()=>W8,ZodURL:()=>WQ,ZodULID:()=>$W,ZodType:()=>l0,ZodTuple:()=>eA,ZodTransform:()=>QP,ZodTemplateLiteral:()=>MP,ZodSymbol:()=>nA,ZodSuccess:()=>XP,ZodStringFormat:()=>g1,ZodString:()=>iI,ZodSet:()=>UP,ZodRecord:()=>fI,ZodRealError:()=>k6,ZodReadonly:()=>FP,ZodPromise:()=>TP,ZodPreprocess:()=>OP,ZodPrefault:()=>VP,ZodPipe:()=>LQ,ZodOptional:()=>XW,ZodObject:()=>ZQ,ZodNumberFormat:()=>R7,ZodNumber:()=>pI,ZodNullable:()=>GP,ZodNull:()=>cA,ZodNonOptional:()=>zW,ZodNever:()=>lA,ZodNanoID:()=>aH,ZodNaN:()=>DP,ZodMap:()=>IP,ZodMAC:()=>iA,ZodLiteral:()=>YP,ZodLazy:()=>AP,ZodKSUID:()=>UW,ZodJWT:()=>WW,ZodIssueCode:()=>RO0,ZodIntersection:()=>sA,ZodISOTime:()=>cH,ZodISODuration:()=>dH,ZodISODateTime:()=>nH,ZodISODate:()=>pH,ZodIPv6:()=>JW,ZodIPv4:()=>YW,ZodGUID:()=>qQ,ZodFunction:()=>EP,ZodFirstPartyTypeKind:()=>RP,ZodFile:()=>JP,ZodExactOptional:()=>KP,ZodError:()=>BO0,ZodEnum:()=>bI,ZodEmoji:()=>tH,ZodEmail:()=>rH,ZodE164:()=>HW,ZodDiscriminatedUnion:()=>aA,ZodDefault:()=>HP,ZodDate:()=>wQ,ZodCustomStringFormat:()=>nI,ZodCustom:()=>OQ,ZodCodec:()=>DQ,ZodCatch:()=>zP,ZodCUID2:()=>eH,ZodCUID:()=>sH,ZodCIDRv6:()=>KW,ZodCIDRv4:()=>QW,ZodBoolean:()=>cI,ZodBigIntFormat:()=>VW,ZodBigInt:()=>dI,ZodBase64URL:()=>GW,ZodBase64:()=>qW,ZodArray:()=>rA,ZodAny:()=>dA,TimePrecision:()=>JM,NEVER:()=>fD,$output:()=>sN,$input:()=>eN,$brand:()=>bD});var KQ={};o8(KQ,{xor:()=>Jf,xid:()=>Cu,void:()=>$f,uuidv7:()=>Mu,uuidv6:()=>Nu,uuidv4:()=>Fu,uuid:()=>Ou,url:()=>Au,unknown:()=>y1,union:()=>h1,undefined:()=>su,ulid:()=>Ru,uint64:()=>tu,uint32:()=>lu,tuple:()=>$P,transform:()=>ZW,templateLiteral:()=>Lf,symbol:()=>au,superRefine:()=>vP,success:()=>wf,stringbool:()=>Pf,stringFormat:()=>bu,string:()=>Q0,strictObject:()=>Yf,set:()=>Gf,refine:()=>BP,record:()=>_1,readonly:()=>NP,promise:()=>Df,preprocess:()=>FQ,prefault:()=>wP,pipe:()=>lH,partialRecord:()=>Qf,optional:()=>u1,object:()=>T0,number:()=>X1,nullish:()=>Vf,nullable:()=>GQ,null:()=>VQ,nonoptional:()=>ZP,never:()=>wW,nativeEnum:()=>Hf,nanoid:()=>Eu,nan:()=>Zf,meta:()=>Mf,map:()=>qf,mac:()=>Su,looseRecord:()=>Kf,looseObject:()=>m4,literal:()=>_0,lazy:()=>PP,ksuid:()=>ju,keyof:()=>Uf,jwt:()=>fu,json:()=>Tf,ipv6:()=>gu,ipv4:()=>_u,invertCodec:()=>zf,intersection:()=>mI,int64:()=>ru,int32:()=>mu,int:()=>mH,instanceof:()=>Af,httpUrl:()=>Pu,hostname:()=>iu,hex:()=>nu,hash:()=>pu,guid:()=>Du,function:()=>Of,float64:()=>du,float32:()=>cu,file:()=>Wf,exactOptional:()=>qP,enum:()=>l4,emoji:()=>Tu,email:()=>Lu,e164:()=>uu,discriminatedUnion:()=>zQ,describe:()=>Nf,date:()=>If,custom:()=>LW,cuid2:()=>vu,cuid:()=>Bu,codec:()=>Xf,cidrv6:()=>hu,cidrv4:()=>yu,check:()=>Ff,catch:()=>LP,boolean:()=>O4,bigint:()=>ou,base64url:()=>ku,base64:()=>xu,array:()=>$1,any:()=>eu,_function:()=>Of,_default:()=>WP,_ZodString:()=>oH,ZodXor:()=>tA,ZodXID:()=>IW,ZodVoid:()=>oA,ZodUnknown:()=>mA,ZodUnion:()=>XQ,ZodUndefined:()=>pA,ZodUUID:()=>W8,ZodURL:()=>WQ,ZodULID:()=>$W,ZodType:()=>l0,ZodTuple:()=>eA,ZodTransform:()=>QP,ZodTemplateLiteral:()=>MP,ZodSymbol:()=>nA,ZodSuccess:()=>XP,ZodStringFormat:()=>g1,ZodString:()=>iI,ZodSet:()=>UP,ZodRecord:()=>fI,ZodReadonly:()=>FP,ZodPromise:()=>TP,ZodPreprocess:()=>OP,ZodPrefault:()=>VP,ZodPipe:()=>LQ,ZodOptional:()=>XW,ZodObject:()=>ZQ,ZodNumberFormat:()=>R7,ZodNumber:()=>pI,ZodNullable:()=>GP,ZodNull:()=>cA,ZodNonOptional:()=>zW,ZodNever:()=>lA,ZodNanoID:()=>aH,ZodNaN:()=>DP,ZodMap:()=>IP,ZodMAC:()=>iA,ZodLiteral:()=>YP,ZodLazy:()=>AP,ZodKSUID:()=>UW,ZodJWT:()=>WW,ZodIntersection:()=>sA,ZodIPv6:()=>JW,ZodIPv4:()=>YW,ZodGUID:()=>qQ,ZodFunction:()=>EP,ZodFile:()=>JP,ZodExactOptional:()=>KP,ZodEnum:()=>bI,ZodEmoji:()=>tH,ZodEmail:()=>rH,ZodE164:()=>HW,ZodDiscriminatedUnion:()=>aA,ZodDefault:()=>HP,ZodDate:()=>wQ,ZodCustomStringFormat:()=>nI,ZodCustom:()=>OQ,ZodCodec:()=>DQ,ZodCatch:()=>zP,ZodCUID2:()=>eH,ZodCUID:()=>sH,ZodCIDRv6:()=>KW,ZodCIDRv4:()=>QW,ZodBoolean:()=>cI,ZodBigIntFormat:()=>VW,ZodBigInt:()=>dI,ZodBase64URL:()=>GW,ZodBase64:()=>qW,ZodArray:()=>rA,ZodAny:()=>dA});var iH={};o8(iH,{uppercase:()=>BI,trim:()=>SI,toUpperCase:()=>yI,toLowerCase:()=>gI,startsWith:()=>RI,slugify:()=>hI,size:()=>E7,regex:()=>TI,property:()=>hH,positive:()=>_H,overwrite:()=>f$,normalize:()=>_I,nonpositive:()=>gH,nonnegative:()=>yH,negative:()=>SH,multipleOf:()=>a5,minSize:()=>H8,minLength:()=>t8,mime:()=>jI,maxSize:()=>s5,maxLength:()=>B7,lte:()=>$$,lt:()=>q8,lowercase:()=>EI,length:()=>v7,includes:()=>vI,gte:()=>P6,gt:()=>G8,endsWith:()=>CI});var Y9={};o8(Y9,{time:()=>vA,duration:()=>RA,datetime:()=>EA,date:()=>BA,ZodISOTime:()=>cH,ZodISODuration:()=>dH,ZodISODateTime:()=>nH,ZodISODate:()=>pH});var nH=o("ZodISODateTime",($,I)=>{QF.init($,I),g1.init($,I)});function EA($){return QM(nH,$)}var pH=o("ZodISODate",($,I)=>{KF.init($,I),g1.init($,I)});function BA($){return KM(pH,$)}var cH=o("ZodISOTime",($,I)=>{qF.init($,I),g1.init($,I)});function vA($){return qM(cH,$)}var dH=o("ZodISODuration",($,I)=>{GF.init($,I),g1.init($,I)});function RA($){return GM(dH,$)}var Xu=($,I)=>{iJ.init($,I),$.name="ZodError",Object.defineProperties($,{format:{value:(U)=>pJ($,U)},flatten:{value:(U)=>nJ($,U)},addIssue:{value:(U)=>{$.issues.push(U),$.message=JSON.stringify($.issues,XI,2)}},addIssues:{value:(U)=>{$.issues.push(...U),$.message=JSON.stringify($.issues,XI,2)}},isEmpty:{get(){return $.issues.length===0}}})},BO0=o("ZodError",Xu),k6=o("ZodError",Xu,{Parent:Error});var CA=DI(k6),jA=OI(k6),_A=FI(k6),SA=MI(k6),gA=pG(k6),yA=cG(k6),hA=dG(k6),xA=mG(k6),kA=lG(k6),uA=oG(k6),fA=rG(k6),bA=tG(k6);var zu=new WeakMap;function HQ($,I,U){let Y=Object.getPrototypeOf($),J=zu.get(Y);if(!J)J=new Set,zu.set(Y,J);if(J.has(I))return;J.add(I);for(let Q in U){let K=U[Q];Object.defineProperty(Y,Q,{configurable:!0,enumerable:!1,get(){let q=K.bind(this);return Object.defineProperty(this,Q,{configurable:!0,writable:!0,enumerable:!0,value:q}),q},set(q){Object.defineProperty(this,Q,{configurable:!0,writable:!0,enumerable:!0,value:q})}})}}var l0=o("ZodType",($,I)=>{return i0.init($,I),Object.assign($["~standard"],{jsonSchema:{input:kI($,"input"),output:kI($,"output")}}),$.toJSONSchema=bM($,{}),$.def=I,$.type=I.type,Object.defineProperty($,"_def",{value:I}),$.parse=(U,Y)=>CA($,U,Y,{callee:$.parse}),$.safeParse=(U,Y)=>_A($,U,Y),$.parseAsync=async(U,Y)=>jA($,U,Y,{callee:$.parseAsync}),$.safeParseAsync=async(U,Y)=>SA($,U,Y),$.spa=$.safeParseAsync,$.encode=(U,Y)=>gA($,U,Y),$.decode=(U,Y)=>yA($,U,Y),$.encodeAsync=async(U,Y)=>hA($,U,Y),$.decodeAsync=async(U,Y)=>xA($,U,Y),$.safeEncode=(U,Y)=>kA($,U,Y),$.safeDecode=(U,Y)=>uA($,U,Y),$.safeEncodeAsync=async(U,Y)=>fA($,U,Y),$.safeDecodeAsync=async(U,Y)=>bA($,U,Y),HQ($,"ZodType",{check(...U){let Y=this.def;return this.clone(L0.mergeDefs(Y,{checks:[...Y.checks??[],...U.map((J)=>typeof J==="function"?{_zod:{check:J,def:{check:"custom"},onattach:[]}}:J)]}),{parent:!0})},with(...U){return this.check(...U)},clone(U,Y){return M6(this,U,Y)},brand(){return this},register(U,Y){return U.add(this,Y),this},refine(U,Y){return this.check(BP(U,Y))},superRefine(U,Y){return this.check(vP(U,Y))},overwrite(U){return this.check(f$(U))},optional(){return u1(this)},exactOptional(){return qP(this)},nullable(){return GQ(this)},nullish(){return u1(GQ(this))},nonoptional(U){return ZP(this,U)},array(){return $1(this)},or(U){return h1([this,U])},and(U){return mI(this,U)},transform(U){return lH(this,ZW(U))},default(U){return WP(this,U)},prefault(U){return wP(this,U)},catch(U){return LP(this,U)},pipe(U){return lH(this,U)},readonly(){return NP(this)},describe(U){let Y=this.clone();return d4.add(Y,{description:U}),Y},meta(...U){if(U.length===0)return d4.get(this);let Y=this.clone();return d4.add(Y,U[0]),Y},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(U){return U(this)}}),Object.defineProperty($,"description",{get(){return d4.get($)?.description},configurable:!0}),$}),oH=o("_ZodString",($,I)=>{T7.init($,I),l0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>iM($,Y,J,Q);let U=$._zod.bag;$.format=U.format??null,$.minLength=U.minimum??null,$.maxLength=U.maximum??null,HQ($,"_ZodString",{regex(...Y){return this.check(TI(...Y))},includes(...Y){return this.check(vI(...Y))},startsWith(...Y){return this.check(RI(...Y))},endsWith(...Y){return this.check(CI(...Y))},min(...Y){return this.check(t8(...Y))},max(...Y){return this.check(B7(...Y))},length(...Y){return this.check(v7(...Y))},nonempty(...Y){return this.check(t8(1,...Y))},lowercase(Y){return this.check(EI(Y))},uppercase(Y){return this.check(BI(Y))},trim(){return this.check(SI())},normalize(...Y){return this.check(_I(...Y))},toLowerCase(){return this.check(gI())},toUpperCase(){return this.check(yI())},slugify(){return this.check(hI())}})}),iI=o("ZodString",($,I)=>{T7.init($,I),oH.init($,I),$.email=(U)=>$.check(VH(rH,U)),$.url=(U)=>$.check(QQ(WQ,U)),$.jwt=(U)=>$.check(jH(WW,U)),$.emoji=(U)=>$.check(LH(tH,U)),$.guid=(U)=>$.check(JQ(qQ,U)),$.uuid=(U)=>$.check(wH(W8,U)),$.uuidv4=(U)=>$.check(ZH(W8,U)),$.uuidv6=(U)=>$.check(XH(W8,U)),$.uuidv7=(U)=>$.check(zH(W8,U)),$.nanoid=(U)=>$.check(DH(aH,U)),$.guid=(U)=>$.check(JQ(qQ,U)),$.cuid=(U)=>$.check(OH(sH,U)),$.cuid2=(U)=>$.check(FH(eH,U)),$.ulid=(U)=>$.check(NH($W,U)),$.base64=(U)=>$.check(vH(qW,U)),$.base64url=(U)=>$.check(RH(GW,U)),$.xid=(U)=>$.check(MH(IW,U)),$.ksuid=(U)=>$.check(AH(UW,U)),$.ipv4=(U)=>$.check(PH(YW,U)),$.ipv6=(U)=>$.check(TH(JW,U)),$.cidrv4=(U)=>$.check(EH(QW,U)),$.cidrv6=(U)=>$.check(BH(KW,U)),$.e164=(U)=>$.check(CH(HW,U)),$.datetime=(U)=>$.check(EA(U)),$.date=(U)=>$.check(BA(U)),$.time=(U)=>$.check(vA(U)),$.duration=(U)=>$.check(RA(U))});function Q0($){return IM(iI,$)}var g1=o("ZodStringFormat",($,I)=>{S1.init($,I),oH.init($,I)}),rH=o("ZodEmail",($,I)=>{tO.init($,I),g1.init($,I)});function Lu($){return VH(rH,$)}var qQ=o("ZodGUID",($,I)=>{oO.init($,I),g1.init($,I)});function Du($){return JQ(qQ,$)}var W8=o("ZodUUID",($,I)=>{rO.init($,I),g1.init($,I)});function Ou($){return wH(W8,$)}function Fu($){return ZH(W8,$)}function Nu($){return XH(W8,$)}function Mu($){return zH(W8,$)}var WQ=o("ZodURL",($,I)=>{aO.init($,I),g1.init($,I)});function Au($){return QQ(WQ,$)}function Pu($){return QQ(WQ,{protocol:e6.httpProtocol,hostname:e6.domain,...L0.normalizeParams($)})}var tH=o("ZodEmoji",($,I)=>{sO.init($,I),g1.init($,I)});function Tu($){return LH(tH,$)}var aH=o("ZodNanoID",($,I)=>{eO.init($,I),g1.init($,I)});function Eu($){return DH(aH,$)}var sH=o("ZodCUID",($,I)=>{$F.init($,I),g1.init($,I)});function Bu($){return OH(sH,$)}var eH=o("ZodCUID2",($,I)=>{IF.init($,I),g1.init($,I)});function vu($){return FH(eH,$)}var $W=o("ZodULID",($,I)=>{UF.init($,I),g1.init($,I)});function Ru($){return NH($W,$)}var IW=o("ZodXID",($,I)=>{YF.init($,I),g1.init($,I)});function Cu($){return MH(IW,$)}var UW=o("ZodKSUID",($,I)=>{JF.init($,I),g1.init($,I)});function ju($){return AH(UW,$)}var YW=o("ZodIPv4",($,I)=>{HF.init($,I),g1.init($,I)});function _u($){return PH(YW,$)}var iA=o("ZodMAC",($,I)=>{VF.init($,I),g1.init($,I)});function Su($){return YM(iA,$)}var JW=o("ZodIPv6",($,I)=>{WF.init($,I),g1.init($,I)});function gu($){return TH(JW,$)}var QW=o("ZodCIDRv4",($,I)=>{wF.init($,I),g1.init($,I)});function yu($){return EH(QW,$)}var KW=o("ZodCIDRv6",($,I)=>{ZF.init($,I),g1.init($,I)});function hu($){return BH(KW,$)}var qW=o("ZodBase64",($,I)=>{zF.init($,I),g1.init($,I)});function xu($){return vH(qW,$)}var GW=o("ZodBase64URL",($,I)=>{LF.init($,I),g1.init($,I)});function ku($){return RH(GW,$)}var HW=o("ZodE164",($,I)=>{DF.init($,I),g1.init($,I)});function uu($){return CH(HW,$)}var WW=o("ZodJWT",($,I)=>{OF.init($,I),g1.init($,I)});function fu($){return jH(WW,$)}var nI=o("ZodCustomStringFormat",($,I)=>{FF.init($,I),g1.init($,I)});function bu($,I,U={}){return xI(nI,$,I,U)}function iu($){return xI(nI,"hostname",e6.hostname,$)}function nu($){return xI(nI,"hex",e6.hex,$)}function pu($,I){let U=I?.enc??"hex",Y=`${$}_${U}`,J=e6[Y];if(!J)throw Error(`Unrecognized hash format: ${Y}`);return xI(nI,Y,J,I)}var pI=o("ZodNumber",($,I)=>{QH.init($,I),l0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>nM($,Y,J,Q),HQ($,"ZodNumber",{gt(Y,J){return this.check(G8(Y,J))},gte(Y,J){return this.check(P6(Y,J))},min(Y,J){return this.check(P6(Y,J))},lt(Y,J){return this.check(q8(Y,J))},lte(Y,J){return this.check($$(Y,J))},max(Y,J){return this.check($$(Y,J))},int(Y){return this.check(mH(Y))},safe(Y){return this.check(mH(Y))},positive(Y){return this.check(G8(0,Y))},nonnegative(Y){return this.check(P6(0,Y))},negative(Y){return this.check(q8(0,Y))},nonpositive(Y){return this.check($$(0,Y))},multipleOf(Y,J){return this.check(a5(Y,J))},step(Y,J){return this.check(a5(Y,J))},finite(){return this}});let U=$._zod.bag;$.minValue=Math.max(U.minimum??Number.NEGATIVE_INFINITY,U.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,$.maxValue=Math.min(U.maximum??Number.POSITIVE_INFINITY,U.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,$.isInt=(U.format??"").includes("int")||Number.isSafeInteger(U.multipleOf??0.5),$.isFinite=!0,$.format=U.format??null});function X1($){return HM(pI,$)}var R7=o("ZodNumberFormat",($,I)=>{NF.init($,I),pI.init($,I)});function mH($){return VM(R7,$)}function cu($){return wM(R7,$)}function du($){return ZM(R7,$)}function mu($){return XM(R7,$)}function lu($){return zM(R7,$)}var cI=o("ZodBoolean",($,I)=>{tJ.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>pM($,U,Y,J)});function O4($){return LM(cI,$)}var dI=o("ZodBigInt",($,I)=>{KH.init($,I),l0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>cM($,Y,J,Q),$.gte=(Y,J)=>$.check(P6(Y,J)),$.min=(Y,J)=>$.check(P6(Y,J)),$.gt=(Y,J)=>$.check(G8(Y,J)),$.gte=(Y,J)=>$.check(P6(Y,J)),$.min=(Y,J)=>$.check(P6(Y,J)),$.lt=(Y,J)=>$.check(q8(Y,J)),$.lte=(Y,J)=>$.check($$(Y,J)),$.max=(Y,J)=>$.check($$(Y,J)),$.positive=(Y)=>$.check(G8(BigInt(0),Y)),$.negative=(Y)=>$.check(q8(BigInt(0),Y)),$.nonpositive=(Y)=>$.check($$(BigInt(0),Y)),$.nonnegative=(Y)=>$.check(P6(BigInt(0),Y)),$.multipleOf=(Y,J)=>$.check(a5(Y,J));let U=$._zod.bag;$.minValue=U.minimum??null,$.maxValue=U.maximum??null,$.format=U.format??null});function ou($){return OM(dI,$)}var VW=o("ZodBigIntFormat",($,I)=>{MF.init($,I),dI.init($,I)});function ru($){return NM(VW,$)}function tu($){return MM(VW,$)}var nA=o("ZodSymbol",($,I)=>{AF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>dM($,U,Y,J)});function au($){return AM(nA,$)}var pA=o("ZodUndefined",($,I)=>{PF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>lM($,U,Y,J)});function su($){return PM(pA,$)}var cA=o("ZodNull",($,I)=>{TF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>mM($,U,Y,J)});function VQ($){return TM(cA,$)}var dA=o("ZodAny",($,I)=>{EF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>tM($,U,Y,J)});function eu(){return EM(dA)}var mA=o("ZodUnknown",($,I)=>{BF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>aM($,U,Y,J)});function y1(){return BM(mA)}var lA=o("ZodNever",($,I)=>{vF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>rM($,U,Y,J)});function wW($){return vM(lA,$)}var oA=o("ZodVoid",($,I)=>{RF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>oM($,U,Y,J)});function $f($){return RM(oA,$)}var wQ=o("ZodDate",($,I)=>{CF.init($,I),l0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>sM($,Y,J,Q),$.min=(Y,J)=>$.check(P6(Y,J)),$.max=(Y,J)=>$.check($$(Y,J));let U=$._zod.bag;$.minDate=U.minimum?new Date(U.minimum):null,$.maxDate=U.maximum?new Date(U.maximum):null});function If($){return CM(wQ,$)}var rA=o("ZodArray",($,I)=>{jF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>WA($,U,Y,J),$.element=I.element,HQ($,"ZodArray",{min(U,Y){return this.check(t8(U,Y))},nonempty(U){return this.check(t8(1,U))},max(U,Y){return this.check(B7(U,Y))},length(U,Y){return this.check(v7(U,Y))},unwrap(){return this.element}})});function $1($,I){return SM(rA,$,I)}function Uf($){let I=$._zod.def.shape;return l4(Object.keys(I))}var ZQ=o("ZodObject",($,I)=>{_F.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>VA($,U,Y,J),L0.defineLazy($,"shape",()=>{return I.shape}),HQ($,"ZodObject",{keyof(){return l4(Object.keys(this._zod.def.shape))},catchall(U){return this.clone({...this._zod.def,catchall:U})},passthrough(){return this.clone({...this._zod.def,catchall:y1()})},loose(){return this.clone({...this._zod.def,catchall:y1()})},strict(){return this.clone({...this._zod.def,catchall:wW()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(U){return L0.extend(this,U)},safeExtend(U){return L0.safeExtend(this,U)},merge(U){return L0.merge(this,U)},pick(U){return L0.pick(this,U)},omit(U){return L0.omit(this,U)},partial(...U){return L0.partial(XW,this,U[0])},required(...U){return L0.required(zW,this,U[0])}})});function T0($,I){let U={type:"object",shape:$??{},...L0.normalizeParams(I)};return new ZQ(U)}function Yf($,I){return new ZQ({type:"object",shape:$,catchall:wW(),...L0.normalizeParams(I)})}function m4($,I){return new ZQ({type:"object",shape:$,catchall:y1(),...L0.normalizeParams(I)})}var XQ=o("ZodUnion",($,I)=>{aJ.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>kH($,U,Y,J),$.options=I.options});function h1($,I){return new XQ({type:"union",options:$,...L0.normalizeParams(I)})}var tA=o("ZodXor",($,I)=>{XQ.init($,I),SF.init($,I),$._zod.processJSONSchema=(U,Y,J)=>kH($,U,Y,J),$.options=I.options});function Jf($,I){return new tA({type:"union",options:$,inclusive:!1,...L0.normalizeParams(I)})}var aA=o("ZodDiscriminatedUnion",($,I)=>{XQ.init($,I),gF.init($,I)});function zQ($,I,U){return new aA({type:"union",options:I,discriminator:$,...L0.normalizeParams(U)})}var sA=o("ZodIntersection",($,I)=>{yF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>wA($,U,Y,J)});function mI($,I){return new sA({type:"intersection",left:$,right:I})}var eA=o("ZodTuple",($,I)=>{qH.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>ZA($,U,Y,J),$.rest=(U)=>$.clone({...$._zod.def,rest:U})});function $P($,I,U){let Y=I instanceof i0,J=Y?U:I;return new eA({type:"tuple",items:$,rest:Y?I:null,...L0.normalizeParams(J)})}var fI=o("ZodRecord",($,I)=>{hF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>XA($,U,Y,J),$.keyType=I.keyType,$.valueType=I.valueType});function _1($,I,U){if(!I||!I._zod)return new fI({type:"record",keyType:Q0(),valueType:$,...L0.normalizeParams(I)});return new fI({type:"record",keyType:$,valueType:I,...L0.normalizeParams(U)})}function Qf($,I,U){let Y=M6($);return Y._zod.values=void 0,new fI({type:"record",keyType:Y,valueType:I,...L0.normalizeParams(U)})}function Kf($,I,U){return new fI({type:"record",keyType:$,valueType:I,mode:"loose",...L0.normalizeParams(U)})}var IP=o("ZodMap",($,I)=>{xF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>GA($,U,Y,J),$.keyType=I.keyType,$.valueType=I.valueType,$.min=(...U)=>$.check(H8(...U)),$.nonempty=(U)=>$.check(H8(1,U)),$.max=(...U)=>$.check(s5(...U)),$.size=(...U)=>$.check(E7(...U))});function qf($,I,U){return new IP({type:"map",keyType:$,valueType:I,...L0.normalizeParams(U)})}var UP=o("ZodSet",($,I)=>{kF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>HA($,U,Y,J),$.min=(...U)=>$.check(H8(...U)),$.nonempty=(U)=>$.check(H8(1,U)),$.max=(...U)=>$.check(s5(...U)),$.size=(...U)=>$.check(E7(...U))});function Gf($,I){return new UP({type:"set",valueType:$,...L0.normalizeParams(I)})}var bI=o("ZodEnum",($,I)=>{uF.init($,I),l0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>eM($,Y,J,Q),$.enum=I.entries,$.options=Object.values(I.entries);let U=new Set(Object.keys(I.entries));$.extract=(Y,J)=>{let Q={};for(let K of Y)if(U.has(K))Q[K]=I.entries[K];else throw Error(`Key ${K} not found in enum`);return new bI({...I,checks:[],...L0.normalizeParams(J),entries:Q})},$.exclude=(Y,J)=>{let Q={...I.entries};for(let K of Y)if(U.has(K))delete Q[K];else throw Error(`Key ${K} not found in enum`);return new bI({...I,checks:[],...L0.normalizeParams(J),entries:Q})}});function l4($,I){let U=Array.isArray($)?Object.fromEntries($.map((Y)=>[Y,Y])):$;return new bI({type:"enum",entries:U,...L0.normalizeParams(I)})}function Hf($,I){return new bI({type:"enum",entries:$,...L0.normalizeParams(I)})}var YP=o("ZodLiteral",($,I)=>{fF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>$A($,U,Y,J),$.values=new Set(I.values),Object.defineProperty($,"value",{get(){if(I.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return I.values[0]}})});function _0($,I){return new YP({type:"literal",values:Array.isArray($)?$:[$],...L0.normalizeParams(I)})}var JP=o("ZodFile",($,I)=>{bF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>YA($,U,Y,J),$.min=(U,Y)=>$.check(H8(U,Y)),$.max=(U,Y)=>$.check(s5(U,Y)),$.mime=(U,Y)=>$.check(jI(Array.isArray(U)?U:[U],Y))});function Wf($){return gM(JP,$)}var QP=o("ZodTransform",($,I)=>{iF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>qA($,U,Y,J),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new M7($.constructor.name);U.addIssue=(Q)=>{if(typeof Q==="string")U.issues.push(L0.issue(Q,U.value,I));else{let K=Q;if(K.fatal)K.continue=!1;K.code??(K.code="custom"),K.input??(K.input=U.value),K.inst??(K.inst=$),U.issues.push(L0.issue(K))}};let J=I.transform(U.value,U);if(J instanceof Promise)return J.then((Q)=>{return U.value=Q,U.fallback=!0,U});return U.value=J,U.fallback=!0,U}});function ZW($){return new QP({type:"transform",transform:$})}var XW=o("ZodOptional",($,I)=>{GH.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>uH($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function u1($){return new XW({type:"optional",innerType:$})}var KP=o("ZodExactOptional",($,I)=>{nF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>uH($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function qP($){return new KP({type:"optional",innerType:$})}var GP=o("ZodNullable",($,I)=>{pF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>zA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function GQ($){return new GP({type:"nullable",innerType:$})}function Vf($){return u1(GQ($))}var HP=o("ZodDefault",($,I)=>{cF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>DA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType,$.removeDefault=$.unwrap});function WP($,I){return new HP({type:"default",innerType:$,get defaultValue(){return typeof I==="function"?I():L0.shallowClone(I)}})}var VP=o("ZodPrefault",($,I)=>{dF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>OA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function wP($,I){return new VP({type:"prefault",innerType:$,get defaultValue(){return typeof I==="function"?I():L0.shallowClone(I)}})}var zW=o("ZodNonOptional",($,I)=>{mF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>LA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function ZP($,I){return new zW({type:"nonoptional",innerType:$,...L0.normalizeParams(I)})}var XP=o("ZodSuccess",($,I)=>{lF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>JA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function wf($){return new XP({type:"success",innerType:$})}var zP=o("ZodCatch",($,I)=>{oF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>FA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType,$.removeCatch=$.unwrap});function LP($,I){return new zP({type:"catch",innerType:$,catchValue:typeof I==="function"?I:()=>I})}var DP=o("ZodNaN",($,I)=>{rF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>IA($,U,Y,J)});function Zf($){return _M(DP,$)}var LQ=o("ZodPipe",($,I)=>{HH.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>NA($,U,Y,J),$.in=I.in,$.out=I.out});function lH($,I){return new LQ({type:"pipe",in:$,out:I})}var DQ=o("ZodCodec",($,I)=>{LQ.init($,I),sJ.init($,I)});function Xf($,I,U){return new DQ({type:"pipe",in:$,out:I,transform:U.decode,reverseTransform:U.encode})}function zf($){let I=$._zod.def;return new DQ({type:"pipe",in:I.out,out:I.in,transform:I.reverseTransform,reverseTransform:I.transform})}var OP=o("ZodPreprocess",($,I)=>{LQ.init($,I),tF.init($,I)}),FP=o("ZodReadonly",($,I)=>{aF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>MA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function NP($){return new FP({type:"readonly",innerType:$})}var MP=o("ZodTemplateLiteral",($,I)=>{sF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>UA($,U,Y,J)});function Lf($,I){return new MP({type:"template_literal",parts:$,...L0.normalizeParams(I)})}var AP=o("ZodLazy",($,I)=>{IN.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>PA($,U,Y,J),$.unwrap=()=>$._zod.def.getter()});function PP($){return new AP({type:"lazy",getter:$})}var TP=o("ZodPromise",($,I)=>{$N.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>AA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function Df($){return new TP({type:"promise",innerType:$})}var EP=o("ZodFunction",($,I)=>{eF.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>KA($,U,Y,J)});function Of($){return new EP({type:"function",input:Array.isArray($?.input)?$P($?.input):$?.input??$1(y1()),output:$?.output??y1()})}var OQ=o("ZodCustom",($,I)=>{UN.init($,I),l0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>QA($,U,Y,J)});function Ff($){let I=new k1({check:"custom"});return I._zod.check=$,I}function LW($,I){return yM(OQ,$??(()=>!0),I)}function BP($,I={}){return hM(OQ,$,I)}function vP($,I){return xM($,I)}var Nf=kM,Mf=uM;function Af($,I={}){let U=new OQ({type:"custom",check:"custom",fn:(Y)=>Y instanceof $,abort:!0,...L0.normalizeParams(I)});return U._zod.bag.Class=$,U._zod.check=(Y)=>{if(!(Y.value instanceof $))Y.issues.push({code:"invalid_type",expected:$.name,input:Y.value,inst:U,path:[...U._zod.def.path??[]]})},U}var Pf=(...$)=>fM({Codec:DQ,Boolean:cI,String:iI},...$);function Tf($){let I=PP(()=>{return h1([Q0($),X1(),O4(),VQ(),$1(I),_1(Q0(),I)])});return I}function FQ($,I){return new OP({type:"pipe",in:ZW($),out:I})}var RO0={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function CO0($){w4({customError:$})}function jO0(){return w4().customError}var RP;(function($){})(RP||(RP={}));var P0={...KQ,...iH,iso:Y9},_O0=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function SO0($,I){let U=$.$schema;if(U==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(U==="http://json-schema.org/draft-07/schema#")return"draft-7";if(U==="http://json-schema.org/draft-04/schema#")return"draft-4";return I??"draft-2020-12"}function gO0($,I){if(!$.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let U=$.slice(1).split("/").filter(Boolean);if(U.length===0)return I.rootSchema;let Y=I.version==="draft-2020-12"?"$defs":"definitions";if(U[0]===Y){let J=U[1];if(!J||!I.defs[J])throw Error(`Reference not found: ${$}`);return I.defs[J]}throw Error(`Reference not found: ${$}`)}function Ef($,I){if($.not!==void 0){if(typeof $.not==="object"&&Object.keys($.not).length===0)return P0.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if($.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if($.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if($.if!==void 0||$.then!==void 0||$.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if($.dependentSchemas!==void 0||$.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if($.$ref){let J=$.$ref;if(I.refs.has(J))return I.refs.get(J);if(I.processing.has(J))return P0.lazy(()=>{if(!I.refs.has(J))throw Error(`Circular reference not resolved: ${J}`);return I.refs.get(J)});I.processing.add(J);let Q=gO0(J,I),K=w6(Q,I);return I.refs.set(J,K),I.processing.delete(J),K}if($.enum!==void 0){let J=$.enum;if(I.version==="openapi-3.0"&&$.nullable===!0&&J.length===1&&J[0]===null)return P0.null();if(J.length===0)return P0.never();if(J.length===1)return P0.literal(J[0]);if(J.every((K)=>typeof K==="string"))return P0.enum(J);let Q=J.map((K)=>P0.literal(K));if(Q.length<2)return Q[0];return P0.union([Q[0],Q[1],...Q.slice(2)])}if($.const!==void 0)return P0.literal($.const);let U=$.type;if(Array.isArray(U)){let J=U.map((Q)=>{let K={...$,type:Q};return Ef(K,I)});if(J.length===0)return P0.never();if(J.length===1)return J[0];return P0.union(J)}if(!U)return P0.any();let Y;switch(U){case"string":{let J=P0.string();if($.format){let Q=$.format;if(Q==="email")J=J.check(P0.email());else if(Q==="uri"||Q==="uri-reference")J=J.check(P0.url());else if(Q==="uuid"||Q==="guid")J=J.check(P0.uuid());else if(Q==="date-time")J=J.check(P0.iso.datetime());else if(Q==="date")J=J.check(P0.iso.date());else if(Q==="time")J=J.check(P0.iso.time());else if(Q==="duration")J=J.check(P0.iso.duration());else if(Q==="ipv4")J=J.check(P0.ipv4());else if(Q==="ipv6")J=J.check(P0.ipv6());else if(Q==="mac")J=J.check(P0.mac());else if(Q==="cidr")J=J.check(P0.cidrv4());else if(Q==="cidr-v6")J=J.check(P0.cidrv6());else if(Q==="base64")J=J.check(P0.base64());else if(Q==="base64url")J=J.check(P0.base64url());else if(Q==="e164")J=J.check(P0.e164());else if(Q==="jwt")J=J.check(P0.jwt());else if(Q==="emoji")J=J.check(P0.emoji());else if(Q==="nanoid")J=J.check(P0.nanoid());else if(Q==="cuid")J=J.check(P0.cuid());else if(Q==="cuid2")J=J.check(P0.cuid2());else if(Q==="ulid")J=J.check(P0.ulid());else if(Q==="xid")J=J.check(P0.xid());else if(Q==="ksuid")J=J.check(P0.ksuid())}if(typeof $.minLength==="number")J=J.min($.minLength);if(typeof $.maxLength==="number")J=J.max($.maxLength);if($.pattern)J=J.regex(new RegExp($.pattern));Y=J;break}case"number":case"integer":{let J=U==="integer"?P0.number().int():P0.number();if(typeof $.minimum==="number")J=J.min($.minimum);if(typeof $.maximum==="number")J=J.max($.maximum);if(typeof $.exclusiveMinimum==="number")J=J.gt($.exclusiveMinimum);else if($.exclusiveMinimum===!0&&typeof $.minimum==="number")J=J.gt($.minimum);if(typeof $.exclusiveMaximum==="number")J=J.lt($.exclusiveMaximum);else if($.exclusiveMaximum===!0&&typeof $.maximum==="number")J=J.lt($.maximum);if(typeof $.multipleOf==="number")J=J.multipleOf($.multipleOf);Y=J;break}case"boolean":{Y=P0.boolean();break}case"null":{Y=P0.null();break}case"object":{let J={},Q=$.properties||{},K=new Set($.required||[]);for(let[G,H]of Object.entries(Q)){let W=w6(H,I);J[G]=K.has(G)?W:W.optional()}if($.propertyNames){let G=w6($.propertyNames,I),H=$.additionalProperties&&typeof $.additionalProperties==="object"?w6($.additionalProperties,I):P0.any();if(Object.keys(J).length===0){Y=P0.record(G,H);break}let W=P0.object(J).passthrough(),V=P0.looseRecord(G,H);Y=P0.intersection(W,V);break}if($.patternProperties){let G=$.patternProperties,H=Object.keys(G),W=[];for(let w of H){let Z=w6(G[w],I),z=P0.string().regex(new RegExp(w));W.push(P0.looseRecord(z,Z))}let V=[];if(Object.keys(J).length>0)V.push(P0.object(J).passthrough());if(V.push(...W),V.length===0)Y=P0.object({}).passthrough();else if(V.length===1)Y=V[0];else{let w=P0.intersection(V[0],V[1]);for(let Z=2;Zw6(G,I)),q=Q&&typeof Q==="object"&&!Array.isArray(Q)?w6(Q,I):void 0;if(q)Y=P0.tuple(K).rest(q);else Y=P0.tuple(K);if(typeof $.minItems==="number")Y=Y.check(P0.minLength($.minItems));if(typeof $.maxItems==="number")Y=Y.check(P0.maxLength($.maxItems))}else if(Array.isArray(Q)){let K=Q.map((G)=>w6(G,I)),q=$.additionalItems&&typeof $.additionalItems==="object"?w6($.additionalItems,I):void 0;if(q)Y=P0.tuple(K).rest(q);else Y=P0.tuple(K);if(typeof $.minItems==="number")Y=Y.check(P0.minLength($.minItems));if(typeof $.maxItems==="number")Y=Y.check(P0.maxLength($.maxItems))}else if(Q!==void 0){let K=w6(Q,I),q=P0.array(K);if(typeof $.minItems==="number")q=q.min($.minItems);if(typeof $.maxItems==="number")q=q.max($.maxItems);Y=q}else Y=P0.array(P0.any());break}default:throw Error(`Unsupported type: ${U}`)}return Y}function w6($,I){if(typeof $==="boolean")return $?P0.any():P0.never();let U=Ef($,I),Y=$.type||$.enum!==void 0||$.const!==void 0;if($.anyOf&&Array.isArray($.anyOf)){let q=$.anyOf.map((H)=>w6(H,I)),G=P0.union(q);U=Y?P0.intersection(U,G):G}if($.oneOf&&Array.isArray($.oneOf)){let q=$.oneOf.map((H)=>w6(H,I)),G=P0.xor(q);U=Y?P0.intersection(U,G):G}if($.allOf&&Array.isArray($.allOf))if($.allOf.length===0)U=Y?U:P0.any();else{let q=Y?U:w6($.allOf[0],I),G=Y?0:1;for(let H=G;H<$.allOf.length;H++)q=P0.intersection(q,w6($.allOf[H],I));U=q}if($.nullable===!0&&I.version==="openapi-3.0")U=P0.nullable(U);if($.readOnly===!0)U=P0.readonly(U);if($.default!==void 0)U=U.default($.default);let J={},Q=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let q of Q)if(q in $)J[q]=$[q];let K=["contentEncoding","contentMediaType","contentSchema"];for(let q of K)if(q in $)J[q]=$[q];for(let q of Object.keys($))if(!_O0.has(q))J[q]=$[q];if(Object.keys(J).length>0)I.registry.add(U,J);if($.description)U=U.describe($.description);return U}function Bf($,I){if(typeof $==="boolean")return $?P0.any():P0.never();let U;try{U=JSON.parse(JSON.stringify($))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let Y=SO0(U,I?.defaultTarget),J=U.$defs||U.definitions||{},Q={version:Y,defs:J,refs:new Map,processing:new Set,rootSchema:U,registry:I?.registry??d4};return w6(U,Q)}var CP={};o8(CP,{string:()=>yO0,number:()=>hO0,date:()=>uO0,boolean:()=>xO0,bigint:()=>kO0});function yO0($){return UM(iI,$)}function hO0($){return WM(pI,$)}function xO0($){return DM(cI,$)}function kO0($){return FM(dI,$)}function uO0($){return jM(wQ,$)}w4(eJ());var jP="2025-11-25";var vf=[jP,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],J9="io.modelcontextprotocol/related-task",OW="2.0",_4=LW(($)=>$!==null&&(typeof $==="object"||typeof $==="function")),Rf=h1([Q0(),X1().int()]),Cf=Q0(),aw1=m4({ttl:X1().optional(),pollInterval:X1().optional()}),fO0=T0({ttl:X1().optional()}),bO0=T0({taskId:Q0()}),_P=m4({progressToken:Rf.optional(),[J9]:bO0.optional()}),I$=T0({_meta:_P.optional()}),NQ=I$.extend({task:fO0.optional()}),jf=($)=>NQ.safeParse($).success,o4=T0({method:Q0(),params:I$.loose().optional()}),L$=T0({_meta:_P.optional()}),D$=T0({method:Q0(),params:L$.loose().optional()}),r4=m4({_meta:_P.optional()}),FW=h1([Q0(),X1().int()]),_f=T0({jsonrpc:_0(OW),id:FW,...o4.shape}).strict(),SP=($)=>_f.safeParse($).success,Sf=T0({jsonrpc:_0(OW),...D$.shape}).strict(),gf=($)=>Sf.safeParse($).success,gP=T0({jsonrpc:_0(OW),id:FW,result:r4}).strict(),MQ=($)=>gP.safeParse($).success;var J1;(function($){$[$.ConnectionClosed=-32000]="ConnectionClosed",$[$.RequestTimeout=-32001]="RequestTimeout",$[$.ParseError=-32700]="ParseError",$[$.InvalidRequest=-32600]="InvalidRequest",$[$.MethodNotFound=-32601]="MethodNotFound",$[$.InvalidParams=-32602]="InvalidParams",$[$.InternalError=-32603]="InternalError",$[$.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(J1||(J1={}));var yP=T0({jsonrpc:_0(OW),id:FW.optional(),error:T0({code:X1().int(),message:Q0(),data:y1().optional()})}).strict();var yf=($)=>yP.safeParse($).success;var hf=h1([_f,Sf,gP,yP]),sw1=h1([gP,yP]),NW=r4.strict(),iO0=L$.extend({requestId:FW.optional(),reason:Q0().optional()}),MW=D$.extend({method:_0("notifications/cancelled"),params:iO0}),nO0=T0({src:Q0(),mimeType:Q0().optional(),sizes:$1(Q0()).optional(),theme:l4(["light","dark"]).optional()}),AQ=T0({icons:$1(nO0).optional()}),lI=T0({name:Q0(),title:Q0().optional()}),xf=lI.extend({...lI.shape,...AQ.shape,version:Q0(),websiteUrl:Q0().optional(),description:Q0().optional()}),pO0=mI(T0({applyDefaults:O4().optional()}),_1(Q0(),y1())),cO0=FQ(($)=>{if($&&typeof $==="object"&&!Array.isArray($)){if(Object.keys($).length===0)return{form:{}}}return $},mI(T0({form:pO0.optional(),url:_4.optional()}),_1(Q0(),y1()).optional())),dO0=m4({list:_4.optional(),cancel:_4.optional(),requests:m4({sampling:m4({createMessage:_4.optional()}).optional(),elicitation:m4({create:_4.optional()}).optional()}).optional()}),mO0=m4({list:_4.optional(),cancel:_4.optional(),requests:m4({tools:m4({call:_4.optional()}).optional()}).optional()}),lO0=T0({experimental:_1(Q0(),_4).optional(),sampling:T0({context:_4.optional(),tools:_4.optional()}).optional(),elicitation:cO0.optional(),roots:T0({listChanged:O4().optional()}).optional(),tasks:dO0.optional(),extensions:_1(Q0(),_4).optional()}),oO0=I$.extend({protocolVersion:Q0(),capabilities:lO0,clientInfo:xf}),hP=o4.extend({method:_0("initialize"),params:oO0});var rO0=T0({experimental:_1(Q0(),_4).optional(),logging:_4.optional(),completions:_4.optional(),prompts:T0({listChanged:O4().optional()}).optional(),resources:T0({subscribe:O4().optional(),listChanged:O4().optional()}).optional(),tools:T0({listChanged:O4().optional()}).optional(),tasks:mO0.optional(),extensions:_1(Q0(),_4).optional()}),tO0=r4.extend({protocolVersion:Q0(),capabilities:rO0,serverInfo:xf,instructions:Q0().optional()}),xP=D$.extend({method:_0("notifications/initialized"),params:L$.optional()});var AW=o4.extend({method:_0("ping"),params:I$.optional()}),aO0=T0({progress:X1(),total:u1(X1()),message:u1(Q0())}),sO0=T0({...L$.shape,...aO0.shape,progressToken:Rf}),PW=D$.extend({method:_0("notifications/progress"),params:sO0}),eO0=I$.extend({cursor:Cf.optional()}),PQ=o4.extend({params:eO0.optional()}),TQ=r4.extend({nextCursor:Cf.optional()}),$F0=l4(["working","input_required","completed","failed","cancelled"]),EQ=T0({taskId:Q0(),status:$F0,ttl:h1([X1(),VQ()]),createdAt:Q0(),lastUpdatedAt:Q0(),pollInterval:u1(X1()),statusMessage:u1(Q0())}),oI=r4.extend({task:EQ}),IF0=L$.merge(EQ),BQ=D$.extend({method:_0("notifications/tasks/status"),params:IF0}),TW=o4.extend({method:_0("tasks/get"),params:I$.extend({taskId:Q0()})}),EW=r4.merge(EQ),BW=o4.extend({method:_0("tasks/result"),params:I$.extend({taskId:Q0()})}),ew1=r4.loose(),vW=PQ.extend({method:_0("tasks/list")}),RW=TQ.extend({tasks:$1(EQ)}),CW=o4.extend({method:_0("tasks/cancel"),params:I$.extend({taskId:Q0()})}),kf=r4.merge(EQ),uf=T0({uri:Q0(),mimeType:u1(Q0()),_meta:_1(Q0(),y1()).optional()}),ff=uf.extend({text:Q0()}),kP=Q0().refine(($)=>{try{return atob($),!0}catch{return!1}},{message:"Invalid Base64 string"}),bf=uf.extend({blob:kP}),vQ=l4(["user","assistant"]),rI=T0({audience:$1(vQ).optional(),priority:X1().min(0).max(1).optional(),lastModified:Y9.datetime({offset:!0}).optional()}),nf=T0({...lI.shape,...AQ.shape,uri:Q0(),description:u1(Q0()),mimeType:u1(Q0()),size:u1(X1()),annotations:rI.optional(),_meta:u1(m4({}))}),UF0=T0({...lI.shape,...AQ.shape,uriTemplate:Q0(),description:u1(Q0()),mimeType:u1(Q0()),annotations:rI.optional(),_meta:u1(m4({}))}),YF0=PQ.extend({method:_0("resources/list")}),JF0=TQ.extend({resources:$1(nf)}),QF0=PQ.extend({method:_0("resources/templates/list")}),KF0=TQ.extend({resourceTemplates:$1(UF0)}),uP=I$.extend({uri:Q0()}),qF0=uP,GF0=o4.extend({method:_0("resources/read"),params:qF0}),HF0=r4.extend({contents:$1(h1([ff,bf]))}),WF0=D$.extend({method:_0("notifications/resources/list_changed"),params:L$.optional()}),VF0=uP,wF0=o4.extend({method:_0("resources/subscribe"),params:VF0}),ZF0=uP,XF0=o4.extend({method:_0("resources/unsubscribe"),params:ZF0}),zF0=L$.extend({uri:Q0()}),LF0=D$.extend({method:_0("notifications/resources/updated"),params:zF0}),DF0=T0({name:Q0(),description:u1(Q0()),required:u1(O4())}),OF0=T0({...lI.shape,...AQ.shape,description:u1(Q0()),arguments:u1($1(DF0)),_meta:u1(m4({}))}),FF0=PQ.extend({method:_0("prompts/list")}),NF0=TQ.extend({prompts:$1(OF0)}),MF0=I$.extend({name:Q0(),arguments:_1(Q0(),Q0()).optional()}),AF0=o4.extend({method:_0("prompts/get"),params:MF0}),fP=T0({type:_0("text"),text:Q0(),annotations:rI.optional(),_meta:_1(Q0(),y1()).optional()}),bP=T0({type:_0("image"),data:kP,mimeType:Q0(),annotations:rI.optional(),_meta:_1(Q0(),y1()).optional()}),iP=T0({type:_0("audio"),data:kP,mimeType:Q0(),annotations:rI.optional(),_meta:_1(Q0(),y1()).optional()}),PF0=T0({type:_0("tool_use"),name:Q0(),id:Q0(),input:_1(Q0(),y1()),_meta:_1(Q0(),y1()).optional()}),TF0=T0({type:_0("resource"),resource:h1([ff,bf]),annotations:rI.optional(),_meta:_1(Q0(),y1()).optional()}),EF0=nf.extend({type:_0("resource_link")}),nP=h1([fP,bP,iP,EF0,TF0]),BF0=T0({role:vQ,content:nP}),vF0=r4.extend({description:Q0().optional(),messages:$1(BF0)}),RF0=D$.extend({method:_0("notifications/prompts/list_changed"),params:L$.optional()}),CF0=T0({title:Q0().optional(),readOnlyHint:O4().optional(),destructiveHint:O4().optional(),idempotentHint:O4().optional(),openWorldHint:O4().optional()}),jF0=T0({taskSupport:l4(["required","optional","forbidden"]).optional()}),pf=T0({...lI.shape,...AQ.shape,description:Q0().optional(),inputSchema:T0({type:_0("object"),properties:_1(Q0(),_4).optional(),required:$1(Q0()).optional()}).catchall(y1()),outputSchema:T0({type:_0("object"),properties:_1(Q0(),_4).optional(),required:$1(Q0()).optional()}).catchall(y1()).optional(),annotations:CF0.optional(),execution:jF0.optional(),_meta:_1(Q0(),y1()).optional()}),pP=PQ.extend({method:_0("tools/list")}),_F0=TQ.extend({tools:$1(pf)}),jW=r4.extend({content:$1(nP).default([]),structuredContent:_1(Q0(),y1()).optional(),isError:O4().optional()}),$Z1=jW.or(r4.extend({toolResult:y1()})),SF0=NQ.extend({name:Q0(),arguments:_1(Q0(),y1()).optional()}),RQ=o4.extend({method:_0("tools/call"),params:SF0}),gF0=D$.extend({method:_0("notifications/tools/list_changed"),params:L$.optional()}),IZ1=T0({autoRefresh:O4().default(!0),debounceMs:X1().int().nonnegative().default(300)}),CQ=l4(["debug","info","notice","warning","error","critical","alert","emergency"]),yF0=I$.extend({level:CQ}),cP=o4.extend({method:_0("logging/setLevel"),params:yF0}),hF0=L$.extend({level:CQ,logger:Q0().optional(),data:y1()}),xF0=D$.extend({method:_0("notifications/message"),params:hF0}),kF0=T0({name:Q0().optional()}),uF0=T0({hints:$1(kF0).optional(),costPriority:X1().min(0).max(1).optional(),speedPriority:X1().min(0).max(1).optional(),intelligencePriority:X1().min(0).max(1).optional()}),fF0=T0({mode:l4(["auto","required","none"]).optional()}),bF0=T0({type:_0("tool_result"),toolUseId:Q0().describe("The unique identifier for the corresponding tool call."),content:$1(nP).default([]),structuredContent:T0({}).loose().optional(),isError:O4().optional(),_meta:_1(Q0(),y1()).optional()}),iF0=zQ("type",[fP,bP,iP]),DW=zQ("type",[fP,bP,iP,PF0,bF0]),nF0=T0({role:vQ,content:h1([DW,$1(DW)]),_meta:_1(Q0(),y1()).optional()}),pF0=NQ.extend({messages:$1(nF0),modelPreferences:uF0.optional(),systemPrompt:Q0().optional(),includeContext:l4(["none","thisServer","allServers"]).optional(),temperature:X1().optional(),maxTokens:X1().int(),stopSequences:$1(Q0()).optional(),metadata:_4.optional(),tools:$1(pf).optional(),toolChoice:fF0.optional()}),cF0=o4.extend({method:_0("sampling/createMessage"),params:pF0}),jQ=r4.extend({model:Q0(),stopReason:u1(l4(["endTurn","stopSequence","maxTokens"]).or(Q0())),role:vQ,content:iF0}),dP=r4.extend({model:Q0(),stopReason:u1(l4(["endTurn","stopSequence","maxTokens","toolUse"]).or(Q0())),role:vQ,content:h1([DW,$1(DW)])}),dF0=T0({type:_0("boolean"),title:Q0().optional(),description:Q0().optional(),default:O4().optional()}),mF0=T0({type:_0("string"),title:Q0().optional(),description:Q0().optional(),minLength:X1().optional(),maxLength:X1().optional(),format:l4(["email","uri","date","date-time"]).optional(),default:Q0().optional()}),lF0=T0({type:l4(["number","integer"]),title:Q0().optional(),description:Q0().optional(),minimum:X1().optional(),maximum:X1().optional(),default:X1().optional()}),oF0=T0({type:_0("string"),title:Q0().optional(),description:Q0().optional(),enum:$1(Q0()),default:Q0().optional()}),rF0=T0({type:_0("string"),title:Q0().optional(),description:Q0().optional(),oneOf:$1(T0({const:Q0(),title:Q0()})),default:Q0().optional()}),tF0=T0({type:_0("string"),title:Q0().optional(),description:Q0().optional(),enum:$1(Q0()),enumNames:$1(Q0()).optional(),default:Q0().optional()}),aF0=h1([oF0,rF0]),sF0=T0({type:_0("array"),title:Q0().optional(),description:Q0().optional(),minItems:X1().optional(),maxItems:X1().optional(),items:T0({type:_0("string"),enum:$1(Q0())}),default:$1(Q0()).optional()}),eF0=T0({type:_0("array"),title:Q0().optional(),description:Q0().optional(),minItems:X1().optional(),maxItems:X1().optional(),items:T0({anyOf:$1(T0({const:Q0(),title:Q0()}))}),default:$1(Q0()).optional()}),$N0=h1([sF0,eF0]),IN0=h1([tF0,aF0,$N0]),UN0=h1([IN0,dF0,mF0,lF0]),YN0=NQ.extend({mode:_0("form").optional(),message:Q0(),requestedSchema:T0({type:_0("object"),properties:_1(Q0(),UN0),required:$1(Q0()).optional()})}),JN0=NQ.extend({mode:_0("url"),message:Q0(),elicitationId:Q0(),url:Q0().url()}),QN0=h1([YN0,JN0]),KN0=o4.extend({method:_0("elicitation/create"),params:QN0}),qN0=L$.extend({elicitationId:Q0()}),GN0=D$.extend({method:_0("notifications/elicitation/complete"),params:qN0}),tI=r4.extend({action:l4(["accept","decline","cancel"]),content:FQ(($)=>$===null?void 0:$,_1(Q0(),h1([Q0(),X1(),O4(),$1(Q0())])).optional())}),HN0=T0({type:_0("ref/resource"),uri:Q0()});var WN0=T0({type:_0("ref/prompt"),name:Q0()}),VN0=I$.extend({ref:h1([WN0,HN0]),argument:T0({name:Q0(),value:Q0()}),context:T0({arguments:_1(Q0(),Q0()).optional()}).optional()}),wN0=o4.extend({method:_0("completion/complete"),params:VN0});var ZN0=r4.extend({completion:m4({values:$1(Q0()).max(100),total:u1(X1().int()),hasMore:u1(O4())})}),XN0=T0({uri:Q0().startsWith("file://"),name:Q0().optional(),_meta:_1(Q0(),y1()).optional()}),zN0=o4.extend({method:_0("roots/list"),params:I$.optional()}),mP=r4.extend({roots:$1(XN0)}),LN0=D$.extend({method:_0("notifications/roots/list_changed"),params:L$.optional()}),UZ1=h1([AW,hP,wN0,cP,AF0,FF0,YF0,QF0,GF0,wF0,XF0,RQ,pP,TW,BW,vW,CW]),YZ1=h1([MW,PW,xP,LN0,BQ]),JZ1=h1([NW,jQ,dP,tI,mP,EW,RW,oI]),QZ1=h1([AW,cF0,KN0,zN0,TW,BW,vW,CW]),KZ1=h1([MW,PW,xF0,LF0,WF0,gF0,RF0,BQ,GN0]),qZ1=h1([NW,tO0,ZN0,vF0,NF0,JF0,KF0,HF0,jW,_F0,EW,RW,oI]);class r0 extends Error{constructor($,I,U){super(`MCP error ${$}: ${I}`);this.code=$,this.data=U,this.name="McpError"}static fromError($,I,U){if($===J1.UrlElicitationRequired&&U){let Y=U;if(Y.elicitations)return new cf(Y.elicitations,I)}return new r0($,I,U)}}class cf extends r0{constructor($,I=`URL elicitation${$.length>1?"s":""} required`){super(J1.UrlElicitationRequired,I,{elicitations:$})}get elicitations(){return this.data?.elicitations??[]}}function Q9($){return $==="completed"||$==="failed"||$==="cancelled"}var DN0=Symbol("Let zodToJsonSchema decide on which parser to use");var bZ1=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function lP($){let U=bH($)?.method;if(!U)throw Error("Schema is missing a method literal");let Y=Zu(U);if(typeof Y!=="string")throw Error("Schema method literal must be a string");return Y}function oP($,I){let U=U9($,I);if(!U.success)throw U.error;return U.data}var PN0=60000;class rP{constructor($){if(this._options=$,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(MW,(I)=>{this._oncancel(I)}),this.setNotificationHandler(PW,(I)=>{this._onprogress(I)}),this.setRequestHandler(AW,(I)=>({})),this._taskStore=$?.taskStore,this._taskMessageQueue=$?.taskMessageQueue,this._taskStore)this.setRequestHandler(TW,async(I,U)=>{let Y=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!Y)throw new r0(J1.InvalidParams,"Failed to retrieve task: Task not found");return{...Y}}),this.setRequestHandler(BW,async(I,U)=>{let Y=async()=>{let J=I.params.taskId;if(this._taskMessageQueue){let K;while(K=await this._taskMessageQueue.dequeue(J,U.sessionId)){if(K.type==="response"||K.type==="error"){let q=K.message,G=q.id,H=this._requestResolvers.get(G);if(H)if(this._requestResolvers.delete(G),K.type==="response")H(q);else{let W=q,V=new r0(W.error.code,W.error.message,W.error.data);H(V)}else{let W=K.type==="response"?"Response":"Error";this._onerror(Error(`${W} handler missing for request ${G}`))}continue}await this._transport?.send(K.message,{relatedRequestId:U.requestId})}}let Q=await this._taskStore.getTask(J,U.sessionId);if(!Q)throw new r0(J1.InvalidParams,`Task not found: ${J}`);if(!Q9(Q.status))return await this._waitForTaskUpdate(J,U.signal),await Y();if(Q9(Q.status)){let K=await this._taskStore.getTaskResult(J,U.sessionId);return this._clearTaskQueue(J),{...K,_meta:{...K._meta,[J9]:{taskId:J}}}}return await Y()};return await Y()}),this.setRequestHandler(vW,async(I,U)=>{try{let{tasks:Y,nextCursor:J}=await this._taskStore.listTasks(I.params?.cursor,U.sessionId);return{tasks:Y,nextCursor:J,_meta:{}}}catch(Y){throw new r0(J1.InvalidParams,`Failed to list tasks: ${Y instanceof Error?Y.message:String(Y)}`)}}),this.setRequestHandler(CW,async(I,U)=>{try{let Y=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!Y)throw new r0(J1.InvalidParams,`Task not found: ${I.params.taskId}`);if(Q9(Y.status))throw new r0(J1.InvalidParams,`Cannot cancel task in terminal status: ${Y.status}`);await this._taskStore.updateTaskStatus(I.params.taskId,"cancelled","Client cancelled task execution.",U.sessionId),this._clearTaskQueue(I.params.taskId);let J=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!J)throw new r0(J1.InvalidParams,`Task not found after cancellation: ${I.params.taskId}`);return{_meta:{},...J}}catch(Y){if(Y instanceof r0)throw Y;throw new r0(J1.InvalidRequest,`Failed to cancel task: ${Y instanceof Error?Y.message:String(Y)}`)}})}async _oncancel($){if(!$.params.requestId)return;this._requestHandlerAbortControllers.get($.params.requestId)?.abort($.params.reason)}_setupTimeout($,I,U,Y,J=!1){this._timeoutInfo.set($,{timeoutId:setTimeout(Y,I),startTime:Date.now(),timeout:I,maxTotalTimeout:U,resetTimeoutOnProgress:J,onTimeout:Y})}_resetTimeout($){let I=this._timeoutInfo.get($);if(!I)return!1;let U=Date.now()-I.startTime;if(I.maxTotalTimeout&&U>=I.maxTotalTimeout)throw this._timeoutInfo.delete($),r0.fromError(J1.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:I.maxTotalTimeout,totalElapsed:U});return clearTimeout(I.timeoutId),I.timeoutId=setTimeout(I.onTimeout,I.timeout),!0}_cleanupTimeout($){let I=this._timeoutInfo.get($);if(I)clearTimeout(I.timeoutId),this._timeoutInfo.delete($)}async connect($){if(this._transport)throw Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=$;let I=this.transport?.onclose;this._transport.onclose=()=>{I?.(),this._onclose()};let U=this.transport?.onerror;this._transport.onerror=(J)=>{U?.(J),this._onerror(J)};let Y=this._transport?.onmessage;this._transport.onmessage=(J,Q)=>{if(Y?.(J,Q),MQ(J)||yf(J))this._onresponse(J);else if(SP(J))this._onrequest(J,Q);else if(gf(J))this._onnotification(J);else this._onerror(Error(`Unknown message type: ${JSON.stringify(J)}`))},await this._transport.start()}_onclose(){let $=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let U of this._timeoutInfo.values())clearTimeout(U.timeoutId);this._timeoutInfo.clear();for(let U of this._requestHandlerAbortControllers.values())U.abort();this._requestHandlerAbortControllers.clear();let I=r0.fromError(J1.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let U of $.values())U(I)}_onerror($){this.onerror?.($)}_onnotification($){let I=this._notificationHandlers.get($.method)??this.fallbackNotificationHandler;if(I===void 0)return;Promise.resolve().then(()=>I($)).catch((U)=>this._onerror(Error(`Uncaught error in notification handler: ${U}`)))}_onrequest($,I){let U=this._requestHandlers.get($.method)??this.fallbackRequestHandler,Y=this._transport,J=$.params?._meta?.[J9]?.taskId;if(U===void 0){let H={jsonrpc:"2.0",id:$.id,error:{code:J1.MethodNotFound,message:"Method not found"}};if(J&&this._taskMessageQueue)this._enqueueTaskMessage(J,{type:"error",message:H,timestamp:Date.now()},Y?.sessionId).catch((W)=>this._onerror(Error(`Failed to enqueue error response: ${W}`)));else Y?.send(H).catch((W)=>this._onerror(Error(`Failed to send an error response: ${W}`)));return}let Q=new AbortController;this._requestHandlerAbortControllers.set($.id,Q);let K=jf($.params)?$.params.task:void 0,q=this._taskStore?this.requestTaskStore($,Y?.sessionId):void 0,G={signal:Q.signal,sessionId:Y?.sessionId,_meta:$.params?._meta,sendNotification:async(H)=>{if(Q.signal.aborted)return;let W={relatedRequestId:$.id};if(J)W.relatedTask={taskId:J};await this.notification(H,W)},sendRequest:async(H,W,V)=>{if(Q.signal.aborted)throw new r0(J1.ConnectionClosed,"Request was cancelled");let w={...V,relatedRequestId:$.id};if(J&&!w.relatedTask)w.relatedTask={taskId:J};let Z=w.relatedTask?.taskId??J;if(Z&&q)await q.updateTaskStatus(Z,"input_required");return await this.request(H,W,w)},authInfo:I?.authInfo,requestId:$.id,requestInfo:I?.requestInfo,taskId:J,taskStore:q,taskRequestedTtl:K?.ttl,closeSSEStream:I?.closeSSEStream,closeStandaloneSSEStream:I?.closeStandaloneSSEStream};Promise.resolve().then(()=>{if(K)this.assertTaskHandlerCapability($.method)}).then(()=>U($,G)).then(async(H)=>{if(Q.signal.aborted)return;let W={result:H,jsonrpc:"2.0",id:$.id};if(J&&this._taskMessageQueue)await this._enqueueTaskMessage(J,{type:"response",message:W,timestamp:Date.now()},Y?.sessionId);else await Y?.send(W)},async(H)=>{if(Q.signal.aborted)return;let W={jsonrpc:"2.0",id:$.id,error:{code:Number.isSafeInteger(H.code)?H.code:J1.InternalError,message:H.message??"Internal error",...H.data!==void 0&&{data:H.data}}};if(J&&this._taskMessageQueue)await this._enqueueTaskMessage(J,{type:"error",message:W,timestamp:Date.now()},Y?.sessionId);else await Y?.send(W)}).catch((H)=>this._onerror(Error(`Failed to send response: ${H}`))).finally(()=>{if(this._requestHandlerAbortControllers.get($.id)===Q)this._requestHandlerAbortControllers.delete($.id)})}_onprogress($){let{progressToken:I,...U}=$.params,Y=Number(I),J=this._progressHandlers.get(Y);if(!J){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify($)}`));return}let Q=this._responseHandlers.get(Y),K=this._timeoutInfo.get(Y);if(K&&Q&&K.resetTimeoutOnProgress)try{this._resetTimeout(Y)}catch(q){this._responseHandlers.delete(Y),this._progressHandlers.delete(Y),this._cleanupTimeout(Y),Q(q);return}J(U)}_onresponse($){let I=Number($.id),U=this._requestResolvers.get(I);if(U){if(this._requestResolvers.delete(I),MQ($))U($);else{let Q=new r0($.error.code,$.error.message,$.error.data);U(Q)}return}let Y=this._responseHandlers.get(I);if(Y===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify($)}`));return}this._responseHandlers.delete(I),this._cleanupTimeout(I);let J=!1;if(MQ($)&&$.result&&typeof $.result==="object"){let Q=$.result;if(Q.task&&typeof Q.task==="object"){let K=Q.task;if(typeof K.taskId==="string")J=!0,this._taskProgressTokens.set(K.taskId,I)}}if(!J)this._progressHandlers.delete(I);if(MQ($))Y($);else{let Q=r0.fromError($.error.code,$.error.message,$.error.data);Y(Q)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream($,I,U){let{task:Y}=U??{};if(!Y){try{yield{type:"result",result:await this.request($,I,U)}}catch(Q){yield{type:"error",error:Q instanceof r0?Q:new r0(J1.InternalError,String(Q))}}return}let J;try{let Q=await this.request($,oI,U);if(Q.task)J=Q.task.taskId,yield{type:"taskCreated",task:Q.task};else throw new r0(J1.InternalError,"Task creation did not return a task");while(!0){let K=await this.getTask({taskId:J},U);if(yield{type:"taskStatus",task:K},Q9(K.status)){if(K.status==="completed")yield{type:"result",result:await this.getTaskResult({taskId:J},I,U)};else if(K.status==="failed")yield{type:"error",error:new r0(J1.InternalError,`Task ${J} failed`)};else if(K.status==="cancelled")yield{type:"error",error:new r0(J1.InternalError,`Task ${J} was cancelled`)};return}if(K.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:J},I,U)};return}let q=K.pollInterval??this._options?.defaultTaskPollInterval??1000;await new Promise((G)=>setTimeout(G,q)),U?.signal?.throwIfAborted()}}catch(Q){yield{type:"error",error:Q instanceof r0?Q:new r0(J1.InternalError,String(Q))}}}request($,I,U){let{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q,task:K,relatedTask:q}=U??{};return new Promise((G,H)=>{let W=(F)=>{H(F)};if(!this._transport){W(Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{if(this.assertCapabilityForMethod($.method),K)this.assertTaskCapability($.method)}catch(F){W(F);return}U?.signal?.throwIfAborted();let V=this._requestMessageId++,w={...$,jsonrpc:"2.0",id:V};if(U?.onprogress)this._progressHandlers.set(V,U.onprogress),w.params={...$.params,_meta:{...$.params?._meta||{},progressToken:V}};if(K)w.params={...w.params,task:K};if(q)w.params={...w.params,_meta:{...w.params?._meta||{},[J9]:q}};let Z=(F)=>{this._responseHandlers.delete(V),this._progressHandlers.delete(V),this._cleanupTimeout(V),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:V,reason:String(F)}},{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q}).catch((T)=>this._onerror(Error(`Failed to send cancellation: ${T}`)));let E=F instanceof r0?F:new r0(J1.RequestTimeout,String(F));H(E)};this._responseHandlers.set(V,(F)=>{if(U?.signal?.aborted)return;if(F instanceof Error)return H(F);try{let E=U9(I,F.result);if(!E.success)H(E.error);else G(E.data)}catch(E){H(E)}}),U?.signal?.addEventListener("abort",()=>{Z(U?.signal?.reason)});let z=U?.timeout??PN0,L=()=>Z(r0.fromError(J1.RequestTimeout,"Request timed out",{timeout:z}));this._setupTimeout(V,z,U?.maxTotalTimeout,L,U?.resetTimeoutOnProgress??!1);let D=q?.taskId;if(D){let F=(E)=>{let T=this._responseHandlers.get(V);if(T)T(E);else this._onerror(Error(`Response handler missing for side-channeled request ${V}`))};this._requestResolvers.set(V,F),this._enqueueTaskMessage(D,{type:"request",message:w,timestamp:Date.now()}).catch((E)=>{this._cleanupTimeout(V),H(E)})}else this._transport.send(w,{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q}).catch((F)=>{this._cleanupTimeout(V),H(F)})})}async getTask($,I){return this.request({method:"tasks/get",params:$},EW,I)}async getTaskResult($,I,U){return this.request({method:"tasks/result",params:$},I,U)}async listTasks($,I){return this.request({method:"tasks/list",params:$},RW,I)}async cancelTask($,I){return this.request({method:"tasks/cancel",params:$},kf,I)}async notification($,I){if(!this._transport)throw Error("Not connected");this.assertNotificationCapability($.method);let U=I?.relatedTask?.taskId;if(U){let K={...$,jsonrpc:"2.0",params:{...$.params,_meta:{...$.params?._meta||{},[J9]:I.relatedTask}}};await this._enqueueTaskMessage(U,{type:"notification",message:K,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes($.method)&&!$.params&&!I?.relatedRequestId&&!I?.relatedTask){if(this._pendingDebouncedNotifications.has($.method))return;this._pendingDebouncedNotifications.add($.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete($.method),!this._transport)return;let K={...$,jsonrpc:"2.0"};if(I?.relatedTask)K={...K,params:{...K.params,_meta:{...K.params?._meta||{},[J9]:I.relatedTask}}};this._transport?.send(K,I).catch((q)=>this._onerror(q))});return}let Q={...$,jsonrpc:"2.0"};if(I?.relatedTask)Q={...Q,params:{...Q.params,_meta:{...Q.params?._meta||{},[J9]:I.relatedTask}}};await this._transport.send(Q,I)}setRequestHandler($,I){let U=lP($);this.assertRequestHandlerCapability(U),this._requestHandlers.set(U,(Y,J)=>{let Q=oP($,Y);return Promise.resolve(I(Q,J))})}removeRequestHandler($){this._requestHandlers.delete($)}assertCanSetRequestHandler($){if(this._requestHandlers.has($))throw Error(`A request handler for ${$} already exists, which would be overridden`)}setNotificationHandler($,I){let U=lP($);this._notificationHandlers.set(U,(Y)=>{let J=oP($,Y);return Promise.resolve(I(J))})}removeNotificationHandler($){this._notificationHandlers.delete($)}_cleanupTaskProgressHandler($){let I=this._taskProgressTokens.get($);if(I!==void 0)this._progressHandlers.delete(I),this._taskProgressTokens.delete($)}async _enqueueTaskMessage($,I,U){if(!this._taskStore||!this._taskMessageQueue)throw Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let Y=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue($,I,U,Y)}async _clearTaskQueue($,I){if(this._taskMessageQueue){let U=await this._taskMessageQueue.dequeueAll($,I);for(let Y of U)if(Y.type==="request"&&SP(Y.message)){let J=Y.message.id,Q=this._requestResolvers.get(J);if(Q)Q(new r0(J1.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(J);else this._onerror(Error(`Resolver missing for request ${J} during task ${$} cleanup`))}}}async _waitForTaskUpdate($,I){let U=this._options?.defaultTaskPollInterval??1000;try{let Y=await this._taskStore?.getTask($);if(Y?.pollInterval)U=Y.pollInterval}catch{}return new Promise((Y,J)=>{if(I.aborted){J(new r0(J1.InvalidRequest,"Request cancelled"));return}let Q=setTimeout(Y,U);I.addEventListener("abort",()=>{clearTimeout(Q),J(new r0(J1.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore($,I){let U=this._taskStore;if(!U)throw Error("No task store configured");return{createTask:async(Y)=>{if(!$)throw Error("No request provided");return await U.createTask(Y,$.id,{method:$.method,params:$.params},I)},getTask:async(Y)=>{let J=await U.getTask(Y,I);if(!J)throw new r0(J1.InvalidParams,"Failed to retrieve task: Task not found");return J},storeTaskResult:async(Y,J,Q)=>{await U.storeTaskResult(Y,J,Q,I);let K=await U.getTask(Y,I);if(K){let q=BQ.parse({method:"notifications/tasks/status",params:K});if(await this.notification(q),Q9(K.status))this._cleanupTaskProgressHandler(Y)}},getTaskResult:(Y)=>{return U.getTaskResult(Y,I)},updateTaskStatus:async(Y,J,Q)=>{let K=await U.getTask(Y,I);if(!K)throw new r0(J1.InvalidParams,`Task "${Y}" not found - it may have been cleaned up`);if(Q9(K.status))throw new r0(J1.InvalidParams,`Cannot update task "${Y}" from terminal status "${K.status}" to "${J}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await U.updateTaskStatus(Y,J,Q,I);let q=await U.getTask(Y,I);if(q){let G=BQ.parse({method:"notifications/tasks/status",params:q});if(await this.notification(G),Q9(q.status))this._cleanupTaskProgressHandler(Y)}},listTasks:(Y)=>{return U.listTasks(Y,I)}}}}function df($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function mf($,I){let U={...$};for(let Y in I){let J=Y,Q=I[J];if(Q===void 0)continue;let K=U[J];if(df(K)&&df(Q))U[J]={...K,...Q};else U[J]=Q}return U}var Cc=ZI(cT(),1),jc=ZI(Rc(),1);function dR0(){let $=new Cc.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return jc.default($),$}class $E{constructor($){this._ajv=$??dR0()}getValidator($){let I="$id"in $&&typeof $.$id==="string"?this._ajv.getSchema($.$id)??this._ajv.compile($):this._ajv.compile($);return(U)=>{if(I(U))return{valid:!0,data:U,errorMessage:void 0};else return{valid:!1,data:void 0,errorMessage:this._ajv.errorsText(I.errors)}}}}class IE{constructor($){this._server=$}requestStream($,I,U){return this._server.requestStream($,I,U)}createMessageStream($,I){let U=this._server.getClientCapabilities();if(($.tools||$.toolChoice)&&!U?.sampling?.tools)throw Error("Client does not support sampling tools capability.");if($.messages.length>0){let Y=$.messages[$.messages.length-1],J=Array.isArray(Y.content)?Y.content:[Y.content],Q=J.some((H)=>H.type==="tool_result"),K=$.messages.length>1?$.messages[$.messages.length-2]:void 0,q=K?Array.isArray(K.content)?K.content:[K.content]:[],G=q.some((H)=>H.type==="tool_use");if(Q){if(J.some((H)=>H.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!G)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(G){let H=new Set(q.filter((V)=>V.type==="tool_use").map((V)=>V.id)),W=new Set(J.filter((V)=>V.type==="tool_result").map((V)=>V.toolUseId));if(H.size!==W.size||![...H].every((V)=>W.has(V)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:$},jQ,I)}elicitInputStream($,I){let U=this._server.getClientCapabilities(),Y=$.mode??"form";switch(Y){case"url":{if(!U?.elicitation?.url)throw Error("Client does not support url elicitation.");break}case"form":{if(!U?.elicitation?.form)throw Error("Client does not support form elicitation.");break}}let J=Y==="form"&&$.mode===void 0?{...$,mode:"form"}:$;return this.requestStream({method:"elicitation/create",params:J},tI,I)}async getTask($,I){return this._server.getTask({taskId:$},I)}async getTaskResult($,I,U){return this._server.getTaskResult({taskId:$},I,U)}async listTasks($,I){return this._server.listTasks($?{cursor:$}:void 0,I)}async cancelTask($,I){return this._server.cancelTask({taskId:$},I)}}function _c($,I,U){if(!$)throw Error(`${U} does not support task creation (required for ${I})`);switch(I){case"tools/call":if(!$.tools?.call)throw Error(`${U} does not support task creation for tools/call (required for ${I})`);break;default:break}}function Sc($,I,U){if(!$)throw Error(`${U} does not support task creation (required for ${I})`);switch(I){case"sampling/createMessage":if(!$.sampling?.createMessage)throw Error(`${U} does not support task creation for sampling/createMessage (required for ${I})`);break;case"elicitation/create":if(!$.elicitation?.create)throw Error(`${U} does not support task creation for elicitation/create (required for ${I})`);break;default:break}}class UE extends rP{constructor($,I){super(I);if(this._serverInfo=$,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(CQ.options.map((U,Y)=>[U,Y])),this.isMessageIgnored=(U,Y)=>{let J=this._loggingLevels.get(Y);return J?this.LOG_LEVEL_SEVERITY.get(U)this._oninitialize(U)),this.setNotificationHandler(xP,()=>this.oninitialized?.()),this._capabilities.logging)this.setRequestHandler(cP,async(U,Y)=>{let J=Y.sessionId||Y.requestInfo?.headers["mcp-session-id"]||void 0,{level:Q}=U.params,K=CQ.safeParse(Q);if(K.success)this._loggingLevels.set(J,K.data);return{}})}get experimental(){if(!this._experimental)this._experimental={tasks:new IE(this)};return this._experimental}registerCapabilities($){if(this.transport)throw Error("Cannot register capabilities after connecting to transport");this._capabilities=mf(this._capabilities,$)}setRequestHandler($,I){let Y=bH($)?.method;if(!Y)throw Error("Schema is missing a method literal");let J;if(uI(Y)){let K=Y;J=K._zod?.def?.value??K.value}else{let K=Y;J=K._def?.value??K.value}if(typeof J!=="string")throw Error("Schema method literal must be a string");if(J==="tools/call"){let K=async(q,G)=>{let H=U9(RQ,q);if(!H.success){let Z=H.error instanceof Error?H.error.message:String(H.error);throw new r0(J1.InvalidParams,`Invalid tools/call request: ${Z}`)}let{params:W}=H.data,V=await Promise.resolve(I(q,G));if(W.task){let Z=U9(oI,V);if(!Z.success){let z=Z.error instanceof Error?Z.error.message:String(Z.error);throw new r0(J1.InvalidParams,`Invalid task creation result: ${z}`)}return Z.data}let w=U9(jW,V);if(!w.success){let Z=w.error instanceof Error?w.error.message:String(w.error);throw new r0(J1.InvalidParams,`Invalid tools/call result: ${Z}`)}return w.data};return super.setRequestHandler($,K)}return super.setRequestHandler($,I)}assertCapabilityForMethod($){switch($){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw Error(`Client does not support sampling (required for ${$})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw Error(`Client does not support elicitation (required for ${$})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw Error(`Client does not support listing roots (required for ${$})`);break;case"ping":break}}assertNotificationCapability($){switch($){case"notifications/message":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${$})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw Error(`Server does not support notifying about resources (required for ${$})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw Error(`Server does not support notifying of tool list changes (required for ${$})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw Error(`Server does not support notifying of prompt list changes (required for ${$})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw Error(`Client does not support URL elicitation (required for ${$})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability($){if(!this._capabilities)return;switch($){case"completion/complete":if(!this._capabilities.completions)throw Error(`Server does not support completions (required for ${$})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${$})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw Error(`Server does not support prompts (required for ${$})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw Error(`Server does not support resources (required for ${$})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Server does not support tools (required for ${$})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw Error(`Server does not support tasks capability (required for ${$})`);break;case"ping":case"initialize":break}}assertTaskCapability($){Sc(this._clientCapabilities?.tasks?.requests,$,"Client")}assertTaskHandlerCapability($){if(!this._capabilities)return;_c(this._capabilities.tasks?.requests,$,"Server")}async _oninitialize($){let I=$.params.protocolVersion;return this._clientCapabilities=$.params.capabilities,this._clientVersion=$.params.clientInfo,{protocolVersion:vf.includes(I)?I:jP,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},NW)}async createMessage($,I){if($.tools||$.toolChoice){if(!this._clientCapabilities?.sampling?.tools)throw Error("Client does not support sampling tools capability.")}if($.messages.length>0){let U=$.messages[$.messages.length-1],Y=Array.isArray(U.content)?U.content:[U.content],J=Y.some((G)=>G.type==="tool_result"),Q=$.messages.length>1?$.messages[$.messages.length-2]:void 0,K=Q?Array.isArray(Q.content)?Q.content:[Q.content]:[],q=K.some((G)=>G.type==="tool_use");if(J){if(Y.some((G)=>G.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!q)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(q){let G=new Set(K.filter((W)=>W.type==="tool_use").map((W)=>W.id)),H=new Set(Y.filter((W)=>W.type==="tool_result").map((W)=>W.toolUseId));if(G.size!==H.size||![...G].every((W)=>H.has(W)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}if($.tools)return this.request({method:"sampling/createMessage",params:$},dP,I);return this.request({method:"sampling/createMessage",params:$},jQ,I)}async elicitInput($,I){switch($.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support url elicitation.");let Y=$;return this.request({method:"elicitation/create",params:Y},tI,I)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw Error("Client does not support form elicitation.");let Y=$.mode==="form"?$:{...$,mode:"form"},J=await this.request({method:"elicitation/create",params:Y},tI,I);if(J.action==="accept"&&J.content&&Y.requestedSchema)try{let K=this._jsonSchemaValidator.getValidator(Y.requestedSchema)(J.content);if(!K.valid)throw new r0(J1.InvalidParams,`Elicitation response content does not match requested schema: ${K.errorMessage}`)}catch(Q){if(Q instanceof r0)throw Q;throw new r0(J1.InternalError,`Error validating elicitation response: ${Q instanceof Error?Q.message:String(Q)}`)}return J}}}createElicitationCompletionNotifier($,I){if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:$}},I)}async listRoots($,I){return this.request({method:"roots/list",params:$},mP,I)}async sendLoggingMessage($,I){if(this._capabilities.logging){if(!this.isMessageIgnored($.level,I))return this.notification({method:"notifications/message",params:$})}}async sendResourceUpdated($){return this.notification({method:"notifications/resources/updated",params:$})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}}import yc from"node:process";class YE{append($){this._buffer=this._buffer?Buffer.concat([this._buffer,$]):$}readMessage(){if(!this._buffer)return null;let $=this._buffer.indexOf(` +`);if($===-1)return null;let I=this._buffer.toString("utf8",0,$).replace(/\r$/,"");return this._buffer=this._buffer.subarray($+1),mR0(I)}clear(){this._buffer=void 0}}function mR0($){return hf.parse(JSON.parse($))}function gc($){return JSON.stringify($)+` +`}class JE{constructor($=yc.stdin,I=yc.stdout){this._stdin=$,this._stdout=I,this._readBuffer=new YE,this._started=!1,this._ondata=(U)=>{this._readBuffer.append(U),this.processReadBuffer()},this._onerror=(U)=>{this.onerror?.(U)}}async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){while(!0)try{let $=this._readBuffer.readMessage();if($===null)break;this.onmessage?.($)}catch($){this.onerror?.($)}}async close(){if(this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send($){return new Promise((I)=>{let U=gc($);if(this._stdout.write(U))I();else this._stdout.once("drain",I)})}}import{dirname as kx,join as hH1}from"node:path";import{fileURLToPath as xH1}from"node:url";class Y5 extends Error{name="KyError";get isKyError(){return!0}}class U$ extends Y5{name="HTTPError";response;request;options;data;constructor($,I,U){let Y=$.status||$.status===0?$.status:"",J=$.statusText??"",Q=`${Y} ${J}`.trim(),K=Q?`status code ${Q}`:"an unknown error";super(`Request failed with ${K}: ${I.method} ${I.url}`);this.response=$,this.request=I,this.options=U}}class I2 extends Y5{name="NetworkError";request;constructor($,I){super(`Request failed due to a network error: ${$.method} ${$.url}`,I);this.request=$}}class U2 extends Error{name="NonError";value;constructor($){let I="Non-error value was thrown";try{if(typeof $==="string")I=$;else if($&&typeof $==="object"&&"message"in $&&typeof $.message==="string")I=$.message}catch{}super(I);this.value=$}}class WU extends Y5{name="ForceRetryError";customDelay;code;customRequest;constructor($){let I=$?.cause?$.cause instanceof Error?$.cause:new U2($.cause):void 0;super($?.code?`Forced retry: ${$.code}`:"Forced retry",I?{cause:I}:void 0);this.customDelay=$?.delay,this.code=$?.code,this.customRequest=$?.request}}class QE extends Error{name="SchemaValidationError";issues;constructor($){super("Response schema validation failed");this.issues=$}}class m$ extends Y5{name="TimeoutError";request;constructor($){super(`Request timed out: ${$.method} ${$.url}`);this.request=$}}var KE=(()=>{let $=!1,I=!1,U=typeof globalThis.ReadableStream==="function",Y=typeof globalThis.Request==="function";if(U&&Y)try{I=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return $=!0,"half"}}).headers.has("Content-Type")}catch(J){if(J instanceof Error&&J.message==="unsupported BodyInit type")return!1;throw J}return $&&!I})(),hc=typeof globalThis.AbortController==="function",ZV=typeof globalThis.AbortSignal==="function"&&typeof globalThis.AbortSignal.any==="function",xc=typeof globalThis.ReadableStream==="function",kc=typeof globalThis.FormData==="function",XV=["get","post","put","patch","head","delete"],lR0=()=>{return};lR0();var uc={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},VU=2147483647,fc=40,zV=Symbol("stop");class LV{options;constructor($){this.options=$}}var bc=($)=>new LV($),ic={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,baseUrl:!0,prefix:!0,retry:!0,timeout:!0,totalTimeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},nc={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0};var DV=new TextEncoder,oR0=($)=>{if(!$)return 0;if($ instanceof FormData){let I=0;for(let[U,Y]of $)I+=fc,I+=DV.encode(`Content-Disposition: form-data; name="${U}"`).byteLength,I+=typeof Y==="string"?DV.encode(Y).byteLength:Y.size;return I}if($ instanceof Blob)return $.size;if($ instanceof ArrayBuffer||ArrayBuffer.isView($))return $.byteLength;if(typeof $==="string")return DV.encode($).byteLength;if($ instanceof URLSearchParams)return DV.encode($.toString()).byteLength;return 0},pc=($,I,U)=>{let Y,J=0;return $.pipeThrough(new TransformStream({transform(Q,K){if(K.enqueue(Q),Y){J+=Y.byteLength;let q=I===0?0:J/I;if(q>=1)q=1-Number.EPSILON;U?.({percent:q,totalBytes:Math.max(I,J),transferredBytes:J},Y)}Y=Q},flush(){if(Y)J+=Y.byteLength,U?.({percent:1,totalBytes:Math.max(I,J),transferredBytes:J},Y)}}))},cc=($,I)=>{if(!$.body)return $;let U={status:$.status,statusText:$.statusText,headers:$.headers};if($.status===204)return new Response(null,U);let Y=Math.max(0,Number($.headers.get("content-length"))||0);return new Response(pc($.body,Y,I),U)},dc=($,I,U)=>{if(!$.body)return $;let Y=oR0(U??$.body);return new Request($,{duplex:"half",body:pc($.body,Y,I)})};var Z8=($)=>$!==null&&typeof $==="object";var rR0=Symbol("replaceOption"),qE=($)=>Z8($)&&$[rR0]===!0?{isReplace:!0,value:$.value}:{isReplace:!1,value:$};var J2=(...$)=>{for(let I of $)if((!Z8(I)||Array.isArray(I))&&I!==void 0)throw TypeError("The `options` argument must be an object");return WE({},...$)},HE=($={},I={})=>{let U=new globalThis.Headers($),Y=I instanceof globalThis.Headers,J=new globalThis.Headers(I);for(let[Q,K]of J.entries())if(Y&&K==="undefined"||K===void 0)U.delete(Q);else U.set(Q,K);return U},GE=($)=>{if(!Z8($)||Array.isArray($))return!1;let I=Object.getPrototypeOf($);return I===Object.prototype||I===null},wU=($)=>{if($ instanceof URLSearchParams){let I=new URLSearchParams($),U=$[Z9];if(U)I[Z9]=new Set(U);return I}if($ instanceof globalThis.Headers)return new globalThis.Headers($);if(Array.isArray($))return[...$];if(GE($))return{...$};return $},tR0=($)=>Object.fromEntries(Object.entries($).filter((I)=>I[1]!==void 0)),aR0=($,I)=>{if(GE($)&&GE(I))return tR0({...$,...I});return HE($,I)};function Y2($,I,U){return Object.hasOwn(I,U)&&I[U]===void 0?[]:WE($[U]??[],I[U]??[])}var OV=($={},I={})=>({init:Y2($,I,"init"),beforeRequest:Y2($,I,"beforeRequest"),beforeRetry:Y2($,I,"beforeRetry"),beforeError:Y2($,I,"beforeError"),afterResponse:Y2($,I,"afterResponse")}),Z9=Symbol("deletedParameters"),sR0=($,I)=>{let U=new URLSearchParams,Y=new Set;for(let J of[$,I]){if(J===void 0)continue;if(J instanceof URLSearchParams){for(let[K,q]of J.entries())U.append(K,q),Y.delete(K);let Q=J[Z9];if(Q)for(let K of Q)U.delete(K),Y.add(K)}else if(Array.isArray(J))for(let Q of J){if(!Array.isArray(Q)||Q.length!==2)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");U.append(String(Q[0]),String(Q[1])),Y.delete(String(Q[0]))}else if(Z8(J))for(let[Q,K]of Object.entries(J))if(K===void 0)U.delete(Q),Y.add(Q);else U.append(Q,String(K)),Y.delete(Q);else{let Q=new URLSearchParams(J);for(let[K,q]of Q.entries())U.append(K,q),Y.delete(K)}}if(Y.size>0)U[Z9]=Y;return U},WE=(...$)=>{let I={},U={},Y={},J,Q=[];for(let K of $)if(Array.isArray(K)){if(!Array.isArray(I))I=[];I=[...I,...K]}else if(Z8(K)){for(let[q,G]of Object.entries(K)){if(q==="signal"&&G instanceof globalThis.AbortSignal){Q.push(G);continue}let H=qE(G),{isReplace:W}=H;if(G=H.value,q==="context"){if(G!==void 0&&G!==null&&(!Z8(G)||Array.isArray(G)))throw TypeError("The `context` option must be an object");I={...I,context:G===void 0||G===null?{}:W?{...G}:{...I.context,...G}};continue}if(q==="searchParams"){if(G===void 0||G===null)J=void 0;else if(W)J=G;else J=J===void 0?G:sR0(J,G);continue}if(Z8(G)&&!W&&q in I)G=WE(I[q],G);I={...I,[q]:G}}if(Z8(K.hooks)){let{value:q,isReplace:G}=qE(K.hooks);Y=G?OV({},q):OV(Y,q),I.hooks=Y}if(Z8(K.headers)){let{value:q,isReplace:G}=qE(K.headers);U=G?wU(q):aR0(U,q),I.headers=U}}if(J!==void 0)I.searchParams=J;if(Q.length>0)if(Q.length===1)I.signal=Q[0];else if(ZV)I.signal=AbortSignal.any(Q);else I.signal=Q.at(-1);return I};var lc=($)=>XV.includes($)?$.toUpperCase():$,eR0=["get","put","head","delete","options","trace"],$C0=[408,413,429,500,502,503,504],IC0=[413,429,503],mc={limit:2,methods:eR0,statusCodes:$C0,afterStatusCodes:IC0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:($)=>0.3*2**($-1)*1000,jitter:void 0,retryOnTimeout:!1},oc=($={})=>{if(typeof $==="number")return{...mc,limit:$};if($.methods&&!Array.isArray($.methods))throw Error("retry.methods must be an array");if($.statusCodes&&!Array.isArray($.statusCodes))throw Error("retry.statusCodes must be an array");let I=Object.fromEntries(Object.entries({...$,methods:$.methods?.map((U)=>U.toLowerCase())}).filter(([,U])=>U!==void 0));return{...mc,...I}};async function VE($,I,U,Y){return new Promise((J,Q)=>{let K=setTimeout(()=>{if(U)U.abort();Q(new m$($))},Y.timeout);Y.fetch($,I).then(J).catch(Q).then(()=>{clearTimeout(K)})})}async function FV($,{signal:I}){return new Promise((U,Y)=>{if(I)I.throwIfAborted(),I.addEventListener("abort",J,{once:!0});function J(){clearTimeout(Q),Y(I.reason)}let Q=setTimeout(()=>{I?.removeEventListener("abort",J),U()},$)})}var rc=($)=>{let I={};for(let U in $){if(!Object.hasOwn($,U))continue;if(!(U in nc)&&!(U in ic))I[U]=$[U]}return I},tc=($)=>{if($===void 0)return!1;if(Array.isArray($))return $.length>0;if($ instanceof URLSearchParams)return $.size>0||Boolean($[Z9]?.size);if(typeof $==="object")return Object.keys($).length>0;if(typeof $==="string")return $.trim().length>0;return Boolean($)};var UC0=Object.prototype.toString,YC0=($)=>UC0.call($)==="[object Error]",JC0=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"]);function wE($){if(!($&&YC0($)&&$.name==="TypeError"&&typeof $.message==="string"))return!1;let{message:U,stack:Y}=$;if(U==="Load failed")return Y===void 0||"__sentry_captured__"in $;if(U.startsWith("error sending request for url"))return!0;if(U==="Failed to fetch"||U.startsWith("Failed to fetch (")&&U.endsWith(")"))return!0;return JC0.has(U)}var ZE=($,I)=>$ instanceof I||$?.name===I.name;function ac($){return ZE($,U$)}function sc($){return ZE($,I2)}function ec($){return ZE($,m$)}var QC0=10485760,KC0="The `prefixUrl` option has been renamed `prefix` in v2 and enhanced to allow slashes in input. See also the new `baseUrl` option for improved flexibility with standard URL resolution: https://github.com/sindresorhus/ky#baseurl",Q2=Symbol("timedOutResponseData"),qC0=($)=>{let I=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec($),U=I?.[1]??I?.[2];if(U)try{return new TextDecoder(U)}catch{}return new TextDecoder},$d="The `schema` argument must follow the Standard Schema specification",GC0=($)=>{if(typeof $!=="object")return $;return{...$,...$.methods&&{methods:[...$.methods]},...$.statusCodes&&{statusCodes:[...$.statusCodes]},...$.afterStatusCodes&&{afterStatusCodes:[...$.afterStatusCodes]}}},Yd=Object.prototype.toString,Id=($)=>$ instanceof globalThis.Request||Yd.call($)==="[object Request]",K2=($)=>$ instanceof globalThis.Response||Yd.call($)==="[object Response]",HC0=($)=>{if(Array.isArray($))return $.map((I)=>[...I]);return wU($)};function WC0($){let I={...$,json:wU($.json),context:wU($.context),headers:wU($.headers),searchParams:HC0($.searchParams)};if($.retry!==void 0)I.retry=GC0($.retry);return I}var Ud=async($,I)=>{if(typeof I!=="object"&&typeof I!=="function"||I===null)throw TypeError($d);let U=I["~standard"];if(typeof U!=="object"||U===null||typeof U.validate!=="function")throw TypeError($d);let Y=await U.validate($);if(Y.issues)throw new QE(Y.issues);return Y.value};class ZU{static create($,I){let U=I.hooks?.init??[],Y=U.length>0?WC0(I):I;for(let q of U)q(Y);let J=new ZU($,Y),Q=async()=>{if(typeof J.#$.timeout==="number"&&J.#$.timeout>VU)throw RangeError(`The \`timeout\` option cannot be greater than ${VU}`);if(typeof J.#$.totalTimeout==="number"&&J.#$.totalTimeout>VU)throw RangeError(`The \`totalTimeout\` option cannot be greater than ${VU}`);await Promise.resolve();let q=await J.#y(),G=q??await J.#B(async()=>J.#D()),H=q!==void 0||J.#L();for(;;){if(G===void 0)return G;if(K2(G))try{G=await J.#h(G)}catch(V){if(!(V instanceof WU))throw V;let w=await J.#z(V,async()=>J.#D());if(w===void 0)return w;G=w,H=J.#L();continue}let W=G;if(!W.ok&&W.type!=="opaque"&&(typeof J.#$.throwHttpErrors==="function"?J.#$.throwHttpErrors(W.status):J.#$.throwHttpErrors)){let V=new U$(W,J.#q(W),J.#K()),w=V;if(V.data=await J.#j(W),H)throw w;let Z=await J.#z(V,async()=>J.#D());if(Z===void 0)return Z;G=Z,H=J.#L();continue}break}if(!K2(G))return G;if(J.#P(G),J.#$.onDownloadProgress){if(typeof J.#$.onDownloadProgress!=="function")throw TypeError("The `onDownloadProgress` option must be a function");if(!xc)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let W=G.clone();return J.#Y(G),cc(W,J.#$.onDownloadProgress)}return G},K=(async()=>{try{return await Q()}catch(q){if(!(q instanceof Error))throw q;if(J.#M.has(q))throw q;let G=q;for(let H of J.#$.hooks.beforeError){let W=await H({request:J.request,options:J.#K(),error:G,retryCount:J.#U});if(W instanceof Error)G=W}throw G}finally{let q=J.#N;if(J.#X(q?.body??void 0),J.request!==q)J.#X(J.request.body??void 0)}})();for(let[q,G]of Object.entries(uc)){if(q==="bytes"&&typeof globalThis.Response?.prototype?.bytes!=="function")continue;K[q]=async(H)=>{J.request.headers.set("accept",J.request.headers.get("accept")||G);let W=await K;if(q!=="json")return W[q]();let V=await W.text();if(V===""){if(H!==void 0)return Ud(void 0,H);return JSON.parse(V)}let w=Y.parseJson?await Y.parseJson(V,{request:J.#q(W),response:W}):JSON.parse(V);return H===void 0?w:Ud(w,H)}}return K}static#R($){if($&&typeof $==="object"&&!Array.isArray($)&&!($ instanceof URLSearchParams))return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0));return $}request;#J;#U=0;#I;#$;#N;#G;#M=new WeakSet;#H;#Z;#W=!1;#A=new WeakMap;constructor($,I={}){if(this.#I=$,Object.hasOwn(I,"prefixUrl"))throw Error(KC0);if(this.#$={...I,headers:HE(this.#I.headers,I.headers),hooks:OV({},I.hooks),method:lc(I.method??this.#I.method??"GET"),prefix:String(I.prefix||""),retry:oc(I.retry),throwHttpErrors:I.throwHttpErrors??!0,timeout:I.timeout??1e4,totalTimeout:I.totalTimeout??!1,fetch:I.fetch??globalThis.fetch.bind(globalThis),context:I.context??{}},typeof this.#I!=="string"&&!(this.#I instanceof URL||this.#I instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(typeof this.#I==="string"){if(this.#$.prefix){let Y=this.#$.prefix.replace(/\/+$/,""),J=this.#I.replace(/^\/+/,"");this.#I=`${Y}/${J}`}if(this.#$.baseUrl){let Y;try{Y=new URL(this.#I)}catch{}if(!Y)this.#I=new URL(this.#I,new Request(this.#$.baseUrl).url)}}if(hc&&ZV)this.#G=this.#$.signal??this.#I.signal,this.#J=new globalThis.AbortController,this.#$.signal=this.#E();if(KE)this.#$.duplex="half";if(this.#$.json!==void 0)this.#$.body=this.#$.stringifyJson?.(this.#$.json)??JSON.stringify(this.#$.json),this.#$.headers.set("content-type",this.#$.headers.get("content-type")??"application/json");let U=I.headers&&new globalThis.Headers(I.headers).has("content-type");if(this.#I instanceof globalThis.Request&&(kc&&this.#$.body instanceof globalThis.FormData||this.#$.body instanceof URLSearchParams)&&!U)this.#$.headers.delete("content-type");if(this.request=new globalThis.Request(this.#I,this.#$),tc(this.#$.searchParams)){let Y=new URL(this.request.url),J=this.#$.searchParams?.[Z9];if(J)for(let Q of J)Y.searchParams.delete(Q);if(typeof this.#$.searchParams==="string"){let Q=this.#$.searchParams.replace(/^\?/,"");if(Q!=="")Y.search=Y.search?`${Y.search}&${Q}`:`?${Q}`}else{let Q=new URLSearchParams(ZU.#R(this.#$.searchParams));for(let[K,q]of Q.entries())Y.searchParams.append(K,q)}if(this.#$.searchParams&&typeof this.#$.searchParams==="object"&&!Array.isArray(this.#$.searchParams)&&!(this.#$.searchParams instanceof URLSearchParams)){for(let[Q,K]of Object.entries(this.#$.searchParams))if(K===void 0)Y.searchParams.delete(Q)}this.request=new globalThis.Request(Y,this.#$)}if(this.#$.onUploadProgress&&typeof this.#$.onUploadProgress!=="function")throw TypeError("The `onUploadProgress` option must be a function");this.#Z=typeof this.#$.totalTimeout==="number"?this.#v():void 0}#Q(){let $=this.#$.retry.delay(this.#U+1),I=$;if(this.#$.retry.jitter===!0)I=Math.random()*$;else if(typeof this.#$.retry.jitter==="function"){if(I=this.#$.retry.jitter($),!Number.isFinite(I)||I<0)I=$}return Math.min(this.#$.retry.backoffLimit,I)}async#C($){if(this.#U>=this.#$.retry.limit)throw $;let I=$ instanceof Error?$:new U2($);if(I instanceof WU)return I.customDelay??this.#Q();if(!this.#$.retry.methods.includes(this.request.method.toLowerCase()))throw $;if(this.#$.retry.shouldRetry!==void 0){let U=await this.#$.retry.shouldRetry({error:I,retryCount:this.#U+1});if(U===!1)throw $;if(U===!0)return this.#Q()}if(ec($)){if(!this.#$.retry.retryOnTimeout)throw $;return this.#Q()}if(ac($)){if(!this.#$.retry.statusCodes.includes($.response.status))throw $;let U=$.response.headers.get("Retry-After")??$.response.headers.get("RateLimit-Reset")??$.response.headers.get("X-RateLimit-Retry-After")??$.response.headers.get("X-RateLimit-Reset")??$.response.headers.get("X-Rate-Limit-Reset");if(U&&this.#$.retry.afterStatusCodes.includes($.response.status)){let Y=Number(U)*1000;if(Number.isNaN(Y))Y=Date.parse(U)-Date.now();else if(Y>=Date.parse("2024-01-01"))Y-=Date.now();if(!Number.isFinite(Y))return Math.min(this.#$.retry.maxRetryAfter,this.#Q());return Y=Math.max(0,Y),Math.min(this.#$.retry.maxRetryAfter,Y)}if($.response.status===413)throw $;return this.#Q()}if(!sc($))throw $;return this.#Q()}#P($){let I=this.#q($);if(this.#$.parseJson)$.json=async()=>{let U=await $.text();if(U==="")return JSON.parse(U);return this.#$.parseJson(U,{request:I,response:$})};return $}async#j($){let I=await this.#S($,this.#T());if(I===Q2){this.#V();return}if(!I)return;if(!this.#_($.headers.get("content-type")??""))return I;let U=await this.#g(I,$,this.#T(),this.#q($));if(U===Q2){this.#V();return}return U}#T(){let $=this.#$.timeout===!1?1e4:this.#$.timeout,I=this.#w();if(I===void 0)return $;if(I<=0)throw new m$(this.request);return Math.min($,I)}#_($){let I=($.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(I)}async#S($,I){let{body:U}=$;if(!U)try{return await $.text()}catch{return}let Y;try{Y=U.getReader()}catch{return}let J=qC0($.headers.get("content-type")??""),Q=[],K=0,q=(async()=>{try{for(;;){let{done:W,value:V}=await Y.read();if(W)break;if(K+=V.byteLength,K>QC0){Y.cancel().catch(()=>{return});return}Q.push(J.decode(V,{stream:!0}))}}catch{return}return Q.push(J.decode()),Q.join("")})(),G=new Promise((W)=>{let V=setTimeout(()=>{W(Q2)},I);q.finally(()=>{clearTimeout(V)})}),H=await Promise.race([q,G]);if(H===Q2)Y.cancel().catch(()=>{return});return H}async#g($,I,U,Y){let J;try{return await Promise.race([Promise.resolve().then(()=>this.#$.parseJson?this.#$.parseJson($,{request:Y,response:I}):JSON.parse($)),new Promise((Q)=>{J=setTimeout(()=>{Q(Q2)},U)})])}catch{return}finally{clearTimeout(J)}}#X($){if(!$)return;$.cancel().catch(()=>{return})}#Y($){this.#X($.body??void 0)}#E(){return this.#G?AbortSignal.any([this.#G,this.#J.signal]):this.#J.signal}#V(){let $=this.#w();if($!==void 0&&$<=0)throw new m$(this.request)}async#y(){for(let $ of this.#$.hooks.beforeRequest){let I=await $({request:this.request,options:this.#K(),retryCount:0});if(Id(I))this.#O(I);else if(K2(I))return I}return}async#h($){let I=this.#q($);for(let U of this.#$.hooks.afterResponse){let Y=this.#F($.clone(),I);this.#P(Y);let J;try{J=await U({request:this.request,options:this.#K(),response:Y,retryCount:this.#U})}catch(K){if(Y!==$)this.#Y(Y);throw this.#Y($),K}if(J instanceof LV){if(Y!==$)this.#Y(Y);throw this.#Y($),new WU(J.options)}let Q=K2(J)?this.#F(J,I):$;if(Y!==$&&Y!==Q&&Y.body!==Q.body)this.#Y(Y);if($!==Q&&$.body!==Q.body)this.#Y($);$=Q}return $}async#B($){try{return await $()}catch(I){return this.#z(I,$)}}async#z($,I){this.#W=!1;let U=Math.min(await this.#C($),VU),Y={signal:this.#G},J=this.#w();if(J!==void 0){if(J<=0)throw new m$(this.request);if(U>=J)throw await FV(J,Y),new m$(this.request)}if(await FV(U,Y),this.#V(),$ instanceof WU&&$.customRequest){let Q=new globalThis.Request($.customRequest,this.#$.signal?{signal:this.#$.signal}:void 0);this.#O(Q)}for(let Q of this.#$.hooks.beforeRetry){let K;try{K=await Q({request:this.request,options:this.#K(),error:$,retryCount:this.#U+1})}catch(q){if(q instanceof Error&&q!==$)this.#M.add(q);throw q}if(Id(K)){this.#O(K);break}if(K2(K))return this.#W=!0,this.#U++,K;if(K===zV)return}return this.#V(),this.#U++,this.#B(I)}#L(){let $=this.#W;return this.#W=!1,$}async#D(){if(this.#J?.signal.aborted)this.#J=new globalThis.AbortController,this.#$.signal=this.#E(),this.request=new globalThis.Request(this.request,{signal:this.#$.signal});let $=rc(this.#$),I=this.#$.retry.limit>0?this.request.clone():void 0,U=this.#x(this.request,this.#$.body??void 0);if(this.#N=U,I)this.request=I;try{let Y=this.#w();if(Y!==void 0&&Y<=0)throw new m$(this.request);let J=this.#$.timeout===!1?Y:Y===void 0?this.#$.timeout:Math.min(this.#$.timeout,Y),Q=J===void 0?await this.#$.fetch(U,$):await VE(U,$,this.#J,{timeout:J,fetch:this.#$.fetch});return this.#F(Q,U)}catch(Y){if(wE(Y))throw new I2(this.request,{cause:Y});throw Y}}#w(){if(this.#Z===void 0)return;let $=this.#v()-this.#Z;return Math.max(0,this.#$.totalTimeout-$)}#v(){return globalThis.performance?.now()??Date.now()}#K(){if(!this.#H){let{hooks:$,json:I,parseJson:U,stringifyJson:Y,searchParams:J,timeout:Q,totalTimeout:K,throwHttpErrors:q,fetch:G,...H}=this.#$;this.#H=Object.freeze(H)}return this.#H}#O($){this.#H=void 0,this.request=$}#q($){return this.#A.get($)??this.request}#F($,I){return this.#A.set($,I),$}#x($,I){if(!this.#$.onUploadProgress||!$.body||!KE)return $;return dc($,this.#$.onUploadProgress,I??this.#$.body??void 0)}}/*! MIT License © Sindre Sorhus */var XE=($)=>{let I=(U,Y)=>ZU.create(U,J2($,Y));for(let U of XV)I[U]=(Y,J)=>ZU.create(Y,J2($,J,{method:U}));return I.create=(U)=>XE(J2(U)),I.extend=(U)=>{if(typeof U==="function")U=U($??{});return XE(J2($,U))},I.stop=zV,I.retry=bc,I},VC0=XE(),J5=VC0;async function Jd($){if($.source.type!=="direct"&&$.source.type!=="seal")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=$.seal.url??$.source.sealUrl,U=$.source.type==="seal"?$.source:void 0;return{token:$.source.token,expiresAt:Date.now()+$.source.expiresIn*1000,enterprise:{provider:U?"seal":"direct",corpId:$.source.corpId??$.id,staffId:$.source.staffId,sealUrl:I,tenantId:U?.tenantId,tenantSlug:$.seal.tenantSlug??U?.tenantSlug,tenantName:U?.tenantName,raw:{sourceType:$.source.type}}}}import{existsSync as zE,mkdirSync as LC0,readFileSync as DC0,writeFileSync as OC0}from"node:fs";import{dirname as FC0,join as Gd}from"node:path";import{homedir as Hd}from"node:os";var Qd=X.object({token:X.string(),expiresAt:X.number(),url:X.string().url().optional()}),wC0=X.object({provider:X.string(),corpId:X.string().optional(),staffId:X.string(),sealUrl:X.string().url(),tenantId:X.string().optional(),tenantSlug:X.string().optional(),tenantName:X.string().optional(),raw:X.unknown().optional()}),ZC0=X.object({token:X.string(),expiresAt:X.number(),enterprise:wC0}),XC0=X.object({openapi:Qd.optional(),closeapi:Qd.optional()}),zC0=X.object({seal:ZC0.optional(),hose:XC0.optional()}),Kd=X.record(X.string(),zC0);var NV=Gd(Hd(),".config","seal-use","seal_tokens.json"),qd=Gd(Hd(),".config","seal-home","seal_tokens.json");function NC0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;if(zE(NV))return NV;if(zE(qd))return qd;return NV}function MC0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;return NV}function XU(){let $=NC0();if(!zE($))return{};try{return Kd.parse(JSON.parse(DC0($,"utf-8")))}catch{return{}}}function MV($){let I=MC0();LC0(FC0(I),{recursive:!0,mode:448}),OC0(I,JSON.stringify($,null,2),{mode:384})}function Wd($){return XU()[$]?.seal}function Vd($,I){let U=XU();MV({...U,[$]:{...U[$],seal:I}})}function wd($){let I=XU(),U=I[$];if(!U)return;MV({...I,[$]:{...U,seal:void 0}})}function q2($){return XU()[$]?.hose??{}}function LE($,I){let U=XU();MV({...U,[$]:{...U[$],hose:I}})}function AV($){let I=XU();delete I[$],MV(I)}var AC0=["https://app.ekuaibao.com","https://dd2.hosecloud.com","https://wx2.ekuaibao.com","https://kdcloud2.ekuaibao.com","https://ddenterprise.ekuaibao.com","https://feishu.ekuaibao.com"],PC0=[".ekuaibao.com",".hosecloud.com"],TC0="/web/thirdparty.html",Xd=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/,DE=new Map,OE=new Map;function l$($){return $.replace(/\/+$/,"")}function EC0($){let I;try{I=new URL($.trim())}catch{throw Error("Invalid Hose assistance link: expected a valid HTTPS URL")}if(I.protocol!=="https:"||I.port||!BC0(I.hostname)||I.pathname.replace(/\/+$/,"")!==TC0)throw Error("Invalid Hose assistance link: expected an HTTPS */web/thirdparty.html URL from ekuaibao.com or hosecloud.com");let U=I.searchParams.getAll("accessToken").filter(Boolean),Y=I.searchParams.getAll("ekbCorpId").filter(Boolean);if(U.length!==1||Y.length!==1)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required exactly once");let J=Y[0].trim().toLowerCase();if(!Xd.test(J))throw Error("Invalid Hose assistance link: ekbCorpId is not a valid tenant slug");return{corpId:J,accessToken:U[0]}}async function PV($){let I=typeof $==="string"?EC0($):vC0($),U=`https://${I.corpId}.sealai.cc`,Y=await J5.get(`${U}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:I.accessToken,returnToken:"1"},timeout:30000}).json(),J=Y.token??Y.accessToken??Y.data?.token??Y.data?.accessToken;if(!J)throw Error("Seal SSO did not return a bearer token");let Q=Y.expiresIn??Y.expires_in??Y.data?.expiresIn??Y.data?.expires_in??3600;return{corpId:I.corpId,sealUrl:U,token:J,expiresIn:Number.isFinite(Q)&&Q>0?Q:3600}}function TV($,I){let U=I.hoseCorpConfig&&typeof I.hoseCorpConfig==="object"?I.hoseCorpConfig:void 0,Y=[I.tenantSlug,U?.corporationId].filter((K)=>typeof K==="string"&&Boolean(K)),J=$.trim().toLowerCase(),Q=Y.map((K)=>K.trim().toLowerCase()).filter(Boolean);if(Q.length===0||Q.some((K)=>K!==J))throw Error("Hose assistance link tenant mismatch: the Seal tenant does not match ekbCorpId")}function BC0($){let I=$.toLowerCase();return PC0.some((U)=>I.endsWith(U))}function vC0($){let I=typeof $?.corpId==="string"?$.corpId.trim().toLowerCase():"",U=typeof $?.accessToken==="string"?$.accessToken.trim():"";if(!Xd.test(I)||!U)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required");return{corpId:I,accessToken:U}}function zd($,I=60){return Boolean($&&Date.now()<$.expiresAt-I*1000)}function G2($,I){if($.seal.url)return $.seal.url;if(I.sealUrl)return I.sealUrl;return`https://${I.corpId.toLowerCase()}.sealai.cc`}function RC0($){return $.staffId.includes(":")?$.staffId:`${$.corpId}:${$.staffId}`}function Ld($){return J5.create({prefix:l$($.domain),timeout:30000,hooks:{beforeError:[async({error:I})=>{let U=I instanceof U$?await I.response.text().catch(()=>""):"";return I.message=`${I.message}${U?`: ${U}`:""}`,I}]}})}async function CC0($){let I=Ld($),U=$.appKey??$.key,Y=$.appSecurity??$.password;if(!U||!Y)throw Error("Hose source requires appKey/key and appSecurity/password");let J=await I.post("api/openapi/v1/auth/getAccessToken",{json:{appKey:U,appSecurity:Y}}).json(),Q=J.value?.accessToken??J.accessToken??J.token;if(!Q)throw Error("Hose login did not return an access token");return{token:Q,expiresAt:Date.now()+3600000}}async function EV($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=q2($.id);if(zd(I.openapi))return I.openapi.token;let U=DE.get($.id);if(U)return U;let Y=CC0($.source).then((J)=>{return LE($.id,{...q2($.id),openapi:J}),J.token}).finally(()=>DE.delete($.id));return DE.set($.id,Y),Y}async function BV($,I,U=7200){let Y=Ld($),J=RC0($),K=(await Y.post("api/openapi/v1.1/provisional/getProvisionalAuth",{searchParams:{accessToken:I},json:{uid:J,pageType:"home",expireDate:U}}).json()).value?.message;if(!K)throw Error("Hose CloseAPI did not return a provisional auth URL");let q=new URL(K).searchParams.get("accessToken");if(!q)throw Error("Hose provisional auth URL did not include accessToken");return{token:q,url:K,expiresAt:Date.now()+U*1000}}async function Dd($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=$.source,U=q2($.id);if(zd(U.closeapi)&&U.closeapi.url)return U.closeapi;let Y=OE.get($.id);if(Y)return Y;let J=EV($).then((Q)=>BV(I,Q)).then((Q)=>{return LE($.id,{...q2($.id),closeapi:Q}),Q}).finally(()=>OE.delete($.id));return OE.set($.id,J),J}async function Od($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=(await Dd($)).url;if(!I)throw Error("Hose provisional auth URL was not available");return I}async function Fd($,I=7200){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let U=await EV($),Y=await BV($.source,U,I);if(!Y.url)throw Error("Hose provisional auth URL was not available");return{corpId:$.source.corpId,staffId:$.source.staffId,url:Y.url,expiresIn:I}}async function Nd($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=await Dd($),U=G2($,$.source),Y=await J5.get(`${l$(U)}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:I.token,returnToken:"1"},timeout:30000}).json(),J=Y.token??Y.accessToken??Y.data?.token??Y.data?.accessToken;if(!J)throw Error("Seal SSO did not return a bearer token");let Q=Y.expiresIn??Y.expires_in??Y.data?.expiresIn??Y.data?.expires_in??3600,K={provider:"hose",corpId:$.source.corpId,staffId:$.source.staffId,sealUrl:l$(U),tenantSlug:$.seal.tenantSlug,raw:{sourceType:"hose",hoseDomain:l$($.source.domain)}};return{token:J,expiresAt:Date.now()+Q*1000,enterprise:K}}async function zU($,I,U){if(U){let K=l$(U),q=await Zd(K,$,I);if(!q)throw Error(`Failed to authenticate on specified domain: ${K}. Please verify appKey/appSecurity and domain connectivity.`);return q}let Y=AC0.map(async(K)=>{try{return await Zd(K,$,I)}catch{return}}),Q=(await Promise.all(Y)).filter((K)=>Boolean(K));if(Q.length>0&&Q[0])return Q[0];throw Error("Failed to authenticate with appKey/appSecurity on all 6 standard Hose domains (app.ekuaibao.com, dd2.hosecloud.com, wx2.ekuaibao.com, kdcloud2.ekuaibao.com, ddenterprise.ekuaibao.com, feishu.ekuaibao.com). "+'If your enterprise uses a private cloud or custom domain (such as 美年大健康), please specify the "domain" parameter explicitly.')}async function Zd($,I,U){try{let Y=await fetch(`${$}/api/openapi/v1/auth/getAccessToken`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({appKey:I,appSecurity:U}),signal:AbortSignal.timeout(8000)});if(!Y.ok)return;let J=await Y.json();if(J.value?.errorCode)return;let Q=J.value?.accessToken??J.accessToken,K=J.value?.corporationId??J.value?.corporation?.id;if(!Q||!K)return;return{domain:$,corpId:K,corpName:J.value?.corporation?.name,openapiToken:Q,expireTime:J.value?.expireTime}}catch{return}}async function vV($,I){let U=`${l$($)}/api/openapi/v1/roleDefGroups?accessToken=${encodeURIComponent(I)}`,Y=await fetch(U,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!Y.ok){let K=await Y.text().catch(()=>"");throw Error(`Failed to fetch Hose role definition groups: ${Y.status} ${K}`)}return((await Y.json()).items??[]).map((K)=>({id:K.id,name:K.name,enName:K.enName,roleDefs:(K.roleDefs??[]).map((q)=>({id:q.id,name:q.name,enName:q.enName,sourceType:q.sourceType,sourceTypeValue:q.sourceTypeValue,groupId:K.id,groupName:K.name}))}))}async function FE($,I,U,Y="id"){let J=U.startsWith("$")?U.slice(1):U,Q=`${l$($)}/api/openapi/v1/roledefs/$${J}?accessToken=${encodeURIComponent(I)}&staffBy=${encodeURIComponent(Y)}&pathType=name`,K=await fetch(Q,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!K.ok){let W=await K.text().catch(()=>"");throw Error(`Failed to fetch Hose role staffs for ${J}: ${K.status} ${W}`)}let G=(await K.json()).value;if(!G)throw Error(`Hose role staff query returned empty result for ${J}`);let H=[];for(let W of G.contents??[])for(let V of W.staffs??[])if(V&&!H.includes(V))H.push(V);return{id:G.id??J,name:G.name??"",count:G.count??H.length,staffs:H}}async function NE($,I,U){if(U.length===0)return[];let Y=`${l$($)}/api/openapi/v1/staffs/getStaffIds?accessToken=${encodeURIComponent(I)}`,J=await fetch(Y,{method:"POST",headers:{"content-type":"application/json",Accept:"application/json"},body:JSON.stringify({type:"STAFFID",conditionIds:U.slice(0,100)}),signal:AbortSignal.timeout(1e4)});if(!J.ok){let K=await J.text().catch(()=>"");throw Error(`Failed to fetch Hose staff details: ${J.status} ${K}`)}return(await J.json()).items??[]}var RV=new Map;function Md($,I){return Date.now()>=$.expiresAt-I*1000}async function jC0($){switch($.source.type){case"hose":return Nd($);case"direct":case"seal":return Jd($)}}async function CV($){let I=$.auth.refreshTtl,U=RV.get($.id);if(U&&!Md(U,I))return U;let Y=Wd($.id);if(Y&&!Md(Y,I))return RV.set($.id,Y),Y;let J=await jC0($);return RV.set($.id,J),Vd($.id,J),J}async function Ad($){return(await CV($)).enterprise}function Pd($){RV.delete($),wd($)}function _C0($){let I=Object.entries($??{}).map(([U,Y])=>`${U}=${Y}`);return I.length?I.join("; "):void 0}function H2($){let I={...$?.headers??{}},U=_C0($?.cookies);if(U)I.Cookie=U;return I}function SC0($){if($===void 0||$===null||$==="")return"";if(typeof $==="string")return $;try{return JSON.stringify($)}catch{return String($)}}function gC0($){if(!($ instanceof U$))return $;let I=SC0($.data);if(I)$.message=`${$.message}: ${I}`;return $}function Td($){return async({error:I})=>{if($&&I instanceof U$&&I.response.status===401)Pd($);return gC0(I)}}async function Y4($){let I=await CV($);return J5.create({prefix:I.enterprise.sealUrl,timeout:30000,headers:{...H2($.seal),Authorization:`Bearer ${I.token}`},hooks:{beforeError:[Td($.id)]}})}async function Ed($,I){let U=await CV($);return W2(U.enterprise.sealUrl,I,H2($.seal))}function W2($,I,U={}){return J5.create({prefix:$.replace(/\/+$/,""),timeout:30000,headers:{...U,Authorization:`Bearer ${I}`},hooks:{beforeError:[Td()]}})}var Bd={name:"seal-use",version:"0.10.14",type:"module",module:"src/server.ts",bin:{"seal-use":"src/cli.ts","seal-home":"src/cli.ts"},scripts:{dev:"bun run --watch src/server.ts",start:"bun run src/server.ts",probe:"bun run src/probe.ts",cli:"bun run src/cli.ts",check:"tsc --noEmit","build:binary":"node scripts/build-binary.mjs","build:plugin":"node scripts/build-plugin.mjs",bump:"bun run scripts/bump-version.ts","openapi:bundle":"bun run scripts/bundle-openapi.ts","openapi:raw":"bun run scripts/generate-raw-openapi.ts",test:"bun test"},dependencies:{"@modelcontextprotocol/sdk":"^1.29.0",exceljs:"^4.4.0","iconv-lite":"^0.7.3",ky:"^2.0.2","pinyin-pro":"^3.29.3",yauzl:"^3.4.0",zod:"^4.4.3"},devDependencies:{"@types/bun":"^1.3.14","@types/yauzl":"^3.4.0","bun-types":"^1.3.14",typescript:"^5.9.3",yaml:"^2.9.0"}};var I1=Bd.version;import{randomBytes as Km}from"node:crypto";var vd=[".pdf",".xls",".xlsx",".csv",".doc",".docx",".ppt",".pptx",".txt",".rtf",".odt",".ods",".odp",".jpg",".jpeg",".png",".gif",".bmp",".webp",".heic",".eml",".msg"],ME={minFileSizeBytes:500,allowedExtensions:[...vd]},Rd=X.string().trim().min(1).transform(($)=>{let I=$.toLowerCase();return I.startsWith(".")?I:`.${I}`}).refine(($)=>/^\.[a-z0-9][a-z0-9+_-]*$/.test($),{message:"文件后缀必须是简单扩展名,例如 .pdf 或 xlsx"}),AE=X.object({minFileSizeBytes:X.number().int().min(0).default(ME.minFileSizeBytes),maxFileSizeBytes:X.number().int().positive().nullable().optional(),allowedExtensions:X.array(Rd).min(1).default([...vd]).transform(($)=>[...new Set($)])}).superRefine(($,I)=>{if($.maxFileSizeBytes!==void 0&&$.maxFileSizeBytes!==null&&$.maxFileSizeBytes<$.minFileSizeBytes)I.addIssue({code:"custom",path:["maxFileSizeBytes"],message:"最大文件大小不能小于最小文件大小"})}),PE=X.object({minFileSizeBytes:X.number().int().min(0).optional(),maxFileSizeBytes:X.number().int().positive().nullable().optional(),allowedExtensions:X.array(Rd).min(1).transform(($)=>[...new Set($)])}).optional();function LU($=void 0){return AE.parse($??{})}function Cd($,I){return LU({...LU($),...I})}var hC0=X.object({staffId:X.string(),name:X.string().optional(),code:X.string().default(""),bindTime:X.number().optional()}),xC0=X.object({id:X.string(),tenantId:X.string(),name:X.string(),isAdmin:X.boolean().default(!1),permissions:X.array(X.string()).default([]),providerUserId:X.string().optional(),hosecloudStaff:hC0.optional()}),kC0=X.object({apiKey:X.string().optional(),corporationId:X.string().optional(),corporationName:X.string().optional()}),uC0=X.object({id:X.string(),name:X.string(),tenantSlug:X.string().optional(),isDemo:X.boolean().default(!1),logoUrl:X.string().nullable().optional(),hoseCorpConfig:kC0.optional()}),_d=X.object({user:xC0,tenant:uC0}),fC0=X.object({id:X.string(),name:X.string(),email:X.string().nullable().optional(),emailVerified:X.boolean().optional(),image:X.string().nullable().optional(),tenantId:X.string().optional(),provider:X.string().optional(),providerUserId:X.string().optional(),mobile:X.string().nullable().optional(),status:X.string().optional(),permissions:X.array(X.string()).default([]),isAdmin:X.boolean().default(!1),hosecloudStaff:X.unknown().optional()}).passthrough(),bC0=X.object({id:X.string(),token:X.string().optional(),expiresAt:X.string(),createdAt:X.string().optional(),updatedAt:X.string().optional(),ipAddress:X.string().optional(),userAgent:X.string().optional(),userId:X.string(),delegationId:X.string().nullable().optional()}).passthrough(),Sd=X.object({user:fC0,session:bC0}),jV=X.object({id:X.string(),tenantId:X.string().optional(),code:X.number().optional(),description:X.string(),scope:X.string(),strictness:X.string(),status:X.string().optional(),createdAt:X.number().optional(),updatedAt:X.number().optional()}),gd=X.object({rules:X.array(jV),hasPendingDeletes:X.boolean().default(!1)}),iC0=X.object({code:X.string().optional(),description:X.string(),scope:X.string(),strictness:X.string()}),_V=X.object({id:X.string(),tenantId:X.string().optional(),versionNumber:X.number(),versionName:X.string().nullable().optional(),publishedBy:X.string().nullable().optional(),publishedByName:X.string().nullable().optional(),rules:X.array(iC0).default([]),publishedAt:X.number().optional(),createdAt:X.number().optional()}),yd=X.object({version:_V,rulesCount:X.number()}),V2=X.object({id:X.string(),tenantId:X.string().optional(),title:X.string(),purpose:X.string().default(""),contentType:X.string().default("policy"),content:X.string(),status:X.string().default("published"),enabled:X.boolean().default(!0),scenarios:X.array(X.string()).default([]),tags:X.array(X.string()).default([]),category:X.string().nullable().optional(),categoryTags:X.array(X.string()).default([]),createdBy:X.string().nullable().optional(),createdByName:X.string().nullable().optional(),createdAt:X.number().optional(),updatedAt:X.number().optional(),updatedBy:X.string().nullable().optional(),updatedByName:X.string().nullable().optional(),isDeleted:X.boolean().default(!1)}),hd=X.object({articles:X.array(V2),total:X.number().optional()}),nC0=X.object({explicitApprove:X.string().default(""),explicitReject:X.string().default(""),exemptApprove:X.string().default(""),review:X.string().default("")}).passthrough(),pC0=X.object({type:X.string(),signKey:X.string().optional(),outboundName:X.string().optional(),mode:X.string().optional(),autoApprovalRate:X.number().optional(),apiKey:X.string().optional(),apiSecret:X.string().optional(),apiOrigin:X.string().optional(),corporationId:X.string().optional(),ebotSignKey:X.string().optional(),completionSignKey:X.string().optional(),outboundMessageId:X.string().optional(),completionMessageId:X.string().optional()}).passthrough(),cC0=X.enum(["assisted","semi_automatic","fully_automatic"]),jd=X.object({id:X.string(),url:X.string().url()}).passthrough(),w2=X.object({type:X.literal("webhook"),id:X.string(),name:X.string(),mode:cC0,incomingDocumentWebhook:jd,outgoingResultWebhook:X.string().url(),incomingManualResultWebhook:jd,secret:X.string().min(1),autoApprovalRate:X.number().int().min(0).max(100).optional(),materialPackFilePolicy:AE.default(ME)}).passthrough(),TE=X.object({id:X.string().optional(),tenantId:X.string().optional(),tone:X.string().optional(),language:X.string().optional(),detailLevel:X.string().optional(),outputFormat:X.string().optional(),examples:X.array(X.string()).default([]),prohibitedPhrases:X.array(X.string()).default([]),customInstructions:X.string().optional(),updatedAt:X.number().optional(),decisionPreferences:nC0.optional(),integrationSystem:X.string().optional(),integrations:X.array(pC0).default([])}).passthrough(),dC0=X.object({id:X.string().optional(),sn:X.string().optional(),title:X.string().optional(),name:X.string().optional(),fields:X.array(X.unknown()).optional()}).passthrough(),mC0=X.object({_langfuseTraceId:X.string().optional(),simulation_batch_id:X.string().optional()}).passthrough(),SV=X.object({id:X.string(),tenantId:X.string().optional(),agentId:X.string().optional(),status:X.string().optional(),taskMode:X.string().optional(),finalExecutionMode:X.string().optional(),sourceSystem:X.string().optional(),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),documentId:X.string().optional(),document:dC0.optional(),result:X.unknown().optional(),pipelineData:X.unknown().optional(),sourceExtendData:mC0.optional(),ruleSetVersionNumber:X.number().optional(),ruleSetPublishedAt:X.number().optional(),ruleSetPublishedByName:X.string().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),EE=X.object({records:X.array(SV).default([]),total:X.number().optional(),page:X.number().optional(),pageSize:X.number().optional()}).passthrough(),xd=X.object({id:X.string(),expiresAt:X.number().nullable().optional(),revokedAt:X.number().nullable().optional(),createdAt:X.number().nullable().optional(),lastUsedAt:X.number().nullable().optional(),useCount:X.number().default(0),note:X.string().nullable().optional(),link:X.string()}).passthrough(),kd=X.object({id:X.string(),token:X.string(),link:X.string()}).passthrough(),ud=X.object({userId:X.string(),password:X.string()}).passthrough(),fd=X.object({password:X.string()}).passthrough(),gV=X.object({_id:X.string(),tenantId:X.string().optional(),name:X.string(),mobile:X.string().optional(),email:X.string().optional(),departmentIds:X.array(X.string()).default([]),status:X.string().optional(),permissions:X.array(X.string()).default([]),createdAt:X.string().optional(),updatedAt:X.string().optional()}).passthrough(),bd=X.object({departments:X.array(X.record(X.string(),X.unknown())).default([]),users:X.array(gV).default([])}).passthrough(),BE=X.object({_id:X.string(),tenantId:X.string().optional(),name:X.string().optional(),parentId:X.string().nullable().optional(),ancestors:X.array(X.string()).default([]),provider:X.string().optional(),permissions:X.array(X.string()).default([]),isDeleted:X.boolean().optional(),syncedAt:X.string().optional(),createdAt:X.string().optional(),updatedAt:X.string().optional()}).passthrough(),vE=X.object({items:X.array(BE).default([])}).passthrough(),id=X.object({items:X.array(gV).default([])}).passthrough(),nd=X.object({lastSyncTime:X.union([X.string(),X.number(),X.null()])}).passthrough(),lC0=X.record(X.string(),X.unknown()),pd=X.object({tagStats:X.array(lC0).default([]),totalRisks:X.number().default(0),analyzedRisks:X.number().default(0),pendingRisks:X.number().default(0)}).passthrough(),cd=X.record(X.string(),X.unknown()),dd=X.object({expenses:X.array(cd).default([]),total:X.number().optional()}).passthrough(),md=X.object({invoices:X.array(cd).default([]),total:X.number().optional(),feishuApprovalAppId:X.string().nullable().optional()}).passthrough(),ld=X.record(X.string(),X.unknown()),od=X.object({provider:X.string(),config:X.record(X.string(),X.unknown()).default({})}).passthrough(),rd=X.object({id:X.string(),name:X.string(),description:X.string().optional(),available:X.boolean().default(!0),fields:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),td=X.object({permissions:X.array(X.object({key:X.string(),name:X.string(),description:X.string().optional()}).passthrough()).default([])}).passthrough(),ad=X.object({configs:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),sd=X.object({subscriptions:X.array(X.record(X.string(),X.unknown())).default([]),features:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),ed=X.object({key:X.string(),type:X.string(),label:X.string(),column:X.string(),mask:X.string().optional()}).passthrough(),oC0=X.object({columns:X.array(ed).default([]),fieldKey:X.string().optional(),keyColumn:X.string().optional(),sheetName:X.string().optional(),fieldLabel:X.string().optional()}).passthrough(),$m=X.object({id:X.string().optional(),listSheets:X.array(oC0).default([]),mainColumns:X.array(ed).default([]),workbookName:X.string().optional(),mainKeyColumn:X.string().optional(),mainSheetName:X.string().optional(),titleColumn:X.string().optional(),statusColumn:X.string().optional(),applicationDateColumn:X.string().optional(),updatedDateColumn:X.string().optional(),attachmentFieldKey:X.string().optional(),attachmentFieldLabel:X.string().optional()}).passthrough(),rC0=X.object({approvalCode:X.string(),nodeId:X.string().optional(),flowIds:X.array(X.string()).max(100).optional(),limit:X.number().int().positive().max(100).optional(),dataCollectionMode:X.string().optional(),signKey:X.string().optional(),rejectNodeName:X.string().nullable().optional(),skipInvoiceGeneration:X.boolean().optional(),skipExpenseExtraction:X.boolean().optional(),disableAttachmentCache:X.boolean().optional(),thinkingDepthOverride:X.enum(["default","medium","high"]).optional(),startTime:X.number().optional(),endTime:X.number().optional(),templateId:X.string().optional(),packageIds:X.array(X.string()).optional(),packageLabel:X.string().optional(),runMode:X.string().optional(),schemaConfig:$m.optional()}).passthrough(),tC0=X.object({mode:X.string().optional(),conditions:X.array(X.object({label:X.string(),value:X.string()}).passthrough()).default([])}).passthrough(),aC0=X.object({kind:X.string().optional(),stage:X.string().optional(),code:X.string().optional(),message:X.string().optional()}).passthrough(),RE=X.object({id:X.string(),tenantId:X.string().optional(),approvalCode:X.string().optional(),nodeId:X.string().optional(),sourceSystem:X.string().optional(),status:X.string().optional(),totalCount:X.number().default(0),processedCount:X.number().default(0),successCount:X.number().default(0),failedCount:X.number().default(0),createdCount:X.number().default(0),createFailedCount:X.number().default(0),params:rC0.optional(),requestSummary:tC0.nullable().optional(),resultSummary:aC0.nullable().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),CE=X.object({batchId:X.string()}).passthrough(),sC0=X.object({dataCollectionMode:X.string().optional(),flowIds:X.array(X.string()).max(100).optional(),rejectNodeName:X.string().nullable().optional(),skipInvoiceGeneration:X.boolean().optional(),skipExpenseExtraction:X.boolean().optional()}).passthrough(),Im=X.object({id:X.string(),tenantId:X.string().optional(),name:X.string().optional(),description:X.string().optional(),approvalSystem:X.string().optional(),hosecloudConfig:sC0.optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),Um=X.object({hasFeishu:X.boolean().default(!1),hasHosecloud:X.boolean().default(!1),hasWeaver:X.boolean().default(!1),hasHelios:X.boolean().default(!1),hasMaycur:X.boolean().default(!1),hasMaycurStandard:X.boolean().default(!1)}).passthrough(),Ym=X.object({signKey:X.string().optional(),displayName:X.string().optional(),corporationId:X.string().optional()}).passthrough(),Jm=X.object({id:X.string(),tenantId:X.string().optional(),name:X.string().optional(),templateId:X.string().optional(),originalFileName:X.string().optional(),status:X.string().optional(),documentCount:X.number().optional(),attachmentCount:X.number().optional(),uploadedBy:X.string().optional(),schemaConfig:$m.nullable().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),eC0=X.object({hitScopes:X.array(X.string()).default([]),hitRuleIds:X.array(X.string()).default([]),notHitScopes:X.array(X.string()).default([]),notHitRuleIds:X.array(X.string()).default([])}).passthrough(),jE=X.object({id:X.string().min(1),name:X.string().min(1),enabled:X.boolean().default(!0),description:X.string().default(""),condition:eC0.default({hitScopes:[],hitRuleIds:[],notHitScopes:[],notHitRuleIds:[]}),level:X.enum(["medium","high"])}).passthrough(),MN1=X.object({defaultLevel:X.enum(["medium","high"]).default("medium"),routingPolicies:X.array(jE).default([])}).passthrough(),AN1=X.object({dryRun:X.boolean().optional(),signKey:X.string().min(1).optional(),outboundName:X.string().optional(),specificationId:X.string().optional(),specificationName:X.string().optional(),mode:X.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:X.number().min(0).max(100).optional(),rejectResubmitMethod:X.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:X.array(X.string()).optional(),apiKey:X.string().min(1),apiSecret:X.string().min(1),apiOrigin:X.string().default("production"),customApiUrl:X.string().optional()}).passthrough(),Qm=X.object({id:X.string().optional(),code:X.string().optional(),name:X.string().optional(),approvalSystem:X.string().optional()}).passthrough(),PN1=X.object({total:X.number(),dedupeBy:X.string(),unique:X.number(),byStatus:X.record(X.string(),X.number()),bySourceSystem:X.record(X.string(),X.number())}).passthrough();var xV=X.object({success:X.boolean().optional()}).passthrough(),$j0=X.object({items:X.array(X.object({_id:X.string()})).optional()}).passthrough(),Ij0=X.object({user:X.unknown().optional(),session:X.object({token:X.string().optional()}).optional()}).passthrough(),qm=X.json();async function a0($,I){let U=await $.json();return I.parse(U.data??U)}async function N$($){return a0(await $.get("api/v1/auth/me"),_d)}async function Gm($){return a0(await $.get("api/auth/get-session"),Sd)}async function M$($){return a0(await $.get("api/v1/rules"),gd)}async function _E($,I){return a0(await $.post("api/v1/rules",{json:I}),jV)}async function SE($,I,U){return a0(await $.put(`api/v1/rules/${I}`,{json:U}),jV)}async function kV($,I){await $.delete(`api/v1/rules/${I}`)}async function Hm($){let I=await $.post("api/v1/rules/batch-recode",{throwHttpErrors:!1}),U=await I.json().catch(()=>({}));return X.object({ok:X.boolean(),status:X.number(),body:X.unknown()}).parse({ok:I.ok,status:I.status,body:U})}async function Q5($){return a0(await $.get("api/v1/rule-set-versions"),X.array(_V))}async function X2($,I){return a0(await $.get(`api/v1/rule-set-versions/${I}`),_V)}async function gE($,I){return a0(await $.post("api/v1/rule-set-versions/publish",{json:{versionName:I}}),yd)}async function z2($,I={}){let U=new URLSearchParams;return U.set("offset",String(I.offset??0)),U.set("limit",String(I.limit??20)),U.set("sortBy",I.sortBy??"createdAt"),U.set("sortOrder",I.sortOrder??"desc"),I.scenarios?.forEach((Y,J)=>{U.set(`filter[scenarios][${J}]`,Y)}),a0(await $.get("api/v1/knowledge/articles",{searchParams:U}),hd)}async function Wm($,I){return a0(await $.get(`api/v1/knowledge/articles/${I}`),V2)}async function Vm($,I){return a0(await $.post("api/v1/knowledge/articles",{json:{...I,contentType:I.contentType??"policy",status:I.status??"published",scenarios:I.scenarios??[],tags:I.tags??[]}}),V2)}async function wm($,I,U){let Y=Object.fromEntries(Object.entries(U).filter(([,J])=>J!==void 0));return a0(await $.patch(`api/v1/knowledge/articles/${I}`,{json:{attributes:Y}}),V2)}async function n1($,I="api/v1/agent/ai-approval/config"){return a0(await $.get(I),TE)}async function x7($,I,U="api/v1/agent/ai-approval/config"){return a0(await $.patch(U,{json:I}),TE)}async function yE($,I,U="api/v1/agent/ai-approval/config"){let Y=await $.post(U,{json:I}),J=await Y.json().catch(()=>({})),Q=xV.safeParse(J.data??J);return Q.success?Q.data.success??Y.ok:Y.ok}async function X9($,I="api/v1/agent/ai-approval/config"){let U=await n1($,I);return hE(U.integrations)}async function Zm($,I,U,Y="api/v1/agent/ai-approval/config"){let J=await n1($,Y),Q=hE(J.integrations),K=Nm(I,Q,U);if(!await yE($,{...J,integrations:[...J.integrations,K]},Y))throw Error("Seal did not confirm saving the Webhook integration");return K}async function Xm($,I,U,Y="api/v1/agent/ai-approval/config"){let J=await n1($,Y),Q=hE(J.integrations),K=Nm(I,Q,U);return{before:J,after:{...J,integrations:[...J.integrations,K]},integration:K}}async function zm($,I,U,Y="api/v1/agent/ai-approval/config"){let J=await n1($,Y),Q=uV(J.integrations),K=fV(Q,I),q=Mm(K.integration,U);if(!await yE($,{...J,integrations:J.integrations.map((H,W)=>W===K.index?q:H)},Y))throw Error("Seal did not confirm saving the Webhook integration");return q}async function Lm($,I,U,Y="api/v1/agent/ai-approval/config"){let J=await n1($,Y),Q=uV(J.integrations),K=fV(Q,I),q=Mm(K.integration,U);return{before:J,after:{...J,integrations:J.integrations.map((G,H)=>H===K.index?q:G)},integration:q}}async function Dm($,I,U="api/v1/agent/ai-approval/config"){let Y=await n1($,U),J=uV(Y.integrations),Q=fV(J,I);if(!await yE($,{...Y,integrations:Y.integrations.filter((q,G)=>G!==Q.index)},U))throw Error("Seal did not confirm deleting the Webhook integration");return Q.integration}async function Om($,I,U="api/v1/agent/ai-approval/config"){let Y=await n1($,U),J=uV(Y.integrations),Q=fV(J,I);return{before:Y,after:{...Y,integrations:Y.integrations.filter((K,q)=>q!==Q.index)},integration:Q.integration}}function z9($,I){let U=I.trim();if(!U)throw Error("Webhook selector must not be empty");let Y=$.find((Q)=>Q.id===U);if(Y)return Y;let J=$.filter((Q)=>Q.name===U);if(J.length===1)return J[0];if(J.length>1)throw Error(`Multiple Webhook integrations match name: ${U}. Use the integration ID.`);throw Error(`Webhook integration not found: ${U}`)}function Fm($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>[Y.id,Y.name,Y.mode,Y.outgoingResultWebhook,Y.incomingDocumentWebhook.url,Y.incomingManualResultWebhook.url].some((J)=>J.toLowerCase().includes(U)))}function hE($){return $.filter((I)=>I.type==="webhook").map((I)=>w2.parse(I))}function uV($){return $.flatMap((I,U)=>{if(I.type!=="webhook")return[];return[{index:U,integration:w2.parse(I)}]})}function fV($,I){let U=z9($.map((Y)=>Y.integration),I);return $.find((Y)=>Y.integration.id===U.id)}function Nm($,I,U){let Y=Z2(U.name,"name"),J=U.mode??"assisted",Q=Pm(U.outgoingResultWebhook,"outgoingResultWebhook"),K=Tm(U.autoApprovalRate??60),q=Uj0(I),G=`wh_${q}_${Km(8).toString("hex").slice(0,7)}`,H=l$($);return w2.parse({type:"webhook",id:`integration-${q}`,name:Y,mode:J,incomingDocumentWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/document`},outgoingResultWebhook:Q,incomingManualResultWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/manual-result`},secret:U.secret?Z2(U.secret,"secret"):Am(),autoApprovalRate:K,materialPackFilePolicy:LU(U.materialPackFilePolicy)})}function Mm($,I){return w2.parse({...$,...I.name===void 0?{}:{name:Z2(I.name,"name")},...I.mode===void 0?{}:{mode:I.mode},...I.outgoingResultWebhook===void 0?{}:{outgoingResultWebhook:Pm(I.outgoingResultWebhook,"outgoingResultWebhook")},...I.autoApprovalRate===void 0?{}:{autoApprovalRate:Tm(I.autoApprovalRate)},...I.rotateSecret||I.secret!==void 0?{secret:I.rotateSecret?Am():Z2(I.secret??"","secret")}:{},...I.materialPackFilePolicy===void 0?{}:{materialPackFilePolicy:Cd($.materialPackFilePolicy,I.materialPackFilePolicy)}})}function Uj0($){let I=new Set($.map((Y)=>Y.id)),U=Date.now();while(I.has(`integration-${U}`))U+=1;return U}function Am(){return Km(16).toString("hex")}function Z2($,I){let U=$.trim();if(!U)throw Error(`Webhook ${I} must not be empty`);return U}function Pm($,I){let U=Z2($,I);try{return new URL(U).toString()}catch{throw Error(`Webhook ${I} must be a valid URL`)}}function Tm($){if(!Number.isInteger($)||$<0||$>100)throw Error("Webhook autoApprovalRate must be an integer between 0 and 100");return $}async function bV($,I={}){let[U,Y,J]=await Promise.all([M$($),z2($,{limit:I.documentLimit??50}),n1($,I.stylePreferencesEndpoint).then((Q)=>({ok:!0,data:Q}),(Q)=>({ok:!1,error:Q instanceof Error?Q.message:String(Q)}))]);return{rules:U,documents:Y,stylePreferences:J}}async function X8($,I={}){let U=new URLSearchParams;return U.set("offset",String(I.offset??0)),U.set("limit",String(I.limit??50)),v6(U,"fromTimestamp",I.fromTimestamp),v6(U,"toTimestamp",I.toTimestamp),v6(U,"startDate",I.startDate),v6(U,"endDate",I.endDate),v6(U,"status",I.status),v6(U,"sourceSystem",I.sourceSystem),v6(U,"taskMode",I.taskMode),v6(U,"search",I.search),v6(U,"sourceDocumentSN",I.sourceDocumentSN),v6(U,"sourceDocumentId",I.sourceDocumentId),Yj0(U,"manualApprovalStatus",I.manualApprovalStatus),a0(await $.get("api/v1/approvals",{searchParams:U}),EE)}async function f4($,I){return a0(await $.get(`api/v1/approvals/${I}`),SV)}async function xE($,I){let U=await $.get(`api/v1/simulation/batch/${I}/records`).json(),Y=U.data??U;if(Array.isArray(Y))return X.array(SV).parse(Y);return EE.parse(Y).records}async function Em($,I){return a0(await $.post("api/v1/simulation/create-batch",{json:I}),CE)}async function Bm($,I){return a0(await $.post("api/v1/simulation/create-material-pack-batch",{json:I}),CE)}async function vm($,I={}){let U=await $.get("api/v1/simulation/batches",{searchParams:{limit:String(I.limit??50)}}).json(),Y=U.data??U;return X.array(RE).parse(Y)}async function iV($,I){return a0(await $.get(`api/v1/simulation/batch/${I}`),RE)}async function Rm($){let I=await $.get("api/v1/simulation/templates").json(),U=I.data??I;return X.array(Im).parse(U)}async function kE($){return a0(await $.get("api/v1/simulation/integration-status"),Um)}async function uE($){let I=await $.get("api/v1/simulation/hosecloud-integrations").json(),U=I.data??I;return X.array(Ym).parse(U)}async function Cm($,I){let Y=await(await $.delete(`api/v1/simulation/batch/${encodeURIComponent(I)}/data`)).json().catch(()=>({}));return Y.data??Y}async function jm($,I){let U=I?"api/v1/simulation/hosecloud-specifications-by-sign-key":"api/v1/simulation/hosecloud-specifications",Y=I?new URLSearchParams({signKey:I}):void 0,J=await $.get(U,{searchParams:Y}).json(),Q=J.data??J;return X.array(Qm).parse(Q)}async function _m($,I){let U=await $.post("api/hosecloud/corporation",{json:I}).json(),Y=U.data??U;return X.object({corporationId:X.string()}).parse(Y)}async function Sm($,I){let Y=await(await $.post("api/hosecloud/outbound-config/sync",{json:I})).json().catch(()=>({}));return Y.data??Y}async function gm($,I){let U=new FormData;return U.append("file",new Blob([new Uint8Array(I.fileBuffer)]),I.fileName),a0(await $.post("api/v1/material-packages/upload",{body:U}),Jm)}function v6($,I,U){if(U)$.set(I,U)}function Yj0($,I,U){if(!U)return;(Array.isArray(U)?U:[U]).map((J)=>J.trim()).filter(Boolean).forEach((J,Q)=>{$.set(`${I}[${Q}]`,J)})}async function ym($){return a0(await $.get("api/v1/delegation/list"),X.array(xd))}async function DU($,I){return a0(await $.post("api/v1/delegation/create",{json:I??{}}),kd)}async function hm($,I){let U=await $.post("api/v1/delegation/revoke",{json:{tokenId:I}}),Y=await U.json(),J=xV.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function xm($,I){let U=I.departmentIds&&I.departmentIds.length>0?I.departmentIds:void 0;if(!U){let Y=await $.get("api/v1/contacts/departments/root/children").json(),J=$j0.safeParse(Y.data??Y),Q=J.success?J.data.items?.[0]?._id:void 0;if(Q)U=[Q]}return a0(await $.post("api/v1/contacts/local/users",{json:{name:I.name,phone:I.phone,permissions:I.permissions??[],departmentIds:U??[]}}),ud)}async function fE($,I){return a0(await $.post(`api/v1/contacts/local/users/${I}/reset-password`,{json:{}}),fd)}async function yV($,I){return a0(await $.get(`api/v1/contacts/users/${I}`),gV)}async function hV($,I=""){return a0(await $.get("api/v1/contacts/search",{searchParams:{query:I}}),bd)}async function km($){return a0(await $.get("api/v1/contacts/departments/root/children"),vE)}async function um($,I){return a0(await $.get(`api/v1/contacts/departments/${encodeURIComponent(I)}`),BE)}async function fm($,I){return a0(await $.get(`api/v1/contacts/departments/${encodeURIComponent(I)}/children`),vE)}async function bm($,I){return a0(await $.get(`api/v1/contacts/departments/${encodeURIComponent(I)}/users`),id)}async function im($){return a0(await $.get("api/v1/contacts/last-sync-time"),nd)}async function nm($,I={}){let U=Jj0(),Y=new URLSearchParams;if(v6(Y,"startDate",I.startDate??U.startDate),v6(Y,"endDate",I.endDate??U.endDate),I.limit!==void 0)Y.set("limit",String(I.limit));return a0(await $.get("api/v1/insight/stats",{searchParams:Y}),pd)}function Jj0(){let $=new Date,I=new Date($.getFullYear(),$.getMonth(),1),U=new Date($.getFullYear(),$.getMonth()+1,0,23,59,59,999);return{startDate:I.toISOString(),endDate:U.toISOString()}}function pm($){let I=new URLSearchParams;return v6(I,"filter[startDate]",$.startDate),v6(I,"filter[endDate]",$.endDate),v6(I,"filter[search]",$.search),I.set("offset",String($.offset??0)),I.set("limit",String($.limit??50)),I}async function cm($,I={}){return a0(await $.get("api/v1/expenses/list",{searchParams:pm(I)}),dd)}async function dm($,I={}){return a0(await $.get("api/v1/invoice/list",{searchParams:pm(I)}),md)}async function mm($){return a0(await $.get("api/v1/integrations/feishu/simulation/approval-definitions"),X.array(ld))}async function lm($,I){let U=await $.delete(`api/v1/contacts/local/users/${I}`),Y=await U.json(),J=xV.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function bE($,I){let U=await $.post(`api/v1/contacts/local/users/${I}/activate`,{json:{}}),Y=await U.json(),J=xV.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function Qj0($,I){let U=await $.post("api/auth/sms-otp/sign-in-password",{json:I}),Y=U.headers.get("set-auth-token"),J=Ij0.parse(await U.json()),Q=Y??J.session?.token;if(!Q)throw Error("Failed to retrieve authentication token from login response");return{token:Q,user:J.user}}async function om($,I,U,Y){let J;if(I.userIdOrPhone.startsWith("+")||/^\d{11}$/.test(I.userIdOrPhone)){let Z=await hV($,I.userIdOrPhone),z=Z.users.find((L)=>L.mobile?.includes(I.userIdOrPhone)||L._id===I.userIdOrPhone)??Z.users[0];if(!z)throw Error(`User not found with phone/ID: ${I.userIdOrPhone}`);J=z}else J=await yV($,I.userIdOrPhone).catch(async()=>{let Z=await hV($,I.userIdOrPhone),z=Z.users.find((L)=>L.name===I.userIdOrPhone)??Z.users[0];if(!z)throw Error(`User not found: ${I.userIdOrPhone}`);return z});if(J.status==="resigned")await bE($,J._id),J=await yV($,J._id);let Q=J,K=Array.isArray(Q.identities)&&Q.identities.some((Z)=>Z.provider&&Z.provider!=="local")||!!Q.apps?.hosecloud;if(K&&Y&&Y.source.type==="hose"){let z=(J.mobile||Q.identities?.[0]?.providerId||"").replace(/^\+86/,""),L=Q.identities?.find((F)=>F.provider==="hosecloud")?.providerId,D=Q.apps?.hosecloud?.boundId||L||(z?`${Y.source.corpId}:${z}`:void 0);if(D){let F=await EV(Y),T=(await BV({...Y.source,staffId:D},F)).token,A=G2(Y,Y.source),R;try{R=await J5.get(`${l$(A)}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:T,returnToken:"1"},timeout:30000}).json()}catch(g){if(g instanceof U$&&g.response.status===400)throw Error(`Seal AI 用户“${J.name}”未绑定合思账号,无法生成个人协助链接。`);throw g}let u=R.token??R.accessToken??R.data?.token;if(u){let g=await U(u),b=await DU(g,{note:I.note??`Delegation generated by admin for ${J.name}`});return{targetUser:J,delegation:b,temporaryPassword:"N/A (Hose SSO)"}}}}let q;try{q=await fE($,J._id)}catch(Z){if(K)throw Error(`用户 "${J.name}" (${J.mobile||J._id}) 为合思同步账号 (provider: hosecloud),无 Seal 本地密码。`+"Seal 系统暂不支持对同步账号直接重置本地密码。");throw Z}let H=(J.mobile||J.identities?.[0]?.providerId||"").replace(/^\+86/,"");if(!H)throw Error(`User ${J.name} has no associated phone number for password login`);let{token:W}=await Qj0($,{phone:H,password:q.password}),V=await U(W),w=await DU(V,{note:I.note??`Delegation generated by admin for ${J.name}`});return{targetUser:J,delegation:w,temporaryPassword:q.password}}async function rm($){return a0(await $.get("api/v1/llm/config"),od)}async function tm($){return a0(await $.get("api/v1/llm/providers"),X.array(rd))}async function am($){return a0(await $.get("api/v1/permissions/available"),td)}async function sm($){return a0(await $.get("api/v1/permissions/configs"),ad)}async function em($){return a0(await $.get("api/v1/billing/status"),sd)}async function $l($){let U=await(await $.get("api/v1/billing/plans")).json();return qm.parse(U.data??U)}async function Il($){let U=await(await $.get("api/v1/billing/features")).json();return qm.parse(U.data??U)}var vV0=ZI(ay(),1);import{existsSync as TV0,mkdirSync as EV0,statSync as L21}from"node:fs";import{homedir as D21}from"node:os";import{dirname as O21,resolve as _L}from"node:path";function BV0($,I=!1){if($===void 0||$===null||$==="")return;if(typeof $==="number")return String($);let U=String($).trim();if(!U)return;if(/^\d{10,13}$/.test(U))return U.length===10?`${U}000`:U;if(/^\d{4}-\d{2}-\d{2}$/.test(U)){let Q=new Date(`${U}${I?"T23:59:59.999+08:00":"T00:00:00.000+08:00"}`).getTime();if(!Number.isNaN(Q))return String(Q)}let Y=new Date(U).getTime();if(!Number.isNaN(Y))return String(Y);return U}function F21($){if(!$)return;let I=Array.isArray($)?$:[$],U=[];for(let Y of I){let J=Y.trim().toUpperCase();if(["APPROVED","已通过","已完成","已支付","已支付/审批完成"].includes(J))U.push("APPROVED");else if(["TERMINATED","REJECTED","REJECT","驳回","被驳回","已驳回"].includes(J))U.push("TERMINATED");else if(["PROCESSING","审批中","处理中"].includes(J))U.push("PROCESSING");else if(["CANCELLED","CANCELED","已撤回","已撤销"].includes(J))U.push("CANCELLED");else if(J)U.push(J)}return U.length>0?U:void 0}function N21($,I,U){if(!I)return U?`${$} (${U})`:$;return(I.split(/[。\n\r;;!!]/)[0]?.trim()||I.trim()).replace(/[*#`_]/g,"").trim().slice(0,22)}function M21($){if($.outputFile){let K=_L($.outputFile),q=O21(K);if(!TV0(q))EV0(q,{recursive:!0});return K}let I=$.corpName.replace(/[/\\?%*:|"<>]/g,"_").trim()||"审批记录",U=$.dateTag||new Date().toISOString().slice(0,10),Y=$.recordCount>0?`${$.recordCount}条`:"空数据",J=`${I}_审核记录_${U}_${Y}.xlsx`,Q;if($.toDownloads)Q=_L(D21(),"Downloads");else Q=_L(process.cwd(),"exports");if(!TV0(Q))EV0(Q,{recursive:!0});return _L(Q,J)}async function SL($,I,U={}){let Y=I.name||I.id,J=U.pageSize??100,Q=U.pageDelayMs??250,K=U.limit??1e5,q=BV0(U.startDate,!1),G=BV0(U.endDate,!0),H=F21(U.manualApprovalStatus);console.error(`正在加载企业「${Y}」审核规则集...`);let W=new Map;try{(await M$($)).rules.forEach((p,n)=>{let S=`rule-${p.code??n}`,f=N21(S,p.description,p.scope);W.set(S,{id:S,code:String(p.code??n),title:`[${S}] ${f}`,desc:p.description})})}catch(C){console.error(`⚠️ 加载规则字典失败: ${C.message},将仅导出基础信息列。`)}let V=Array.from(W.keys()).sort((C,p)=>{let n=parseInt(C.replace(/\D/g,""),10)||0,S=parseInt(p.replace(/\D/g,""),10)||0;return n-S});console.error(`已就绪 ${V.length} 个规则列。开始拉取单据...`);let w=[],Z=0,z=0;while(w.length0)try{C=await X8($,{limit:J,offset:Z,startDate:q,endDate:G,status:U.status,manualApprovalStatus:H});break}catch(S){if(p--,console.error(`分页拉取失败 (offset=${Z}): ${S.message},剩余重试 ${p} 次...`),p===0)throw S;await new Promise((f)=>setTimeout(f,1000))}if(!C||!C.records||C.records.length===0)break;z=C.total??z;for(let S of C.records){if(U.includeCompletedOnly&&S.status!=="completed")continue;if(S.status==="completed"&&(!S.result||!S.result.rulesResult))try{let f=await f4($,S.id);w.push(f)}catch{w.push(S)}else w.push(S);if(w.length>=K)break}Z+=C.records.length;let n=z>0?(Z/z*100).toFixed(1):"-";if(Z%500===0||Z>=z||w.length>=K)console.error(`[进度] 已读取单据: ${Z}/${z} (${n}%),有效加入: ${w.length} 条`);if(C.records.length=z)break;if(Q>0)await new Promise((S)=>setTimeout(S,Q))}console.error(`成功拉取 ${w.length} 条单据数据,正在生成高保真 Excel...`);let L=new vV0.default.Workbook;L.creator="Seal AI (seal-use)",L.created=new Date;let D=L.addWorksheet("审核记录明细",{views:[{state:"frozen",ySplit:1,xSplit:2}]}),F=[{header:"单据编号",key:"sn",width:16},{header:"单据模板名称",key:"templateName",width:26},{header:"来源系统",key:"sourceSystem",width:12},{header:"任务模式",key:"taskMode",width:12},{header:"状态",key:"status",width:12},{header:"AI行为",key:"aiAction",width:14},{header:"AI决策",key:"aiDecision",width:14},{header:"思考深度",key:"thinkingDepth",width:12},{header:"人工审核",key:"manualStatus",width:16},{header:"人工驳回原因",key:"humanRejectReason",width:36},{header:"创建时间",key:"createdAt",width:20},{header:"任务耗时",key:"duration",width:12},{header:"关联规则数",key:"hitRuleCount",width:12},{header:"关联规则汇总",key:"hitRulesSummary",width:30},{header:"AI审核结论摘要",key:"aiSummary",width:45}],E=V.map((C)=>{return{header:W.get(C).title,key:`rule_${C}`,width:22}});D.columns=[...F,...E];let T=D.getRow(1);T.height=32,T.eachCell((C,p)=>{let n=p<=F.length;C.font={name:"Microsoft YaHei",bold:!0,color:{argb:"FFFFFFFF"},size:11},C.fill={type:"pattern",pattern:"solid",fgColor:{argb:n?"FF1E3A8A":"FF334155"}},C.alignment={vertical:"middle",horizontal:n&&p<=2?"left":"center",wrapText:!1}});let A={},R=0;for(let C of w){let p=C.result||{},n=C.document||{},S="未知模板";if(Array.isArray(n.fields)){let F0=n.fields.find((g0)=>g0.label==="单据模板"||g0.label==="流程名称"||g0.key==="templateName"||g0.key==="specificationId"||g0.key==="formName");if(F0?.value)S=String(F0.value)}if(S==="未知模板"&&(n.name||n.title))S=n.name||n.title;let f=C.taskMode||"-";if(f==="assisted")f="辅助审核";else if(f==="simulation")f="测试任务";else if(f==="automatic")f="自动审批";let i=C.status||"-";if(i==="completed")i="已完成";else if(i==="processing")i="处理中";else if(i==="failed")i="失败";let Y0=p.decision||C.aiDecision||"-",B=Y0,k="-";if(Y0==="APPROVE")B="通过",k="添加评论";else if(Y0==="REVIEW")B="转交复核",k="转交复核";else if(Y0==="REJECT")B="驳回",k="驳回";let d="-";if(C.createdAt&&C.updatedAt&&C.status==="completed"){let F0=Math.round((Number(C.updatedAt)-Number(C.createdAt))/1000);if(F0>=60)d=`${Math.floor(F0/60)}分${F0%60}秒`;else if(F0>0)d=`${F0}秒`}let t=C.manualApprovalRecord||{},K0="-";if(t.status?.label)K0=String(t.status.label);else if(t.status?.type){let F0=String(t.status.type);if(F0==="APPROVED")K0="已通过";else if(F0==="TERMINATED")K0="被驳回";else if(F0==="PROCESSING")K0="处理中";else if(F0==="CANCELLED")K0="已撤回";else K0=F0}A[K0]=(A[K0]||0)+1;let W0=t.rejectComment?String(t.rejectComment).trim():"-";if(W0!=="-")R++;let A0=new Map,v0=[];if(Array.isArray(p.rulesResult)){for(let F0 of p.rulesResult)if(F0.id)A0.set(F0.id,F0.checkResult||"PASS"),v0.push(F0.id)}if(Array.isArray(p.hitRules)){for(let F0 of p.hitRules)if(F0.id&&!A0.has(F0.id))A0.set(F0.id,"TRIGGERED"),v0.push(F0.id)}let L1="-";if(C.createdAt)L1=new Date(Number(C.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1});let f0={sn:C.sourceDocumentSN||C.sourceDocumentId||"-",templateName:S,sourceSystem:C.sourceSystem||"合思",taskMode:f,status:i,aiAction:k,aiDecision:B,thinkingDepth:"标准",manualStatus:K0,humanRejectReason:W0,createdAt:L1,duration:d,hitRuleCount:v0.length,hitRulesSummary:v0.join(", ")||"-",aiSummary:p.summary||"-"};for(let F0 of V){let g0=A0.get(F0);if(g0)if(g0==="PASS")f0[`rule_${F0}`]="关联 (通过)";else if(g0==="FAIL")f0[`rule_${F0}`]="关联 (不通过)";else if(g0==="UNKNOWN")f0[`rule_${F0}`]="关联 (待复核)";else f0[`rule_${F0}`]="已关联";else f0[`rule_${F0}`]="未关联"}let H1=D.addRow(f0);H1.height=24,H1.eachCell((F0,g0)=>{let m0=String(F0.value||"");if(F0.font={name:"Microsoft YaHei",size:10},F0.border={top:{style:"thin",color:{argb:"FFE2E8F0"}},bottom:{style:"thin",color:{argb:"FFE2E8F0"}},left:{style:"thin",color:{argb:"FFE2E8F0"}},right:{style:"thin",color:{argb:"FFE2E8F0"}}},g0<=F.length){if(F0.alignment={vertical:"middle",horizontal:[1,2,10,14,15].includes(g0)?"left":"center",wrapText:[10,14,15].includes(g0)},g0===7){if(m0==="通过")F0.font={color:{argb:"FF16A34A"},bold:!0};else if(m0==="转交复核")F0.font={color:{argb:"FFD97706"},bold:!0};else if(m0==="驳回")F0.font={color:{argb:"FFDC2626"},bold:!0}}if(g0===9){if(m0.includes("驳回"))F0.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},F0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(m0.includes("通过")||m0.includes("支付")||m0.includes("完成"))F0.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},F0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(m0.includes("处理中")||m0.includes("审批中"))F0.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"}},F0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}}}if(g0===10&&m0!=="-")F0.font={name:"Microsoft YaHei",size:9,color:{argb:"FF991B1B"}}}else if(F0.alignment={vertical:"middle",horizontal:"center"},m0.includes("不通过"))F0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}},F0.font={color:{argb:"FF991B1B"},bold:!0};else if(m0.includes("通过"))F0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}},F0.font={color:{argb:"FF166534"},bold:!0};else if(m0.includes("待复核")||m0.includes("已关联"))F0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}},F0.font={color:{argb:"FF92400E"}};else F0.font={color:{argb:"FF94A3B8"}}})}let u;if(U.startDate){let C=String(U.startDate);if(/^\d{4}-\d{2}-\d{2}/.test(C))u=`${C.slice(0,10)}至今`;else if(/^\d+$/.test(C)){let p=new Date(Number(C));u=`${p.getFullYear()}${String(p.getMonth()+1).padStart(2,"0")}${String(p.getDate()).padStart(2,"0")}至今`}}let g=M21({outputFile:U.outputFile,toDownloads:U.toDownloads,corpName:Y,dateTag:u,recordCount:w.length});await L.xlsx.writeFile(g),console.error(`Excel 文件已成功落地: ${g}`);let b=L21(g);return{filePath:g,corpId:I.id,corpName:Y,recordCount:w.length,ruleColumnCount:V.length,statusCounts:A,rejectReasonCount:R,fileSizeBytes:b.size,exportedAt:new Date().toISOString()}}import RV0 from"node:fs";import CV0 from"node:path";function A21($){try{let I=new URL($);if(I.search)return`${I.origin}${I.pathname}?[MASKED]`;return $}catch{return $.replace(/\?.*$/,"?[MASKED]")}}function P21($){return $.replace(/[/\\?%*:|"<>]/g,"_").trim()||"attachment"}function jV0($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}function T21($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function R1($){return typeof $==="string"&&$.trim()?$.trim():void 0}function sy($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function E21($){if(!$)return;if(typeof $==="string")try{let I=JSON.parse($);if(I&&typeof I==="object")return I}catch{return}if(typeof $==="object"&&!Array.isArray($))return $;return}function B21($,I,U){if(U?.fieldType?.toUpperCase()==="ATTACHMENT"){if(Boolean($.fileName||$.filename||$.name||$.originalName||$.fileId||$.ossPath||$.url||$.ossSignedUrl||$.signedUrl||$.token))return!0}if($.ossSignedUrl||$.signedUrl)return!0;let Y=$.fileName??$.filename??$.name??$.originalName,J=$.fileId??$.id??$.attachmentId,Q=$.ossPath??$.ossKey,K=$.url??$.downloadUrl??$.previewUrl,q=$.mimeType??$.mimetype??$.contentType,G=$.ossFileSize??$.fileSize??$.size;if(Y&&(K||Q||J||G))return!0;if(J&&(q||G||Q||K))return!0;let H=Object.keys($).map((w)=>w.toLowerCase());return(/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(I)||Boolean(U?.fieldKey&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldKey))||Boolean(U?.fieldLabel&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldLabel)))&&["filename","filename","mimetype","contenttype","fileid","osspath","signedurl","downloadurl","previewurl","attachmentid","ossfilesize","osssignedurl"].some((w)=>H.includes(w))}function v21($,I,U){let Y=`${$} ${U?.fieldLabel??""} ${U?.fieldKey??""} ${R1(I.type)??""} ${R1(I.category)??""}`.toLowerCase();if(Y.includes("invoice")||Y.includes("发票"))return"invoice";if(Y.includes("receipt"))return"receipt";let J=(R1(I.fileName)??R1(I.name)??"").toLowerCase();if(J.includes("发票")||J.includes("invoice"))return"invoice";return"attachment"}function ey($,I,U,Y,J){if(Array.isArray($)){$.forEach((H,W)=>ey(H,`${I}.${W}`,U,Y,J));return}let Q=T21($);if(!Q)return;let K=Q.type&&typeof Q.type==="string"||"label"in Q&&"value"in Q||"key"in Q&&"value"in Q,q=J;if(K)q={fieldLabel:R1(Q.label)??J?.fieldLabel,fieldKey:R1(Q.key)??J?.fieldKey,fieldType:R1(Q.type)??J?.fieldType};if(!(Array.isArray(Q.value)&&!Q.url&&!Q.ossSignedUrl&&!Q.fileId)&&B21(Q,I,J)){let H=E21(Q.token),W=R1(H?.key),V=R1(H?.fileId),w=jV0({path:I,fieldPath:I,kind:v21(I,Q,J),fileName:R1(Q.fileName)??R1(Q.filename)??R1(Q.name)??R1(Q.originalName),mimeType:R1(Q.mimeType)??R1(Q.mimetype)??R1(Q.contentType),fileId:R1(Q.fileId)??R1(Q.id)??R1(Q.attachmentId)??V,ossPath:R1(Q.ossPath)??R1(Q.ossKey)??W,url:R1(Q.url)??R1(Q.signedUrl)??R1(Q.downloadUrl)??R1(Q.previewUrl),ossSignedUrl:R1(Q.ossSignedUrl)??R1(Q.signedUrl),token:Q.token,tokenKey:W,category:R1(Q.category),ossFileSize:sy(Q.ossFileSize)??sy(Q.fileSize)??sy(Q.size),invoiceId:R1(Q.invoiceId),sourceField:R1(Q.fieldName)??R1(Q.label)??J?.fieldLabel??J?.fieldKey}),Z=JSON.stringify(w);if(!Y.has(Z))Y.add(Z),U.push(w)}for(let[H,W]of Object.entries(Q))ey(W,`${I}.${H}`,U,Y,q)}function wJ($,I={}){let U=[["document",$.document],["result",$.result],["pipelineData",$.pipelineData],["sourceExtendData",$.sourceExtendData]],Y=[],J=new Set;for(let[Q,K]of U)ey(K,Q,Y,J);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,count:Y.length,attachments:I.summary?Y.map((Q)=>jV0({path:Q.path,kind:Q.kind,fileName:Q.fileName,mimeType:Q.mimeType,fileId:Q.fileId,sourceField:Q.sourceField,ossFileSize:Q.ossFileSize,hasSignedUrl:Boolean(Q.ossSignedUrl)})):Y}}async function gL($){let{record:I,fetchFn:U=globalThis.fetch}=$,J=wJ(I,{summary:!1}).attachments,Q=CV0.resolve($.outDir??"./attachments");if(J.length===0)return{recordId:I.id,outDir:Q,total:0,downloaded:0,failed:0,files:[]};let K=[];if($.name){let V=$.name.toLowerCase();if(K=J.filter((w)=>{let Z=w.fileName?.toLowerCase()??"",z=w.fileId?.toLowerCase()??"",L=w.tokenKey?.toLowerCase()??"";return Z.includes(V)||z===V||L.includes(V)}),K.length===0){let w=J.map((Z)=>Z.fileName??Z.fileId).filter(Boolean).join(", ");throw Error(`未找到匹配 "${$.name}" 的附件。可选附件: ${w||"无"}`)}}else if(!$.all){if(J.length>1){let V=J.map((w)=>w.fileName??w.fileId).filter(Boolean).join(", ");throw Error(`共发现 ${J.length} 个附件。请使用 --all 下载全部附件,或使用 --name <名称|fileId> 指定下载项。可选附件: ${V}`)}K=J}else K=J;await RV0.promises.mkdir(Q,{recursive:!0});let q=[],G=new Set;for(let V of K){let w=V.fileName??V.fileId??"attachment",Z=P21(w),z=Z,L=Z.lastIndexOf("."),D=L>0?Z.slice(0,L):Z,F=L>0?Z.slice(L):"",E=1;while(G.has(z.toLowerCase()))z=`${D}_${E}${F}`,E++;G.add(z.toLowerCase());let T=V.ossSignedUrl??V.url;if(!T){console.error(`⚠️ [跳过] 附件 "${w}": 记录中无下载直链 (ossSignedUrl/url)`),q.push({name:z,fileId:V.fileId,status:"failed",error:"缺少可用的下载直链 (ossSignedUrl/url)。",sourceField:V.sourceField,tokenKey:V.tokenKey});continue}let A=A21(T);try{let R=await U(T,{signal:AbortSignal.timeout(60000)});if(!R.ok){let C=R.status===403?"HTTP 403 Forbidden: 签名直链可能已过期":`HTTP ${R.status} ${R.statusText}`;throw Error(C)}let u=await R.arrayBuffer(),g=Buffer.from(u);if(V.ossFileSize!==void 0&&g.length!==V.ossFileSize)console.error(`⚠️ [校验] 附件 "${z}" 实际大小 (${g.length} 字节) 与 ossFileSize (${V.ossFileSize} 字节) 不一致`);let b=CV0.join(Q,z);await RV0.promises.writeFile(b,g),console.error(`✓ 已下载: ${z} (${g.length} 字节)`),q.push({name:z,fileId:V.fileId,path:b,size:g.length,expectedSize:V.ossFileSize,status:"success",sourceField:V.sourceField,tokenKey:V.tokenKey})}catch(R){let u=R.message??String(R);console.error(`⚠️ [失败] 附件 "${w}" 下载失败: ${u} [${A}]`),q.push({name:z,fileId:V.fileId,status:"failed",error:u,sourceField:V.sourceField,tokenKey:V.tokenKey})}}let H=q.filter((V)=>V.status==="success").length,W=q.filter((V)=>V.status==="failed").length;return{recordId:I.id,outDir:Q,total:K.length,downloaded:H,failed:W,files:q}}import{existsSync as t3,mkdirSync as h21,readFileSync as yV0,readdirSync as x21,writeFileSync as k21}from"node:fs";import{homedir as xL}from"node:os";import{dirname as u21,join as sq}from"node:path";var R21=X.object({type:X.literal("hose"),domain:X.string().url().default("https://app.ekuaibao.com"),appKey:X.string().optional(),appSecurity:X.string().optional(),key:X.string().optional(),password:X.string().optional(),staffId:X.string(),corpId:X.string(),sealUrl:X.string().url().optional()}).superRefine(($,I)=>{if(!$.appKey&&!$.key)I.addIssue({code:"custom",path:["appKey"],message:"Hose source requires appKey or key"});if(!$.appSecurity&&!$.password)I.addIssue({code:"custom",path:["appSecurity"],message:"Hose source requires appSecurity or password"})}),C21=X.object({type:X.literal("direct"),token:X.string(),sealUrl:X.string().url(),expiresIn:X.number().int().positive().default(3600),staffId:X.string().default("direct"),corpId:X.string().optional()}),j21=X.object({type:X.literal("seal"),token:X.string(),sealUrl:X.string().url(),expiresIn:X.number().int().positive().default(3600),staffId:X.string().default("seal"),corpId:X.string().optional(),tenantId:X.string().optional(),tenantSlug:X.string().optional(),tenantName:X.string().optional(),providerUserId:X.string().optional(),provider:X.string().optional(),providerName:X.string().optional()}),_21=X.discriminatedUnion("type",[R21,C21,j21]),_V0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,$h=X.record(X.string().regex(_V0,"Invalid HTTP header name"),X.string()).superRefine(($,I)=>{for(let U of Object.keys($))if(U.toLowerCase()==="authorization")I.addIssue({code:"custom",path:[U],message:"seal.headers cannot set Authorization; the Seal session supplies the bearer token"})}).optional(),Ih=X.record(X.string().regex(_V0,"Invalid cookie name"),X.string().refine(($)=>!/[\u0000-\u001f\u007f;]/.test($),{message:"Cookie value cannot contain control characters or semicolons"})).optional(),S21=X.object({url:X.string().url().optional(),tenantSlug:X.string().optional(),headers:$h,cookies:Ih,endpoints:X.object({approvalStylePreferences:X.string().default("api/v1/agent/ai-approval/config")}).default({approvalStylePreferences:"api/v1/agent/ai-approval/config"})}).default({endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}}),g21=X.object({refreshTtl:X.number().int().positive().default(300)}).default({refreshTtl:300}),SV0=X.object({id:X.string(),name:X.string(),seal:S21,source:_21,auth:g21}),y21=X.object({enabled:X.boolean().default(!1),activeLinter:X.string().default("builtin"),minScore:X.number().min(0).max(100).default(0)}).default({enabled:!1,activeLinter:"builtin",minScore:0}),yL=X.object({stateful:X.boolean().default(!1),defaultCorpId:X.string().min(1).optional(),testEnterprisesDir:X.string().min(1).optional(),lint:y21});var Uh="SEAL_USE_ENTERPRISES_DIR",hV0="SEAL_HOME_ENTERPRISES_DIR",xV0="SEAL_USE_USER_ENTERPRISES_DIR",kV0="SEAL_HOME_USER_ENTERPRISES_DIR",uV0="SEAL_USE_CONFIG_FILE",fV0="SEAL_HOME_CONFIG_FILE",Yh=sq(xL(),".config","seal-use","enterprises"),bV0=sq(xL(),".config","seal-home","enterprises"),hL=sq(xL(),".config","seal-use","config.json"),gV0=sq(xL(),".config","seal-home","config.json");function b8(){let $=f21(),I=new Map;for(let U of $)for(let Y of x21(U).filter((J)=>J.endsWith(".json")).filter((J)=>!J.startsWith("example."))){let J=yV0(sq(U,Y),"utf-8"),Q=SV0.parse(JSON.parse(J));I.set(Q.id,Q)}return Array.from(I.values())}function f21(){let $=(process.env[Uh]??process.env[hV0])?.trim();if($)return t3($)?[$]:[];let I=(process.env[xV0]??process.env[kV0])?.trim(),U=I?t3(I)?[I]:[]:[Yh,bV0],J=L4().testEnterprisesDir?.trim(),Q=J?[J,...U]:U,K=[];for(let q of Q)if(t3(q)&&!K.includes(q))K.push(q);return K}function Jh(){let $=(process.env[Uh]??process.env[hV0])?.trim();if($)return $;let I=(process.env[xV0]??process.env[kV0])?.trim();if(I)return I;let U=L4().testEnterprisesDir?.trim();if(U&&t3(U))return U;return Yh}function a3(){let $=L4().testEnterprisesDir?.trim();return[`${Uh}=`,...$?[`testEnterprisesDir: ${$}`]:[],Yh,bV0]}function s3(){let $=(process.env[uV0]??process.env[fV0])?.trim();if($)return $;if(t3(hL))return hL;if(t3(gV0))return gV0;return hL}function L4(){let $=s3();if(!t3($))return yL.parse({});return yL.parse(JSON.parse(yV0($,"utf-8")))}function e3($){let I=yL.parse($),Y=(process.env[uV0]??process.env[fV0])?.trim()||hL;return h21(u21(Y),{recursive:!0,mode:448}),k21(Y,`${JSON.stringify(I,null,2)} +`,{mode:384}),I}function ZJ($,I,U=[]){let Y=I.corpId?.trim()||void 0,J=I.stateful?I.defaultCorpId?.trim()||void 0:void 0,Q=Y??J;if(Q){let q=$.find((G)=>G.id===Q);if(q)return q;throw Error(`No enterprise config found for ${Q}`)}if(!I.stateful)throw Error("Stateless mode is enabled. Every enterprise command requires --corp . Use `seal-home config mode stateful` to enable a default enterprise.");let K=$[0];if(K)return K;throw Error("No enterprise config found. Add a non-example JSON file under one of: "+(U.length?U.join(", "):"the configured enterprise directories"))}import{readFileSync as JG1}from"node:fs";import{randomBytes as QG1}from"node:crypto";var pV0=300000,iV0=new Map;function b21($,I){return $.map((U)=>U.trim()).filter(Boolean).map((U)=>I?U:U.toLowerCase())}function i21($,I){return I?$:$.toLowerCase()}function n21($,I,U,Y){let J=i21($,Y),Q=I.filter((K)=>J.includes(K));if(U==="all"&&Q.length!==I.length)return[];return Q}function p21($){if(typeof $==="string")return $.split(/\r?\n/);return JSON.stringify($,null,2).split(/\r?\n/)}function c21($,I){if(I.fields&&!I.fields.has($.field))return[];let U=p21($.value),Y=[];return U.forEach((J,Q)=>{let K=n21(J,I.keywords,I.matchMode,I.caseSensitive);if(K.length===0)return;let q=Math.max(0,Q-I.contextLines),G=Math.min(U.length,Q+I.contextLines+1),H={area:$.area,entityType:$.entityType,entityId:$.entityId,title:$.title,field:$.field,lineNumber:Q+1,matchedKeywords:K,matchedText:kL(J,I.maxChars),context:{before:I.snippetOnly?[]:U.slice(q,Q).map((W)=>kL(W,I.maxChars)),line:kL(J,I.maxChars),after:I.snippetOnly?[]:U.slice(Q+1,G).map((W)=>kL(W,I.maxChars))},metadata:$.metadata};if(I.snippetOnly)H.context={before:[],line:H.context.line,after:[]};Y.push(H)}),Y}function kL($,I){if(!I||$.length<=I)return $;return`${$.slice(0,Math.max(0,I))}...`}function d21($){return[{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"description",value:$.description,metadata:{scope:$.scope,strictness:$.strictness,status:$.status}},{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"scope",value:$.scope,metadata:{strictness:$.strictness,status:$.status}}]}function nV0($){return $.rules.flatMap((I,U)=>{let Y=`${$.id}:${I.description.slice(0,32)}`,J={versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedByName:$.publishedByName,publishedAt:$.publishedAt,scope:I.scope,strictness:I.strictness,code:"code"in I?I.code:void 0,index:U};return[{area:"rules",entityType:"rule",entityId:Y,title:`${$.versionName} / ${I.scope}`,field:"history.description",value:I.description,metadata:J},{area:"rules",entityType:"rule",entityId:Y,title:`${$.versionName} / ${I.scope}`,field:"history.scope",value:I.scope,metadata:J}]})}function m21($){return[{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"title",value:$.title,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"purpose",value:$.purpose,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"content",value:$.content,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}}]}function l21($){let I=[];if($.decisionPreferences)for(let[U,Y]of Object.entries($.decisionPreferences))I.push({area:"preferences",entityType:"preference",field:`decisionPreferences.${U}`,value:Y,metadata:{integrationSystem:$.integrationSystem}});return $.integrations.forEach((U,Y)=>{I.push({area:"preferences",entityType:"integration",title:U.outboundName,field:`integrations[${Y}]`,value:U,metadata:{type:U.type,outboundName:U.outboundName,mode:U.mode,corporationId:U.corporationId}})}),I}async function o21($,I,U){let Y=U.ruleVersionScope??"current",J=[I.id,`ruleVersionScope=${Y}`,`ruleVersionId=${U.ruleVersionId??""}`,`ruleVersionNumber=${U.ruleVersionNumber??""}`,`latestRuleVersion=${U.latestRuleVersion??!1}`,`documentLimit=${U.documentLimit??100}`].join("|"),Q=iV0.get(J);if(!U.refresh&&Q&&Date.now()J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}async function cV0($,I,U){let Y=U.matchMode??"any",J=U.caseSensitive??!1,Q=U.contextLines??3,K=new Set(U.areas??["rules","documents","preferences"]),q=U.maxResults??50,G=U.ruleVersionScope??"current",H=b21(U.keywords,J),W=U.fields?.length?new Set(U.fields):void 0;if(H.length===0)throw Error("keywords must contain at least one non-empty string");let V=await o21($,I,{documentLimit:U.documentLimit,refresh:U.refresh,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion}),w=V.entries.filter((Z)=>K.has(Z.area)).flatMap((Z)=>c21(Z,{keywords:H,matchMode:Y,caseSensitive:J,contextLines:Q,snippetOnly:U.snippetOnly,maxChars:U.maxChars,fields:W}));return{query:{keywords:U.keywords,matchMode:Y,areas:Array.from(K),caseSensitive:J,contextLines:Q,refresh:U.refresh??!1,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion??!1,snippetOnly:U.snippetOnly??!1,maxChars:U.maxChars,fields:U.fields},cache:{fetchedAt:new Date(V.fetchedAt).toISOString(),expiresAt:new Date(V.expiresAt).toISOString(),ttlMs:pV0},total:w.length,returned:Math.min(w.length,q),results:w.slice(0,q)}}var dV0=X.object({level:X.enum(["error","warning","info"]),code:X.string(),message:X.string(),snippet:X.string().optional(),suggestion:X.string().optional()}),A_1=X.object({score:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(dV0)}),a21=X.object({ruleId:X.string().optional(),ruleCode:X.string().optional(),ruleName:X.string().optional(),score:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(dV0),description:X.string().optional()}),P_1=X.object({linter:X.string(),linterType:X.enum(["builtin","custom"]),totalRules:X.number(),healthyCount:X.number(),issueCount:X.number(),overallScore:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(a21)});var s21=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况"],e21=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],$K1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"];function $I($){let I=($.description||"").trim(),U=[];if(I.length<5)U.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});for(let G of s21)if(I.includes(G))U.push({level:"error",code:"VAGUE_WORD",snippet:G,message:`包含主观模糊词 "${G}",容易导致大模型判定标准产生波动与幻觉`,suggestion:`建议移除 "${G}",改为具体的金额上限、枚举范围或刚性判定条件`});let Y=e21.find((G)=>I.includes(G)),J=$K1.some((G)=>I.includes(G));if(Y&&!J)U.push({level:"warning",code:"HANGING_EXCEPTION",snippet:Y,message:`包含例外条款 "${Y}",但未指定 AI 从何处核验该例外成立的依据`,suggestion:'建议补充明确的凭据来源(例如:"需在【单据备注】中说明原因" 或 "需在【附件】中上传审批截图")'});let Q=U.filter((G)=>G.level==="error").length,K=U.filter((G)=>G.level==="warning").length;return{score:Math.max(0,100-Q*25-K*10),passed:Q===0,issues:U}}import{existsSync as Qh,readdirSync as v_1}from"node:fs";import{homedir as IK1}from"node:os";import{isAbsolute as UK1,join as Z7,resolve as YK1}from"node:path";import{pathToFileURL as JK1}from"node:url";var Kh=Z7(IK1(),".config","seal-use","linters"),qh=Z7(process.cwd(),"linters");function QK1($){if(!$||$==="builtin")return;if(UK1($)||$.startsWith("./")||$.startsWith("../")){let U=YK1($);if(Qh(U))return U;for(let Y of[".ts",".js",".mjs"])if(Qh(`${U}${Y}`))return`${U}${Y}`}let I=[Z7(Kh,`${$}.ts`),Z7(Kh,`${$}.js`),Z7(Kh,`${$}.mjs`),Z7(qh,`${$}.ts`),Z7(qh,`${$}.js`),Z7(qh,`${$}.mjs`)];for(let U of I)if(Qh(U))return U;return}async function Gh($){if(!$||$==="builtin")return{name:"builtin",type:"builtin",linter:$I};let I=QK1($);if(!I)return console.error(`⚠️ [linter] 未找到自定义校验器 "${$}",已自动安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:$I};try{let Y=await import(JK1(I).href),J=Y.default??Y.lintRule??Y.linter??Y.lint;if(typeof J!=="function")return console.error(`⚠️ [linter] 自定义校验器 "${I}" 未导出标准函数 (default / lintRule),已安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:$I};return{name:$,type:"custom",filePath:I,linter:async(K,q)=>{try{let G=await J(K,q);if(G&&typeof G==="object"&&typeof G.score==="number"&&Array.isArray(G.issues))return G;return console.error("⚠️ [linter] 自定义校验器返回值格式不符合 RuleLintResult 契约,已回退至内置结果。"),$I(K)}catch(G){return console.error("⚠️ [linter] 自定义校验器执行异常:",G),$I(K)}}}}catch(U){return console.error(`⚠️ [linter] 加载自定义校验器脚本 "${I}" 失败(语法错误或依赖缺失: ${U?.message??U}),已自动安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:$I}}}async function Hh($,I,U){let Y=await I.linter($,U);return{ruleId:$.id,ruleCode:$.code,ruleName:$.name,score:Y.score,passed:Y.passed,issues:Y.issues,description:$.description}}async function mV0($,I,U,Y){let J=Y?.minScore??0,Q=Y?.level??"all",K=[],q=0;for(let Z of $){let z=await Hh(Z,I,U);q+=z.score;let L=z.issues;if(Q==="error")L=z.issues.filter((F)=>F.level==="error");else if(Q==="warning")L=z.issues.filter((F)=>F.level==="warning"||F.level==="error");let D=L.every((F)=>F.level!=="error");if(Y?.summary){if(L.length>0)K.push({...z,passed:D,issues:L})}else K.push({...z,passed:D,issues:L})}let G=$.length,H=G===0?100:Math.round(q/G),W=K.filter((Z)=>Z.issues.length>0).length,V=G-W,w=H>=J&&K.every((Z)=>Z.passed);return{linter:I.name,linterType:I.type,totalRules:G,healthyCount:V,issueCount:W,overallScore:H,passed:w,issues:K}}import{existsSync as KK1,readFileSync as qK1,writeFileSync as GK1,mkdirSync as HK1}from"node:fs";import{dirname as WK1,resolve as oV0}from"node:path";function VK1($){let I;try{I=JSON.parse($)}catch(U){throw Error(`本地规则文件 JSON 解析失败: ${U instanceof Error?U.message:String(U)}`)}if(Array.isArray(I))return{rules:lV0(I),meta:{rulesCount:I.length}};if(I&&typeof I==="object"){let U=I,Y=Array.isArray(U.rules)?U.rules:void 0;if(!Y)throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象");return{rules:lV0(Y),meta:{corpId:typeof U.corpId==="string"?U.corpId:void 0,source:typeof U.source==="string"?U.source:void 0,versionNumber:typeof U.versionNumber==="number"?U.versionNumber:void 0,exportedAt:typeof U.exportedAt==="string"?U.exportedAt:void 0,rulesCount:Y.length}}}throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象")}function lV0($){return $.map((I,U)=>{if(!I||typeof I!=="object")throw Error(`第 ${U+1} 条规则格式错误: 必须为对象`);let Y=I,J=typeof Y.description==="string"?Y.description.trim():"";if(!J)throw Error(`第 ${U+1} 条规则缺少有效的 'description' (规则描述) 字段`);let Q=typeof Y.code==="number"||typeof Y.code==="string"?Y.code:U+1;return{...Y,code:Q,description:J,scope:typeof Y.scope==="string"?Y.scope:"ALL",strictness:typeof Y.strictness==="string"?Y.strictness:"MUST_FOLLOW"}})}function Wh($){let I=oV0($);if(!KK1(I))throw Error(`未找到本地规则文件: ${$} (${I})`);let U=qK1(I,"utf8");return{...VK1(U),resolvedPath:I}}function rV0($,I){let U=oV0($);return HK1(WK1(U),{recursive:!0}),GK1(U,`${JSON.stringify(I,null,2)} +`,"utf8"),U}function tV0($){return $.map((I,U)=>{let Y;if(typeof I.code==="number")Y=`#${String(I.code).padStart(4,"0")}`;else if(typeof I.code==="string")Y=I.code.startsWith("#")?I.code:`#${I.code}`;else Y=`#${String(U+1).padStart(4,"0")}`;return{id:I.id,code:Y,name:I.name,description:I.description,scope:I.scope,strictness:I.strictness}})}class g$ extends Error{errors;warnings;constructor($,I=[]){super([`材料包校验失败:${$.length} 个错误`,...$.map((U)=>`- ${U}`)].join(` +`));this.errors=$;this.warnings=I;this.name="MaterialPackValidationError"}}import{createHmac as wK1,randomBytes as ZK1}from"node:crypto";function XK1($,I,U,Y){return wK1("sha256",Y).update(`${$}.${I}.${JSON.stringify(U)}`).digest("hex")}function Vh($,I){let U=Math.floor(Date.now()/1000),Y=ZK1(16).toString("hex");return{Authorization:`Bearer ${I}`,"x-webhook-signature":XK1(U,Y,$,I),"x-webhook-timestamp":String(U),"x-webhook-nonce":Y}}var Ix=ZI(Lw0(),1),QZ0=ZI(JZ0(),1);var UD={maxEntries:1000,maxTotalSize:524288000,maxCompressionRatio:150};async function KZ0($){return new Promise((I,U)=>{Ix.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(Y,J)=>{if(Y||!J)return U(Y??Error("无法打开 ZIP"));let Q=[];J.readEntry(),J.on("entry",(K)=>{let q=qZ0(K);if(!q.endsWith("/")&&!pq1(q))Q.push({fileName:q,uncompressedSize:K.uncompressedSize,compressedSize:K.compressedSize,raw:K});J.readEntry()}),J.on("end",()=>I(Q)),J.on("error",U)})})}function qZ0($){let I=Buffer.isBuffer($.fileName)?$.fileName:Buffer.from(String($.fileName),"binary"),U=I.toString("utf8");if(!U.includes("�"))return U;let Y=QZ0.default.decode(I,"gbk");if(!Y.includes("�"))return Y;return U}function pq1($){let I=$.split("/").pop()??"";return $.split("/").includes("__MACOSX")||I===".DS_Store"||I.startsWith("._")||I.startsWith(".~")||I.startsWith("~$")}function GZ0($,I){let U=[],Y=LU(I);if($.length>UD.maxEntries)U.push(`文件数超过 ${UD.maxEntries}`);if($.reduce((K,q)=>K+q.uncompressedSize,0)>UD.maxTotalSize)U.push("解压后总大小超过 500MB");for(let K of $){if(K.fileName.startsWith("/")||K.fileName.split("/").includes(".."))U.push(`存在不安全路径: ${K.fileName}`);if(K.compressedSize>0&&K.uncompressedSize/K.compressedSize>UD.maxCompressionRatio)U.push(`压缩比超过 150: ${K.fileName}`);if(K.fileName==="信息表.xlsx")continue;cq1(K,Y,U)}if(!$.find((K)=>K.fileName==="信息表.xlsx"))U.push("ZIP 根目录缺少精确名为「信息表.xlsx」的文件");if($.some((K)=>K.fileName.toLowerCase().endsWith(".zip")))U.push("不允许嵌套 ZIP");if(U.length)throw new g$(U)}function cq1($,I,U){let Y=dq1($.fileName);if(!Y||!I.allowedExtensions.includes(Y))U.push(`附件后缀不在白名单中: ${$.fileName}(允许: ${I.allowedExtensions.join(", ")})`);if($.uncompressedSizeI.maxFileSizeBytes)U.push(`附件文件过大: ${$.fileName}(${$.uncompressedSize} B,大于最大值 ${I.maxFileSizeBytes} B)`)}function dq1($){let I=$.split("/").pop()??$,U=I.lastIndexOf(".");return U>0?I.slice(U).toLowerCase():""}function Ux($,I){return new Promise((U,Y)=>{Ix.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(J,Q)=>{if(J||!Q)return Y(J??Error("无法打开 ZIP"));Q.readEntry(),Q.on("entry",(K)=>{if(qZ0(K)!==I.fileName)return Q.readEntry();Q.openReadStream(K,(q,G)=>{if(q||!G)return Y(q??Error(`无法读取 ${I.fileName}`));let H=[];G.on("data",(W)=>H.push(W)),G.on("end",()=>U(Buffer.concat(H))),G.on("error",Y)})}),Q.on("error",Y)})})}var WZ0=ZI(ay(),1);function mq1($){return $.startsWith("[附件]")}function VZ0($){return $.startsWith("[附件]")?$.slice(4):$}function lq1($){return VZ0($).toLowerCase().replace(/\s+/g,"_")||"attachment"}function oq1($){if($==null||$==="")return[];return String($).split(/[\n,;,;]/).map((I)=>I.trim()).filter(Boolean)}function Yx($,I){let U=[];for(let[Y,J]of I.entries()){if(!mq1(Y))continue;let Q=$.getCell(J).value,K=oq1(Q);if(!K.length)continue;U.push({key:lq1(Y),label:VZ0(Y),paths:K})}return U}function Jx($){let I=new Map;return $.map((U)=>{let Y=(I.get(U.key)??0)+1;return I.set(U.key,Y),Y===1?U:{...U,key:`${U.key}-${Y}`}})}function YD($,I,U,Y){return{key:$,label:I,type:U,value:Y}}function wZ0($,I,U){return YD($,I,"TEXT",U==null?"":String(U))}function ZZ0($,I,U){return YD($,I,"AMOUNT",typeof U==="number"?{amount:U,currency:"CNY"}:null)}function XZ0($){if($ instanceof Date)return $.toISOString();if(typeof $==="string"&&$.trim())return $.trim();return null}function rq1($){if($ instanceof Date)return Math.floor($.getTime()/1000);if(typeof $==="string"&&$.trim()){let I=Date.parse($.trim().replace(" ","T"));if(Number.isFinite(I))return Math.floor(I/1000)}return null}function KG($){let I=new Map;return $.getRow(1).eachCell((U,Y)=>I.set(String(U.value??"").trim(),Y)),I}function UI($,I,U){let Y=I.get(U);return Y?$.getCell(Y).value:void 0}function tq1($,I){return[["会议编号","meeting_id","TEXT"],["会议名称","meeting_name","TEXT"],["状态","status","TEXT"],["总金额","total_amount","AMOUNT"],["税前劳务总额","pretax_labor_total","AMOUNT"],["报销事由","reimbursement_reason","TEXT"],["po码","po_code","TEXT"],["快递单号","tracking_number","TEXT"],["申请日期","application_date","DATE"],["更新日期","updated_date","DATE"]].flatMap(([Y,J,Q])=>{let K=UI($,I,Y);if(K==null||K==="")return[];return[Q==="TEXT"?wZ0(J,Y,K):Q==="AMOUNT"?ZZ0(J,Y,K):YD(J,Y,Q,XZ0(K))]})}function HZ0($,I,U){return U.flatMap(([Y,J,Q])=>{let K=UI($,I,Y);if(K==null||K==="")return[];return[Q==="TEXT"?wZ0(J,Y,K):Q==="AMOUNT"?ZZ0(J,Y,K):YD(J,Y,Q,XZ0(K))]})}var aq1=[["姓名","name","TEXT"],["身份证号码","id_number","TEXT"],["手机号","phone","TEXT"],["劳务费用","labor_fee","AMOUNT"],["税前费用","pretax_fee","AMOUNT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["联行号","bank_code","TEXT"],["银行卡号","bank_card_number","TEXT"]],sq1=[["报销金额","reimbursement_amount","AMOUNT"],["费用类型","expense_type","TEXT"],["发生时间","occurrence_time","DATE"],["收款人","payee","TEXT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["支行行号","branch_code","TEXT"],["银行卡号","bank_card_number","TEXT"],["费用说明","expense_description","TEXT"]];async function zZ0($){let I=new WZ0.default.Workbook;if(await I.xlsx.load(Buffer.from($)),!I.worksheets.length)throw new g$(["信息表没有任何 Sheet"]);let U=I.worksheets,Y=U[0],J=KG(Y),Q=J.get("会议编号")??1,K=(Y.getRows(2,Y.rowCount)??[]).filter((Z)=>Z.getCell(Q).value!=null&&Z.getCell(Q).value!==""),q=new Set,G=U.find((Z,z)=>z>0&&KG(Z).has("姓名")),H=U.find((Z,z)=>z>0&&KG(Z).has("报销金额")),W=G?KG(G):void 0,V=H?KG(H):void 0;return K.map((Z)=>{let z=String(Z.getCell(Q).value).trim();if(!z)throw new g$(["主表会议编号不能为空"]);if(q.has(z))throw new g$([`主表会议编号重复: ${z}`]);q.add(z);let L=UI(Z,J,"申请日期"),D=(G?.getRows(2,G.rowCount)??[]).filter((g)=>String(UI(g,W,"会议编号")??"").trim()===z),F=(H?.getRows(2,H.rowCount)??[]).filter((g)=>String(UI(g,V,"会议编号")??"").trim()===z),E=D.map((g)=>String(UI(g,W,"姓名")??"").trim()).filter(Boolean),T=Jx(Yx(Z,J)),A={};F.forEach((g,b)=>{let C=Jx(Yx(g,V));if(C.length)A[b]=C});let R={};D.forEach((g)=>{let b=String(UI(g,W,"姓名")??"").trim();if(!b)return;let C=Jx(Yx(g,W));if(C.length)R[b]=C});let u=tq1(Z,J);if(D.length)u.push({key:"daoshi_list",label:"导师列表",type:"LIST",value:D.map((g)=>HZ0(g,W,aq1))});if(F.length)u.push({key:"mingxi_list",label:"明细列表",type:"LIST",value:F.map((g)=>HZ0(g,V,sq1))});return{laborNames:E,documentAttachments:T,expenseAttachments:A,personAttachments:R,document:{type:"document",documentId:z,documentSN:z,startTime:rq1(L),fields:u}}})}function LZ0($,I){let U=[],Y=new Map,J=I.map((K)=>{let{documentAttachments:q,expenseAttachments:G,personAttachments:H}=K,W=K.document.documentId,V=(w,Z)=>{let z=w.split("/")[0],L=z.indexOf("@");if((L>=0?z.slice(0,L):z)!==W)U.push(`单据「${W}」声明了跨单据或非本单据目录的附件路径: ${w}。附件必须位于该单据自己的根目录「${W}/」或「${W}@备注/」下。`);let F=Y.get(w);if(F)F.push({documentId:W,location:Z});else Y.set(w,[{documentId:W,location:Z}])};for(let w of q)w.paths.forEach((Z)=>V(Z,`主表 [附件]${w.label}`));for(let[w,Z]of Object.entries(G)){let z=Number(w)+1;for(let L of Z)L.paths.forEach((D)=>V(D,`费用明细行 ${z} [附件]${L.label}`))}for(let[w,Z]of Object.entries(H))for(let z of Z)z.paths.forEach((L)=>V(L,`劳务人员「${w}」[附件]${z.label}`));return{documentId:W,categoryFields:q,expenseAttachments:G,personAttachments:H}});for(let[K,q]of Y.entries())if(q.length>1){let G=q.map((H)=>`单据「${H.documentId}」的 ${H.location}`).join("、");U.push(`附件路径「${K}」被重复声明了 ${q.length} 次(出现在 ${G})。禁止复用同一路径,若需在不同单据或不同字段使用,请分别放置到独立的附件文件路径。`)}if(!$.length){if(U.length)throw new g$(U);return J}let Q=new Set($.map((K)=>K.fileName));for(let K of Y.keys())if(!Q.has(K))U.push(`Excel 声明的附件路径在 ZIP 中不存在: ${K}`);for(let K of $){if(K.fileName==="信息表.xlsx")continue;if(!Y.has(K.fileName))U.push(`ZIP 中的文件未在 Excel 任何 [附件] 列中声明: ${K.fileName}`)}if(U.length)throw new g$(U);return J}function Qx($,I,U){let Y=structuredClone($),J=(q)=>{if(U.has(q))return U.get(q);return[{path:q,fileName:q.split("/").pop()??q}]};for(let q of I.categoryFields){let G=q.paths.flatMap(J);Y.fields.push({key:q.key,label:q.label,type:"ATTACHMENT",value:G})}let Q=Y.fields.find((q)=>q.key==="daoshi_list"&&q.type==="LIST");if(Q&&Array.isArray(Q.value))for(let q of Q.value){let G=q.find((H)=>H.key==="name")?.value;for(let H of I.personAttachments[String(G)]??[])q.push({key:H.key,label:H.label,type:"ATTACHMENT",value:H.paths.flatMap(J)})}let K=Y.fields.find((q)=>q.key==="mingxi_list"&&q.type==="LIST");if(K&&Array.isArray(K.value))for(let q=0;q{let K=Q.fileName.split("/")[0],q=K.indexOf("@");return q>=0?K.slice(0,q):K}).filter((Q)=>Q!=="信息表.xlsx")),Y=[];for(let Q of I)if(!U.has(Q))Y.push(`Excel 会议编号「${Q}」在 ZIP 中找不到对应的根目录「${Q}/」或「${Q}@.../」。`);let J=new Set(I);for(let Q of U)if(!J.has(Q))Y.push(`ZIP 根目录对应的编号「${Q}」在信息表中找不到对应的会议编号。`);if(Y.length)throw new g$(Y)}async function DZ0($,I,U){let Y=[],J=$;if(IG1($,I)){Y=await KZ0($),GZ0(Y,U);let G=Y.find((H)=>H.fileName==="信息表.xlsx");if(!G)throw Error("ZIP 根目录缺少信息表.xlsx");J=await Ux($,G)}let Q=await zZ0(J);UG1(Y,Q.map((G)=>G.document.documentId));let K=LZ0(Y,Q),q=Q.map((G)=>G.document);return{entries:Y,parsed:Q,plans:K,documents:q,fileBuffer:$}}async function YI($,I,U){let Y=await DZ0($,I,U),J=Y.parsed.map((Q,K)=>Qx(Q.document,Y.plans[K],new Map));return{warnings:[],documents:J,attachmentPlan:Y.plans}}async function JD($,I,U){let Y=await DZ0($,I,U.materialPackFilePolicy),{baseUrl:J,webhookId:Q}=$G1(U.webhookUrl),K=[];for(let q=0;qu.fileName===L);if(!D)continue;process.stderr.write(`⬆ 上传附件: ${L} +`);let F=new FormData,E=await Ux(Y.fileBuffer,D),T=L.split("/").pop()??L;F.append("files",new File([new Uint8Array(E)],T));let A=await fetch(`${J}/api/v1/integrations/webhook/${encodeURIComponent(Q)}/attachments`,{method:"POST",headers:Vh({},U.secret),body:F});if(!A.ok)throw Error(`附件上传失败 ${A.status}: ${await A.text()}`);let R=await A.json();W.set(L,R.attachments?.map((u)=>u.data)??(R.data===void 0?[]:[R.data])),process.stderr.write(`✓ 附件上传成功: ${L} `)}process.stderr.write(`\uD83D\uDCE4 推送单据: ${G.document.documentId} -`);let z=ph(G.document,H,W),Z=await fetch(`${J}/api/v1/integrations/webhook/${encodeURIComponent(Q)}/document`,{method:"POST",headers:{"Content-Type":"application/json",...ry({webhookId:Q,...z},U.secret)},body:JSON.stringify(z)});if(!Z.ok)throw Error(`Webhook 单据推送失败 ${Z.status}: ${await Z.text()}`);K.push({documentId:z.documentId,document:z,pushResult:await Z.json()}),process.stderr.write(`✓ 单据推送成功: ${z.documentId} -`)}return{warnings:[],results:K}}function UI($){return{fileBuffer:qq1($),fileName:$.split(/[\\\/]/).pop()??"material-pack.zip"}}import{existsSync as Vq1}from"node:fs";async function aL($,I,U={}){let J=L4().stateful?"stateful":"stateless",Q="ok",K,q,G;try{let A=await N$($);G={id:A.user.id,name:A.user.name,isAdmin:A.user.isAdmin},q={id:A.tenant.id,name:A.tenant.name,tenantSlug:A.tenant.tenantSlug,corporationName:A.tenant.hoseCorpConfig?.corporationName}}catch(A){Q="error",K=A instanceof Error?A.message:String(A)}let H=[];if(Q==="ok")try{H=await Z9($,I.seal.endpoints.approvalStylePreferences)}catch(A){Q="error",K=`读取 Webhook 配置失败: ${A instanceof Error?A.message:String(A)}`}let W=H.length===1,V=H.map((A)=>({id:A.id,name:A.name,mode:A.mode,incomingDocumentWebhookUrl:A.incomingDocumentWebhook.url,outgoingResultWebhookUrl:A.outgoingResultWebhook,autoApprovalRate:A.autoApprovalRate,...W?{isDefault:!0}:{}})),z=W?{id:H[0].id,name:H[0].name,mode:H[0].mode}:null,Z=U.webhook?z9(H,U.webhook):W?H[0]:void 0,w;if(U.filePath)if(!Vq1(U.filePath))w={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[`文件不存在: ${U.filePath}`]};else try{let A=UI(U.filePath),v=await II(A.fileBuffer,A.fileName,Z?.materialPackFilePolicy);w={valid:!0,filePath:U.filePath,fileName:A.fileName,documentCount:v.documents.length,warnings:v.warnings}}catch(A){w={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[A instanceof Error?A.message:String(A)]}}let L=w?w.valid:!0,D=Q==="ok"&&V.length>0&&L,N=J==="stateful"?"":` --corp ${I.id}`,E="",T="";if(Q!=="ok")T=`凭证鉴权异常: ${K}`,E=`seal-use auth diagnose${N}`;else if(V.length===0)T="当前企业尚未配置任何 Webhook 集成通道",E=`seal-use webhook add --name "默认入站通道" --result-url "https://your-domain.com/callback"${N}`;else if(w&&!w.valid)T=`材料包预检失败: ${w.errors?.join("; ")}`,E=`seal-use webhook material-pack preview ${w.filePath}${N}`;else{T=W?"所有通道正常,已自动锁定唯一 Webhook 通道,等待载入":`所有通道正常,检测到 ${V.length} 个 Webhook 通道,等待载入`;let A=w?.filePath??"<材料包.zip>",v=W?"":` --webhook ${z?z.id:""}`;E=`seal-use webhook material-pack push ${A}${v}${N}`}return{ready:D,corp:{id:I.id,name:I.name,sourceType:I.source.type,tenant:q,user:G},stateMode:J,authStatus:Q,authError:K,activeWebhooks:V,defaultWebhook:z,materialPack:w,statusMessage:T,nextAction:E}}var JG=[{name:"seal_whoami",description:"查询当前 Seal 用户身份及租户信息",parameters:X.object({}),handler:async($)=>N$($)},{name:"seal_session_get",description:"查询当前 Seal Bearer session、用户和过期时间",parameters:X.object({}),handler:async($)=>ud($)},{name:"seal_delegation_list",description:"查询当前 Seal 租户下的授权链接 (Delegation) 列表",parameters:X.object({}),handler:async($)=>Gm($)},{name:"seal_delegation_create",description:"创建新的 Seal 授权链接 (Delegation)",parameters:X.object({note:X.string().optional().describe("授权链接的备注或说明信息")}),handler:async($,I)=>wU($,I)},{name:"seal_delegation_revoke",description:"撤销/废除指定的 Seal 授权链接 (Delegation)",parameters:X.object({tokenId:X.string().describe("授权链接 ID (delegation record ID)")}),handler:async($,I)=>Hm($,I.tokenId)},{name:"seal_user_create",description:"创建本地 Seal 用户,生成并返回初始随机密码",parameters:X.object({name:X.string().describe("用户姓名"),phone:X.string().describe("手机号码 (例如 13300001111 或 +8613300001111)"),permissions:X.array(X.string()).optional().describe("权限列表,默认为 []"),departmentIds:X.array(X.string()).optional().describe("关联部门 ID 数组")}),handler:async($,I)=>Wm($,I)},{name:"seal_user_reset_password",description:"重置指定 Seal 用户的默认/随机密码,并返回生成的新密码",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>EE($,I.userId)},{name:"seal_user_get",description:"获取指定 Seal 用户的详细信息",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>CV($,I.userId)},{name:"seal_user_search",description:"按姓名、手机号或邮箱搜索 Seal 成员用户列表",parameters:X.object({keyword:X.string().optional().describe("搜索关键词(姓名、手机号、邮箱等),不传或传空字符串可列出租户成员")}),handler:async($,I)=>jV($,I.keyword??"")},{name:"seal_user_delete",description:"删除指定 Seal 本地用户",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>Vm($,I.userId)},{name:"seal_user_activate",description:"启用/激活已离职的 Seal 用户账号",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>BE($,I.userId)},{name:"seal_user_delegation_create",description:"为指定 Seal 用户(按用户ID、手机号或姓名)重置密码登录并生成其专属授权链接 (Delegation)",parameters:X.object({userIdOrPhone:X.string().describe("目标用户 ID、手机号或姓名"),note:X.string().optional().describe("授权链接备注信息")}),handler:async($,I,U)=>Zm($,I,(Y)=>Gd(U.corp,Y),U.corp)},{name:"seal_llm_config_get",description:"查询当前 Seal 租户的大模型 (LLM) 配置",parameters:X.object({}),handler:async($)=>zm($)},{name:"seal_llm_providers_list",description:"查询支持的大模型 (LLM) 供应商与配置属性字段",parameters:X.object({}),handler:async($)=>Xm($)},{name:"seal_permissions_available_list",description:"查询系统可选权限清单(如超级管理员、智能审核管理、数据管理等)",parameters:X.object({}),handler:async($)=>wm($)},{name:"seal_permissions_configs_list",description:"查询当前租户已绑定的权限配置",parameters:X.object({}),handler:async($)=>Lm($)},{name:"seal_billing_status_get",description:"查询当前 Seal 租户的订阅状态与各功能额度(AI审批、审核规则、知识文档等)",parameters:X.object({}),handler:async($)=>Dm($)},{name:"seal_billing_plans_list",description:"查询系统支持的订阅套餐列表",parameters:X.object({}),handler:async($)=>Om($)},{name:"seal_billing_features_list",description:"查询系统支持的功能特性定义列表",parameters:X.object({}),handler:async($)=>Nm($)},{name:"seal_approval_rules_list",description:"列出 Seal 当前草稿审批规则;支持 countOnly、fields、limit 以避免返回规则正文",parameters:X.object({countOnly:X.boolean().optional().describe("只返回规则数量,不返回规则列表"),fields:X.array(X.enum(["id","code","tenantId","status","strictness","scope","createdAt","updatedAt","description"])).optional().describe("只返回指定字段;不传则返回完整规则"),limit:X.number().int().nonnegative().optional().describe("最多返回多少条规则;0 可配合 fields 或 countOnly 只取数量"),offset:X.number().int().nonnegative().optional().describe("跳过前多少条规则")}),handler:async($,I)=>{let U=await F$($);return Lq1(U,I)}},{name:"seal_approval_rules_clear",description:"清空 Seal 当前草稿审批规则;用于测试环境导入规则前重置草稿规则集",parameters:X.object({dryRun:X.boolean().optional().describe("只预览将删除的规则数量,不执行删除"),recode:X.boolean().optional().describe("删除后尝试重新编排规则编号;失败会作为 warning 返回")}),handler:async($,I,U)=>{let Y=await F$($);if(I.dryRun)return{corpId:U.corp.id,corpName:U.corp.name,dryRun:!0,beforeCount:Y.rules.length,deleted:0,afterCount:Y.rules.length,hasPendingDeletes:Y.hasPendingDeletes};let J=[],Q=0;for(let H of Y.rules)try{await SV($,H.id),Q+=1}catch(W){J.push({ruleId:H.id,error:W instanceof Error?W.message:String(W)})}let K=[],q;if(Q>0&&I.recode!==!1){if(q=await OE($),q&&typeof q==="object"&&"ok"in q&&q.ok!==!0)K.push("batch-recode did not complete; current rules were still deleted")}let G=await F$($);return{corpId:U.corp.id,corpName:U.corp.name,dryRun:!1,beforeCount:Y.rules.length,deleted:Q,failed:J,afterCount:G.rules.length,hasPendingDeletes:G.hasPendingDeletes,warnings:K,recode:q}}},{name:"seal_approval_rule_create",description:"新建 Seal 草稿审批规则",parameters:X.object({description:X.string().describe("规则描述"),scope:X.string().describe("适用场景"),strictness:X.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).describe("严格程度")}),handler:async($,I)=>DE($,I)},{name:"seal_approval_rule_update",description:"更新 Seal 草稿审批规则",parameters:X.object({ruleId:X.string().describe("规则 ID"),description:X.string().optional(),scope:X.string().optional(),strictness:X.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).optional()}),handler:async($,I)=>{let{ruleId:U,...Y}=I,J=await fd($,U,Y);if(I.description)try{let Q=L4();if(Q.lint?.enabled){let K=await my(Q.lint.activeLinter),q=await ly({id:U,description:I.description},K);if(q.issues.length>0){console.error(`⚠️ [Linter 质检提醒] 规则质量评分: ${q.score}/100 (发现 ${q.issues.length} 处潜在风险):`);for(let G of q.issues)if(console.error(` • [${G.level.toUpperCase()}] ${G.message}${G.snippet?` ("${G.snippet}")`:""}`),G.suggestion)console.error(` \uD83D\uDC49 建议: ${G.suggestion}`)}}}catch{}return J}},{name:"seal_approval_rule_delete",description:"删除 Seal 草稿审批规则",parameters:X.object({ruleId:X.string().describe("规则 ID")}),handler:async($,I)=>{return await SV($,I.ruleId),{success:!0}}},{name:"seal_approval_rule_versions_list",description:"列出 Seal 已发布审批规则版本摘要,不展开每个版本的规则快照",parameters:X.object({}),handler:async($)=>{let I=await Y5($);return{count:I.length,latest:I[0]?ch(I[0]):void 0,versions:I.map(ch)}}},{name:"seal_approval_rule_version_get",description:"获取指定 Seal 已发布审批规则版本详情,包含该版本的规则快照",parameters:X.object({versionId:X.string().optional().describe("规则版本 ID"),versionNumber:X.number().int().positive().optional().describe("规则版本号"),latest:X.boolean().optional().describe("为 true 时获取最新版本")}),handler:async($,I)=>{if(I.versionId)return W2($,I.versionId);let U=await Y5($),Y=I.versionNumber?U.find((J)=>J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}},{name:"seal_approval_rule_version_publish",description:"发布 Seal 草稿审批规则为新版本",parameters:X.object({versionName:X.string().describe("版本名称")}),handler:async($,I)=>NE($,I.versionName)},{name:"seal_approval_rule_get",description:"按版本号/code/runtime-id/record-id 定位单条规则,避免拉取整版规则快照",parameters:X.object({versionId:X.string().optional().describe("规则版本 ID"),versionNumber:X.number().int().positive().optional().describe("规则版本号"),latest:X.boolean().optional().describe("为 true 时取最新版本"),code:X.string().optional().describe("规则展示编号,如 #0038;没有后端 code 时按版本内序号匹配"),runtimeId:X.string().optional().describe("运行时规则 ID,如 rule-205;按版本内序号匹配"),recordId:X.string().optional().describe("从运行记录推断 ruleSetVersionNumber")}),handler:async($,I)=>{let U=await Rq1($,I),Y=vq1(U,{code:I.code,runtimeId:I.runtimeId});if(!Y)throw Error(`Rule not found in version ${U.versionNumber}`);return Y}},{name:"seal_approval_rules_lint",description:"对 Seal 本地规则文件、草稿审批规则或指定发布版本规则进行质量与可执行性检查(模糊词、悬空例外检测)",parameters:X.object({file:X.string().optional().describe("指定本地规则文件路径进行离线质检(支持 .json),0网络请求、不污染远端草稿"),linter:X.string().optional().describe("指定使用的校验器名称或脚本路径(如 builtin、strict、./my-linter.ts)"),version:X.string().optional().describe("指定要质检的历史发布版本号或 ID(如 16 或 latest),不传默认质检当前草稿"),code:X.string().optional().describe("按规则展示编号过滤(如 #0038)"),ruleId:X.string().optional().describe("按规则 ID 过滤"),minScore:X.number().optional().describe("最低合格质量分阈值(0~100),低于该分值抛出错误以返回非零退出码"),level:X.enum(["all","error","warning"]).default("all").describe("问题报告等级过滤"),summary:X.boolean().optional().describe("为 true 时仅返回存在瑕疵/扣分的规则")}),handler:async($,I,U)=>{let Y=[],J;if(I.file){let H=oy(I.file);Y=zV0(H.rules),J=H.meta.versionNumber}else if(I.version){let H=await Y5($),W=Number(I.version),V=isNaN(W)?I.version==="latest"?H[0]:H.find((z)=>z.id===I.version):H.find((z)=>z.versionNumber===W);if(!V)throw Error(`未找到指定的规则版本: ${I.version}`);J=V.versionNumber,Y=(V.rules??[]).map((z,Z)=>({id:z.id??z.runtimeId,code:z.code??`#${String(Z+1).padStart(4,"0")}`,name:z.name??z.title,description:z.description??"",scope:z.scope,strictness:z.strictness}))}else Y=((await F$($)).rules??[]).map((W,V)=>({id:W.id,code:W.code??`#${String(V+1).padStart(4,"0")}`,name:W.name??W.title,description:W.description??"",scope:W.scope,strictness:W.strictness}));if(I.code)Y=Y.filter((H)=>H.code===I.code||H.code?.replace(/[#\s]/g,"")===I.code?.replace(/[#\s]/g,""));if(I.ruleId)Y=Y.filter((H)=>H.id===I.ruleId||H.code===I.ruleId);let Q=L4(),K=I.linter??Q.lint?.activeLinter??"builtin",q=await my(K),G=await HV0(Y,q,{corpId:U?.corp?.id,versionNumber:J,allRules:Y},{minScore:I.minScore,level:I.level,summary:I.summary});if(I.minScore&&G.overallScore{let Y=I.out??"./rules.local.json",J=[],Q="draft",K;if(I.version){let G=await Y5($),H=Number(I.version),W=isNaN(H)?I.version==="latest"?G[0]:G.find((V)=>V.id===I.version):G.find((V)=>V.versionNumber===H);if(!W)throw Error(`未找到指定的规则版本: ${I.version}`);K=W.versionNumber,Q=`version:${K}`,J=(W.rules??[]).map((V,z)=>({code:V.code?Number(String(V.code).replace(/^#/,""))||z+1:z+1,name:V.name??V.title,description:V.description??"",scope:V.scope??"ALL",strictness:V.strictness??"MUST_FOLLOW"}))}else J=((await F$($)).rules??[]).map((H,W)=>({id:H.id,code:H.code??W+1,name:H.name??H.title,description:H.description??"",scope:H.scope??"ALL",strictness:H.strictness??"MUST_FOLLOW",status:H.status}));return{saved:!0,path:ZV0(Y,{corpId:U.corp.id,source:Q,versionNumber:K,exportedAt:new Date().toISOString(),rulesCount:J.length,rules:J}),rulesCount:J.length,corpId:U.corp.id,source:Q,versionNumber:K}}},{name:"seal_approval_rules_push",description:"将本地规则文件推送到远端草稿(本地调优通过后一键应用,支持直接发布为正式版本)",parameters:X.object({file:X.string().optional().describe("要推送的本地规则文件路径,默认为 ./rules.local.json"),dryRun:X.boolean().optional().describe("是否仅预览变更而不实际写入远端(默认 true,传 --yes 或 confirm: true 执行写入)"),confirm:X.boolean().optional().describe("确认覆盖写入远端草稿"),publish:X.boolean().optional().describe("写入草稿后是否直接发布为一个正式版本"),versionName:X.string().optional().describe("发布版本的名称(仅在 publish=true 时有效)")}),handler:async($,I,U)=>{let Y=I.file??"./rules.local.json",J=oy(Y),Q=I.confirm===!0,K=I.dryRun??!Q,q=await F$($);if(K)return{corpId:U.corp.id,dryRun:!0,localFile:J.resolvedPath,localRulesCount:J.rules.length,remoteDraftCount:q.rules.length,willPublish:Boolean(I.publish),message:"Preview mode. Use --yes or confirm=true to apply local rules to remote draft."};let G=0;for(let V of q.rules)await SV($,V.id),G+=1;let H=[];for(let V of J.rules){let z=V.strictness?.toUpperCase()?.includes("SHOULD")?"SHOULD_FOLLOW":V.strictness?.toUpperCase()?.includes("SUGGEST")?"SUGGESTION":"MUST_FOLLOW",Z=await DE($,{description:V.description,scope:V.scope??"ALL",strictness:z});H.push({id:Z.id,description:Z.description,code:Z.code})}await OE($);let W=void 0;if(I.publish){let V=new Date().toISOString().slice(0,10).replace(/-/g,""),z=I.versionName||`v-local-${V}-${Date.now().toString().slice(-4)}`;W=await NE($,z)}return{corpId:U.corp.id,dryRun:!1,localFile:J.resolvedPath,clearedDraftRules:G,createdRules:H.length,published:W??!1}}},{name:"seal_approval_documents_list",description:"列出 Seal 审批知识文档",parameters:X.object({scenarios:X.array(X.string()).optional().describe("场景过滤"),offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().optional()}),handler:async($,I)=>V2($,I)},{name:"seal_approval_document_get",description:"获取 Seal 审批知识文档详情",parameters:X.object({documentId:X.string().describe("文档 ID")}),handler:async($,I)=>bd($,I.documentId)},{name:"seal_approval_document_create",description:"新建 Seal 审批知识文档",parameters:X.object({title:X.string(),purpose:X.string(),content:X.string().describe("正文,通常为 Markdown"),contentType:X.string().optional(),status:X.string().optional(),scenarios:X.array(X.string()).optional(),tags:X.array(X.string()).optional()}),handler:async($,I)=>id($,I)},{name:"seal_approval_document_update",description:"更新 Seal 审批知识文档",parameters:X.object({documentId:X.string(),title:X.string().optional(),purpose:X.string().optional(),content:X.string().optional(),contentType:X.string().optional(),status:X.string().optional(),enabled:X.boolean().optional(),scenarios:X.array(X.string()).optional(),tags:X.array(X.string()).optional()}),handler:async($,I)=>{let{documentId:U,...Y}=I;return nd($,U,Y)}},{name:"seal_approval_search",description:"按关键词组检索 Seal 审批规则、审批文档和审批偏好配置,返回命中位置、字段、行号和前后三行上下文",parameters:X.object({keywords:X.array(X.string()).min(1).describe("关键词组"),matchMode:X.enum(["any","all"]).optional().describe("any 命中任一关键词,all 要求同一行命中全部关键词"),areas:X.array(X.enum(["rules","documents","preferences"])).optional().describe("检索范围"),caseSensitive:X.boolean().optional().describe("是否大小写敏感"),contextLines:X.number().int().nonnegative().optional().describe("返回命中行前后几行,默认 3"),documentLimit:X.number().int().positive().optional().describe("缓存刷新时最多拉取文档数,默认 100"),maxResults:X.number().int().positive().optional().describe("最多返回命中数,默认 50"),refresh:X.boolean().optional().describe("是否跳过 5 分钟内存缓存并强制刷新"),ruleVersionScope:X.enum(["current","all","version"]).optional().describe("规则检索范围,默认 current;all 会检索所有已发布历史版本"),ruleVersionId:X.string().optional().describe("ruleVersionScope=version 时指定版本 ID"),ruleVersionNumber:X.number().int().positive().optional().describe("ruleVersionScope=version 时指定版本号"),latestRuleVersion:X.boolean().optional().describe("ruleVersionScope=version 时取最新已发布版本"),snippetOnly:X.boolean().optional().describe("只返回命中行,不返回前后文"),maxChars:X.number().int().positive().optional().describe("每个文本片段最多返回字符数"),fields:X.array(X.string()).optional().describe("只搜索指定字段,如 history.description、description、scope")}),handler:async($,I,U)=>qV0($,U.corp,I)},{name:"seal_approval_context_get",description:"聚合获取 Seal 现有审批规则、审批文档和审批风格偏好",parameters:X.object({documentLimit:X.number().int().positive().optional().describe("最多返回的审批文档数量"),ruleVersionId:X.string().optional().describe("指定已发布规则版本 ID;指定后 rules 返回该版本快照"),ruleVersionNumber:X.number().int().positive().optional().describe("指定已发布规则版本号;指定后 rules 返回该版本快照"),latestRuleVersion:X.boolean().optional().describe("为 true 时 rules 返回最新已发布版本快照")}),handler:async($,I,U)=>{let Y=await gV($,{documentLimit:I.documentLimit,stylePreferencesEndpoint:U.corp.seal.endpoints.approvalStylePreferences});if(!I.ruleVersionId&&!I.ruleVersionNumber&&!I.latestRuleVersion)return Y;let J=await lh($,I);return{...Y,rules:{version:ch(J),rules:J.rules}}}},{name:"seal_approval_style_preferences_get",description:"获取 Seal 审批风格偏好配置",parameters:X.object({}),handler:async($,I,U)=>q4($,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_approval_style_preferences_update",description:"更新 Seal 审批风格偏好配置",parameters:X.object({tone:X.string().optional(),language:X.string().optional(),detailLevel:X.string().optional(),outputFormat:X.string().optional(),examples:X.array(X.string()).optional(),prohibitedPhrases:X.array(X.string()).optional(),customInstructions:X.string().optional()}),handler:async($,I,U)=>y7($,I,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_webhook_list",description:"列出当前 Seal 租户的 Webhook 集成,可按 ID、名称或 URL 查找",parameters:X.object({query:X.string().optional().describe("按集成 ID、名称或 URL 做本地包含匹配"),includeSecret:X.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,I,U)=>{let Y=md(await Z9($,U.corp.seal.endpoints.approvalStylePreferences),I.query);return{count:Y.length,integrations:Y.map((J)=>YG(J,I.includeSecret===!0))}}},{name:"seal_webhook_get",description:"按 Webhook 集成 ID 或名称精确查找一条集成",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),includeSecret:X.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,I,U)=>{let Y=z9(await Z9($,U.corp.seal.endpoints.approvalStylePreferences),I.selector);return YG(Y,I.includeSecret===!0)}},{name:"seal_webhook_add",description:"新增 Webhook 集成并通过 AI 审批配置保存接口持久化",parameters:X.object({name:X.string().min(1).describe("集成名称"),mode:X.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:X.string().url().describe("Seal 完成 AI 审核后回调的外部地址"),autoApprovalRate:X.number().int().min(0).max(100).optional(),secret:X.string().min(1).optional().describe("可选;不传则生成 32 位十六进制 secret"),materialPackFilePolicy:WE.describe("材料包附件文件策略:大小和后缀白名单")}),handler:async($,I,U)=>{let Y=wq1(U.corp),J=await pd($,Y,I,U.corp.seal.endpoints.approvalStylePreferences);return{saved:!0,integration:YG(J,!0)}}},{name:"seal_webhook_update",description:"更新现有 Webhook 集成并通过 AI 审批配置保存接口持久化",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),name:X.string().min(1).optional(),mode:X.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:X.string().url().optional(),autoApprovalRate:X.number().int().min(0).max(100).optional(),secret:X.string().min(1).optional(),rotateSecret:X.boolean().optional().describe("生成新 secret;与 secret 二选一"),materialPackFilePolicy:WE.describe("材料包附件文件策略:大小和后缀白名单")}),handler:async($,I,U)=>{if(I.secret!==void 0&&I.rotateSecret)throw Error("Webhook secret and rotateSecret cannot be used together");let Y=await cd($,I.selector,I,U.corp.seal.endpoints.approvalStylePreferences);return{saved:!0,integration:YG(Y,I.secret!==void 0||I.rotateSecret===!0)}}},{name:"seal_webhook_delete",description:"删除指定 Webhook 集成并通过 AI 审批配置保存接口持久化",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),confirm:X.boolean().describe("必须明确传 true 才执行删除")}),handler:async($,I,U)=>{if(!I.confirm)throw Error("Refusing to delete Webhook integration without confirm=true");let Y=await dd($,I.selector,U.corp.seal.endpoints.approvalStylePreferences);return{deleted:!0,integration:YG(Y,!1)}}},{name:"seal_approval_runs_search",description:"查询 Seal 审批/审核运行记录总表,并整理合思单据到 Langfuse trace/session 的桥接字段",parameters:X.object({offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().max(100).optional(),fromTimestamp:X.string().optional(),toTimestamp:X.string().optional(),startDate:X.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:X.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:X.string().optional(),taskMode:X.string().optional(),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),humanResult:X.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配"),includeBridge:X.boolean().optional().describe("是否返回完整 bridge 数组;默认 false,避免长输出")}),handler:async($,I)=>{let U=I.query?.trim(),Y=await X8($,hq1({...I,search:U})),J=await bZ0($,Y.records,{humanResult:I.humanResult});return{...Y,records:J.map(YI),...I.includeBridge?{bridge:$D(J)}:{}}}},{name:"seal_approval_runs_summary",description:"按本地日期/时区汇总 Seal 审批运行记录,返回状态、模式统计和精简记录,避免长 JSON 输出",parameters:X.object({date:X.string().optional().describe("本地日期,格式 YYYY-MM-DD;默认使用 timezone 下的今天"),timezone:X.string().optional().describe("IANA 时区,默认 Asia/Shanghai"),offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().max(100).optional(),startDate:X.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:X.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:X.string().optional(),taskMode:X.string().optional(),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),humanResult:X.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,I)=>{let U=I.timezone??"Asia/Shanghai",Y=I.date??pZ0(Date.now(),U)??"",J=await X8($,{offset:I.offset,limit:I.limit??100,startDate:I.startDate,endDate:I.endDate,status:I.status,taskMode:I.taskMode,manualApprovalStatus:rZ0(I.manualApprovalStatus,I.humanResult),sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId}),Q=(await bZ0($,J.records,{query:I.query,humanResult:I.humanResult})).filter((K)=>pZ0(K.createdAt,U)===Y);return Fq1(Q,{date:Y,timezone:U,fetched:J.records.length,total:J.total})}},{name:"seal_approval_runs_export",description:"将企业的审批审核记录导出为高保真 Excel 报表(包含单据模板、AI决策、人工审核结论、驳回原因及企业规则列细分结果)",parameters:X.object({startDate:X.string().optional().describe("起始时间,支持 YYYY-MM-DD 或毫秒时间戳"),endDate:X.string().optional().describe("截止时间,支持 YYYY-MM-DD 或毫秒时间戳"),limit:X.number().int().positive().optional().describe("最大拉取记录条数"),status:X.string().optional().describe("单据状态过滤,如 completed, processing, failed"),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态过滤,如 APPROVED, TERMINATED, PROCESSING"),includeCompletedOnly:X.boolean().optional().describe("是否仅导出已完成单据"),outputFile:X.string().optional().describe("输出 Excel 文件的自定义绝对或相对路径"),toDownloads:X.boolean().optional().describe("是否直接保存到用户的系统下载目录")}),handler:async($,I,U)=>TL($,U.corp,I)},{name:"seal_approval_run_get",description:"获取 Seal 单条审批/审核运行记录详情;可用 fields 只取 metadata、document.fields、result.summary 等局部字段",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),fields:X.union([X.string(),X.array(X.string())]).optional().describe("逗号分隔或数组形式的字段路径,如 metadata、document.fields、result.summary"),summary:X.boolean().optional().describe("返回单据摘要、AI 结果、人工结果和版本号")}),handler:async($,I)=>{let U=await f4($,I.recordId);if(I.summary)return Mq1(U);let Y={...U,aliases:xq1(U),humanResult:JI(U)},J=xZ0(I.fields);return J.length>0?dZ0(Y,J):Y}},{name:"seal_approval_run_cited_rules_get",description:"从审批运行结果中抽取 AI 引用或命中的规则及应用分析",parameters:X.object({recordId:X.string().describe("Seal approval run record ID")}),handler:async($,I)=>{let U=await f4($,I.recordId);return Aq1(U)}},{name:"seal_approval_run_document_summary_get",description:"返回单据关键字段、附件摘要、AI/人工结果,避免拉取完整原始单据",parameters:X.object({recordId:X.string().describe("Seal approval run record ID")}),handler:async($,I)=>{let U=await f4($,I.recordId);return lZ0(U)}},{name:"seal_approval_run_attachments_get",description:"从审批运行记录中抽取附件、发票附件和字段位置,不返回完整单据正文和规则结果",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),summary:X.boolean().optional().describe("只返回附件列表摘要")}),handler:async($,I)=>{let U=await f4($,I.recordId);return WJ(U,{summary:I.summary})}},{name:"seal_approval_run_result_get",description:"返回审批运行结果摘要;summary=true 时只返回 decision、summary、风险点数量、命中规则数量、traceId 等",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),summary:X.boolean().optional()}),handler:async($,I)=>{let U=await f4($,I.recordId);if(I.summary)return YD(U);return{recordId:U.id,result:U.result}}},{name:"seal_approval_run_url_get",description:"获取合思企业协助链接,按需附带单据链接;支持只取企业协助链接,或按 Seal recordId/合思 sourceDocumentSN 查询单据链接",parameters:X.object({recordId:X.string().optional().describe("Seal approval run record ID"),sourceDocumentSN:X.string().optional().describe("合思/易快报单号"),sourceDocumentId:X.string().optional().describe("合思/易快报源单据 ID")}),handler:async($,I,U)=>{let Y=Boolean(I.recordId||I.sourceDocumentSN||I.sourceDocumentId),J=Y?await _q1($,I):void 0,Q=U.corp.source,K=Q.type==="hose"?await Ud(U.corp):void 0,q=$4(J?.sourceExtendData?.hosecloudViewUrl);return{enterpriseAssistUrl:K,enterpriseUrl:K,hoseDomain:Q.type==="hose"?Sq1(Q.domain):void 0,documentUrl:q,recordId:J?.id,sourceDocumentSN:J?.sourceDocumentSN,sourceDocumentId:J?.sourceDocumentId,sourceSystem:J?.sourceSystem,missing:{enterpriseAssistUrl:K?void 0:"Current enterprise source is not Hose, so no Hose enterprise assist URL is configured.",documentUrl:Y&&!q?"sourceExtendData.hosecloudViewUrl is absent from the approval run detail.":void 0}}}},{name:"seal_approval_run_pick",description:"按合思单号或关键字查询运行记录,返回候选记录及其当时使用的规则版本,便于再取详情或查版本规则",parameters:X.object({query:X.string().optional().describe("合思单号、源单据 ID、运行记录 ID 或 trace 关键字"),sn:X.string().optional().describe("合思/易快报单号;优先作为精确 sourceDocumentSN 查询"),batchId:X.string().optional().describe("模拟批次 ID"),latest:X.boolean().optional().describe("只返回最新一条匹配记录"),fields:X.union([X.string(),X.array(X.string())]).optional().describe("限制返回字段"),limit:X.number().int().positive().max(100).optional(),maxScan:X.number().int().positive().max(5000).optional().describe("最多扫描多少条运行记录用于本地匹配,默认 1000"),includeBridge:X.boolean().optional()}),handler:async($,I)=>{let U=I.sn??I.query;if(!U)throw Error("query or sn is required");let Y=await gq1($,{query:U,sn:I.sn,batchId:I.batchId,latest:I.latest,limit:I.latest?1:I.limit??20,maxScan:I.maxScan??1000}),J=await Promise.all(Y.records.map((q)=>f4($,q.id))),Q=xZ0(I.fields),K=J.map((q)=>jq1(q,Q));return{query:U,sourceDocumentSN:I.sn,simulationBatchId:I.batchId,latest:I.latest??!1,total:Y.total,scanned:Y.scanned,matched:K.length,records:K,next:{getSummary:"seal-home approval-runs get --summary",getRuleVersion:"seal-home rules version ",searchRuleVersion:`seal-home tool seal_approval_search --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","ruleVersionNumber":14}'`,getVersionContext:`seal-home tool seal_approval_context_get --json '{"ruleVersionNumber":14}'`},...I.includeBridge?{bridge:$D(J)}:{}}}},{name:"seal_simulation_batch_records_get",description:"获取某一次 Seal 模拟批次的运行记录,并整理对应 Langfuse trace/session 桥接字段",parameters:X.object({batchId:X.string().describe("simulation batch ID"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,I)=>{let U=sh(await ME($,I.batchId),I.query);return{batchId:I.batchId,count:U.length,records:U.map(YI),bridge:$D(U)}}},{name:"seal_simulation_batch_create",description:"创建 Seal 模拟测试批次。支持合思指定单号(hosecloud)与材料包导入(material_pack)两种模式;其他取数模式通过 rawParams 预留透传。",parameters:X.object({mode:X.enum(["hosecloud","material_pack"]).default("hosecloud").describe("来源模式: hosecloud=合思指定单号; material_pack=材料包导入"),flowIds:X.array(X.string()).max(100).optional().describe("合思模式: 单据流水号列表"),rejectNodeName:X.string().nullable().optional().describe("仅关注特定节点: 节点名称, 不设为 null 表示不限制"),thinkingDepthOverride:X.enum(["default","medium","high"]).optional().describe("思考深度: default=按偏好设置, medium=标准, high=深度推理"),skipInvoiceGeneration:X.boolean().optional().describe("跳过发票生成, 默认 true"),skipExpenseExtraction:X.boolean().optional().describe("跳过费用提取, 默认 true"),disableAttachmentCache:X.boolean().optional().describe("不使用附件缓存, 默认 false"),signKey:X.string().optional().describe("合思集成标识; 缺省时自动取第一个合思集成"),packageIds:X.array(X.string()).optional().describe("材料包模式: 材料包 id 列表(来自 material-packages upload 响应)"),templateId:X.string().optional().describe("材料包模板 id, 例如 conference_reimbursement_v1; 缺省取 schemaConfig.id"),schemaConfig:X.record(X.string(),X.unknown()).optional().describe("材料包字段映射(确认参数), 建议使用 material-packages upload 返回的 schemaConfig"),rawParams:X.record(X.string(),X.unknown()).optional().describe("预留: 其他取数模式(如时间范围 startTime/endTime)透传参数, 覆盖上述构建结果")}),handler:async($,I)=>{let U=I.mode??"hosecloud",Y=I.signKey;if(U==="hosecloud"&&!Y){if(Y=(await TE($)).find((q)=>q.signKey)?.signKey,!Y)throw Error("未找到合思集成 signKey, 请通过 signKey 参数提供")}let J=Oq1({mode:U,flowIds:I.flowIds,rejectNodeName:I.rejectNodeName,thinkingDepthOverride:I.thinkingDepthOverride,skipInvoiceGeneration:I.skipInvoiceGeneration,skipExpenseExtraction:I.skipExpenseExtraction,disableAttachmentCache:I.disableAttachmentCache,signKey:Y,packageIds:I.packageIds,templateId:I.templateId,schemaConfig:I.schemaConfig,rawParams:I.rawParams});return{...U==="material_pack"?await $m($,J):await ed($,J),created:!0,next:{getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records ",listBatches:"seal-home simulation list"}}}},{name:"seal_simulation_batches_list",description:"列出 Seal 模拟测试批次摘要(含状态、统计计数与展示摘要)",parameters:X.object({limit:X.number().int().positive().max(100).optional().describe("最多返回批次数量, 默认 50")}),handler:async($,I)=>{let U=await Im($,{limit:I.limit??50});return{count:U.length,batches:U.map(Nq1),next:{getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_get",description:"获取某一次 Seal 模拟测试批次的详情,包含服务端回显的创建参数、展示摘要和任务统计",parameters:X.object({batchId:X.string().describe("simulation batch ID")}),handler:async($,I)=>{return{batch:await AE($,I.batchId),next:{getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_templates_get",description:"列出 Seal 模拟测试模板(我的模板,保存常用配置快速复用)",parameters:X.object({}),handler:async($)=>{let I=await Um($);return{count:I.length,templates:I.map((U)=>({id:U.id,name:U.name,description:U.description,approvalSystem:U.approvalSystem,hosecloudConfig:U.hosecloudConfig,updatedAt:U.updatedAt})),next:{createBatch:"seal-home simulation create --mode hosecloud --flow-ids ..."}}}},{name:"seal_simulation_integrations_get",description:"查询模拟测试可用的来源集成状态与合思集成选项(signKey 等)",parameters:X.object({}),handler:async($)=>{let[I,U]=await Promise.all([PE($),TE($)]);return{status:I,hosecloudIntegrations:U}}},{name:"seal_simulation_material_package_upload",description:"上传材料包 ZIP 到 Seal 模拟测试;服务端解析 Excel/AI 推断配置并返回材料包 id 与 schemaConfig(字段映射确认后用于创建模拟批次)",parameters:X.object({filePath:X.string().describe("材料包 ZIP 文件路径(含 信息表.xlsx 与附件)")}),handler:async($,I)=>{if(!I.filePath)throw Error("filePath is required");let U=Zq1(I.filePath),Y=I.filePath.split(/[\\/]/).pop()??"material-pack.zip",J=await qm($,{fileName:Y,fileBuffer:U});return{materialPackage:J,next:{createBatch:`seal-home simulation create --mode material_pack --package-ids ${J.id} --schema-config schema.json`}}}},{name:"seal_webhook_ready",description:"检查当前企业的 Webhook 就绪状态看板(包括企业环境、租户身份、凭证连通性、已激活 Webhook 通道及材料包预检)",parameters:X.object({filePath:X.string().optional().describe("可选的材料包路径(ZIP 或 信息表.xlsx),用于同步做本地预检")}),handler:async($,I,U)=>{return aL($,U.corp,{filePath:I.filePath})}},{name:"seal_webhook_material_pack",description:"将官方材料包格式本地校验、解析并通过 Seal 入站 Webhook 触发 AI 审批;preview 模式不联网,push 模式单通道自动选择",parameters:X.object({filePath:X.string().describe("材料包 ZIP 或 信息表.xlsx 文件路径"),mode:X.enum(["preview","push"]).default("preview"),webhook:X.string().optional().describe("Webhook ID 或名称;当租户仅配置 1 个通道时可省略")}),handler:async($,I)=>{let U=UI(I.filePath);if(I.mode!=="push")return II(U.fileBuffer,U.fileName);let Y=await Z9($),J;if(I.webhook)J=z9(Y,I.webhook);else if(Y.length===1)J=Y[0];else if(Y.length>1){let Q=Y.map((K)=>`"${K.name}" (${K.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Q}],请通过 webhook 参数指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。");return tL(U.fileBuffer,U.fileName,{webhookUrl:J.incomingDocumentWebhook.url,secret:J.secret,materialPackFilePolicy:J.materialPackFilePolicy})}},{name:"seal_approval_run_langfuse_bridge_get",description:"从 Seal approval run 中抽取 Langfuse 定位信息;优先返回 _langfuseTraceId,没有时给出 hosecloud-{sourceDocumentSN} session 回退",parameters:X.object({recordId:X.string().optional(),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),simulationBatchId:X.string().optional(),limit:X.number().int().positive().max(100).optional()}),handler:async($,I)=>{let Y=(I.simulationBatchId?await ME($,I.simulationBatchId):(await X8($,{limit:I.limit??50,search:I.sourceDocumentSN??I.sourceDocumentId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId})).records).filter((J)=>kq1(J,{recordId:I.recordId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId}));return{count:Y.length,records:Y.map(YI),bridge:$D(Y)}}},{name:"seal_simulation_batch_wait",description:"等待 Seal 模拟测试批次完成(轮询状态直到 completed/failed/canceled 或超时)",parameters:X.object({batchId:X.string().describe("模拟批次 ID"),timeout:X.string().default("10m").describe("最长等待时间, 默认 10m"),pollInterval:X.string().default("2s").describe("轮询间隔, 默认 2s")}),handler:async($,I)=>{let U=hZ0(I.timeout??"10m"),Y=hZ0(I.pollInterval??"2s"),J=Date.now();while(!0){let Q=await AE($,I.batchId),K=(Q.status??"").toLowerCase();if(["completed","failed","cancelled","canceled"].includes(K))return{batch:Q,completed:!0,status:K,elapsedMs:Date.now()-J,next:{getRecords:`seal-home simulation batch-records ${I.batchId}`}};if(Date.now()-J>=U)throw Error(`等待模拟批次 ${I.batchId} 超时(已等待 ${(Date.now()-J)/1000}s)。可稍后执行 seal-home simulation get ${I.batchId} 查看状态`);await new Promise((q)=>setTimeout(q,Y))}}},{name:"seal_simulation_batch_clean",description:"删除模拟测试批次产生的测试数据",parameters:X.object({batchId:X.string().describe("模拟批次 ID")}),handler:async($,I)=>{let U=await Ym($,I.batchId);return{batchId:I.batchId,cleaned:!0,result:U}}},{name:"seal_simulation_specifications_list",description:"列出指定合思集成可用的单据模板列表",parameters:X.object({signKey:X.string().optional().describe("合思集成 sign-key")}),handler:async($,I)=>{let U=await Jm($,I.signKey);return{count:U.length,specifications:U}}},{name:"seal_deploy_hosecloud_requirements",description:"获取 Seal AI 审批发布到合思费控所需配置字段与说明",parameters:X.object({}),handler:async()=>{return{input:`JSON via --json '{"apiKey":"...","apiSecret":"...","mode":"assisted"}'`,questions:[{field:"apiOrigin",prompt:"使用哪一种合思版本或 API 环境?(production/custom,未指定时自动探测)",required:!1,default:"production"},{field:"customApiUrl",prompt:"自定义环境的 API 地址是什么?(如专属私有云域名)",requiredWhen:"apiOrigin=custom"},{field:"apiKey",prompt:"合思 API Key(appKey)是什么?",required:!0,secret:!0},{field:"apiSecret",prompt:"合思 API Secret(appSecurity)是什么?",required:!0,secret:!0},{field:"mode",prompt:"使用全自动、半自动还是辅助审核?(fully_automatic/semi_automatic/assisted)",required:!0,default:"assisted"},{field:"autoApprovalRate",prompt:"自动审批比例是多少?(0-100)",requiredWhen:"mode!=assisted"},{field:"rejectResubmitMethod",prompt:"驳回重提后从哪个节点继续?(node_default/to_ebot/from_start)"},{field:"autoApproveNodeNames",prompt:"哪些节点允许自动审批?(string[])"},{field:"outboundName",prompt:"合思审批流节点消息名称是什么?",default:"SealAI 审批"}]}}},{name:"seal_deploy_hosecloud_list",description:"列出当前企业【Seal AI 审批发布到合思费控】的集成配置列表",parameters:X.object({}),handler:async($)=>{let U=((await q4($)).integrations??[]).filter((Y)=>Y.type==="hosecloud");return{count:U.length,integrations:U.map(sL)}}},{name:"seal_deploy_hosecloud_get",description:"查询【Seal AI 审批发布到合思费控】的单项配置详情",parameters:X.object({signKey:X.string().describe("合思集成 sign-key")}),handler:async($,I)=>{let Y=((await q4($)).integrations??[]).find((J)=>J.type==="hosecloud"&&J.signKey===I.signKey);if(!Y)throw Error(`未找到合思配置:${I.signKey}`);return sL(Y)}},{name:"seal_deploy_hosecloud_status",description:"检查【Seal AI 审批发布到合思费控】与多平台集成状态",parameters:X.object({}),handler:async($)=>{let I=await PE($),Y=((await q4($)).integrations??[]).filter((J)=>J.type==="hosecloud");return{status:I,integrations:Y.map(sL)}}},{name:"seal_deploy_hosecloud_configure",description:"自动探测平台并保存【Seal AI 审批发布到合思费控】集成配置",parameters:X.object({apiKey:X.string().describe("合思 API Key (appKey)"),apiSecret:X.string().describe("合思 API Secret (appSecurity)"),signKey:X.string().optional().describe("集成 signKey,不提供则自动生成"),outboundName:X.string().optional().describe("出站消息名称(合思审批流节点中显示)"),specificationId:X.string().optional(),specificationName:X.string().optional(),mode:X.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:X.number().min(0).max(100).optional(),rejectResubmitMethod:X.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:X.array(X.string()).optional(),apiOrigin:X.string().default("production"),customApiUrl:X.string().optional()}),handler:async($,I,U)=>{let Y=I.apiKey??I.appKey,J=I.apiSecret??I.appSecurity;if(!Y||!J)throw Error("缺少合思凭证:apiKey (或 appKey) 与 apiSecret (或 appSecurity) 为必填项");let Q={...I,apiKey:Y,apiSecret:J},K=Q.apiOrigin??"production",q=Q.customApiUrl;if(!q&&K!=="custom")try{let Z=await zU(Q.apiKey,Q.apiSecret);if(Z?.domain)if(Z.domain==="https://app.ekuaibao.com")K="production",q=void 0;else K="custom",q=Z.domain}catch{}if(K==="custom"&&!q)throw Error("自定义合思环境必须提供 customApiUrl");let G=await Qm($,{apiKey:Q.apiKey,apiSecret:Q.apiSecret,apiOrigin:K,customApiUrl:q}),H=await q4($),W=Q.signKey??zq1(6).toString("hex"),V={type:"hosecloud",...Q,apiOrigin:K,...q?{customApiUrl:q}:{},signKey:W,corporationId:G.corporationId},z=(H.integrations??[]).filter((Z)=>Z.type!=="hosecloud"||Z.signKey!==W);return z.push(V),await y7($,{...H,integrationSystem:"hosecloud",integrations:z}),console.error(`✓ 配置已保存 (signKey: ${W})`),console.error(`\uD83D\uDC49 下一步操作:运行 \`seal-use deploy hosecloud sync ${W} --corp ${U.corp.id}\` 一键同步发布到合思审批流`),{integration:sL(V)}}},{name:"seal_deploy_hosecloud_sync",description:"一键将 Seal AI 审核配置同步发布到合思费控审批流",parameters:X.object({signKey:X.string().describe("合思集成 sign-key")}),handler:async($,I,U)=>{let J=((await q4($)).integrations??[]).find((G)=>G.type==="hosecloud"&&G.signKey===I.signKey);if(!J)throw Error(`未找到合思配置:${I.signKey}`);let Q=(U.corp.seal.url??`https://${U.corp.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),K=J.outboundName??"SealAI 审批",q=await Km($,{signKey:I.signKey,webhookUrl:`${Q}/api/hosecloud/outbound?config_id=${encodeURIComponent(I.signKey)}`,completionWebhookUrl:`${Q}/api/hosecloud/flow/completion?config_id=${encodeURIComponent(I.signKey)}`,messageName:K,mode:J.mode??"assisted"});return console.error(`✓ 同步成功!出站消息已在合思开放平台创建/更新: "${K}"`),console.error(`\uD83D\uDC49 发布完成:请登录合思后台在审批流中添加【EBot】节点并选择 "${K}"。`),{signKey:I.signKey,synced:!0,result:q}}},{name:"seal_preference_get",description:"获取当前决策偏好、思考深度偏好与绑定的规则版本",parameters:X.object({}),handler:async($)=>{let I=await q4($);return{decisionPreferences:I.decisionPreferences,thinkingDepthPreference:I.thinkingDepthPreference,ruleSetVersionId:I.ruleSetVersionId}}},{name:"seal_preference_decision_update",description:"修改审核决策偏好(立即影响当前运行中的审核智能体及后续决策)",parameters:X.object({explicitApprove:X.string().optional(),explicitReject:X.string().optional(),exemptApprove:X.string().optional(),review:X.string().optional()}),handler:async($,I)=>{let U=await q4($),Y={...U,decisionPreferences:{...U.decisionPreferences,...I}};return await y7($,Y),{decisionPreferences:Y.decisionPreferences}}},{name:"seal_preference_thinking_depth_set",description:"修改默认思考深度(medium 或 high)",parameters:X.object({defaultLevel:X.enum(["medium","high"]).describe("默认思考深度")}),handler:async($,I)=>{let U=await q4($),Y={...U,thinkingDepthPreference:{defaultLevel:I.defaultLevel,routingPolicies:U.thinkingDepthPreference?.routingPolicies??[]}};return await y7($,Y),{thinkingDepthPreference:Y.thinkingDepthPreference}}},{name:"seal_preference_thinking_depth_policies_list",description:"列出思考深度路由策略列表",parameters:X.object({}),handler:async($)=>{return{policies:(await q4($)).thinkingDepthPreference?.routingPolicies??[]}}},{name:"seal_preference_thinking_depth_policies_upsert",description:"新增或修改思考深度路由策略",parameters:LE,handler:async($,I)=>{let U=await q4($),J=(U.thinkingDepthPreference?.routingPolicies??[]).filter((K)=>K.id!==I.id);J.push(I);let Q={...U,thinkingDepthPreference:{defaultLevel:U.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:J}};return await y7($,Q),{policy:I,policies:J}}},{name:"seal_preference_thinking_depth_policies_remove",description:"删除一条思考深度路由策略",parameters:X.object({policyId:X.string().describe("路由策略 ID")}),handler:async($,I)=>{let U=await q4($),Y=U.thinkingDepthPreference?.routingPolicies??[],J=Y.filter((K)=>K.id!==I.policyId);if(J.length===Y.length)throw Error(`未找到路由策略:${I.policyId}`);let Q={...U,thinkingDepthPreference:{defaultLevel:U.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:J}};return await y7($,Q),{removedId:I.policyId,policies:J}}},{name:"seal_approval_runs_stats",description:"统计审核记录状态分布、来源系统分布及按单号/ID去重统计",parameters:X.object({since:X.string().optional().describe("时间范围,如 3months, 7days, 24hours"),dedupeBy:X.enum(["sourceDocumentSN","sourceDocumentId","id"]).default("sourceDocumentSN").describe("去重字段"),status:X.string().optional(),sourceSystem:X.string().optional(),taskMode:X.string().optional()}),handler:async($,I)=>{let U=await X8($,{limit:1000,status:I.status,sourceSystem:I.sourceSystem,taskMode:I.taskMode}),Y=I.dedupeBy??"sourceDocumentSN",J=U.records,Q={},K={},q=new Set;for(let G of J){let H=G.status??"unknown";Q[H]=(Q[H]??0)+1;let W=G.sourceSystem??"unknown";K[W]=(K[W]??0)+1;let V=G[Y];if(V)q.add(String(V))}return{total:J.length,dedupeBy:Y,unique:q.size,byStatus:Q,bySourceSystem:K}}},{name:"seal_approval_runs_count",description:"统计符合条件的审核记录总数",parameters:X.object({status:X.string().optional(),sourceSystem:X.string().optional(),taskMode:X.string().optional(),search:X.string().optional()}),handler:async($,I)=>{let U=await X8($,{limit:1,status:I.status,sourceSystem:I.sourceSystem,taskMode:I.taskMode,search:I.search});return{total:U.total??U.records.length}}}],Xq1=new Map(JG.map(($)=>[$.name,$]));function C4($){return Xq1.get($)}function YG($,I){return I?$:{...$,secret:""}}function wq1($){if($.seal.url)return $.seal.url;if($.source.type==="hose")return Q2($,$.source);return $.source.sealUrl}function Lq1($,I){let U=$.rules.length;if(I.countOnly||I.limit===0)return{count:U};let Y=I.offset??0,J=$.rules.slice(Y,I.limit===void 0?void 0:Y+I.limit),Q=I.fields;return{count:U,hasPendingDeletes:$.hasPendingDeletes,rules:Q?J.map((K)=>Dq1(K,Q)):J}}function Dq1($,I){let U={};for(let Y of I)if($[Y]!==void 0)U[Y]=$[Y];return U}function hZ0($){let I=$.match(/^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i);if(!I||!I[1])return 600000;let U=parseFloat(I[1]);switch((I[2]??"s").toLowerCase()){case"ms":return U;case"s":return U*1000;case"m":return U*60*1000;case"h":return U*3600*1000;case"d":return U*86400*1000;default:return U*1000}}function sL($){return Object.fromEntries(Object.entries($).map(([I,U])=>[I,["apiKey","apiSecret","secret"].includes(I)&&typeof U==="string"?"***":U]))}function Oq1($){let I=$.sourceSystem??$.mode??"hosecloud",U={skipInvoiceGeneration:$.skipInvoiceGeneration??!0,skipExpenseExtraction:$.skipExpenseExtraction??!0,thinkingDepthOverride:$.thinkingDepthOverride??"default",disableAttachmentCache:$.disableAttachmentCache??!1},Y=$.flowIds??(typeof $.documentSn==="string"?$.documentSn.split(",").map((J)=>J.trim()).filter(Boolean):$.documentSn);if(I==="hosecloud"){if(!Y?.length&&$.startTime===void 0)throw Error("hosecloud 模式需要提供 flowIds(单号列表)");if(Object.assign(U,{dataCollectionMode:"2",rejectNodeName:$.rejectNodeName??null,sourceSystem:"hosecloud"}),Y?.length)U.flowIds=Y;if($.signKey)U.signKey=$.signKey;if($.startTime!==void 0)U.startTime=$.startTime;if($.endTime!==void 0)U.endTime=$.endTime;if($.status)U.status=$.status;if($.limit)U.limit=$.limit}else if(I==="material_pack"||I==="material-pack"){let J=$.packageIds??($.packageId?[$.packageId]:void 0);if(!J?.length)throw Error("material_pack 模式需要提供 packageIds(材料包 id)");let Q=$.templateId??$.schemaConfig?.id;if(!Q)throw Error("material_pack 模式需要提供 templateId(或 schemaConfig.id)");if(Object.assign(U,{templateId:Q,packageIds:J,approvalCode:$.approvalCode??"material_pack",nodeId:$.nodeId??"material_pack",runMode:$.runMode??"import_and_simulate"}),$.schemaConfig!==void 0)U.schemaConfig=$.schemaConfig}else if(I==="weaver")Object.assign(U,{sourceSystem:"weaver",workflowTypeId:$.workflowTypeId,requestIds:$.requestIds,flowStatusList:$.flowStatusList,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,rejectNodeName:$.rejectNodeName??null});else if(I==="helios")Object.assign(U,{sourceSystem:"helios",documentType:$.documentType,businessCodes:$.businessCodes,rejectNodeName:$.rejectNodeName??null});else if(I==="maycur"||I==="maycur-standard")Object.assign(U,{sourceSystem:I,formCodes:$.formCodes??Y,createdAtStart:$.startTime,createdAtEnd:$.endTime,formSubTypeBizCode:$.formSubTypeBizCode,formStatus:$.formStatus,pageNo:$.pageNo??1,pageSize:$.pageSize??100,signKey:$.signKey});else if(I==="feishu")Object.assign(U,{sourceSystem:"feishu",approvalCode:$.approvalCode,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,signKey:$.signKey});else Object.assign(U,{sourceSystem:I});if($.rawParams)Object.assign(U,$.rawParams);return U}function Nq1($){return{id:$.id,status:$.status,approvalCode:$.approvalCode,sourceSystem:$.sourceSystem,totalCount:$.totalCount,processedCount:$.processedCount,successCount:$.successCount,failedCount:$.failedCount,createdCount:$.createdCount,createFailedCount:$.createFailedCount,requestSummary:$.requestSummary,resultSummary:$.resultSummary,createdAt:$.createdAt}}function YI($){let I=$.sourceDocumentSN,U=JI($),Y=YD($);return{id:$.id,tenantId:$.tenantId,agentId:$.agentId,status:$.status,taskMode:$.taskMode,finalExecutionMode:$.finalExecutionMode,sourceSystem:$.sourceSystem,sourceDocumentSN:I,sourceDocumentId:$.sourceDocumentId,documentId:$.documentId,simulationBatchId:$.sourceExtendData?.simulation_batch_id,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,langfuseSessionFallback:I?`hosecloud-${I}`:void 0,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName,humanResult:U?.value,humanResultPath:U?.path,aiDecision:Y.decision,aiSummary:Y.summary,createdAt:$.createdAt,updatedAt:$.updatedAt}}function Fq1($,I){return{date:I.date,timezone:I.timezone,fetched:I.fetched,matched:$.length,total:I.total,statusCounts:nZ0($,(U)=>U.status??"unknown"),taskModeCounts:nZ0($,(U)=>U.taskMode??"unknown"),records:$.map((U)=>{let Y=YI(U);return{createdAt:cZ0(Y.createdAt,I.timezone),sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId,status:Y.status,taskMode:Y.taskMode,finalExecutionMode:Y.finalExecutionMode,simulationBatchId:Y.simulationBatchId,langfuseTraceId:Y.langfuseTraceId,langfuseSessionFallback:Y.langfuseSessionFallback,ruleSetVersionNumber:Y.ruleSetVersionNumber,ruleSetPublishedAt:cZ0(Y.ruleSetPublishedAt,I.timezone),ruleSetPublishedByName:Y.ruleSetPublishedByName,humanResult:Y.humanResult,humanResultPath:Y.humanResultPath,recordId:Y.id}})}}function xZ0($){if(!$)return[];return(Array.isArray($)?$:$.split(",")).map((U)=>U.trim()).filter(Boolean)}function dZ0($,I){let U={};for(let Y of I){if(Y==="metadata"){U.metadata=mZ0($);continue}let J=b5($,Y);if(J!==void 0)Pq1(U,Y,J)}return U}function mZ0($){let I=YI($);return{recordId:I.id,tenantId:I.tenantId,agentId:I.agentId,sourceSystem:I.sourceSystem,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId,documentId:I.documentId,status:I.status,taskMode:I.taskMode,finalExecutionMode:I.finalExecutionMode,simulationBatchId:I.simulationBatchId,langfuseTraceId:I.langfuseTraceId,langfuseSessionFallback:I.langfuseSessionFallback,ruleSetVersionNumber:I.ruleSetVersionNumber,ruleSetPublishedAt:I.ruleSetPublishedAt,ruleSetPublishedByName:I.ruleSetPublishedByName,createdAt:I.createdAt,updatedAt:I.updatedAt}}function Mq1($){return{metadata:mZ0($),document:lZ0($).document,aiResult:YD($),manualResult:JI($)?.value,manualResultPath:JI($)?.path,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName}}function YD($){let I=QG($.result);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,traceId:$.sourceExtendData?._langfuseTraceId,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,decision:ID(I,["decision","manualApproval.decision","manualApproval.result","review.decision","finalDecision"]),summary:ID(I,["summary","result.summary","review.summary","conclusion"]),riskPointCount:kZ0(I,["riskPoints","risks","risk_points","review.riskPoints"]),matchedRuleCount:kZ0(I,["matchedRules","hitRules","ruleResults","rules","review.matchedRules"])}}function lZ0($){let I=QG($.document),U=Eq1($.document),Y=U.map((J)=>`${J.label??J.path??""}:${J.value??""}`).join(` -`);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,document:MJ({id:I?.id,sn:I?.sn??I?.sourceDocumentSN??$.sourceDocumentSN,title:I?.title??I?.name,template:ID(I,["template.name","templateName","form.name","formName","formTitle"]),amount:eL(U,["金额","报销金额","付款金额","合计","价税合计"])??ID(I,["amount","totalAmount","expenseAmount"]),expenseType:eL(U,["费用类型","费用类别","报销类型"]),costCompany:eL(U,["费用承担公司","承担公司","成本中心","费用归属"]),payee:eL(U,["收款方","收款账户","收款信息","开户名","银行账号"]),keyFields:U.slice(0,30)}),invoices:Bq1($),attachments:WJ($,{summary:!0}).attachments,aiResult:YD($),manualResult:JI($)?.value,hints:MJ({amountMentions:uZ0(Y,["金额","合计","税率"],8),partyMentions:uZ0(Y,["买方","卖方","甲方","乙方","收款"],8)})}}function Aq1($){let I=[["result.citedRules",b5($,"result.citedRules")],["result.matchedRules",b5($,"result.matchedRules")],["result.ruleResults",b5($,"result.ruleResults")],["result.rules",b5($,"result.rules")],["pipelineData.citedRules",b5($,"pipelineData.citedRules")],["pipelineData.matchedRules",b5($,"pipelineData.matchedRules")]],U=[],Y=new Set;for(let[J,Q]of I)(Array.isArray(Q)?Q:Q&&typeof Q==="object"?Object.values(Q):[]).forEach((q,G)=>{let H=QG(q);if(!H)return;let W=$4(H.runtimeRuleId)??$4(H.runtimeId)??$4(H.id)??$4(H.ruleId),V=$4(H.ruleCode)??$4(H.code)??(W?Cq1(W):void 0),z=MJ({runtimeRuleId:W,ruleCode:V,versionNumber:Tq1(H.versionNumber)??$.ruleSetVersionNumber,scope:$4(H.scope),strictness:$4(H.strictness),appliedAnalysis:H.appliedAnalysis??H.analysis??H.reasoning,checkResult:H.checkResult??H.result??H.decision,findings:H.findings??H.riskPoints??H.evidence,sourcePath:`${J}.${G}`}),Z=JSON.stringify(z);if(!Y.has(Z))Y.add(Z),U.push(z)});return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,ruleSetVersionNumber:$.ruleSetVersionNumber,count:U.length,rules:U}}function ID($,I){if(!$)return;for(let U of I){let Y=b5($,U);if(Y!==void 0)return Y}return}function kZ0($,I){if(!$)return 0;for(let U of I){let Y=b5($,U);if(Array.isArray(Y))return Y.length;if(Y&&typeof Y==="object")return Object.keys(Y).length;if(typeof Y==="number")return Y}return 0}function b5($,I){return I.split(".").reduce((U,Y)=>{if(U===void 0||U===null)return;if(Array.isArray(U)){let J=Number(Y);return Number.isInteger(J)?U[J]:void 0}if(typeof U==="object")return U[Y];return},$)}function Pq1($,I,U){let Y=I.split("."),J=$;for(let Q of Y.slice(0,-1)){let K=J[Q];if(!K||typeof K!=="object"||Array.isArray(K))J[Q]={};J=J[Q]}J[Y[Y.length-1]??I]=U}function MJ($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}function QG($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function Tq1($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Eq1($){let I=[];return mh($,"document",I),I}function mh($,I,U){if(Array.isArray($)){$.forEach((K,q)=>mh(K,`${I}.${q}`,U));return}let Y=QG($);if(!Y)return;let J=$4(Y.label)??$4(Y.name)??$4(Y.title)??$4(Y.fieldName),Q=Y.value??Y.displayValue??Y.text??Y.content;if(J&&Q!==void 0&&typeof Q!=="object")U.push(MJ({path:I,label:J,value:Q,type:$4(Y.type)??$4(Y.fieldType)}));for(let[K,q]of Object.entries(Y)){if(K==="attachments")continue;mh(q,`${I}.${K}`,U)}}function eL($,I){return $.find((Y)=>{let J=$4(Y.label)??"";return I.some((Q)=>J.includes(Q))})?.value}function Bq1($){let I=[];return UD($.result,"result",I),UD($.document,"document",I),I.slice(0,20)}function UD($,I,U){if(Array.isArray($)){$.forEach((J,Q)=>UD(J,`${I}.${Q}`,U));return}let Y=QG($);if(!Y)return;if(/invoice|发票/i.test(I))U.push(MJ({path:I,fileName:$4(Y.fileName)??$4(Y.filename)??$4(Y.name),buyer:Y.buyer??Y.buyerName??Y.purchaserName,seller:Y.seller??Y.sellerName,amount:Y.amount??Y.totalAmount??Y.total,taxRate:Y.taxRate,category:Y.category??Y.type}));for(let[J,Q]of Object.entries(Y))UD(Q,`${I}.${J}`,U)}function uZ0($,I,U){return $.split(/\r?\n/).filter((Y)=>I.some((J)=>Y.includes(J))).slice(0,U)}function $D($){return $.map((I)=>{let U=YI(I);return{recordId:U.id,tenantId:U.tenantId,agentId:U.agentId,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,langfuseTraceId:U.langfuseTraceId,langfuseSessionFallback:U.langfuseSessionFallback,ruleSetVersionNumber:U.ruleSetVersionNumber,ruleSetPublishedAt:U.ruleSetPublishedAt,ruleSetPublishedByName:U.ruleSetPublishedByName,resolution:U.langfuseTraceId?"trace":U.langfuseSessionFallback?"session-fallback":"unresolved"}})}function ch($){return{id:$.id,tenantId:$.tenantId,versionNumber:$.versionNumber,versionName:$.versionName,publishedBy:$.publishedBy,publishedByName:$.publishedByName,rulesCount:$.rules.length,publishedAt:$.publishedAt,createdAt:$.createdAt}}async function Rq1($,I){if(I.recordId&&!I.versionId&&!I.versionNumber&&!I.latest){let U=await f4($,I.recordId);if(!U.ruleSetVersionNumber)throw Error(`Approval run ${I.recordId} has no ruleSetVersionNumber`);return lh($,{versionNumber:U.ruleSetVersionNumber})}return lh($,I)}function vq1($,I){let U=dh(I.code),Y=oZ0(I.runtimeId),J=U?Number(U.slice(1)):Y;if(!J||J<1)throw Error("Pass --code '#0038' or --runtime-id rule-205");let Q=$.rules.find((G,H)=>{let W=G;return dh($4(W.code)??$4(W.ruleCode))===U||H+1===J});if(!Q)return;let K=Q,q=$.rules.indexOf(Q)+1;return MJ({runtimeRuleId:$4(K.runtimeRuleId)??`rule-${q}`,ruleCode:dh($4(K.code)??$4(K.ruleCode))??ah(q),versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedAt:$.publishedAt,publishedByName:$.publishedByName,description:Q.description,scope:Q.scope,strictness:Q.strictness,status:$4(K.status)})}function dh($){if(!$)return;let I=$.match(/\d+/)?.[0];return I?ah(Number(I)):$}function oZ0($){if(!$)return;let I=$.match(/(\d+)$/);return I?Number(I[1]):void 0}function Cq1($){let I=oZ0($);return I?ah(I):void 0}function ah($){return`#${String($).padStart(4,"0")}`}function jq1($,I){let U=YI($),Y={recordId:U.id,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,status:U.status,taskMode:U.taskMode,ruleSetVersionNumber:U.ruleSetVersionNumber,langfuseTraceId:U.langfuseTraceId,manualResult:U.humanResult,aiDecision:U.aiDecision,aiSummary:U.aiSummary,createdAt:U.createdAt};if(I.length===0)return Y;return dZ0(Y,I)}async function _q1($,I){if(I.recordId)return f4($,I.recordId);let Y=(await X8($,{limit:1,search:I.sourceDocumentSN??I.sourceDocumentId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId})).records[0];if(!Y){let J=I.sourceDocumentSN?`sourceDocumentSN ${I.sourceDocumentSN}`:`sourceDocumentId ${I.sourceDocumentId}`;throw Error(`Approval run not found for ${J}`)}return f4($,Y.id)}function Sq1($){return $.replace(/\/+$/,"")}function $4($){return typeof $==="string"&&$.trim()?$:void 0}async function gq1($,I){let U=Math.min(100,Math.max(I.limit,20)),Y=[],J,Q=0;while(Q!I.sn||G.sourceDocumentSN===I.sn).filter((G)=>!I.batchId||G.sourceExtendData?.simulation_batch_id===I.batchId);if(Y.push(...q),K.records.length===0||J!==void 0&&Q>=J)break}return Y.sort((K,q)=>fZ0(q.createdAt)-fZ0(K.createdAt)),{total:J,scanned:Q,records:Y.slice(0,I.latest?1:I.limit)}}function fZ0($){if(typeof $==="number")return $;if(typeof $==="string"){let I=Date.parse($);return Number.isFinite(I)?I:0}return 0}async function lh($,I){if(I.versionId)return W2($,I.versionId);let U=await Y5($),Y=I.versionNumber?U.find((J)=>J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}function sh($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>{return[Y.id,Y.sourceDocumentSN,Y.sourceDocumentId,Y.documentId,Y.sourceExtendData?._langfuseTraceId,Y.sourceExtendData?.simulation_batch_id,Y.status,Y.taskMode,Y.finalExecutionMode,Y.sourceSystem,Y.ruleSetVersionNumber,Y.ruleSetPublishedByName].some((Q)=>oh(Q,U))||rh(Y,U)})}function oh($,I){if($===null||$===void 0)return!1;if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return String($).toLowerCase().includes(I);return!1}function rh($,I,U=0){if(U>6)return!1;if(oh($,I))return!0;if(!$||typeof $!=="object")return!1;if(Array.isArray($))return $.some((Y)=>rh(Y,I,U+1));return Object.entries($).some(([Y,J])=>oh(Y,I)||rh(J,I,U+1))}function yq1($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>JI(Y)?.value.toLowerCase().includes(U))}function hq1($){return{...$,manualApprovalStatus:rZ0($.manualApprovalStatus,$.humanResult)}}function rZ0($,I){if($)return $;let U=I?.trim().toLowerCase();if(!U)return;if(["驳回","已驳回","拒绝","不通过","terminated","reject","rejected","denied"].includes(U))return"TERMINATED";return}async function bZ0($,I,U){let Y=sh(I,U.query);if(!U.humanResult?.trim())return Y;let J=await Promise.all(Y.map(async(Q)=>{if(JI(Q))return Q;try{return await f4($,Q.id)}catch{return Q}}));return yq1(J,U.humanResult)}function xq1($){return{originalDocumentData:{path:"document",frontendLabel:"单据原始数据",description:"前端详情页展示的单据原始数据对象",id:$.document?.id??$.documentId,sourceDocumentSN:$.document?.sourceDocumentSN??$.sourceDocumentSN,sourceDocumentId:$.document?.sourceDocumentId??$.sourceDocumentId},aiDocumentFields:{path:"document.fields",frontendLabel:"AI 看的单据",description:"AI 审核实际读取的字段数组,即单据原始数据中的 fields",fieldCount:$.document?.fields?.length},aiDocument:{path:"document.fields",frontendLabel:"AI 看的单据",description:"兼容别名,等同于 aiDocumentFields",aliasOf:"aiDocumentFields",fieldCount:$.document?.fields?.length},sourceDocument:{path:"sourceExtendData.hosecloudViewUrl",description:"合思原始单据入口;详情响应中只有入口和源单据 ID,不包含完整原始单据 JSON",sourceSystem:$.sourceSystem,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,originalDocumentId:$.sourceExtendData?.original_document_id,viewUrl:$.sourceExtendData?.hosecloudViewUrl},aiResult:{path:"result",description:"AI 最终审核结构化结果"},aiAuditLog:{path:"pipelineData.logs",description:"AI 审核过程日志"},manualApproval:{path:"manualApprovalRecord",description:"人工审核结果、节点和驳回原因"}}}function JI($){let I=[["result",$.result],["pipelineData",$.pipelineData]];for(let[U,Y]of I){let J=th(Y,U);if(J)return J}return}function th($,I,U=0){if(U>8||$===null||$===void 0)return;if(Array.isArray($)){for(let Y=0;Y<$.length;Y+=1){let J=th($[Y],`${I}[${Y}]`,U+1);if(J)return J}return}if(typeof $!=="object")return;for(let[Y,J]of Object.entries($)){let Q=`${I}.${Y}`,K=th(J,Q,U+1);if(K)return K;if(iZ0(Y)||iZ0(Q)){let q=tZ0(J);if(q)return{value:q,path:Q}}}return}function iZ0($){let I=$.toLowerCase(),U=I.includes("human")||I.includes("manual")||I.includes("reviewer")||I.includes("operator")||$.includes("人工")||$.includes("人工审批")||$.includes("人工审核"),Y=I.includes("result")||I.includes("decision")||I.includes("outcome")||I.includes("conclusion")||I.includes("action")||$.includes("结果")||$.includes("结论")||$.includes("动作");return U&&Y}function tZ0($){if(typeof $==="string")return $.trim()||void 0;if(typeof $==="number"||typeof $==="boolean")return String($);if(!$||typeof $!=="object")return;let I=$;for(let U of["label","name","text","value","result","decision","outcome","status","action"]){let Y=tZ0(I[U]);if(Y)return Y}return}function kq1($,I){if(I.recordId&&$.id!==I.recordId)return!1;if(I.sourceDocumentSN&&$.sourceDocumentSN!==I.sourceDocumentSN)return!1;if(I.sourceDocumentId&&$.sourceDocumentId!==I.sourceDocumentId)return!1;return!0}function nZ0($,I){return $.reduce((U,Y)=>{let J=I(Y);return U[J]=(U[J]??0)+1,U},{})}function pZ0($,I){let U=aZ0($);if(!U)return;let Y=sZ0(U,I),J=Y.year,Q=(Y.month??"01").padStart(2,"0"),K=(Y.day??"01").padStart(2,"0");return`${J}-${Q}-${K}`}function cZ0($,I){let U=aZ0($);if(!U)return;let Y=sZ0(U,I),J=(Y.month??"01").padStart(2,"0"),Q=(Y.day??"01").padStart(2,"0"),K=(Y.hour??"00").padStart(2,"0"),q=(Y.minute??"00").padStart(2,"0"),G=(Y.second??"00").padStart(2,"0");return`${Y.year??"0000"}-${J}-${Q} ${K}:${q}:${G}`}function aZ0($){if($===void 0)return null;let I=new Date($);return Number.isNaN(I.getTime())?null:I}function sZ0($,I){return Object.fromEntries(new Intl.DateTimeFormat("en-CA",{timeZone:I,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts($).filter((U)=>U.type!=="literal").map((U)=>[U.type,U.value]))}import{writeFileSync as uq1}from"node:fs";function eZ0($){let I=[],U={},Y;for(let J=0;J<$.length;J+=1){let Q=$[J];if(!Q)continue;if(Q==="--json"){let K=$[J+1];if(!K)throw Error("--json requires a JSON object argument");Y=JSON.parse(K),J+=1;continue}if(Q.startsWith("-")){let K=Q.replace(/^-+/,"");if(K.includes("=")){let G=K.indexOf("="),H=K.slice(0,G),W=K.slice(G+1);U[H]=W;continue}let q=$[J+1];if(!q||q.startsWith("-"))U[K]=!0;else U[K]=q,J+=1;continue}I.push(Q)}return{command:I,options:U,json:Y}}function t6($){if($===void 0)return{};if(!$||typeof $!=="object"||Array.isArray($))throw Error("--json must be an object");return $}function h($){return typeof $==="string"?$:void 0}function a0($){if(typeof $!=="string")return;let I=Number($);if(!Number.isFinite(I))throw Error(`Invalid number: ${$}`);return I}function W6($){if(typeof $!=="string")return;let I=$.split(",").map((U)=>U.trim()).filter(Boolean);return I.length?I:void 0}function _0($){if($===void 0)return;if(typeof $==="boolean")return $;if($==="true")return!0;if($==="false")return!1;throw Error(`Invalid boolean: ${$}`)}function z7($,I){let U=i1($,I);if(!U)throw Error(`Missing required JSON field: ${I}`);return U}function i1($,I){let U=$[I];return typeof U==="string"&&U.trim()?U.trim():void 0}function $z0($,I){let U=$[I];return typeof U==="number"&&Number.isFinite(U)?U:void 0}function eh($){return $.replace(/[^a-zA-Z0-9._-]/g,"_")}function Iz0($){let I=$.trim().toLowerCase();if(["stateful","state","有状态"].includes(I))return!0;if(["stateless","无状态"].includes(I))return!1;throw Error("Invalid config mode. Use stateful or stateless.")}function KG($){if($==="latest")return{latest:!0};let I=Number($);if(Number.isInteger(I)&&I>0)return{versionNumber:I};return{versionId:$}}function Uz0($){if(!$)return{};let I=KG($);if("latest"in I)return{ruleVersionScope:"version",latestRuleVersion:!0};if("versionNumber"in I)return{ruleVersionScope:"version",ruleVersionNumber:I.versionNumber};return{ruleVersionScope:"version",ruleVersionId:I.versionId}}function Yz0($){if(!$)return{};let I=KG($);if("latest"in I)return{latestRuleVersion:!0};if("versionNumber"in I)return{ruleVersionNumber:I.versionNumber};return{ruleVersionId:I.versionId}}function Jz0($){if(!$)return{};let I=KG($);if("latest"in I)return{latest:!0};if("versionNumber"in I)return{versionNumber:I.versionNumber};return{versionId:I.versionId}}function $x($){if(!$)return;let I=$.trim().toLowerCase().replace(/[\s-]+/g,"_"),Y={assisted:"assisted",辅助:"assisted",semi_automatic:"semi_automatic",半自动:"semi_automatic",fully_automatic:"fully_automatic",全自动:"fully_automatic"}[I];if(!Y)throw Error("Invalid Webhook mode. Use assisted, semi_automatic, or fully_automatic");return Y}function Ix($){let I=a0($.autoApprovalRate??$["auto-approval-rate"]??$["approval-rate"]);if(I!==void 0&&(!Number.isInteger(I)||I<0||I>100))throw Error("Webhook auto approval rate must be an integer between 0 and 100");return I}function Ux($){return _0($.showSecret)??_0($["show-secret"])}function qG($){let I=_0($.clearMaxFileSize??$["clear-max-file-size"])===!0,U=a0($.minFileSizeBytes??$["min-file-size-bytes"]??$.minFileSize??$["min-file-size"]),Y=a0($.maxFileSizeBytes??$["max-file-size-bytes"]??$.maxFileSize??$["max-file-size"]),J=W6($.allowedExtensions??$["allowed-extensions"]??$.extensions);if(U===void 0&&Y===void 0&&J===void 0&&!I)return;return{minFileSizeBytes:U,maxFileSizeBytes:I?null:Y,allowedExtensions:J}}var fq1=100,bq1=120000,Qz0=["id","code","status","strictness","scope","createdAt","updatedAt"],iq1=200000;function Yx($){return $.map((I)=>typeof I==="string"?I:String(I)).join(" ")}function GG($){if(!$.length)return"";return`${$.join(` +`);let w=Qx(G.document,H,W),Z=await fetch(`${J}/api/v1/integrations/webhook/${encodeURIComponent(Q)}/document`,{method:"POST",headers:{"Content-Type":"application/json",...Vh({webhookId:Q,...w},U.secret)},body:JSON.stringify(w)});if(!Z.ok)throw Error(`Webhook 单据推送失败 ${Z.status}: ${await Z.text()}`);K.push({documentId:w.documentId,document:w,pushResult:await Z.json()}),process.stderr.write(`✓ 单据推送成功: ${w.documentId} +`)}return{warnings:[],results:K}}function JI($){return{fileBuffer:eq1($),fileName:$.split(/[\\\/]/).pop()??"material-pack.zip"}}import{existsSync as YG1}from"node:fs";async function QD($,I,U={}){let J=L4().stateful?"stateful":"stateless",Q="ok",K,q,G;try{let A=await N$($);G={id:A.user.id,name:A.user.name,isAdmin:A.user.isAdmin},q={id:A.tenant.id,name:A.tenant.name,tenantSlug:A.tenant.tenantSlug,corporationName:A.tenant.hoseCorpConfig?.corporationName}}catch(A){Q="error",K=A instanceof Error?A.message:String(A)}let H=[];if(Q==="ok")try{H=await X9($,I.seal.endpoints.approvalStylePreferences)}catch(A){Q="error",K=`读取 Webhook 配置失败: ${A instanceof Error?A.message:String(A)}`}let W=H.length===1,V=H.map((A)=>({id:A.id,name:A.name,mode:A.mode,incomingDocumentWebhookUrl:A.incomingDocumentWebhook.url,outgoingResultWebhookUrl:A.outgoingResultWebhook,autoApprovalRate:A.autoApprovalRate,...W?{isDefault:!0}:{}})),w=W?{id:H[0].id,name:H[0].name,mode:H[0].mode}:null,Z=U.webhook?z9(H,U.webhook):W?H[0]:void 0,z;if(U.filePath)if(!YG1(U.filePath))z={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[`文件不存在: ${U.filePath}`]};else try{let A=JI(U.filePath),R=await YI(A.fileBuffer,A.fileName,Z?.materialPackFilePolicy);z={valid:!0,filePath:U.filePath,fileName:A.fileName,documentCount:R.documents.length,warnings:R.warnings}}catch(A){z={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[A instanceof Error?A.message:String(A)]}}let L=z?z.valid:!0,D=Q==="ok"&&V.length>0&&L,F=J==="stateful"?"":` --corp ${I.id}`,E="",T="";if(Q!=="ok")T=`凭证鉴权异常: ${K}`,E=`seal-use auth diagnose${F}`;else if(V.length===0)T="当前企业尚未配置任何 Webhook 集成通道",E=`seal-use webhook add --name "默认入站通道" --result-url "https://your-domain.com/callback"${F}`;else if(z&&!z.valid)T=`材料包预检失败: ${z.errors?.join("; ")}`,E=`seal-use webhook material-pack preview ${z.filePath}${F}`;else{T=W?"所有通道正常,已自动锁定唯一 Webhook 通道,等待载入":`所有通道正常,检测到 ${V.length} 个 Webhook 通道,等待载入`;let A=z?.filePath??"<材料包.zip>",R=W?"":` --webhook ${w?w.id:""}`;E=`seal-use webhook material-pack push ${A}${R}${F}`}return{ready:D,corp:{id:I.id,name:I.name,sourceType:I.source.type,tenant:q,user:G},stateMode:J,authStatus:Q,authError:K,activeWebhooks:V,defaultWebhook:w,materialPack:z,statusMessage:T,nextAction:E}}var GG=[{name:"seal_whoami",description:"查询当前 Seal 用户身份及租户信息",parameters:X.object({}),handler:async($)=>N$($)},{name:"seal_session_get",description:"查询当前 Seal Bearer session、用户和过期时间",parameters:X.object({}),handler:async($)=>Gm($)},{name:"seal_delegation_list",description:"查询当前 Seal 租户下的授权链接 (Delegation) 列表",parameters:X.object({}),handler:async($)=>ym($)},{name:"seal_delegation_create",description:"创建新的 Seal 授权链接 (Delegation)",parameters:X.object({note:X.string().optional().describe("授权链接的备注或说明信息")}),handler:async($,I)=>DU($,I)},{name:"seal_delegation_revoke",description:"撤销/废除指定的 Seal 授权链接 (Delegation)",parameters:X.object({tokenId:X.string().describe("授权链接 ID (delegation record ID)")}),handler:async($,I)=>hm($,I.tokenId)},{name:"seal_user_create",description:"创建本地 Seal 用户,生成并返回初始随机密码",parameters:X.object({name:X.string().describe("用户姓名"),phone:X.string().describe("手机号码 (例如 13300001111 或 +8613300001111)"),permissions:X.array(X.string()).optional().describe("权限列表,默认为 []"),departmentIds:X.array(X.string()).optional().describe("关联部门 ID 数组")}),handler:async($,I)=>xm($,I)},{name:"seal_user_reset_password",description:"重置指定 Seal 用户的默认/随机密码,并返回生成的新密码",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>fE($,I.userId)},{name:"seal_user_get",description:"获取指定 Seal 用户的详细信息",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>yV($,I.userId)},{name:"seal_user_search",description:"按姓名、手机号或邮箱搜索 Seal 成员用户列表",parameters:X.object({keyword:X.string().optional().describe("搜索关键词(姓名、手机号、邮箱等),不传或传空字符串可列出租户成员")}),handler:async($,I)=>hV($,I.keyword??"")},{name:"seal_user_delete",description:"删除指定 Seal 本地用户",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>lm($,I.userId)},{name:"seal_user_activate",description:"启用/激活已离职的 Seal 用户账号",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>bE($,I.userId)},{name:"seal_user_delegation_create",description:"为指定 Seal 用户(按用户ID、手机号或姓名)重置密码登录并生成其专属授权链接 (Delegation)",parameters:X.object({userIdOrPhone:X.string().describe("目标用户 ID、手机号或姓名"),note:X.string().optional().describe("授权链接备注信息")}),handler:async($,I,U)=>om($,I,(Y)=>Ed(U.corp,Y),U.corp)},{name:"seal_contacts_departments_root_list",description:"列出当前 Seal 租户通讯录的顶级部门",parameters:X.object({}),handler:async($)=>km($)},{name:"seal_contacts_department_get",description:"获取指定通讯录部门的详细信息",parameters:X.object({departmentId:X.string().describe("部门 ID")}),handler:async($,I)=>um($,I.departmentId)},{name:"seal_contacts_department_children_list",description:"列出指定通讯录部门的直接子部门",parameters:X.object({departmentId:X.string().describe("部门 ID")}),handler:async($,I)=>fm($,I.departmentId)},{name:"seal_contacts_department_users_list",description:"列出指定通讯录部门下的用户",parameters:X.object({departmentId:X.string().describe("部门 ID")}),handler:async($,I)=>bm($,I.departmentId)},{name:"seal_contacts_last_sync_time_get",description:"查询通讯录最后同步时间",parameters:X.object({}),handler:async($)=>im($)},{name:"seal_insight_stats_get",description:"查询智能洞察风险标签统计及分析状态",parameters:X.object({startDate:X.string().optional().describe("统计开始时间(ISO 8601)"),endDate:X.string().optional().describe("统计结束时间(ISO 8601)"),limit:X.number().int().positive().max(100).optional().describe("最多返回的风险标签数量")}),handler:async($,I)=>nm($,I)},{name:"seal_expenses_list",description:"分页查询费用明细",parameters:X.object({offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().max(100).optional(),startDate:X.string().optional().describe("开始时间"),endDate:X.string().optional().describe("结束时间"),search:X.string().optional().describe("搜索费用类型、描述或金额")}),handler:async($,I)=>cm($,I)},{name:"seal_invoices_list",description:"分页查询进项发票",parameters:X.object({offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().max(100).optional(),startDate:X.string().optional().describe("开始时间"),endDate:X.string().optional().describe("结束时间"),search:X.string().optional().describe("搜索发票号码或销售方")}),handler:async($,I)=>dm($,I)},{name:"seal_simulation_feishu_approval_definitions_list",description:"列出飞书模拟测试可用的审批定义,便于选择 approvalCode",parameters:X.object({}),handler:async($)=>{let I=await mm($);return{count:I.length,approvalDefinitions:I}}},{name:"seal_llm_config_get",description:"查询当前 Seal 租户的大模型 (LLM) 配置",parameters:X.object({}),handler:async($)=>rm($)},{name:"seal_llm_providers_list",description:"查询支持的大模型 (LLM) 供应商与配置属性字段",parameters:X.object({}),handler:async($)=>tm($)},{name:"seal_permissions_available_list",description:"查询系统可选权限清单(如超级管理员、智能审核管理、数据管理等)",parameters:X.object({}),handler:async($)=>am($)},{name:"seal_permissions_configs_list",description:"查询当前租户已绑定的权限配置",parameters:X.object({}),handler:async($)=>sm($)},{name:"seal_billing_status_get",description:"查询当前 Seal 租户的订阅状态与各功能额度(AI审批、审核规则、知识文档等)",parameters:X.object({}),handler:async($)=>em($)},{name:"seal_billing_plans_list",description:"查询系统支持的订阅套餐列表",parameters:X.object({}),handler:async($)=>$l($)},{name:"seal_billing_features_list",description:"查询系统支持的功能特性定义列表",parameters:X.object({}),handler:async($)=>Il($)},{name:"seal_approval_rules_list",description:"列出 Seal 当前草稿审批规则;返回的 code 属于草稿编号体系,发布版本可能重新编码;支持 countOnly、fields、limit 以避免返回规则正文",parameters:X.object({countOnly:X.boolean().optional().describe("只返回规则数量,不返回规则列表"),fields:X.array(X.enum(["id","code","tenantId","status","strictness","scope","createdAt","updatedAt","description"])).optional().describe("只返回指定字段;不传则返回完整规则"),limit:X.number().int().nonnegative().optional().describe("最多返回多少条规则;0 可配合 fields 或 countOnly 只取数量"),offset:X.number().int().nonnegative().optional().describe("跳过前多少条规则")}),handler:async($,I)=>{let U=await M$($);return qG1(U,I)}},{name:"seal_approval_rules_clear",description:"清空 Seal 当前草稿审批规则;用于测试环境导入规则前重置草稿规则集",parameters:X.object({dryRun:X.boolean().optional().describe("只预览将删除的规则数量,不执行删除"),recode:X.boolean().optional().describe("删除后尝试重新编排规则编号;失败会作为 warning 返回")}),handler:async($,I,U)=>{let Y=await M$($);if(I.dryRun)return{...p8(U,"api/v1/rules",Y.rules,[],Y.rules.length),corpId:U.corp.id,corpName:U.corp.name,dryRun:!0,beforeCount:Y.rules.length,deleted:0,afterCount:Y.rules.length,hasPendingDeletes:Y.hasPendingDeletes};let J=[],Q=0;for(let H of Y.rules)try{await kV($,H.id),Q+=1}catch(W){J.push({ruleId:H.id,error:W instanceof Error?W.message:String(W)})}let K=[],q;if(Q>0&&I.recode!==!1){if(q=await Hm($),q&&typeof q==="object"&&"ok"in q&&q.ok!==!0)K.push("batch-recode did not complete; current rules were still deleted")}let G=await M$($);return{corpId:U.corp.id,corpName:U.corp.name,dryRun:!1,beforeCount:Y.rules.length,deleted:Q,failed:J,afterCount:G.rules.length,hasPendingDeletes:G.hasPendingDeletes,warnings:K,recode:q}}},{name:"seal_approval_rule_create",description:"新建 Seal 草稿审批规则",parameters:X.object({description:X.string().describe("规则描述"),scope:X.string().describe("适用场景"),strictness:X.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).describe("严格程度")}),handler:async($,I)=>_E($,I)},{name:"seal_approval_rule_update",description:"更新 Seal 草稿审批规则",parameters:X.object({ruleId:X.string().describe("规则 ID"),description:X.string().optional(),scope:X.string().optional(),strictness:X.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).optional()}),handler:async($,I)=>{let{ruleId:U,...Y}=I,J=await SE($,U,Y);if(I.description)try{let Q=L4();if(Q.lint?.enabled){let K=await Gh(Q.lint.activeLinter),q=await Hh({id:U,description:I.description},K);if(q.issues.length>0){console.error(`⚠️ [Linter 质检提醒] 规则质量评分: ${q.score}/100 (发现 ${q.issues.length} 处潜在风险):`);for(let G of q.issues)if(console.error(` • [${G.level.toUpperCase()}] ${G.message}${G.snippet?` ("${G.snippet}")`:""}`),G.suggestion)console.error(` \uD83D\uDC49 建议: ${G.suggestion}`)}}}catch{}return J}},{name:"seal_approval_rule_delete",description:"删除 Seal 草稿审批规则",parameters:X.object({ruleId:X.string().describe("规则 ID")}),handler:async($,I)=>{return await kV($,I.ruleId),{success:!0}}},{name:"seal_approval_rule_versions_list",description:"列出 Seal 已发布审批规则版本摘要,不展开每个版本的规则快照",parameters:X.object({}),handler:async($)=>{let I=await Q5($);return{count:I.length,latest:I[0]?Kx(I[0]):void 0,versions:I.map(Kx)}}},{name:"seal_approval_rule_version_get",description:"获取指定 Seal 已发布审批规则版本详情,包含该版本的规则快照",parameters:X.object({versionId:X.string().optional().describe("规则版本 ID"),versionNumber:X.number().int().positive().optional().describe("规则版本号"),latest:X.boolean().optional().describe("为 true 时获取最新版本")}),handler:async($,I)=>{if(I.versionId)return X2($,I.versionId);let U=await Q5($),Y=I.versionNumber?U.find((J)=>J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}},{name:"seal_approval_rule_version_publish",description:"发布 Seal 草稿审批规则为新版本",parameters:X.object({versionName:X.string().describe("版本名称")}),handler:async($,I)=>gE($,I.versionName)},{name:"seal_approval_rule_get",description:"按版本号/code/runtime-id/record-id 定位单条规则;code 只在选定的版本编号体系内有效,避免拉取整版规则快照",parameters:X.object({versionId:X.string().optional().describe("规则版本 ID"),versionNumber:X.number().int().positive().optional().describe("规则版本号"),latest:X.boolean().optional().describe("为 true 时取最新版本"),code:X.string().optional().describe("规则展示编号,如 #0038;没有后端 code 时按版本内序号匹配"),runtimeId:X.string().optional().describe("运行时规则 ID,如 rule-205;按版本内序号匹配"),recordId:X.string().optional().describe("从运行记录推断 ruleSetVersionNumber")}),handler:async($,I)=>{let U=await MG1($,I),Y=AG1(U,{code:I.code,runtimeId:I.runtimeId});if(!Y)throw Error(`Rule not found in version ${U.versionNumber}`);return Y}},{name:"seal_approval_rules_lint",description:"对 Seal 本地规则文件、草稿审批规则或指定发布版本规则进行质量与可执行性检查(模糊词、悬空例外检测)",parameters:X.object({file:X.string().optional().describe("指定本地规则文件路径进行离线质检(支持 .json),0网络请求、不污染远端草稿"),linter:X.string().optional().describe("指定使用的校验器名称或脚本路径(如 builtin、strict、./my-linter.ts)"),version:X.string().optional().describe("指定要质检的历史发布版本号或 ID(如 16 或 latest),不传默认质检当前草稿"),code:X.string().optional().describe("按规则展示编号过滤(如 #0038)"),ruleId:X.string().optional().describe("按规则 ID 过滤"),minScore:X.number().optional().describe("最低合格质量分阈值(0~100),低于该分值抛出错误以返回非零退出码"),level:X.enum(["all","error","warning"]).default("all").describe("问题报告等级过滤"),summary:X.boolean().optional().describe("为 true 时仅返回存在瑕疵/扣分的规则")}),handler:async($,I,U)=>{let Y=[],J;if(I.file){let H=Wh(I.file);Y=tV0(H.rules),J=H.meta.versionNumber}else if(I.version){let H=await Q5($),W=Number(I.version),V=isNaN(W)?I.version==="latest"?H[0]:H.find((w)=>w.id===I.version):H.find((w)=>w.versionNumber===W);if(!V)throw Error(`未找到指定的规则版本: ${I.version}`);J=V.versionNumber,Y=(V.rules??[]).map((w,Z)=>({id:w.id??w.runtimeId,code:w.code??`#${String(Z+1).padStart(4,"0")}`,name:w.name??w.title,description:w.description??"",scope:w.scope,strictness:w.strictness}))}else Y=((await M$($)).rules??[]).map((W,V)=>({id:W.id,code:W.code??`#${String(V+1).padStart(4,"0")}`,name:W.name??W.title,description:W.description??"",scope:W.scope,strictness:W.strictness}));if(I.code)Y=Y.filter((H)=>H.code===I.code||H.code?.replace(/[#\s]/g,"")===I.code?.replace(/[#\s]/g,""));if(I.ruleId)Y=Y.filter((H)=>H.id===I.ruleId||H.code===I.ruleId);let Q=L4(),K=I.linter??Q.lint?.activeLinter??"builtin",q=await Gh(K),G=await mV0(Y,q,{corpId:U?.corp?.id,versionNumber:J,allRules:Y},{minScore:I.minScore,level:I.level,summary:I.summary});if(I.minScore&&G.overallScore{let Y=I.out??"./rules.local.json",J=[],Q="draft",K;if(I.version){let G=await Q5($),H=Number(I.version),W=isNaN(H)?I.version==="latest"?G[0]:G.find((V)=>V.id===I.version):G.find((V)=>V.versionNumber===H);if(!W)throw Error(`未找到指定的规则版本: ${I.version}`);K=W.versionNumber,Q=`version:${K}`,J=(W.rules??[]).map((V,w)=>({code:V.code?Number(String(V.code).replace(/^#/,""))||w+1:w+1,name:V.name??V.title,description:V.description??"",scope:V.scope??"ALL",strictness:V.strictness??"MUST_FOLLOW"}))}else J=((await M$($)).rules??[]).map((H,W)=>({id:H.id,code:H.code??W+1,name:H.name??H.title,description:H.description??"",scope:H.scope??"ALL",strictness:H.strictness??"MUST_FOLLOW",status:H.status}));return{saved:!0,path:rV0(Y,{corpId:U.corp.id,source:Q,versionNumber:K,exportedAt:new Date().toISOString(),rulesCount:J.length,rules:J}),rulesCount:J.length,corpId:U.corp.id,source:Q,versionNumber:K}}},{name:"seal_approval_rules_push",description:"将本地规则文件增量同步到远端草稿;按规则 ID 更新/删除并保留未变更规则,支持直接发布为正式版本",parameters:X.object({file:X.string().optional().describe("要推送的本地规则文件路径,默认为 ./rules.local.json"),dryRun:X.boolean().optional().describe("是否仅预览变更而不实际写入远端(默认 true,传 --yes 或 confirm: true 执行写入)"),confirm:X.boolean().optional().describe("确认覆盖写入远端草稿"),publish:X.boolean().optional().describe("写入草稿后是否直接发布为一个正式版本"),versionName:X.string().optional().describe("发布版本的名称(仅在 publish=true 时有效)")}),handler:async($,I,U)=>{let Y=I.file??"./rules.local.json",J=Wh(Y),Q=I.confirm===!0,K=I.dryRun??!Q,q=await M$($),G=HG1(q.rules,J.rules);if(K)return{...p8(U,"api/v1/rules",q.rules,J.rules.map((w)=>({description:w.description,scope:w.scope??"ALL",strictness:w.strictness??"MUST_FOLLOW"})),q.rules.length+J.rules.length),corpId:U.corp.id,dryRun:!0,localFile:J.resolvedPath,localRulesCount:J.rules.length,remoteDraftCount:q.rules.length,changes:G,impactCount:G.created.length+G.updated.length+G.deleted.length,preservedRuleIds:[...G.updated.map((w)=>w.id),...G.unchanged.map((w)=>w.id)],warning:"Incremental mode preserves matched rule IDs and does not recode the draft rule set.",willPublish:Boolean(I.publish),message:"Preview mode. Use --yes or confirm=true to apply the listed incremental changes to the remote draft."};for(let w of G.deleted)await kV($,w.id);let H=[];for(let w of G.created){let Z=await _E($,{description:w.description,scope:w.scope??"ALL",strictness:HD(w.strictness)});H.push({id:Z.id,description:Z.description,code:Z.code})}let W=[];for(let w of G.updated)await SE($,w.id,{description:w.rule.description,scope:w.rule.scope??"ALL",strictness:HD(w.rule.strictness)}),W.push(w.id);let V=void 0;if(I.publish){let w=new Date().toISOString().slice(0,10).replace(/-/g,""),Z=I.versionName||`v-local-${w}-${Date.now().toString().slice(-4)}`;V=await gE($,Z)}return{corpId:U.corp.id,dryRun:!1,localFile:J.resolvedPath,deletedRules:G.deleted.length,createdRules:H.length,updatedRules:W.length,unchangedRules:G.unchanged.length,preservedRuleIds:[...W,...G.unchanged.map((w)=>w.id)],recoded:!1,published:V??!1}}},{name:"seal_approval_documents_list",description:"列出 Seal 审批知识文档",parameters:X.object({scenarios:X.array(X.string()).optional().describe("场景过滤"),offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().optional()}),handler:async($,I)=>z2($,I)},{name:"seal_approval_document_get",description:"获取 Seal 审批知识文档详情",parameters:X.object({documentId:X.string().describe("文档 ID")}),handler:async($,I)=>Wm($,I.documentId)},{name:"seal_approval_document_create",description:"新建 Seal 审批知识文档",parameters:X.object({title:X.string(),purpose:X.string(),content:X.string().describe("正文,通常为 Markdown"),contentType:X.string().optional(),status:X.string().optional(),scenarios:X.array(X.string()).optional(),tags:X.array(X.string()).optional()}),handler:async($,I)=>Vm($,I)},{name:"seal_approval_document_update",description:"更新 Seal 审批知识文档",parameters:X.object({documentId:X.string(),title:X.string().optional(),purpose:X.string().optional(),content:X.string().optional(),contentType:X.string().optional(),status:X.string().optional(),enabled:X.boolean().optional(),scenarios:X.array(X.string()).optional(),tags:X.array(X.string()).optional()}),handler:async($,I)=>{let{documentId:U,...Y}=I;return wm($,U,Y)}},{name:"seal_approval_search",description:"按关键词组检索 Seal 审批规则、审批文档和审批偏好配置,返回命中位置、字段、行号和前后三行上下文",parameters:X.object({keywords:X.array(X.string()).min(1).describe("关键词组"),matchMode:X.enum(["any","all"]).optional().describe("any 命中任一关键词,all 要求同一行命中全部关键词"),areas:X.array(X.enum(["rules","documents","preferences"])).optional().describe("检索范围"),caseSensitive:X.boolean().optional().describe("是否大小写敏感"),contextLines:X.number().int().nonnegative().optional().describe("返回命中行前后几行,默认 3"),documentLimit:X.number().int().positive().optional().describe("缓存刷新时最多拉取文档数,默认 100"),maxResults:X.number().int().positive().optional().describe("最多返回命中数,默认 50"),refresh:X.boolean().optional().describe("是否跳过 5 分钟内存缓存并强制刷新"),ruleVersionScope:X.enum(["current","all","version"]).optional().describe("规则检索范围,默认 current;all 会检索所有已发布历史版本"),ruleVersionId:X.string().optional().describe("ruleVersionScope=version 时指定版本 ID"),ruleVersionNumber:X.number().int().positive().optional().describe("ruleVersionScope=version 时指定版本号"),latestRuleVersion:X.boolean().optional().describe("ruleVersionScope=version 时取最新已发布版本"),snippetOnly:X.boolean().optional().describe("只返回命中行,不返回前后文"),maxChars:X.number().int().positive().optional().describe("每个文本片段最多返回字符数"),fields:X.array(X.string()).optional().describe("只搜索指定字段,如 history.description、description、scope")}),handler:async($,I,U)=>cV0($,U.corp,I)},{name:"seal_approval_context_get",description:"聚合获取 Seal 现有审批规则、审批文档和审批风格偏好",parameters:X.object({documentLimit:X.number().int().positive().optional().describe("最多返回的审批文档数量"),ruleVersionId:X.string().optional().describe("指定已发布规则版本 ID;指定后 rules 返回该版本快照"),ruleVersionNumber:X.number().int().positive().optional().describe("指定已发布规则版本号;指定后 rules 返回该版本快照"),latestRuleVersion:X.boolean().optional().describe("为 true 时 rules 返回最新已发布版本快照")}),handler:async($,I,U)=>{let Y=await bV($,{documentLimit:I.documentLimit,stylePreferencesEndpoint:U.corp.seal.endpoints.approvalStylePreferences});if(!I.ruleVersionId&&!I.ruleVersionNumber&&!I.latestRuleVersion)return Y;let J=await Hx($,I);return{...Y,rules:{version:Kx(J),rules:J.rules}}}},{name:"seal_approval_style_preferences_get",description:"获取 Seal 审批风格偏好配置",parameters:X.object({}),handler:async($,I,U)=>n1($,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_approval_style_preferences_update",description:"更新 Seal 审批风格偏好配置",parameters:X.object({tone:X.string().optional(),language:X.string().optional(),detailLevel:X.string().optional(),outputFormat:X.string().optional(),examples:X.array(X.string()).optional(),prohibitedPhrases:X.array(X.string()).optional(),customInstructions:X.string().optional()}),handler:async($,I,U)=>x7($,I,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_webhook_list",description:"列出当前 Seal 租户的 Webhook 集成,可按 ID、名称或 URL 查找",parameters:X.object({query:X.string().optional().describe("按集成 ID、名称或 URL 做本地包含匹配"),includeSecret:X.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,I,U)=>{let Y=Fm(await X9($,U.corp.seal.endpoints.approvalStylePreferences),I.query);return{count:Y.length,integrations:Y.map((J)=>qG(J,I.includeSecret===!0))}}},{name:"seal_webhook_get",description:"按 Webhook 集成 ID 或名称精确查找一条集成",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),includeSecret:X.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,I,U)=>{let Y=z9(await X9($,U.corp.seal.endpoints.approvalStylePreferences),I.selector);return qG(Y,I.includeSecret===!0)}},{name:"seal_webhook_add",description:"新增 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:X.object({name:X.string().min(1).describe("集成名称"),mode:X.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:X.string().url().describe("Seal 完成 AI 审核后回调的外部地址"),autoApprovalRate:X.number().int().min(0).max(100).optional(),secret:X.string().min(1).optional().describe("可选;不传则生成 32 位十六进制 secret"),materialPackFilePolicy:PE.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:X.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,I,U)=>{let Y=RZ0(U.corp),J=I.dryRun?await Xm($,Y,I,U.corp.seal.endpoints.approvalStylePreferences):void 0,Q=J?.integration??await Zm($,Y,I,U.corp.seal.endpoints.approvalStylePreferences);if(I.dryRun)return p8(U,U.corp.seal.endpoints.approvalStylePreferences,J.before,J.after,1);return{saved:!0,integration:qG(Q,!0)}}},{name:"seal_webhook_update",description:"更新现有 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),name:X.string().min(1).optional(),mode:X.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:X.string().url().optional(),autoApprovalRate:X.number().int().min(0).max(100).optional(),secret:X.string().min(1).optional(),rotateSecret:X.boolean().optional().describe("生成新 secret;与 secret 二选一"),materialPackFilePolicy:PE.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:X.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,I,U)=>{if(I.secret!==void 0&&I.rotateSecret)throw Error("Webhook secret and rotateSecret cannot be used together");let Y=I.dryRun?await Lm($,I.selector,I,U.corp.seal.endpoints.approvalStylePreferences):void 0,J=Y?.integration??await zm($,I.selector,I,U.corp.seal.endpoints.approvalStylePreferences);if(I.dryRun)return p8(U,U.corp.seal.endpoints.approvalStylePreferences,Y.before,Y.after,1);return{saved:!0,integration:qG(J,I.secret!==void 0||I.rotateSecret===!0)}}},{name:"seal_webhook_delete",description:"删除指定 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),confirm:X.boolean().optional().describe("执行删除时必须明确传 true;dryRun 可省略"),dryRun:X.boolean().optional().describe("只返回前后配置 Diff,不执行删除")}),handler:async($,I,U)=>{if(!I.confirm&&!I.dryRun)throw Error("Refusing to delete Webhook integration without confirm=true");let Y=I.dryRun?await Om($,I.selector,U.corp.seal.endpoints.approvalStylePreferences):void 0,J=Y?.integration??await Dm($,I.selector,U.corp.seal.endpoints.approvalStylePreferences);if(I.dryRun)return p8(U,U.corp.seal.endpoints.approvalStylePreferences,Y.before,Y.after,1);return{deleted:!0,integration:qG(J,!1)}}},{name:"seal_approval_runs_search",description:"查询 Seal 审批/审核运行记录总表,并整理合思单据到 Langfuse trace/session 的桥接字段",parameters:X.object({offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().max(100).optional(),fromTimestamp:X.string().optional(),toTimestamp:X.string().optional(),startDate:X.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:X.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:X.string().optional(),taskMode:X.string().optional(),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),humanResult:X.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配"),includeBridge:X.boolean().optional().describe("是否返回完整 bridge 数组;默认 false,避免长输出")}),handler:async($,I)=>{let U=I.query?.trim(),Y=await X8($,CG1({...I,search:U})),J=await PZ0($,Y.records,{humanResult:I.humanResult});return{...Y,records:J.map(QI),...I.includeBridge?{bridge:GD(J)}:{}}}},{name:"seal_approval_runs_summary",description:"按本地日期/时区汇总 Seal 审批运行记录,返回状态、模式统计和精简记录,避免长 JSON 输出",parameters:X.object({date:X.string().optional().describe("本地日期,格式 YYYY-MM-DD;默认使用 timezone 下的今天"),timezone:X.string().optional().describe("IANA 时区,默认 Asia/Shanghai"),offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().max(100).optional(),startDate:X.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:X.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:X.string().optional(),taskMode:X.string().optional(),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),humanResult:X.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,I)=>{let U=I.timezone??"Asia/Shanghai",Y=I.date??BZ0(Date.now(),U)??"",J=await X8($,{offset:I.offset,limit:I.limit??100,startDate:I.startDate,endDate:I.endDate,status:I.status,taskMode:I.taskMode,manualApprovalStatus:gZ0(I.manualApprovalStatus,I.humanResult),sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId}),Q=(await PZ0($,J.records,{query:I.query,humanResult:I.humanResult})).filter((K)=>BZ0(K.createdAt,U)===Y);return XG1(Q,{date:Y,timezone:U,fetched:J.records.length,total:J.total})}},{name:"seal_approval_runs_export",description:"将企业的审批审核记录导出为高保真 Excel 报表(包含单据模板、AI决策、人工审核结论、驳回原因及企业规则列细分结果)",parameters:X.object({startDate:X.string().optional().describe("起始时间,支持 YYYY-MM-DD 或毫秒时间戳"),endDate:X.string().optional().describe("截止时间,支持 YYYY-MM-DD 或毫秒时间戳"),limit:X.number().int().positive().optional().describe("最大拉取记录条数"),status:X.string().optional().describe("单据状态过滤,如 completed, processing, failed"),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态过滤,如 APPROVED, TERMINATED, PROCESSING"),includeCompletedOnly:X.boolean().optional().describe("是否仅导出已完成单据"),outputFile:X.string().optional().describe("输出 Excel 文件的自定义绝对或相对路径"),toDownloads:X.boolean().optional().describe("是否直接保存到用户的系统下载目录")}),handler:async($,I,U)=>SL($,U.corp,I)},{name:"seal_approval_run_get",description:"获取 Seal 单条审批/审核运行记录详情;可用 fields 只取 metadata、document.fields、result.summary 等局部字段",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),fields:X.union([X.string(),X.array(X.string())]).optional().describe("逗号分隔或数组形式的字段路径,如 metadata、document.fields、result.summary"),summary:X.boolean().optional().describe("返回单据摘要、AI 结果、人工结果和版本号")}),handler:async($,I)=>{let U=await f4($,I.recordId);if(I.summary)return zG1(U);let Y={...U,aliases:jG1(U),humanResult:KI(U)},J=FZ0(I.fields);return J.length>0?CZ0(Y,J):Y}},{name:"seal_approval_run_cited_rules_get",description:"从审批运行结果中抽取 AI 引用或命中的规则及应用分析",parameters:X.object({recordId:X.string().describe("Seal approval run record ID")}),handler:async($,I)=>{let U=await f4($,I.recordId);return LG1(U)}},{name:"seal_approval_run_document_summary_get",description:"返回单据关键字段、附件摘要、AI/人工结果,避免拉取完整原始单据",parameters:X.object({recordId:X.string().describe("Seal approval run record ID")}),handler:async($,I)=>{let U=await f4($,I.recordId);return _Z0(U)}},{name:"seal_approval_run_attachments_get",description:"从审批运行记录中抽取附件、发票附件和字段位置,不返回完整单据正文和规则结果",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),summary:X.boolean().optional().describe("只返回附件列表摘要")}),handler:async($,I)=>{let U=await f4($,I.recordId);return wJ(U,{summary:I.summary})}},{name:"seal_approval_run_result_get",description:"返回审批运行结果摘要;summary=true 时只返回 decision、summary、风险点数量、命中规则数量、traceId 等",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),summary:X.boolean().optional()}),handler:async($,I)=>{let U=await f4($,I.recordId);if(I.summary)return ZD(U);return{recordId:U.id,result:U.result}}},{name:"seal_approval_run_url_get",description:"获取合思企业协助链接,按需附带单据链接;支持只取企业协助链接,或按 Seal recordId/合思 sourceDocumentSN 查询单据链接",parameters:X.object({recordId:X.string().optional().describe("Seal approval run record ID"),sourceDocumentSN:X.string().optional().describe("合思/易快报单号"),sourceDocumentId:X.string().optional().describe("合思/易快报源单据 ID")}),handler:async($,I,U)=>{let Y=Boolean(I.recordId||I.sourceDocumentSN||I.sourceDocumentId),J=Y?await EG1($,I):void 0,Q=U.corp.source,K=Q.type==="hose"?await Od(U.corp):void 0,q=I4(J?.sourceExtendData?.hosecloudViewUrl);return{enterpriseAssistUrl:K,enterpriseUrl:K,hoseDomain:Q.type==="hose"?BG1(Q.domain):void 0,documentUrl:q,recordId:J?.id,sourceDocumentSN:J?.sourceDocumentSN,sourceDocumentId:J?.sourceDocumentId,sourceSystem:J?.sourceSystem,missing:{enterpriseAssistUrl:K?void 0:"Current enterprise source is not Hose, so no Hose enterprise assist URL is configured.",documentUrl:Y&&!q?"sourceExtendData.hosecloudViewUrl is absent from the approval run detail.":void 0}}}},{name:"seal_approval_run_pick",description:"按合思单号或关键字查询运行记录,返回候选记录及其当时使用的规则版本,便于再取详情或查版本规则",parameters:X.object({query:X.string().optional().describe("合思单号、源单据 ID、运行记录 ID 或 trace 关键字"),sn:X.string().optional().describe("合思/易快报单号;优先作为精确 sourceDocumentSN 查询"),batchId:X.string().optional().describe("模拟批次 ID"),latest:X.boolean().optional().describe("只返回最新一条匹配记录"),fields:X.union([X.string(),X.array(X.string())]).optional().describe("限制返回字段"),limit:X.number().int().positive().max(100).optional(),maxScan:X.number().int().positive().max(5000).optional().describe("最多扫描多少条运行记录用于本地匹配,默认 1000"),includeBridge:X.boolean().optional()}),handler:async($,I)=>{let U=I.sn??I.query;if(!U)throw Error("query or sn is required");let Y=await vG1($,{query:U,sn:I.sn,batchId:I.batchId,latest:I.latest,limit:I.latest?1:I.limit??20,maxScan:I.maxScan??1000}),J=await Promise.all(Y.records.map((q)=>f4($,q.id))),Q=FZ0(I.fields),K=J.map((q)=>TG1(q,Q));return{query:U,sourceDocumentSN:I.sn,simulationBatchId:I.batchId,latest:I.latest??!1,total:Y.total,scanned:Y.scanned,matched:K.length,records:K,next:{getSummary:"seal-home approval-runs get --summary",getRuleVersion:"seal-home rules version ",searchRuleVersion:`seal-home tool seal_approval_search --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","ruleVersionNumber":14}'`,getVersionContext:`seal-home tool seal_approval_context_get --json '{"ruleVersionNumber":14}'`},...I.includeBridge?{bridge:GD(J)}:{}}}},{name:"seal_simulation_batch_records_get",description:"获取某一次 Seal 模拟批次的运行记录,并整理对应 Langfuse trace/session 桥接字段",parameters:X.object({batchId:X.string().describe("simulation batch ID"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,I)=>{let U=Xx(await xE($,I.batchId),I.query);return{batchId:I.batchId,count:U.length,records:U.map(QI),bridge:GD(U)}}},{name:"seal_simulation_batch_create",description:"创建 Seal 模拟测试批次。支持合思指定单号(hosecloud)与材料包导入(material_pack)两种模式;其他取数模式通过 rawParams 预留透传。",parameters:X.object({mode:X.enum(["hosecloud","material_pack"]).default("hosecloud").describe("来源模式: hosecloud=合思指定单号; material_pack=材料包导入"),flowIds:X.array(X.string()).max(100).optional().describe("合思模式: 单据流水号列表"),rejectNodeName:X.string().nullable().optional().describe("仅关注特定节点: 节点名称, 不设为 null 表示不限制"),thinkingDepthOverride:X.enum(["default","medium","high"]).optional().describe("思考深度: default=按偏好设置, medium=标准, high=深度推理"),skipInvoiceGeneration:X.boolean().optional().describe("跳过发票生成, 默认 true"),skipExpenseExtraction:X.boolean().optional().describe("跳过费用提取, 默认 true"),disableAttachmentCache:X.boolean().optional().describe("不使用附件缓存, 默认 false"),signKey:X.string().optional().describe("合思集成标识; 缺省时自动取第一个合思集成"),packageIds:X.array(X.string()).optional().describe("材料包模式: 材料包 id 列表(来自 material-packages upload 响应)"),templateId:X.string().optional().describe("材料包模板 id, 例如 conference_reimbursement_v1; 缺省取 schemaConfig.id"),schemaConfig:X.record(X.string(),X.unknown()).optional().describe("材料包字段映射(确认参数), 建议使用 material-packages upload 返回的 schemaConfig"),noWait:X.boolean().optional().describe("创建后立即返回异步票据,不等待批次完成"),rawParams:X.record(X.string(),X.unknown()).optional().describe("预留: 其他取数模式(如时间范围 startTime/endTime)透传参数, 覆盖上述构建结果")}),handler:async($,I)=>{let U=I.mode??"hosecloud",Y=I.signKey;if(U==="hosecloud"&&!Y){if(Y=(await uE($)).find((q)=>q.signKey)?.signKey,!Y)throw Error("未找到合思集成 signKey, 请通过 signKey 参数提供")}let J=wG1({mode:U,flowIds:I.flowIds,rejectNodeName:I.rejectNodeName,thinkingDepthOverride:I.thinkingDepthOverride,skipInvoiceGeneration:I.skipInvoiceGeneration,skipExpenseExtraction:I.skipExpenseExtraction,disableAttachmentCache:I.disableAttachmentCache,signKey:Y,packageIds:I.packageIds,templateId:I.templateId,schemaConfig:I.schemaConfig,rawParams:I.rawParams}),Q=U==="material_pack"?await Bm($,J):await Em($,J);return{...Q,created:!0,noWait:I.noWait??!0,asyncTicket:Q.batchId,next:{status:`seal-use simulation status ${Q.batchId}`,wait:`seal-use simulation wait ${Q.batchId}`,getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records ",listBatches:"seal-home simulation list"}}}},{name:"seal_simulation_batches_list",description:"列出 Seal 模拟测试批次摘要(含状态、统计计数与展示摘要)",parameters:X.object({limit:X.number().int().positive().max(100).optional().describe("最多返回批次数量, 默认 50")}),handler:async($,I)=>{let U=await vm($,{limit:I.limit??50});return{count:U.length,batches:U.map(ZG1),next:{getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_get",description:"获取某一次 Seal 模拟测试批次的详情,包含服务端回显的创建参数、展示摘要和任务统计",parameters:X.object({batchId:X.string().describe("simulation batch ID")}),handler:async($,I)=>{return{batch:await iV($,I.batchId),next:{getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_status",description:"单次读取 Seal 模拟批次状态,不阻塞等待;适合根据异步票据轮询",parameters:X.object({batchId:X.string().describe("simulation batch ID")}),handler:async($,I)=>{let U=await iV($,I.batchId),Y=String(U.status??"UNKNOWN").toUpperCase(),J=["COMPLETED","FAILED","CANCELLED","CANCELED"].includes(Y);return{batchId:I.batchId,status:Y,terminal:J,totalCount:U.totalCount,processedCount:U.processedCount,successCount:U.successCount,failedCount:U.failedCount,createdAt:U.createdAt,updatedAt:U.updatedAt,next:J?{getRecords:`seal-use simulation batch-records ${I.batchId}`}:{status:`seal-use simulation status ${I.batchId}`,wait:`seal-use simulation wait ${I.batchId}`}}}},{name:"seal_simulation_templates_get",description:"列出 Seal 模拟测试模板(我的模板,保存常用配置快速复用)",parameters:X.object({}),handler:async($)=>{let I=await Rm($);return{count:I.length,templates:I.map((U)=>({id:U.id,name:U.name,description:U.description,approvalSystem:U.approvalSystem,hosecloudConfig:U.hosecloudConfig,updatedAt:U.updatedAt})),next:{createBatch:"seal-home simulation create --mode hosecloud --flow-ids ..."}}}},{name:"seal_simulation_integrations_get",description:"查询模拟测试可用的来源集成状态与合思集成选项(signKey 等)",parameters:X.object({}),handler:async($)=>{let[I,U]=await Promise.all([kE($),uE($)]);return{status:I,hosecloudIntegrations:U}}},{name:"seal_simulation_material_package_upload",description:"上传材料包 ZIP 到 Seal 模拟测试;服务端解析 Excel/AI 推断配置并返回材料包 id 与 schemaConfig(字段映射确认后用于创建模拟批次)",parameters:X.object({filePath:X.string().describe("材料包 ZIP 文件路径(含 信息表.xlsx 与附件)")}),handler:async($,I)=>{if(!I.filePath)throw Error("filePath is required");let U=JG1(I.filePath),Y=I.filePath.split(/[\\/]/).pop()??"material-pack.zip",J=await gm($,{fileName:Y,fileBuffer:U});return{materialPackage:J,next:{createBatch:`seal-home simulation create --mode material_pack --package-ids ${J.id} --schema-config schema.json`}}}},{name:"seal_webhook_ready",description:"检查当前企业的 Webhook 就绪状态看板(包括企业环境、租户身份、凭证连通性、已激活 Webhook 通道及材料包预检)",parameters:X.object({filePath:X.string().optional().describe("可选的材料包路径(ZIP 或 信息表.xlsx),用于同步做本地预检")}),handler:async($,I,U)=>{return QD($,U.corp,{filePath:I.filePath})}},{name:"seal_webhook_material_pack",description:"将官方材料包格式本地校验、解析并通过 Seal 入站 Webhook 触发 AI 审批;preview 模式不联网,push 模式单通道自动选择",parameters:X.object({filePath:X.string().describe("材料包 ZIP 或 信息表.xlsx 文件路径"),mode:X.enum(["preview","push"]).default("preview"),webhook:X.string().optional().describe("Webhook ID 或名称;当租户仅配置 1 个通道时可省略")}),handler:async($,I)=>{let U=JI(I.filePath);if(I.mode!=="push")return YI(U.fileBuffer,U.fileName);let Y=await X9($),J;if(I.webhook)J=z9(Y,I.webhook);else if(Y.length===1)J=Y[0];else if(Y.length>1){let Q=Y.map((K)=>`"${K.name}" (${K.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Q}],请通过 webhook 参数指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。");return JD(U.fileBuffer,U.fileName,{webhookUrl:J.incomingDocumentWebhook.url,secret:J.secret,materialPackFilePolicy:J.materialPackFilePolicy})}},{name:"seal_approval_run_langfuse_bridge_get",description:"从 Seal approval run 中抽取 Langfuse 定位信息;优先返回 _langfuseTraceId,没有时给出 hosecloud-{sourceDocumentSN} session 回退",parameters:X.object({recordId:X.string().optional(),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),simulationBatchId:X.string().optional(),limit:X.number().int().positive().max(100).optional()}),handler:async($,I)=>{let Y=(I.simulationBatchId?await xE($,I.simulationBatchId):(await X8($,{limit:I.limit??50,search:I.sourceDocumentSN??I.sourceDocumentId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId})).records).filter((J)=>_G1(J,{recordId:I.recordId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId}));return{count:Y.length,records:Y.map(QI),bridge:GD(Y)}}},{name:"seal_simulation_batch_wait",description:"等待 Seal 模拟测试批次完成(轮询状态直到 completed/failed/canceled 或超时)",parameters:X.object({batchId:X.string().describe("模拟批次 ID"),timeout:X.string().default("10m").describe("最长等待时间, 默认 10m"),pollInterval:X.string().default("2s").describe("轮询间隔, 默认 2s")}),handler:async($,I)=>{let U=OZ0(I.timeout??"10m"),Y=OZ0(I.pollInterval??"2s"),J=Date.now();while(!0){let Q=await iV($,I.batchId),K=(Q.status??"").toLowerCase();if(["completed","failed","cancelled","canceled"].includes(K))return{batch:Q,completed:!0,status:K,elapsedMs:Date.now()-J,next:{getRecords:`seal-home simulation batch-records ${I.batchId}`}};if(Date.now()-J>=U)throw Error(`等待模拟批次 ${I.batchId} 超时(已等待 ${(Date.now()-J)/1000}s)。可稍后执行 seal-home simulation get ${I.batchId} 查看状态`);await new Promise((q)=>setTimeout(q,Y))}}},{name:"seal_simulation_batch_clean",description:"删除模拟测试批次产生的测试数据",parameters:X.object({batchId:X.string().describe("模拟批次 ID")}),handler:async($,I)=>{let U=await Cm($,I.batchId);return{batchId:I.batchId,cleaned:!0,result:U}}},{name:"seal_simulation_specifications_list",description:"列出指定合思集成可用的单据模板列表",parameters:X.object({signKey:X.string().optional().describe("合思集成 sign-key")}),handler:async($,I)=>{let U=await jm($,I.signKey);return{count:U.length,specifications:U}}},{name:"seal_deploy_hosecloud_requirements",description:"获取 Seal AI 审批发布到合思费控所需配置字段与说明",parameters:X.object({}),handler:async()=>{return{input:`JSON via --json '{"apiKey":"...","apiSecret":"...","mode":"assisted"}'`,questions:[{field:"apiOrigin",prompt:"使用哪一种合思版本或 API 环境?(production/custom,未指定时自动探测)",required:!1,default:"production"},{field:"customApiUrl",prompt:"自定义环境的 API 地址是什么?(如专属私有云域名)",requiredWhen:"apiOrigin=custom"},{field:"apiKey",prompt:"合思 API Key(appKey)是什么?",required:!0,secret:!0},{field:"apiSecret",prompt:"合思 API Secret(appSecurity)是什么?",required:!0,secret:!0},{field:"mode",prompt:"使用全自动、半自动还是辅助审核?(fully_automatic/semi_automatic/assisted)",required:!0,default:"assisted"},{field:"autoApprovalRate",prompt:"自动审批比例是多少?(0-100)",requiredWhen:"mode!=assisted"},{field:"rejectResubmitMethod",prompt:"驳回重提后从哪个节点继续?(node_default/to_ebot/from_start)"},{field:"autoApproveNodeNames",prompt:"哪些节点允许自动审批?(string[])"},{field:"outboundName",prompt:"合思审批流节点消息名称是什么?",default:"SealAI 审批"}]}}},{name:"seal_deploy_hosecloud_list",description:"列出当前企业【Seal AI 审批发布到合思费控】的集成配置列表",parameters:X.object({}),handler:async($)=>{let U=((await n1($)).integrations??[]).filter((Y)=>Y.type==="hosecloud");return{count:U.length,integrations:U.map(KD)}}},{name:"seal_deploy_hosecloud_get",description:"查询【Seal AI 审批发布到合思费控】的单项配置详情",parameters:X.object({signKey:X.string().describe("合思集成 sign-key")}),handler:async($,I)=>{let Y=((await n1($)).integrations??[]).find((J)=>J.type==="hosecloud"&&J.signKey===I.signKey);if(!Y)throw Error(`未找到合思配置:${I.signKey}`);return KD(Y)}},{name:"seal_deploy_hosecloud_status",description:"检查【Seal AI 审批发布到合思费控】与多平台集成状态",parameters:X.object({}),handler:async($)=>{let I=await kE($),Y=((await n1($)).integrations??[]).filter((J)=>J.type==="hosecloud");return{status:I,integrations:Y.map(KD)}}},{name:"seal_deploy_hosecloud_configure",description:"自动探测平台并保存【Seal AI 审批发布到合思费控】集成配置",parameters:X.object({apiKey:X.string().describe("合思 API Key (appKey)"),apiSecret:X.string().describe("合思 API Secret (appSecurity)"),signKey:X.string().optional().describe("集成 signKey,不提供则自动生成"),outboundName:X.string().optional().describe("出站消息名称(合思审批流节点中显示)"),specificationId:X.string().optional(),specificationName:X.string().optional(),mode:X.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:X.number().min(0).max(100).optional(),rejectResubmitMethod:X.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:X.array(X.string()).optional(),apiOrigin:X.string().default("production"),customApiUrl:X.string().optional(),dryRun:X.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,I,U)=>{let{dryRun:Y,...J}=I,Q=J.apiKey??J.appKey,K=J.apiSecret??J.appSecurity;if(!Q||!K)throw Error("缺少合思凭证:apiKey (或 appKey) 与 apiSecret (或 appSecurity) 为必填项");let q={...J,apiKey:Q,apiSecret:K},G=q.apiOrigin??"production",H=q.customApiUrl;if(!H&&G!=="custom")try{let D=await zU(q.apiKey,q.apiSecret);if(D?.domain)if(D.domain==="https://app.ekuaibao.com")G="production",H=void 0;else G="custom",H=D.domain}catch{}if(G==="custom"&&!H)throw Error("自定义合思环境必须提供 customApiUrl");let W=await _m($,{apiKey:q.apiKey,apiSecret:q.apiSecret,apiOrigin:G,customApiUrl:H}),V=await n1($),w=q.signKey??QG1(6).toString("hex"),Z={type:"hosecloud",...q,apiOrigin:G,...H?{customApiUrl:H}:{},signKey:w,corporationId:W.corporationId},z=(V.integrations??[]).filter((D)=>D.type!=="hosecloud"||D.signKey!==w);z.push(Z);let L={...V,integrationSystem:"hosecloud",integrations:z};if(Y)return p8(U,U.corp.seal.endpoints.approvalStylePreferences,V,L,1);return await x7($,L,U.corp.seal.endpoints.approvalStylePreferences),console.error(`✓ 配置已保存 (signKey: ${w})`),console.error(`\uD83D\uDC49 Next action: seal-use deploy hosecloud sync ${w} --corp ${U.corp.id}`),{integration:KD(Z)}}},{name:"seal_deploy_hosecloud_sync",description:"一键将 Seal AI 审核配置同步发布到合思费控审批流",parameters:X.object({signKey:X.string().describe("合思集成 sign-key")}),handler:async($,I,U)=>{let J=((await n1($)).integrations??[]).find((G)=>G.type==="hosecloud"&&G.signKey===I.signKey);if(!J)throw Error(`未找到合思配置:${I.signKey}`);let Q=(U.corp.seal.url??`https://${U.corp.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),K=J.outboundName??"SealAI 审批",q=await Sm($,{signKey:I.signKey,webhookUrl:`${Q}/api/hosecloud/outbound?config_id=${encodeURIComponent(I.signKey)}`,completionWebhookUrl:`${Q}/api/hosecloud/flow/completion?config_id=${encodeURIComponent(I.signKey)}`,messageName:K,mode:J.mode??"assisted"});return console.error(`✓ 同步成功!出站消息已在合思开放平台创建/更新: "${K}"`),console.error(`\uD83D\uDC49 发布完成:请登录合思后台在审批流中添加【EBot】节点并选择 "${K}"。`),{signKey:I.signKey,synced:!0,result:q}}},{name:"seal_preference_get",description:"获取当前决策偏好、思考深度偏好与绑定的规则版本",parameters:X.object({}),handler:async($)=>{let I=await n1($);return{decisionPreferences:I.decisionPreferences,thinkingDepthPreference:I.thinkingDepthPreference,ruleSetVersionId:I.ruleSetVersionId}}},{name:"seal_preference_decision_update",description:"修改审核决策偏好(立即影响当前运行中的审核智能体及后续决策)",parameters:X.object({explicitApprove:X.string().optional(),explicitReject:X.string().optional(),exemptApprove:X.string().optional(),review:X.string().optional(),dryRun:X.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,I,U)=>{let Y=await n1($,U.corp.seal.endpoints.approvalStylePreferences),{dryRun:J,...Q}=I,K={...Y,decisionPreferences:{...Y.decisionPreferences,...Q}};if(J)return p8(U,U.corp.seal.endpoints.approvalStylePreferences,Y,K,1);return await x7($,K,U.corp.seal.endpoints.approvalStylePreferences),{decisionPreferences:K.decisionPreferences}}},{name:"seal_preference_thinking_depth_set",description:"修改默认思考深度(medium 或 high)",parameters:X.object({defaultLevel:X.enum(["medium","high"]).describe("默认思考深度"),dryRun:X.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,I,U)=>{let Y=await n1($,U.corp.seal.endpoints.approvalStylePreferences),J={...Y,thinkingDepthPreference:{defaultLevel:I.defaultLevel,routingPolicies:Y.thinkingDepthPreference?.routingPolicies??[]}};if(I.dryRun)return p8(U,U.corp.seal.endpoints.approvalStylePreferences,Y,J,1);return await x7($,J,U.corp.seal.endpoints.approvalStylePreferences),{thinkingDepthPreference:J.thinkingDepthPreference}}},{name:"seal_preference_thinking_depth_policies_list",description:"列出思考深度路由策略列表",parameters:X.object({}),handler:async($)=>{return{policies:(await n1($)).thinkingDepthPreference?.routingPolicies??[]}}},{name:"seal_preference_thinking_depth_policies_upsert",description:"新增或修改思考深度路由策略",parameters:jE.extend({dryRun:X.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,I,U)=>{let Y=await n1($,U.corp.seal.endpoints.approvalStylePreferences),{dryRun:J,...Q}=I,q=(Y.thinkingDepthPreference?.routingPolicies??[]).filter((H)=>H.id!==Q.id);q.push(Q);let G={...Y,thinkingDepthPreference:{defaultLevel:Y.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:q}};if(J)return p8(U,U.corp.seal.endpoints.approvalStylePreferences,Y,G,1);return await x7($,G,U.corp.seal.endpoints.approvalStylePreferences),{policy:Q,policies:q}}},{name:"seal_preference_thinking_depth_policies_remove",description:"删除一条思考深度路由策略",parameters:X.object({policyId:X.string().describe("路由策略 ID"),dryRun:X.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,I,U)=>{let Y=await n1($,U.corp.seal.endpoints.approvalStylePreferences),J=Y.thinkingDepthPreference?.routingPolicies??[],Q=J.filter((q)=>q.id!==I.policyId);if(Q.length===J.length)throw Error(`未找到路由策略:${I.policyId}`);let K={...Y,thinkingDepthPreference:{defaultLevel:Y.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:Q}};if(I.dryRun)return p8(U,U.corp.seal.endpoints.approvalStylePreferences,Y,K,1);return await x7($,K,U.corp.seal.endpoints.approvalStylePreferences),{removedId:I.policyId,policies:Q}}},{name:"seal_approval_runs_stats",description:"统计审核记录状态分布、来源系统分布及按单号/ID去重统计",parameters:X.object({since:X.string().optional().describe("时间范围,如 3months, 7days, 24hours"),dedupeBy:X.enum(["sourceDocumentSN","sourceDocumentId","id"]).default("sourceDocumentSN").describe("去重字段"),status:X.string().optional(),sourceSystem:X.string().optional(),taskMode:X.string().optional()}),handler:async($,I)=>{let U=await X8($,{limit:1000,status:I.status,sourceSystem:I.sourceSystem,taskMode:I.taskMode}),Y=I.dedupeBy??"sourceDocumentSN",J=U.records,Q={},K={},q=new Set;for(let G of J){let H=G.status??"unknown";Q[H]=(Q[H]??0)+1;let W=G.sourceSystem??"unknown";K[W]=(K[W]??0)+1;let V=G[Y];if(V)q.add(String(V))}return{total:J.length,dedupeBy:Y,unique:q.size,byStatus:Q,bySourceSystem:K}}},{name:"seal_approval_runs_count",description:"统计符合条件的审核记录总数",parameters:X.object({status:X.string().optional(),sourceSystem:X.string().optional(),taskMode:X.string().optional(),search:X.string().optional()}),handler:async($,I)=>{let U=await X8($,{limit:1,status:I.status,sourceSystem:I.sourceSystem,taskMode:I.taskMode,search:I.search});return{total:U.total??U.records.length}}}],KG1=new Map(GG.map(($)=>[$.name,$]));function C4($){return KG1.get($)}function qG($,I){return I?$:{...$,secret:""}}function RZ0($){if($.seal.url)return $.seal.url;if($.source.type==="hose")return G2($,$.source);return $.source.sealUrl}function qG1($,I){let U=$.rules.length;if(I.countOnly||I.limit===0)return{count:U};let Y=I.offset??0,J=$.rules.slice(Y,I.limit===void 0?void 0:Y+I.limit),Q=I.fields;return{count:U,hasPendingDeletes:$.hasPendingDeletes,rules:Q?J.map((K)=>GG1(K,Q)):J}}function GG1($,I){let U={};for(let Y of I)if($[Y]!==void 0)U[Y]=$[Y];return U}function HG1($,I){let U=new Map($.map((q)=>[q.id,q])),Y=new Set,J=[],Q=[],K=[];for(let q of I){let G;if(q.id){if(G=U.get(q.id),!G)throw Error(`本地规则 ${q.id} 不存在于当前草稿。请先用 rules pull 获取当前草稿,再重新应用修改。`);if(Y.has(q.id))throw Error(`本地规则文件包含重复的规则 ID:${q.id}`)}else{let W=$.filter((V)=>!Y.has(V.id)&&WG1(V,q));if(W.length>1)throw Error(`本地规则“${q.description}”无法唯一匹配远端草稿,请在规则文件中补充稳定的 id。`);G=W[0]}if(!G){J.push(q);continue}Y.add(G.id);let H=VG1(G,q);if(H.length)Q.push({id:G.id,rule:q,changedFields:H});else K.push({id:G.id})}return{created:J,updated:Q,deleted:$.filter((q)=>!Y.has(q.id)),unchanged:K}}function WG1($,I){return $.description===I.description.trim()&&$.scope===(I.scope??"ALL")&&$.strictness===HD(I.strictness)}function VG1($,I){let U=[];if($.description!==I.description.trim())U.push("description");if($.scope!==(I.scope??"ALL"))U.push("scope");if($.strictness!==HD(I.strictness))U.push("strictness");return U}function HD($){let I=$?.toUpperCase()??"MUST_FOLLOW";if(I.includes("SHOULD"))return"SHOULD_FOLLOW";if(I.includes("SUGGEST"))return"SUGGESTION";return"MUST_FOLLOW"}function OZ0($){let I=$.match(/^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i);if(!I||!I[1])return 600000;let U=parseFloat(I[1]);switch((I[2]??"s").toLowerCase()){case"ms":return U;case"s":return U*1000;case"m":return U*60*1000;case"h":return U*3600*1000;case"d":return U*86400*1000;default:return U*1000}}function KD($){return Object.fromEntries(Object.entries($).map(([I,U])=>[I,["apiKey","apiSecret","secret"].includes(I)&&typeof U==="string"?"***":U]))}function p8($,I,U,Y,J){return{preview:!0,targetUrl:`${RZ0($.corp).replace(/\/+$/,"")}/${I.replace(/^\/+/,"")}`,changesDiff:{before:WD(U),after:WD(Y)},impactCount:J}}function WD($){if(Array.isArray($))return $.map(WD);if(!$||typeof $!=="object")return $;return Object.fromEntries(Object.entries($).map(([I,U])=>[I,["apiKey","apiSecret","secret","token","password"].includes(I)&&typeof U==="string"?"***":WD(U)]))}function wG1($){let I=$.sourceSystem??$.mode??"hosecloud",U={skipInvoiceGeneration:$.skipInvoiceGeneration??!0,skipExpenseExtraction:$.skipExpenseExtraction??!0,thinkingDepthOverride:$.thinkingDepthOverride??"default",disableAttachmentCache:$.disableAttachmentCache??!1},Y=$.flowIds??(typeof $.documentSn==="string"?$.documentSn.split(",").map((J)=>J.trim()).filter(Boolean):$.documentSn);if(I==="hosecloud"){if(!Y?.length&&$.startTime===void 0)throw Error("hosecloud 模式需要提供 flowIds(单号列表)");if(Object.assign(U,{dataCollectionMode:"2",rejectNodeName:$.rejectNodeName??null,sourceSystem:"hosecloud"}),Y?.length)U.flowIds=Y;if($.signKey)U.signKey=$.signKey;if($.startTime!==void 0)U.startTime=$.startTime;if($.endTime!==void 0)U.endTime=$.endTime;if($.status)U.status=$.status;if($.limit)U.limit=$.limit}else if(I==="material_pack"||I==="material-pack"){let J=$.packageIds??($.packageId?[$.packageId]:void 0);if(!J?.length)throw Error("material_pack 模式需要提供 packageIds(材料包 id)");let Q=$.templateId??$.schemaConfig?.id;if(!Q)throw Error("material_pack 模式需要提供 templateId(或 schemaConfig.id)");if(Object.assign(U,{templateId:Q,packageIds:J,approvalCode:$.approvalCode??"material_pack",nodeId:$.nodeId??"material_pack",runMode:$.runMode??"import_and_simulate"}),$.schemaConfig!==void 0)U.schemaConfig=$.schemaConfig}else if(I==="weaver")Object.assign(U,{sourceSystem:"weaver",workflowTypeId:$.workflowTypeId,requestIds:$.requestIds,flowStatusList:$.flowStatusList,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,rejectNodeName:$.rejectNodeName??null});else if(I==="helios")Object.assign(U,{sourceSystem:"helios",documentType:$.documentType,businessCodes:$.businessCodes,rejectNodeName:$.rejectNodeName??null});else if(I==="maycur"||I==="maycur-standard")Object.assign(U,{sourceSystem:I,formCodes:$.formCodes??Y,createdAtStart:$.startTime,createdAtEnd:$.endTime,formSubTypeBizCode:$.formSubTypeBizCode,formStatus:$.formStatus,pageNo:$.pageNo??1,pageSize:$.pageSize??100,signKey:$.signKey});else if(I==="feishu")Object.assign(U,{sourceSystem:"feishu",approvalCode:$.approvalCode,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,signKey:$.signKey});else Object.assign(U,{sourceSystem:I});if($.rawParams)Object.assign(U,$.rawParams);return U}function ZG1($){return{id:$.id,status:$.status,approvalCode:$.approvalCode,sourceSystem:$.sourceSystem,totalCount:$.totalCount,processedCount:$.processedCount,successCount:$.successCount,failedCount:$.failedCount,createdCount:$.createdCount,createFailedCount:$.createFailedCount,requestSummary:$.requestSummary,resultSummary:$.resultSummary,createdAt:$.createdAt}}function QI($){let I=$.sourceDocumentSN,U=KI($),Y=ZD($);return{id:$.id,tenantId:$.tenantId,agentId:$.agentId,status:$.status,taskMode:$.taskMode,finalExecutionMode:$.finalExecutionMode,sourceSystem:$.sourceSystem,sourceDocumentSN:I,sourceDocumentId:$.sourceDocumentId,documentId:$.documentId,simulationBatchId:$.sourceExtendData?.simulation_batch_id,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,langfuseSessionFallback:I?`hosecloud-${I}`:void 0,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName,humanResult:U?.value,humanResultPath:U?.path,aiDecision:Y.decision,aiSummary:Y.summary,createdAt:$.createdAt,updatedAt:$.updatedAt}}function XG1($,I){return{date:I.date,timezone:I.timezone,fetched:I.fetched,matched:$.length,total:I.total,statusCounts:EZ0($,(U)=>U.status??"unknown"),taskModeCounts:EZ0($,(U)=>U.taskMode??"unknown"),records:$.map((U)=>{let Y=QI(U);return{createdAt:vZ0(Y.createdAt,I.timezone),sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId,status:Y.status,taskMode:Y.taskMode,finalExecutionMode:Y.finalExecutionMode,simulationBatchId:Y.simulationBatchId,langfuseTraceId:Y.langfuseTraceId,langfuseSessionFallback:Y.langfuseSessionFallback,ruleSetVersionNumber:Y.ruleSetVersionNumber,ruleSetPublishedAt:vZ0(Y.ruleSetPublishedAt,I.timezone),ruleSetPublishedByName:Y.ruleSetPublishedByName,humanResult:Y.humanResult,humanResultPath:Y.humanResultPath,recordId:Y.id}})}}function FZ0($){if(!$)return[];return(Array.isArray($)?$:$.split(",")).map((U)=>U.trim()).filter(Boolean)}function CZ0($,I){let U={};for(let Y of I){if(Y==="metadata"){U.metadata=jZ0($);continue}let J=n5($,Y);if(J!==void 0)DG1(U,Y,J)}return U}function jZ0($){let I=QI($);return{recordId:I.id,tenantId:I.tenantId,agentId:I.agentId,sourceSystem:I.sourceSystem,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId,documentId:I.documentId,status:I.status,taskMode:I.taskMode,finalExecutionMode:I.finalExecutionMode,simulationBatchId:I.simulationBatchId,langfuseTraceId:I.langfuseTraceId,langfuseSessionFallback:I.langfuseSessionFallback,ruleSetVersionNumber:I.ruleSetVersionNumber,ruleSetPublishedAt:I.ruleSetPublishedAt,ruleSetPublishedByName:I.ruleSetPublishedByName,createdAt:I.createdAt,updatedAt:I.updatedAt}}function zG1($){return{metadata:jZ0($),document:_Z0($).document,aiResult:ZD($),manualResult:KI($)?.value,manualResultPath:KI($)?.path,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName}}function ZD($){let I=HG($.result);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,traceId:$.sourceExtendData?._langfuseTraceId,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,decision:VD(I,["decision","manualApproval.decision","manualApproval.result","review.decision","finalDecision"]),summary:VD(I,["summary","result.summary","review.summary","conclusion"]),riskPointCount:NZ0(I,["riskPoints","risks","risk_points","review.riskPoints"]),matchedRuleCount:NZ0(I,["matchedRules","hitRules","ruleResults","rules","review.matchedRules"])}}function _Z0($){let I=HG($.document),U=FG1($.document),Y=U.map((J)=>`${J.label??J.path??""}:${J.value??""}`).join(` +`);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,document:PJ({id:I?.id,sn:I?.sn??I?.sourceDocumentSN??$.sourceDocumentSN,title:I?.title??I?.name,template:VD(I,["template.name","templateName","form.name","formName","formTitle"]),amount:qD(U,["金额","报销金额","付款金额","合计","价税合计"])??VD(I,["amount","totalAmount","expenseAmount"]),expenseType:qD(U,["费用类型","费用类别","报销类型"]),costCompany:qD(U,["费用承担公司","承担公司","成本中心","费用归属"]),payee:qD(U,["收款方","收款账户","收款信息","开户名","银行账号"]),keyFields:U.slice(0,30)}),invoices:NG1($),attachments:wJ($,{summary:!0}).attachments,aiResult:ZD($),manualResult:KI($)?.value,hints:PJ({amountMentions:MZ0(Y,["金额","合计","税率"],8),partyMentions:MZ0(Y,["买方","卖方","甲方","乙方","收款"],8)})}}function LG1($){let I=[["result.citedRules",n5($,"result.citedRules")],["result.matchedRules",n5($,"result.matchedRules")],["result.ruleResults",n5($,"result.ruleResults")],["result.rules",n5($,"result.rules")],["pipelineData.citedRules",n5($,"pipelineData.citedRules")],["pipelineData.matchedRules",n5($,"pipelineData.matchedRules")]],U=[],Y=new Set;for(let[J,Q]of I)(Array.isArray(Q)?Q:Q&&typeof Q==="object"?Object.values(Q):[]).forEach((q,G)=>{let H=HG(q);if(!H)return;let W=I4(H.runtimeRuleId)??I4(H.runtimeId)??I4(H.id)??I4(H.ruleId),V=I4(H.ruleCode)??I4(H.code)??(W?PG1(W):void 0),w=PJ({runtimeRuleId:W,ruleCode:V,versionNumber:OG1(H.versionNumber)??$.ruleSetVersionNumber,scope:I4(H.scope),strictness:I4(H.strictness),appliedAnalysis:H.appliedAnalysis??H.analysis??H.reasoning,checkResult:H.checkResult??H.result??H.decision,findings:H.findings??H.riskPoints??H.evidence,sourcePath:`${J}.${G}`}),Z=JSON.stringify(w);if(!Y.has(Z))Y.add(Z),U.push(w)});return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,ruleSetVersionNumber:$.ruleSetVersionNumber,count:U.length,rules:U}}function VD($,I){if(!$)return;for(let U of I){let Y=n5($,U);if(Y!==void 0)return Y}return}function NZ0($,I){if(!$)return 0;for(let U of I){let Y=n5($,U);if(Array.isArray(Y))return Y.length;if(Y&&typeof Y==="object")return Object.keys(Y).length;if(typeof Y==="number")return Y}return 0}function n5($,I){return I.split(".").reduce((U,Y)=>{if(U===void 0||U===null)return;if(Array.isArray(U)){let J=Number(Y);return Number.isInteger(J)?U[J]:void 0}if(typeof U==="object")return U[Y];return},$)}function DG1($,I,U){let Y=I.split("."),J=$;for(let Q of Y.slice(0,-1)){let K=J[Q];if(!K||typeof K!=="object"||Array.isArray(K))J[Q]={};J=J[Q]}J[Y[Y.length-1]??I]=U}function PJ($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}function HG($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function OG1($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function FG1($){let I=[];return Gx($,"document",I),I}function Gx($,I,U){if(Array.isArray($)){$.forEach((K,q)=>Gx(K,`${I}.${q}`,U));return}let Y=HG($);if(!Y)return;let J=I4(Y.label)??I4(Y.name)??I4(Y.title)??I4(Y.fieldName),Q=Y.value??Y.displayValue??Y.text??Y.content;if(J&&Q!==void 0&&typeof Q!=="object")U.push(PJ({path:I,label:J,value:Q,type:I4(Y.type)??I4(Y.fieldType)}));for(let[K,q]of Object.entries(Y)){if(K==="attachments")continue;Gx(q,`${I}.${K}`,U)}}function qD($,I){return $.find((Y)=>{let J=I4(Y.label)??"";return I.some((Q)=>J.includes(Q))})?.value}function NG1($){let I=[];return wD($.result,"result",I),wD($.document,"document",I),I.slice(0,20)}function wD($,I,U){if(Array.isArray($)){$.forEach((J,Q)=>wD(J,`${I}.${Q}`,U));return}let Y=HG($);if(!Y)return;if(/invoice|发票/i.test(I))U.push(PJ({path:I,fileName:I4(Y.fileName)??I4(Y.filename)??I4(Y.name),buyer:Y.buyer??Y.buyerName??Y.purchaserName,seller:Y.seller??Y.sellerName,amount:Y.amount??Y.totalAmount??Y.total,taxRate:Y.taxRate,category:Y.category??Y.type}));for(let[J,Q]of Object.entries(Y))wD(Q,`${I}.${J}`,U)}function MZ0($,I,U){return $.split(/\r?\n/).filter((Y)=>I.some((J)=>Y.includes(J))).slice(0,U)}function GD($){return $.map((I)=>{let U=QI(I);return{recordId:U.id,tenantId:U.tenantId,agentId:U.agentId,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,langfuseTraceId:U.langfuseTraceId,langfuseSessionFallback:U.langfuseSessionFallback,ruleSetVersionNumber:U.ruleSetVersionNumber,ruleSetPublishedAt:U.ruleSetPublishedAt,ruleSetPublishedByName:U.ruleSetPublishedByName,resolution:U.langfuseTraceId?"trace":U.langfuseSessionFallback?"session-fallback":"unresolved"}})}function Kx($){return{id:$.id,tenantId:$.tenantId,versionNumber:$.versionNumber,versionName:$.versionName,publishedBy:$.publishedBy,publishedByName:$.publishedByName,rulesCount:$.rules.length,publishedAt:$.publishedAt,createdAt:$.createdAt}}async function MG1($,I){if(I.recordId&&!I.versionId&&!I.versionNumber&&!I.latest){let U=await f4($,I.recordId);if(!U.ruleSetVersionNumber)throw Error(`Approval run ${I.recordId} has no ruleSetVersionNumber`);return Hx($,{versionNumber:U.ruleSetVersionNumber})}return Hx($,I)}function AG1($,I){let U=qx(I.code),Y=SZ0(I.runtimeId),J=U?Number(U.slice(1)):Y;if(!J||J<1)throw Error("Pass --code '#0038' or --runtime-id rule-205");let Q=$.rules.find((G,H)=>{let W=G;return qx(I4(W.code)??I4(W.ruleCode))===U||H+1===J});if(!Q)return;let K=Q,q=$.rules.indexOf(Q)+1;return PJ({runtimeRuleId:I4(K.runtimeRuleId)??`rule-${q}`,ruleCode:qx(I4(K.code)??I4(K.ruleCode))??Zx(q),versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedAt:$.publishedAt,publishedByName:$.publishedByName,description:Q.description,scope:Q.scope,strictness:Q.strictness,status:I4(K.status)})}function qx($){if(!$)return;let I=$.match(/\d+/)?.[0];return I?Zx(Number(I)):$}function SZ0($){if(!$)return;let I=$.match(/(\d+)$/);return I?Number(I[1]):void 0}function PG1($){let I=SZ0($);return I?Zx(I):void 0}function Zx($){return`#${String($).padStart(4,"0")}`}function TG1($,I){let U=QI($),Y={recordId:U.id,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,status:U.status,taskMode:U.taskMode,ruleSetVersionNumber:U.ruleSetVersionNumber,langfuseTraceId:U.langfuseTraceId,manualResult:U.humanResult,aiDecision:U.aiDecision,aiSummary:U.aiSummary,createdAt:U.createdAt};if(I.length===0)return Y;return CZ0(Y,I)}async function EG1($,I){if(I.recordId)return f4($,I.recordId);let Y=(await X8($,{limit:1,search:I.sourceDocumentSN??I.sourceDocumentId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId})).records[0];if(!Y){let J=I.sourceDocumentSN?`sourceDocumentSN ${I.sourceDocumentSN}`:`sourceDocumentId ${I.sourceDocumentId}`;throw Error(`Approval run not found for ${J}`)}return f4($,Y.id)}function BG1($){return $.replace(/\/+$/,"")}function I4($){return typeof $==="string"&&$.trim()?$:void 0}async function vG1($,I){let U=Math.min(100,Math.max(I.limit,20)),Y=[],J,Q=0;while(Q!I.sn||G.sourceDocumentSN===I.sn).filter((G)=>!I.batchId||G.sourceExtendData?.simulation_batch_id===I.batchId);if(Y.push(...q),K.records.length===0||J!==void 0&&Q>=J)break}return Y.sort((K,q)=>AZ0(q.createdAt)-AZ0(K.createdAt)),{total:J,scanned:Q,records:Y.slice(0,I.latest?1:I.limit)}}function AZ0($){if(typeof $==="number")return $;if(typeof $==="string"){let I=Date.parse($);return Number.isFinite(I)?I:0}return 0}async function Hx($,I){if(I.versionId)return X2($,I.versionId);let U=await Q5($),Y=I.versionNumber?U.find((J)=>J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}function Xx($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>{return[Y.id,Y.sourceDocumentSN,Y.sourceDocumentId,Y.documentId,Y.sourceExtendData?._langfuseTraceId,Y.sourceExtendData?.simulation_batch_id,Y.status,Y.taskMode,Y.finalExecutionMode,Y.sourceSystem,Y.ruleSetVersionNumber,Y.ruleSetPublishedByName].some((Q)=>Wx(Q,U))||Vx(Y,U)})}function Wx($,I){if($===null||$===void 0)return!1;if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return String($).toLowerCase().includes(I);return!1}function Vx($,I,U=0){if(U>6)return!1;if(Wx($,I))return!0;if(!$||typeof $!=="object")return!1;if(Array.isArray($))return $.some((Y)=>Vx(Y,I,U+1));return Object.entries($).some(([Y,J])=>Wx(Y,I)||Vx(J,I,U+1))}function RG1($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>KI(Y)?.value.toLowerCase().includes(U))}function CG1($){return{...$,manualApprovalStatus:gZ0($.manualApprovalStatus,$.humanResult)}}function gZ0($,I){if($)return $;let U=I?.trim().toLowerCase();if(!U)return;if(["驳回","已驳回","拒绝","不通过","terminated","reject","rejected","denied"].includes(U))return"TERMINATED";return}async function PZ0($,I,U){let Y=Xx(I,U.query);if(!U.humanResult?.trim())return Y;let J=await Promise.all(Y.map(async(Q)=>{if(KI(Q))return Q;try{return await f4($,Q.id)}catch{return Q}}));return RG1(J,U.humanResult)}function jG1($){return{originalDocumentData:{path:"document",frontendLabel:"单据原始数据",description:"前端详情页展示的单据原始数据对象",id:$.document?.id??$.documentId,sourceDocumentSN:$.document?.sourceDocumentSN??$.sourceDocumentSN,sourceDocumentId:$.document?.sourceDocumentId??$.sourceDocumentId},aiDocumentFields:{path:"document.fields",frontendLabel:"AI 看的单据",description:"AI 审核实际读取的字段数组,即单据原始数据中的 fields",fieldCount:$.document?.fields?.length},aiDocument:{path:"document.fields",frontendLabel:"AI 看的单据",description:"兼容别名,等同于 aiDocumentFields",aliasOf:"aiDocumentFields",fieldCount:$.document?.fields?.length},sourceDocument:{path:"sourceExtendData.hosecloudViewUrl",description:"合思原始单据入口;详情响应中只有入口和源单据 ID,不包含完整原始单据 JSON",sourceSystem:$.sourceSystem,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,originalDocumentId:$.sourceExtendData?.original_document_id,viewUrl:$.sourceExtendData?.hosecloudViewUrl},aiResult:{path:"result",description:"AI 最终审核结构化结果"},aiAuditLog:{path:"pipelineData.logs",description:"AI 审核过程日志"},manualApproval:{path:"manualApprovalRecord",description:"人工审核结果、节点和驳回原因"}}}function KI($){let I=[["result",$.result],["pipelineData",$.pipelineData]];for(let[U,Y]of I){let J=wx(Y,U);if(J)return J}return}function wx($,I,U=0){if(U>8||$===null||$===void 0)return;if(Array.isArray($)){for(let Y=0;Y<$.length;Y+=1){let J=wx($[Y],`${I}[${Y}]`,U+1);if(J)return J}return}if(typeof $!=="object")return;for(let[Y,J]of Object.entries($)){let Q=`${I}.${Y}`,K=wx(J,Q,U+1);if(K)return K;if(TZ0(Y)||TZ0(Q)){let q=yZ0(J);if(q)return{value:q,path:Q}}}return}function TZ0($){let I=$.toLowerCase(),U=I.includes("human")||I.includes("manual")||I.includes("reviewer")||I.includes("operator")||$.includes("人工")||$.includes("人工审批")||$.includes("人工审核"),Y=I.includes("result")||I.includes("decision")||I.includes("outcome")||I.includes("conclusion")||I.includes("action")||$.includes("结果")||$.includes("结论")||$.includes("动作");return U&&Y}function yZ0($){if(typeof $==="string")return $.trim()||void 0;if(typeof $==="number"||typeof $==="boolean")return String($);if(!$||typeof $!=="object")return;let I=$;for(let U of["label","name","text","value","result","decision","outcome","status","action"]){let Y=yZ0(I[U]);if(Y)return Y}return}function _G1($,I){if(I.recordId&&$.id!==I.recordId)return!1;if(I.sourceDocumentSN&&$.sourceDocumentSN!==I.sourceDocumentSN)return!1;if(I.sourceDocumentId&&$.sourceDocumentId!==I.sourceDocumentId)return!1;return!0}function EZ0($,I){return $.reduce((U,Y)=>{let J=I(Y);return U[J]=(U[J]??0)+1,U},{})}function BZ0($,I){let U=hZ0($);if(!U)return;let Y=xZ0(U,I),J=Y.year,Q=(Y.month??"01").padStart(2,"0"),K=(Y.day??"01").padStart(2,"0");return`${J}-${Q}-${K}`}function vZ0($,I){let U=hZ0($);if(!U)return;let Y=xZ0(U,I),J=(Y.month??"01").padStart(2,"0"),Q=(Y.day??"01").padStart(2,"0"),K=(Y.hour??"00").padStart(2,"0"),q=(Y.minute??"00").padStart(2,"0"),G=(Y.second??"00").padStart(2,"0");return`${Y.year??"0000"}-${J}-${Q} ${K}:${q}:${G}`}function hZ0($){if($===void 0)return null;let I=new Date($);return Number.isNaN(I.getTime())?null:I}function xZ0($,I){return Object.fromEntries(new Intl.DateTimeFormat("en-CA",{timeZone:I,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts($).filter((U)=>U.type!=="literal").map((U)=>[U.type,U.value]))}import{writeFileSync as gG1}from"node:fs";class c8 extends Error{exitCode;nextAction;constructor($,I,U){super($);this.name="CliError",this.exitCode=I,this.nextAction=U}}class XD extends c8{constructor($,I){super($,12,I);this.name="PayloadTooLargeError"}}function TJ($,I){return new c8($,2,I)}function zD($,I){return new c8($,10,I)}function LD($){if($ instanceof c8)return{exitCode:$.exitCode,nextAction:$.nextAction};let I=$ instanceof Error?$.message:String($),U=SG1($);if(U===401||U===403||/(?:^|\s)(?:token|bearer|session) (?:expired|missing|invalid)/i.test(I))return{exitCode:11};if(/^(?:Usage:|Unknown (?:command|auth|config|corps|delegation|deploy|llm|permissions|preference|rules|simulation|users|webhook)|Invalid (?:number|boolean|command)|--json must|Missing required JSON field)/.test(I))return{exitCode:2};if(/^Refusing to (?:clear|delete)|without --yes|without confirm=true/i.test(I))return{exitCode:10};return{exitCode:1}}function SG1($){if(!$||typeof $!=="object")return;let I=$.response;if(!I||typeof I!=="object")return;let U=I.status;return typeof U==="number"?U:void 0}function kZ0($){let I=[],U={},Y;for(let J=0;J<$.length;J+=1){let Q=$[J];if(!Q)continue;if(Q==="--json"){let K=$[J+1];if(!K)throw TJ("--json requires a JSON object argument");try{Y=JSON.parse(K)}catch(q){throw TJ(`Invalid JSON: ${q instanceof Error?q.message:String(q)}`)}J+=1;continue}if(Q.startsWith("-")){let K=Q.replace(/^-+/,"");if(K.includes("=")){let G=K.indexOf("="),H=K.slice(0,G),W=K.slice(G+1);U[H]=W;continue}let q=$[J+1];if(!q||q.startsWith("-"))U[K]=!0;else U[K]=q,J+=1;continue}I.push(Q)}return{command:I,options:U,json:Y}}function t6($){if($===void 0)return{};if(!$||typeof $!=="object"||Array.isArray($))throw TJ("--json must be an object");return $}function h($){return typeof $==="string"?$:void 0}function d0($){if(typeof $!=="string")return;let I=Number($);if(!Number.isFinite(I))throw TJ(`Invalid number: ${$}`);return I}function W6($){if(typeof $!=="string")return;let I=$.split(",").map((U)=>U.trim()).filter(Boolean);return I.length?I:void 0}function N0($){if($===void 0)return;if(typeof $==="boolean")return $;if($==="true")return!0;if($==="false")return!1;throw TJ(`Invalid boolean: ${$}`)}function z7($,I){let U=i1($,I);if(!U)throw Error(`Missing required JSON field: ${I}`);return U}function i1($,I){let U=$[I];return typeof U==="string"&&U.trim()?U.trim():void 0}function uZ0($,I){let U=$[I];return typeof U==="number"&&Number.isFinite(U)?U:void 0}function zx($){return $.replace(/[^a-zA-Z0-9._-]/g,"_")}function fZ0($){let I=$.trim().toLowerCase();if(["stateful","state","有状态"].includes(I))return!0;if(["stateless","无状态"].includes(I))return!1;throw Error("Invalid config mode. Use stateful or stateless.")}function WG($){if($==="latest")return{latest:!0};let I=Number($);if(Number.isInteger(I)&&I>0)return{versionNumber:I};return{versionId:$}}function bZ0($){if(!$)return{};let I=WG($);if("latest"in I)return{ruleVersionScope:"version",latestRuleVersion:!0};if("versionNumber"in I)return{ruleVersionScope:"version",ruleVersionNumber:I.versionNumber};return{ruleVersionScope:"version",ruleVersionId:I.versionId}}function iZ0($){if(!$)return{};let I=WG($);if("latest"in I)return{latestRuleVersion:!0};if("versionNumber"in I)return{ruleVersionNumber:I.versionNumber};return{ruleVersionId:I.versionId}}function nZ0($){if(!$)return{};let I=WG($);if("latest"in I)return{latest:!0};if("versionNumber"in I)return{versionNumber:I.versionNumber};return{versionId:I.versionId}}function Lx($){if(!$)return;let I=$.trim().toLowerCase().replace(/[\s-]+/g,"_"),Y={assisted:"assisted",辅助:"assisted",semi_automatic:"semi_automatic",半自动:"semi_automatic",fully_automatic:"fully_automatic",全自动:"fully_automatic"}[I];if(!Y)throw Error("Invalid Webhook mode. Use assisted, semi_automatic, or fully_automatic");return Y}function Dx($){let I=d0($.autoApprovalRate??$["auto-approval-rate"]??$["approval-rate"]);if(I!==void 0&&(!Number.isInteger(I)||I<0||I>100))throw Error("Webhook auto approval rate must be an integer between 0 and 100");return I}function Ox($){return N0($.showSecret)??N0($["show-secret"])}function VG($){let I=N0($.clearMaxFileSize??$["clear-max-file-size"])===!0,U=d0($.minFileSizeBytes??$["min-file-size-bytes"]??$.minFileSize??$["min-file-size"]),Y=d0($.maxFileSizeBytes??$["max-file-size-bytes"]??$.maxFileSize??$["max-file-size"]),J=W6($.allowedExtensions??$["allowed-extensions"]??$.extensions);if(U===void 0&&Y===void 0&&J===void 0&&!I)return;return{minFileSizeBytes:U,maxFileSizeBytes:I?null:Y,allowedExtensions:J}}var yG1=100,hG1=120000,pZ0=["id","code","status","strictness","scope","createdAt","updatedAt"],xG1=200000;function Fx($){return $.map((I)=>typeof I==="string"?I:String(I)).join(" ")}function wG($){if(!$.length)return"";return`${$.join(` `)} -`}function HG($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1")}function E0($,I={}){nq1($,I);let U=`${JSON.stringify($,null,2)} -`;if(I.outputFile){uq1(I.outputFile,U),console.log(JSON.stringify({outputFile:I.outputFile,bytes:Buffer.byteLength(U,"utf-8")},null,2));return}console.log(U.trimEnd())}function nq1($,I={}){if(I.allowFull||I.outputFile)return;let U=Buffer.byteLength(JSON.stringify($),"utf-8");if(U>iq1)throw Error(`Output is large (${U} bytes). Use --summary, --fields, --count, or --output-file; pass --full only when you really need the full response.`)}function Kz0($,I){if(I)return;let U=$&&typeof $==="object"?$:{},Y=typeof U.count==="number"?U.count:void 0,J=Array.isArray(U.rules)?U.rules.length:void 0,Q=Buffer.byteLength(JSON.stringify($),"utf-8"),K=Y??J??0;if(K>fq1||Q>bq1)throw Error(`Rule list is large (${K} rules, ${Q} bytes). Use "seal-use rules list --summary" or "seal-use rules count"; pass --full only when you really need full descriptions.`)}function D0($){return{allowFull:_0($.full)===!0,outputFile:h($.outputFile)??h($["output-file"])}}function qz0(){console.log(`seal-use CLI +`}function ZG($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1")}function B0($,I={}){kG1($,I);let U=`${JSON.stringify($,null,2)} +`;if(I.outputFile){gG1(I.outputFile,U),console.log(JSON.stringify({outputFile:I.outputFile,bytes:Buffer.byteLength(U,"utf-8")},null,2));return}console.log(U.trimEnd())}function kG1($,I={}){if(I.allowFull||I.outputFile)return;let U=Buffer.byteLength(JSON.stringify($),"utf-8");if(U>xG1)throw new XD(`Output is large (${U} bytes). Use --summary, --fields, --count, or --output-file; pass --full only when you really need the full response.`)}function cZ0($,I){if(I)return;let U=$&&typeof $==="object"?$:{},Y=typeof U.count==="number"?U.count:void 0,J=Array.isArray(U.rules)?U.rules.length:void 0,Q=Buffer.byteLength(JSON.stringify($),"utf-8"),K=Y??J??0;if(K>yG1||Q>hG1)throw new XD(`Rule list is large (${K} rules, ${Q} bytes). Use "seal-use rules list --summary" or "seal-use rules count"; pass --full only when you really need full descriptions.`,"seal-use rules list --summary")}function V0($){return{allowFull:N0($.full)===!0,outputFile:h($.outputFile)??h($["output-file"])}}function dZ0(){console.log(`seal-use CLI Usage: seal-use version @@ -359,6 +359,12 @@ Usage: seal-use users reset-password [--corp ] seal-use users get [--corp ] seal-use users delete [--corp ] + seal-use contacts departments [] [--corp ] + seal-use contacts children [--corp ] + seal-use contacts users [--corp ] + seal-use contacts sync-time [--corp ] + seal-use data expenses [--search ] [--start-date ] [--end-date ] [--offset ] [--limit ] [--corp ] + seal-use data invoices [--search ] [--start-date ] [--end-date ] [--offset ] [--limit ] [--corp ] seal-use llm config [--corp ] seal-use llm providers [--corp ] seal-use permissions available [--corp ] @@ -370,23 +376,23 @@ Usage: seal-use webhook status [<材料包.zip>] [--corp ] seal-use webhook list [--query ] [--show-secret] [--corp ] seal-use webhook get|find [--show-secret] [--corp ] - seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret ] [--min-file-size 500] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--corp ] - seal-use webhook update [--name ] [--result-url ] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret |--rotate-secret] [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--corp ] - seal-use webhook delete --yes [--corp ] + seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret ] [--min-file-size 500] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp ] + seal-use webhook update [--name ] [--result-url ] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret |--rotate-secret] [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp ] + seal-use webhook delete [--yes|--dry-run] [--corp ] seal-use webhook material-pack preview <材料包.zip|信息表.xlsx> [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--corp ] seal-use webhook material-pack push <材料包.zip|信息表.xlsx> [--webhook ] [--corp ] seal-use deploy hosecloud requirements [--corp ] seal-use deploy hosecloud list [--corp ] seal-use deploy hosecloud get [--corp ] seal-use deploy hosecloud status [--corp ] - seal-use deploy hosecloud configure --json '{...}' [--corp ] + seal-use deploy hosecloud configure --json '{...}' [--dry-run] [--corp ] seal-use deploy hosecloud sync [--corp ] seal-use preference get [--corp ] - seal-use preference decision update --json '{"explicitApprove":"..."}' [--corp ] - seal-use preference thinking-depth set --default [--corp ] + seal-use preference decision update --json '{"explicitApprove":"..."}' [--dry-run] [--corp ] + seal-use preference thinking-depth set --default [--dry-run] [--corp ] seal-use preference thinking-depth policies list [--corp ] - seal-use preference thinking-depth policies upsert --json '{...}' [--corp ] - seal-use preference thinking-depth policies remove [--corp ] + seal-use preference thinking-depth policies upsert --json '{...}' [--dry-run] [--corp ] + seal-use preference thinking-depth policies remove [--dry-run] [--corp ] seal-use source config [--corp ] seal-use tool [--corp ] [--json '{"key":"value"}'] seal-use rules count [--corp ] @@ -410,28 +416,31 @@ Usage: seal-use approval-runs attachments [--summary] [--corp ] seal-use approval-runs attachments download [--all] [--name ] [--out-dir ] [--corp ] seal-use approval-runs result [--summary] [--corp ] + seal-use analytics insight [--start-date ] [--end-date ] [--limit ] [--corp ] seal-use approval-runs url [--corp ] seal-use approval-runs url [--corp ] seal-use approval-runs url --sourceDocumentSN B26022501 [--corp ] seal-use approval-runs bridge [--sourceDocumentSN B26001887] [--corp ] seal-use simulation batch-records [--corp ] - seal-use simulation create --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--corp ] + seal-use simulation create --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--no-wait] [--corp ] seal-use simulation create --mode material_pack --package-ids [--template-id conference_reimbursement_v1] [--schema-config file.json] [--corp ] seal-use simulation create --source-system weaver --request-ids "req-01,req-02" [--corp ] + seal-use simulation status [--corp ] seal-use simulation wait [--timeout 10m] [--poll-interval 2s] [--corp ] seal-use simulation clean [--corp ] seal-use simulation specifications [--integration ] [--corp ] + seal-use simulation approval-definitions [--corp ] seal-use simulation list [--limit 50] [--corp ] seal-use simulation get [--corp ] seal-use simulation templates [--corp ] seal-use simulation integrations [--corp ] seal-use simulation package-upload <材料包.zip> [--corp ] -`)}function D4($){let I=b8(),U=L4();return VJ(I,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$},r3())}function QI($=L4()){return{mode:$.stateful?"stateful":"stateless",stateful:$.stateful,...$.stateful&&$.defaultCorpId?{defaultCorpId:$.defaultCorpId}:{},...$.testEnterprisesDir?{testEnterprisesDir:$.testEnterprisesDir}:{},lint:$.lint,configFile:t3()}}async function N0($,I,U,Y,J={}){E0(await KI($,I,U,Y),J)}async function KI($,I,U,Y){let J=JG.find((q)=>q.name===$);if(!J)throw Error(`Unknown Seal tool: ${$}`);let Q=Object.fromEntries(Object.entries(Y).filter(([,q])=>q!==void 0)),K=J.handler;return K(I,Q,{corp:U})}async function Gz0($,I,U,Y,J){if($==="summary"){let Q=await KI("seal_approval_runs_summary",U,Y,{date:h(J.options.date),timezone:h(J.options.timezone),limit:a0(J.options.limit),startDate:h(J.options.startDate),endDate:h(J.options.endDate),status:h(J.options.status),taskMode:h(J.options.taskMode),manualApprovalStatus:h(J.options.manualApprovalStatus),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),humanResult:h(J.options.humanResult),query:h(J.options.query)});if(Q?.matched===0&&Q?.total>0)console.error(`提示:在 ${Q.date} 未匹配到记录(该企业共有 ${Q.total} 条历史记录)。可使用 --date YYYY-MM-DD 指定日期,或运行 seal-use approval-runs list --limit 10 查看最近记录。`);E0(Q,D0(J.options));return}if($==="stats"){await N0("seal_approval_runs_stats",U,Y,{since:h(J.options.since),dedupeBy:h(J.options.dedupeBy)??h(J.options["dedupe-by"]),status:h(J.options.status),sourceSystem:h(J.options.sourceSystem)??h(J.options["source-system"]),taskMode:h(J.options.taskMode)??h(J.options["task-mode"])},D0(J.options));return}if($==="count"){await N0("seal_approval_runs_count",U,Y,{status:h(J.options.status),sourceSystem:h(J.options.sourceSystem)??h(J.options["source-system"]),taskMode:h(J.options.taskMode)??h(J.options["task-mode"]),search:h(J.options.search)??h(J.options.query)},D0(J.options));return}if($==="search"||$==="list"){await N0("seal_approval_runs_search",U,Y,{limit:a0(J.options.limit),offset:a0(J.options.offset),startDate:h(J.options.startDate),endDate:h(J.options.endDate),status:h(J.options.status),taskMode:h(J.options.taskMode),manualApprovalStatus:h(J.options.manualApprovalStatus),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),humanResult:h(J.options.humanResult),query:h(J.options.query),includeBridge:_0(J.options.includeBridge)},D0(J.options));return}if($==="bridge"){await N0("seal_approval_run_langfuse_bridge_get",U,Y,{recordId:h(J.options.recordId),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),simulationBatchId:h(J.options.simulationBatchId),limit:a0(J.options.limit)},D0(J.options));return}if($==="pick"){let Q=I??h(J.options.query)??h(J.options.sn);if(!Q)throw Error("Usage: seal-use approval-runs pick --sn ");await N0("seal_approval_run_pick",U,Y,{query:Q,sn:h(J.options.sn),batchId:h(J.options.batch)??h(J.options.batchId),latest:_0(J.options.latest),fields:h(J.options.fields),limit:a0(J.options.limit),includeBridge:_0(J.options.includeBridge)},D0(J.options));return}if($==="get"){let Q=J.command[2];if(!Q)throw Error("Missing approval run recordId");await N0("seal_approval_run_get",U,Y,{recordId:Q,fields:h(J.options.fields),summary:_0(J.options.summary)},D0(J.options));return}if($==="cited-rules"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs cited-rules ");await N0("seal_approval_run_cited_rules_get",U,Y,{recordId:Q},D0(J.options));return}if($==="document-summary"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs document-summary ");await N0("seal_approval_run_document_summary_get",U,Y,{recordId:Q},D0(J.options));return}if($==="attachments"){if(J.command[2]==="download"){let H=J.command[3];if(!H)throw Error("Usage: seal-use approval-runs attachments download [--all] [--name ] [--out-dir ]");let W=await f4(U,H),V=await EL({record:W,all:_0(J.options.all),name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(E0(V,D0(J.options)),V.total>0&&V.downloaded===0)throw Error(`所有 ${V.total} 个附件下载均失败。`);return}let K=J.command[2];if(!K)throw Error("Usage: seal-use approval-runs attachments | seal-use approval-runs attachments download ");if(_0(J.options.download)){let H=await f4(U,K),W=await EL({record:H,all:_0(J.options.all)??!0,name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(E0(W,D0(J.options)),W.total>0&&W.downloaded===0)throw Error(`所有 ${W.total} 个附件下载均失败。`);return}let q=await f4(U,K),G=WJ(q,{summary:_0(J.options.summary)});E0(G,D0(J.options));return}if($==="download"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs download [--all] [--name ] [--out-dir ]");let K=await f4(U,Q),q=await EL({record:K,all:_0(J.options.all),name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(E0(q,D0(J.options)),q.total>0&&q.downloaded===0)throw Error(`所有 ${q.total} 个附件下载均失败。`);return}if($==="result"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs result [--summary]");await N0("seal_approval_run_result_get",U,Y,{recordId:Q,summary:_0(J.options.summary)},D0(J.options));return}if($==="url"){await N0("seal_approval_run_url_get",U,Y,{recordId:I,sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId)},D0(J.options));return}if($==="export"){let Q=await TL(U,Y,{limit:a0(J.options.limit),startDate:h(J.options.start)??h(J.options.startDate)??h(J.options.since),endDate:h(J.options.end)??h(J.options.endDate),status:h(J.options.status),manualApprovalStatus:h(J.options["manual-status"])??h(J.options.manualStatus)??h(J.options.manualApprovalStatus),includeCompletedOnly:_0(J.options["completed-only"])??_0(J.options.completedOnly),outputFile:h(J.options.out)??h(J.options.output)??h(J.options.file),toDownloads:_0(J.options.downloads)??_0(J.options.download)});E0(Q,D0(J.options));return}throw Error(`Unknown approval-runs command: ${$??""}. Run 'seal-use help' for available commands.`)}async function Vz0($,I,U){if($==="diagnose"){E0(await pq1(I));return}if($==="hose-link"){let Y=a0(U.options.expire)??7200;E0(await Yd(I,Y));return}throw Error(`Unknown auth command: ${$??""}. Run 'seal-use help' for available commands.`)}async function pq1($){if($.source.type!=="hose"){let w=await U4($),L=await N$(w);return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!0,stages:[{name:"seal.whoami",ok:!0,user:L.user,tenant:L.tenant}]}}OV($.id);let I=$.source,U=I.appKey??I.key,Y=I.appSecurity??I.password,J=($.seal.url??I.sealUrl??`https://${I.corpId.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),Q=I.staffId.includes(":")?I.staffId:`${I.corpId}:${I.staffId}`,K=[];if(!U||!Y)return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!1,stages:[{name:"hose.openapi",ok:!1,error:"Hose source requires appKey/key and appSecurity/password"}]};let q=await JD("hose.openapi",async()=>{let w=await Hz0(`${I.domain.replace(/\/+$/,"")}/api/openapi/v1/auth/getAccessToken`,{appKey:U,appSecurity:Y}),L=i5(w.value),D=c4(L.accessToken)??c4(w.accessToken)??c4(w.token);if(!D)throw Error("Hose login did not return an access token");return{token:D,public:{corporationId:c4(L.corporationId)??c4(i5(L.corporation).id),expireTime:WG(L.expireTime)}}});K.push(q.public);let G=q.private?.token,H=G?await JD("hose.provisional",async()=>{let w=await Hz0(`${I.domain.replace(/\/+$/,"")}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=${encodeURIComponent(G)}`,{uid:Q,pageType:"home",expireDate:7200}),L=c4(i5(w.value).message);if(!L)throw Error("Hose CloseAPI did not return a provisional auth URL");let D=new URL(L).searchParams.get("accessToken");if(!D)throw Error("Hose provisional auth URL did not include accessToken");return{token:D,public:{uid:Q,enterpriseUrl:HG(L)}}}):Jx("hose.provisional");K.push(H.public);let W=H.private?.token,V=W?await JD("seal.sso",async()=>{let w=await Wz0(`${J}/api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(W)}&returnToken=1`),L=i5(w.data),D=c4(w.token)??c4(w.accessToken)??c4(L.token)??c4(L.accessToken);if(!D)throw Error("Seal SSO did not return a bearer token");return{token:D,public:{sealUrl:J,expiresIn:WG(w.expiresIn)??WG(w.expires_in)??WG(L.expiresIn)??WG(L.expires_in)}}}):Jx("seal.sso");K.push(V.public);let z=V.private?.token,Z=z?await JD("seal.whoami",async()=>{let w=await Wz0(`${J}/api/v1/auth/me`,{authorization:`Bearer ${z}`}),L=i5(w.data),D=i5(L.user??w.user),N=i5(L.tenant??w.tenant);return{public:{user:{id:c4(D.id),name:c4(D.name),isAdmin:cq1(D.isAdmin),providerUserId:c4(D.providerUserId)},tenant:{id:c4(N.id),name:c4(N.name),tenantSlug:c4(N.tenantSlug),hoseCorpConfig:dq1(N.hoseCorpConfig)}}}}):Jx("seal.whoami");return K.push(Z.public),{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:K.every((w)=>w.ok===!0),stages:K}}async function JD($,I){try{let U=await I();return{public:{name:$,ok:!0,...zz0(U.public)},private:U.token?{token:U.token}:void 0}}catch(U){return{public:{name:$,ok:!1,error:HG(U instanceof Error?U.message:String(U))}}}}function Jx($){return{public:{name:$,ok:!1,skipped:!0}}}async function Hz0($,I){let U=await fetch($,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(I)});return Zz0(U)}async function Wz0($,I={}){let U=await fetch($,{headers:I});return Zz0(U)}async function Zz0($){let I=await $.text();if(!$.ok)throw Error(`${$.status} ${I}`);let U=JSON.parse(I);return i5(U)}function i5($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function c4($){return typeof $==="string"&&$?$:void 0}function WG($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function cq1($){return typeof $==="boolean"?$:void 0}function dq1($){let I=i5($);return zz0({corporationId:c4(I.corporationId),corporationName:c4(I.corporationName)})}function zz0($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}async function Xz0($,I,U,Y){if($==="status"||$==="get"){await N0("seal_billing_status_get",I,U,{},D0(Y.options));return}if($==="plans"){await N0("seal_billing_plans_list",I,U,{},D0(Y.options));return}if($==="features"){await N0("seal_billing_features_list",I,U,{},D0(Y.options));return}throw Error(`Unknown billing command: ${$??""}. Run 'seal-use help' for available commands.`)}function wz0($,I,U){if($==="paths"){E0({candidates:r3(),globalConfigFile:t3()});return}if($==="get"||$==="status"){E0(QI());return}if($==="mode"){let Y=I??h(U.options.mode);if(!Y){E0(QI());return}let J=Iz0(Y),Q=h(U.options.corp),K=L4(),q=J?Q?VJ(b8(),{stateful:!0,corpId:Q},r3()).id:K.defaultCorpId:void 0,G=a3({...K,stateful:J,...q?{defaultCorpId:q}:{}});E0(QI(G));return}if($==="lint"){let Y=I??h(U.options.state)??h(U.options.enable),J=L4(),Q=J.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(!Y||Y==="status"||Y==="get"){E0({lint:Q,configFile:t3()});return}let K=Q.enabled;if(Y==="enable"||Y==="on"||Y==="true")K=!0;else if(Y==="disable"||Y==="off"||Y==="false")K=!1;let q=h(U.options.linter)??Q.activeLinter,G=U.options.minScore!==void 0||U.options["min-score"]!==void 0?Number(U.options.minScore??U.options["min-score"]):Q.minScore,H={enabled:K,activeLinter:q,minScore:isNaN(G)?0:Math.max(0,Math.min(100,G))},W=a3({...J,lint:H});E0(QI(W));return}if($==="test-dir"||$==="test-enterprises-dir"){let Y=U.options.clear===!0||I==="--clear"||I==="clear",J=L4();if(Y){let q=a3({...J,testEnterprisesDir:void 0});E0(QI(q));return}let Q=I&&!I.startsWith("-")?I:h(U.options.path)??h(U.options.dir);if(!Q){E0({testEnterprisesDir:J.testEnterprisesDir??null,configFile:t3()});return}let K=a3({...J,testEnterprisesDir:Q});E0(QI(K));return}throw Error(`Unknown config command: ${$??""}. Available: paths, get, status, mode, lint, test-dir. Run 'seal-use help' for available commands.`)}async function Lz0($,I,U){await N0("seal_approval_context_get",$,I,{documentLimit:a0(U.options.documentLimit),...Yz0(h(U.options.ruleVersion))},D0(U.options))}import{existsSync as Dz0,mkdirSync as Oz0,writeFileSync as Nz0}from"node:fs";import{join as Fz0}from"node:path";async function AJ($){let[I,U]=await Promise.all([Kd($),U4($)]),Y=await N$(U);return{...I,tenantId:Y.tenant.id,tenantSlug:Y.tenant.tenantSlug??I.tenantSlug,tenantName:Y.tenant.name,raw:{...typeof I.raw==="object"&&I.raw!==null?I.raw:{},user:{id:Y.user.id,name:Y.user.name,isAdmin:Y.user.isAdmin,providerUserId:Y.user.providerUserId,hosecloudStaff:Y.user.hosecloudStaff},tenant:Y.tenant}}}async function Mz0($,I,U){if($==="list"){let Y=h(U.options.corp),J=b8(),Q=L4(),K=Y??(Q.stateful?Q.defaultCorpId??J[0]?.id:void 0);if(J.length===0)console.error("提示:当前未检测到企业配置。你可以使用 seal-use corps add-hose 或 seal-use corps add-seal 添加企业,或运行 seal-use help 查看说明。");E0(J.map((q)=>({id:q.id,name:q.name,sourceType:q.source.type,provider:q.source.provider??q.source.type,current:q.id===K})));return}if($==="current"){let Y=D4(h(U.options.corp));E0({id:Y.id,name:Y.name,sourceType:Y.source.type,provider:Y.source.provider??Y.source.type});return}if($==="switch"){let Y=I;if(!Y)throw Error("Usage: seal-use corps switch ");let J=L4();if(!J.stateful)throw Error("Cannot switch the default enterprise while stateless mode is enabled. Use `seal-use config mode stateful` first.");let Q=D4(Y);a3({...J,stateful:!0,defaultCorpId:Q.id}),E0({current:!0,id:Q.id,name:Q.name});return}if($==="probe-hose"){await mq1(t6(U.json));return}if($==="hose-staffs"){await lq1(t6(U.json));return}if($==="add-hose"){await oq1(t6(U.json));return}if($==="add-seal"){await rq1(t6(U.json));return}if($==="add-link"){let Y=I??h(U.options.link)??h(U.options.url);if(!Y)throw Error("Usage: seal-use corps add-link [--name ] [--overwrite]");await tq1(Y,h(U.options.name),_0(U.options.overwrite)===!0);return}throw Error(`Unknown corps command: ${$??""}. Run 'seal-use help' for available commands.`)}async function mq1($){let I=z7($,"appKey"),U=z7($,"appSecurity"),Y=i1($,"domain"),J=await zU(I,U,Y),Q=await PV(J.domain,J.openapiToken).catch(()=>[]),K=Q.reduce((q,G)=>q+G.roleDefs.length,0);E0({domain:J.domain,corpId:J.corpId,name:J.corpName??J.corpId,roleCount:K,roleGroups:Q.map((q)=>({id:q.id,name:q.name,roleDefs:q.roleDefs.map((G)=>({id:G.id,name:G.name,sourceType:G.sourceType}))}))})}async function lq1($){let I=z7($,"appKey"),U=z7($,"appSecurity"),Y=i1($,"domain"),J=i1($,"role")??i1($,"roleDefId")??"admin",Q=await zU(I,U,Y),K=await PV(Q.domain,Q.openapiToken),q,G;for(let V of K){for(let z of V.roleDefs)if(z.id===J||z.id===`${Q.corpId}:${J}`){q=z.id,G=z.name;break}if(q)break}if(!q&&(J==="admin"||J==="主管理员"))for(let V of K){for(let z of V.roleDefs)if(z.id.endsWith(":admin")||z.name==="主管理员"){q=z.id,G=z.name;break}if(q)break}if(!q)for(let V of K){for(let z of V.roleDefs)if(z.name.toLowerCase().includes(J.toLowerCase())){q=z.id,G=z.name;break}if(q)break}if(!q)throw Error(`Role not found matching query: '${J}'. Run 'seal-use corps probe-hose' to view all available roles.`);let H=await KE(Q.domain,Q.openapiToken,q),W=await qE(Q.domain,Q.openapiToken,H.staffs);E0({domain:Q.domain,corpId:Q.corpId,corpName:Q.corpName??Q.corpId,roleId:q,roleName:G,count:W.length,staffs:W.map((V)=>({id:V.id,name:V.name,cellphone:V.cellphone,active:V.active,authState:V.authState,userId:V.userId,email:V.email}))})}async function oq1($){let I=i1($,"name"),U=z7($,"appKey"),Y=z7($,"appSecurity"),J=i1($,"domain"),Q=i1($,"staffId")??i1($,"proxyStaffBizId"),K=i1($,"staffName"),q=i1($,"staffPhone"),G=i1($,"role")??"admin",H=$.force===!0,W=H||$.verify===!1?!1:!0,V=J,z=i1($,"corpId")??i1($,"corporationId"),Z=I,w;if(!V||!z||!Q){let u=await zU(U,Y,J);V=u.domain,z=z??u.corpId,Z=Z??u.corpName,w=u.openapiToken}let L=Q;if(!L&&w&&V){let u=await PV(V,w).catch(()=>[]),g;for(let b of u){for(let C of b.roleDefs)if(C.id.endsWith(`:${G}`)||C.name===G||C.id===G){g=C.id;break}if(g)break}if(!g)g=u.find((b)=>b.roleDefs.some((C)=>C.id.endsWith(":admin")))?.roleDefs.find((b)=>b.id.endsWith(":admin"))?.id;if(g){let b=await KE(V,w,g).catch(()=>({staffs:[]})),C=await qE(V,w,b.staffs).catch(()=>[]);if(K||q){let p=C.filter((n)=>{if(K&&n.name!==K&&!n.name.includes(K))return!1;if(q&&(!n.cellphone||!n.cellphone.includes(q)))return!1;return!0});if(p.length===1&&p[0])L=p[0].id;else if(p.length>1)throw Error(`Multiple staff members matched '${K??q}': ${p.map((n)=>`${n.name}(${n.id})`).join(", ")}. Please specify exact staffId.`);else throw Error(`No staff member found matching '${K??q}' under role ${g}. Run 'seal-use corps hose-staffs' to view candidates.`)}else if(!H){let p=C.map((n)=>`${n.name} (${n.cellphone||"no-phone"}, id: ${n.id}, active: ${n.active})`).join(` +`)}function D4($){let I=b8(),U=L4();return ZJ(I,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$},a3())}function qI($=L4()){return{mode:$.stateful?"stateful":"stateless",stateful:$.stateful,...$.stateful&&$.defaultCorpId?{defaultCorpId:$.defaultCorpId}:{},...$.testEnterprisesDir?{testEnterprisesDir:$.testEnterprisesDir}:{},lint:$.lint,configFile:s3()}}async function D0($,I,U,Y,J={}){B0(await GI($,I,U,Y),J)}async function GI($,I,U,Y){let J=GG.find((q)=>q.name===$);if(!J)throw Error(`Unknown Seal tool: ${$}`);let Q=Object.fromEntries(Object.entries(Y).filter(([,q])=>q!==void 0)),K=J.handler;return K(I,Q,{corp:U})}async function mZ0($,I,U,Y,J){if($==="summary"){let Q=await GI("seal_approval_runs_summary",U,Y,{date:h(J.options.date),timezone:h(J.options.timezone),limit:d0(J.options.limit),startDate:h(J.options.startDate),endDate:h(J.options.endDate),status:h(J.options.status),taskMode:h(J.options.taskMode),manualApprovalStatus:h(J.options.manualApprovalStatus),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),humanResult:h(J.options.humanResult),query:h(J.options.query)});if(Q?.matched===0&&Q?.total>0)console.error(`提示:在 ${Q.date} 未匹配到记录(该企业共有 ${Q.total} 条历史记录)。可使用 --date YYYY-MM-DD 指定日期,或运行 seal-use approval-runs list --limit 10 查看最近记录。`);B0(Q,V0(J.options));return}if($==="stats"){await D0("seal_approval_runs_stats",U,Y,{since:h(J.options.since),dedupeBy:h(J.options.dedupeBy)??h(J.options["dedupe-by"]),status:h(J.options.status),sourceSystem:h(J.options.sourceSystem)??h(J.options["source-system"]),taskMode:h(J.options.taskMode)??h(J.options["task-mode"])},V0(J.options));return}if($==="count"){await D0("seal_approval_runs_count",U,Y,{status:h(J.options.status),sourceSystem:h(J.options.sourceSystem)??h(J.options["source-system"]),taskMode:h(J.options.taskMode)??h(J.options["task-mode"]),search:h(J.options.search)??h(J.options.query)},V0(J.options));return}if($==="search"||$==="list"){await D0("seal_approval_runs_search",U,Y,{limit:d0(J.options.limit),offset:d0(J.options.offset),startDate:h(J.options.startDate),endDate:h(J.options.endDate),status:h(J.options.status),taskMode:h(J.options.taskMode),manualApprovalStatus:h(J.options.manualApprovalStatus),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),humanResult:h(J.options.humanResult),query:h(J.options.query),includeBridge:N0(J.options.includeBridge)},V0(J.options));return}if($==="bridge"){await D0("seal_approval_run_langfuse_bridge_get",U,Y,{recordId:h(J.options.recordId),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),simulationBatchId:h(J.options.simulationBatchId),limit:d0(J.options.limit)},V0(J.options));return}if($==="pick"){let Q=I??h(J.options.query)??h(J.options.sn);if(!Q)throw Error("Usage: seal-use approval-runs pick --sn ");await D0("seal_approval_run_pick",U,Y,{query:Q,sn:h(J.options.sn),batchId:h(J.options.batch)??h(J.options.batchId),latest:N0(J.options.latest),fields:h(J.options.fields),limit:d0(J.options.limit),includeBridge:N0(J.options.includeBridge)},V0(J.options));return}if($==="get"){let Q=J.command[2];if(!Q)throw Error("Missing approval run recordId");await D0("seal_approval_run_get",U,Y,{recordId:Q,fields:h(J.options.fields),summary:N0(J.options.summary)},V0(J.options));return}if($==="cited-rules"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs cited-rules ");await D0("seal_approval_run_cited_rules_get",U,Y,{recordId:Q},V0(J.options));return}if($==="document-summary"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs document-summary ");await D0("seal_approval_run_document_summary_get",U,Y,{recordId:Q},V0(J.options));return}if($==="attachments"){if(J.command[2]==="download"){let H=J.command[3];if(!H)throw Error("Usage: seal-use approval-runs attachments download [--all] [--name ] [--out-dir ]");let W=await f4(U,H),V=await gL({record:W,all:N0(J.options.all),name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(B0(V,V0(J.options)),V.total>0&&V.downloaded===0)throw Error(`所有 ${V.total} 个附件下载均失败。`);return}let K=J.command[2];if(!K)throw Error("Usage: seal-use approval-runs attachments | seal-use approval-runs attachments download ");if(N0(J.options.download)){let H=await f4(U,K),W=await gL({record:H,all:N0(J.options.all)??!0,name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(B0(W,V0(J.options)),W.total>0&&W.downloaded===0)throw Error(`所有 ${W.total} 个附件下载均失败。`);return}let q=await f4(U,K),G=wJ(q,{summary:N0(J.options.summary)});B0(G,V0(J.options));return}if($==="download"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs download [--all] [--name ] [--out-dir ]");let K=await f4(U,Q),q=await gL({record:K,all:N0(J.options.all),name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(B0(q,V0(J.options)),q.total>0&&q.downloaded===0)throw Error(`所有 ${q.total} 个附件下载均失败。`);return}if($==="result"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs result [--summary]");await D0("seal_approval_run_result_get",U,Y,{recordId:Q,summary:N0(J.options.summary)},V0(J.options));return}if($==="url"){await D0("seal_approval_run_url_get",U,Y,{recordId:I,sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId)},V0(J.options));return}if($==="export"){let Q=await SL(U,Y,{limit:d0(J.options.limit),startDate:h(J.options.start)??h(J.options.startDate)??h(J.options.since),endDate:h(J.options.end)??h(J.options.endDate),status:h(J.options.status),manualApprovalStatus:h(J.options["manual-status"])??h(J.options.manualStatus)??h(J.options.manualApprovalStatus),includeCompletedOnly:N0(J.options["completed-only"])??N0(J.options.completedOnly),outputFile:h(J.options.out)??h(J.options.output)??h(J.options.file),toDownloads:N0(J.options.downloads)??N0(J.options.download)});B0(Q,V0(J.options));return}throw Error(`Unknown approval-runs command: ${$??""}. Run 'seal-use help' for available commands.`)}async function lZ0($,I,U,Y){if($==="insight"||$==="insight-stats"||$==="stats"){await D0("seal_insight_stats_get",I,U,{startDate:h(Y.options.startDate)??h(Y.options["start-date"]),endDate:h(Y.options.endDate)??h(Y.options["end-date"]),limit:d0(Y.options.limit)},V0(Y.options));return}throw Error(`Unknown analytics command: ${$??""}. Run 'seal-use help' for available commands.`)}async function tZ0($,I,U){if($==="diagnose"){B0(await uG1(I));return}if($==="hose-link"){let Y=d0(U.options.expire)??7200;B0(await Fd(I,Y));return}throw Error(`Unknown auth command: ${$??""}. Run 'seal-use help' for available commands.`)}async function uG1($){if($.source.type!=="hose"){let z=await Y4($),L=await N$(z);return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!0,stages:[{name:"seal.whoami",ok:!0,user:L.user,tenant:L.tenant}]}}AV($.id);let I=$.source,U=I.appKey??I.key,Y=I.appSecurity??I.password,J=($.seal.url??I.sealUrl??`https://${I.corpId.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),Q=I.staffId.includes(":")?I.staffId:`${I.corpId}:${I.staffId}`,K=[];if(!U||!Y)return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!1,stages:[{name:"hose.openapi",ok:!1,error:"Hose source requires appKey/key and appSecurity/password"}]};let q=await DD("hose.openapi",async()=>{let z=await oZ0(`${I.domain.replace(/\/+$/,"")}/api/openapi/v1/auth/getAccessToken`,{appKey:U,appSecurity:Y}),L=p5(z.value),D=c4(L.accessToken)??c4(z.accessToken)??c4(z.token);if(!D)throw Error("Hose login did not return an access token");return{token:D,public:{corporationId:c4(L.corporationId)??c4(p5(L.corporation).id),expireTime:XG(L.expireTime)}}});K.push(q.public);let G=q.private?.token,H=G?await DD("hose.provisional",async()=>{let z=await oZ0(`${I.domain.replace(/\/+$/,"")}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=${encodeURIComponent(G)}`,{uid:Q,pageType:"home",expireDate:7200}),L=c4(p5(z.value).message);if(!L)throw Error("Hose CloseAPI did not return a provisional auth URL");let D=new URL(L).searchParams.get("accessToken");if(!D)throw Error("Hose provisional auth URL did not include accessToken");return{token:D,public:{uid:Q,enterpriseUrl:ZG(L)}}}):Nx("hose.provisional");K.push(H.public);let W=H.private?.token,V=W?await DD("seal.sso",async()=>{let z=await rZ0(`${J}/api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(W)}&returnToken=1`),L=p5(z.data),D=c4(z.token)??c4(z.accessToken)??c4(L.token)??c4(L.accessToken);if(!D)throw Error("Seal SSO did not return a bearer token");return{token:D,public:{sealUrl:J,expiresIn:XG(z.expiresIn)??XG(z.expires_in)??XG(L.expiresIn)??XG(L.expires_in)}}}):Nx("seal.sso");K.push(V.public);let w=V.private?.token,Z=w?await DD("seal.whoami",async()=>{let z=await rZ0(`${J}/api/v1/auth/me`,{authorization:`Bearer ${w}`}),L=p5(z.data),D=p5(L.user??z.user),F=p5(L.tenant??z.tenant);return{public:{user:{id:c4(D.id),name:c4(D.name),isAdmin:fG1(D.isAdmin),providerUserId:c4(D.providerUserId)},tenant:{id:c4(F.id),name:c4(F.name),tenantSlug:c4(F.tenantSlug),hoseCorpConfig:bG1(F.hoseCorpConfig)}}}}):Nx("seal.whoami");return K.push(Z.public),{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:K.every((z)=>z.ok===!0),stages:K}}async function DD($,I){try{let U=await I();return{public:{name:$,ok:!0,...sZ0(U.public)},private:U.token?{token:U.token}:void 0}}catch(U){return{public:{name:$,ok:!1,error:ZG(U instanceof Error?U.message:String(U))}}}}function Nx($){return{public:{name:$,ok:!1,skipped:!0}}}async function oZ0($,I){let U=await fetch($,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(I)});return aZ0(U)}async function rZ0($,I={}){let U=await fetch($,{headers:I});return aZ0(U)}async function aZ0($){let I=await $.text();if(!$.ok)throw Error(`${$.status} ${I}`);let U=JSON.parse(I);return p5(U)}function p5($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function c4($){return typeof $==="string"&&$?$:void 0}function XG($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function fG1($){return typeof $==="boolean"?$:void 0}function bG1($){let I=p5($);return sZ0({corporationId:c4(I.corporationId),corporationName:c4(I.corporationName)})}function sZ0($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}async function eZ0($,I,U,Y){if($==="status"||$==="get"){await D0("seal_billing_status_get",I,U,{},V0(Y.options));return}if($==="plans"){await D0("seal_billing_plans_list",I,U,{},V0(Y.options));return}if($==="features"){await D0("seal_billing_features_list",I,U,{},V0(Y.options));return}throw Error(`Unknown billing command: ${$??""}. Run 'seal-use help' for available commands.`)}function $X0($,I,U){if($==="paths"){B0({candidates:a3(),globalConfigFile:s3()});return}if($==="get"||$==="status"){B0(qI());return}if($==="mode"){let Y=I??h(U.options.mode);if(!Y){B0(qI());return}let J=fZ0(Y),Q=h(U.options.corp),K=L4(),q=J?Q?ZJ(b8(),{stateful:!0,corpId:Q},a3()).id:K.defaultCorpId:void 0,G=e3({...K,stateful:J,...q?{defaultCorpId:q}:{}});B0(qI(G));return}if($==="lint"){let Y=I??h(U.options.state)??h(U.options.enable),J=L4(),Q=J.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(!Y||Y==="status"||Y==="get"){B0({lint:Q,configFile:s3()});return}let K=Q.enabled;if(Y==="enable"||Y==="on"||Y==="true")K=!0;else if(Y==="disable"||Y==="off"||Y==="false")K=!1;let q=h(U.options.linter)??Q.activeLinter,G=U.options.minScore!==void 0||U.options["min-score"]!==void 0?Number(U.options.minScore??U.options["min-score"]):Q.minScore,H={enabled:K,activeLinter:q,minScore:isNaN(G)?0:Math.max(0,Math.min(100,G))},W=e3({...J,lint:H});B0(qI(W));return}if($==="test-dir"||$==="test-enterprises-dir"){let Y=U.options.clear===!0||I==="--clear"||I==="clear",J=L4();if(Y){let q=e3({...J,testEnterprisesDir:void 0});B0(qI(q));return}let Q=I&&!I.startsWith("-")?I:h(U.options.path)??h(U.options.dir);if(!Q){B0({testEnterprisesDir:J.testEnterprisesDir??null,configFile:s3()});return}let K=e3({...J,testEnterprisesDir:Q});B0(qI(K));return}throw Error(`Unknown config command: ${$??""}. Available: paths, get, status, mode, lint, test-dir. Run 'seal-use help' for available commands.`)}async function IX0($,I,U,Y,J){if($==="sync-time"||$==="last-sync-time"){await D0("seal_contacts_last_sync_time_get",U,Y,{},V0(J.options));return}if($==="departments"||$==="department"){if(!I){await D0("seal_contacts_departments_root_list",U,Y,{},V0(J.options));return}await D0("seal_contacts_department_get",U,Y,{departmentId:I},V0(J.options));return}if($==="children"||$==="department-children"){if(!I)throw Error("Usage: seal-use contacts children ");await D0("seal_contacts_department_children_list",U,Y,{departmentId:I},V0(J.options));return}if($==="users"||$==="department-users"){if(!I)throw Error("Usage: seal-use contacts users ");await D0("seal_contacts_department_users_list",U,Y,{departmentId:I},V0(J.options));return}throw Error(`Unknown contacts command: ${$??""}. Run 'seal-use help' for available commands.`)}async function UX0($,I,U,Y){let J={offset:d0(Y.options.offset),limit:d0(Y.options.limit),startDate:h(Y.options.startDate)??h(Y.options["start-date"]),endDate:h(Y.options.endDate)??h(Y.options["end-date"]),search:h(Y.options.search)??h(Y.options.query)};if($==="expenses"||$==="expense"){await D0("seal_expenses_list",I,U,J,V0(Y.options));return}if($==="invoices"||$==="invoice"){await D0("seal_invoices_list",I,U,J,V0(Y.options));return}throw Error(`Unknown data command: ${$??""}. Run 'seal-use help' for available commands.`)}async function YX0($,I,U){await D0("seal_approval_context_get",$,I,{documentLimit:d0(U.options.documentLimit),...iZ0(h(U.options.ruleVersion))},V0(U.options))}import{existsSync as JX0,mkdirSync as QX0,writeFileSync as KX0}from"node:fs";import{join as qX0}from"node:path";async function EJ($){let[I,U]=await Promise.all([Ad($),Y4($)]),Y=await N$(U);return{...I,tenantId:Y.tenant.id,tenantSlug:Y.tenant.tenantSlug??I.tenantSlug,tenantName:Y.tenant.name,raw:{...typeof I.raw==="object"&&I.raw!==null?I.raw:{},user:{id:Y.user.id,name:Y.user.name,isAdmin:Y.user.isAdmin,providerUserId:Y.user.providerUserId,hosecloudStaff:Y.user.hosecloudStaff},tenant:Y.tenant}}}async function GX0($,I,U){if($==="list"){let Y=h(U.options.corp),J=b8(),Q=L4(),K=Y??(Q.stateful?Q.defaultCorpId??J[0]?.id:void 0);if(J.length===0)console.error("提示:当前未检测到企业配置。你可以使用 seal-use corps add-hose 或 seal-use corps add-seal 添加企业,或运行 seal-use help 查看说明。");B0(J.map((q)=>({id:q.id,name:q.name,sourceType:q.source.type,provider:q.source.provider??q.source.type,current:q.id===K})));return}if($==="current"){let Y=D4(h(U.options.corp));B0({id:Y.id,name:Y.name,sourceType:Y.source.type,provider:Y.source.provider??Y.source.type});return}if($==="switch"){let Y=I;if(!Y)throw Error("Usage: seal-use corps switch ");let J=L4();if(!J.stateful)throw Error("Cannot switch the default enterprise while stateless mode is enabled. Use `seal-use config mode stateful` first.");let Q=D4(Y);e3({...J,stateful:!0,defaultCorpId:Q.id}),B0({current:!0,id:Q.id,name:Q.name});return}if($==="probe-hose"){await iG1(t6(U.json));return}if($==="hose-staffs"){await nG1(t6(U.json));return}if($==="add-hose"){await pG1(t6(U.json));return}if($==="add-seal"){await cG1(t6(U.json));return}if($==="add-link"){let Y=I??h(U.options.link)??h(U.options.url);if(!Y)throw Error("Usage: seal-use corps add-link [--name ] [--overwrite]");await dG1(Y,h(U.options.name),N0(U.options.overwrite)===!0);return}throw Error(`Unknown corps command: ${$??""}. Run 'seal-use help' for available commands.`)}async function iG1($){let I=z7($,"appKey"),U=z7($,"appSecurity"),Y=i1($,"domain"),J=await zU(I,U,Y),Q=await vV(J.domain,J.openapiToken).catch(()=>[]),K=Q.reduce((q,G)=>q+G.roleDefs.length,0);B0({domain:J.domain,corpId:J.corpId,name:J.corpName??J.corpId,roleCount:K,roleGroups:Q.map((q)=>({id:q.id,name:q.name,roleDefs:q.roleDefs.map((G)=>({id:G.id,name:G.name,sourceType:G.sourceType}))}))})}async function nG1($){let I=z7($,"appKey"),U=z7($,"appSecurity"),Y=i1($,"domain"),J=i1($,"role")??i1($,"roleDefId")??"admin",Q=await zU(I,U,Y),K=await vV(Q.domain,Q.openapiToken),q,G;for(let V of K){for(let w of V.roleDefs)if(w.id===J||w.id===`${Q.corpId}:${J}`){q=w.id,G=w.name;break}if(q)break}if(!q&&(J==="admin"||J==="主管理员"))for(let V of K){for(let w of V.roleDefs)if(w.id.endsWith(":admin")||w.name==="主管理员"){q=w.id,G=w.name;break}if(q)break}if(!q)for(let V of K){for(let w of V.roleDefs)if(w.name.toLowerCase().includes(J.toLowerCase())){q=w.id,G=w.name;break}if(q)break}if(!q)throw Error(`Role not found matching query: '${J}'. Run 'seal-use corps probe-hose' to view all available roles.`);let H=await FE(Q.domain,Q.openapiToken,q),W=await NE(Q.domain,Q.openapiToken,H.staffs);B0({domain:Q.domain,corpId:Q.corpId,corpName:Q.corpName??Q.corpId,roleId:q,roleName:G,count:W.length,staffs:W.map((V)=>({id:V.id,name:V.name,cellphone:V.cellphone,active:V.active,authState:V.authState,userId:V.userId,email:V.email}))})}async function pG1($){let I=i1($,"name"),U=z7($,"appKey"),Y=z7($,"appSecurity"),J=i1($,"domain"),Q=i1($,"staffId")??i1($,"proxyStaffBizId"),K=i1($,"staffName"),q=i1($,"staffPhone"),G=i1($,"role")??"admin",H=$.force===!0,W=H||$.verify===!1?!1:!0,V=J,w=i1($,"corpId")??i1($,"corporationId"),Z=I,z;if(!V||!w||!Q){let u=await zU(U,Y,J);V=u.domain,w=w??u.corpId,Z=Z??u.corpName,z=u.openapiToken}let L=Q;if(!L&&z&&V){let u=await vV(V,z).catch(()=>[]),g;for(let b of u){for(let C of b.roleDefs)if(C.id.endsWith(`:${G}`)||C.name===G||C.id===G){g=C.id;break}if(g)break}if(!g)g=u.find((b)=>b.roleDefs.some((C)=>C.id.endsWith(":admin")))?.roleDefs.find((b)=>b.id.endsWith(":admin"))?.id;if(g){let b=await FE(V,z,g).catch(()=>({staffs:[]})),C=await NE(V,z,b.staffs).catch(()=>[]);if(K||q){let p=C.filter((n)=>{if(K&&n.name!==K&&!n.name.includes(K))return!1;if(q&&(!n.cellphone||!n.cellphone.includes(q)))return!1;return!0});if(p.length===1&&p[0])L=p[0].id;else if(p.length>1)throw Error(`Multiple staff members matched '${K??q}': ${p.map((n)=>`${n.name}(${n.id})`).join(", ")}. Please specify exact staffId.`);else throw Error(`No staff member found matching '${K??q}' under role ${g}. Run 'seal-use corps hose-staffs' to view candidates.`)}else if(!H){let p=C.map((n)=>`${n.name} (${n.cellphone||"no-phone"}, id: ${n.id}, active: ${n.active})`).join(` - `);throw Error(`Missing required parameter: staffId. Found ${C.length} candidate administrators: - ${p} -Please specify 'staffId', 'staffName', or 'staffPhone' to explicitly select an account (or pass force:true to bypass).`)}}}if(!L)if(!W&&Q)L=Q;else throw Error("Missing required parameter: staffId (or proxyStaffBizId). Run 'seal-use corps hose-staffs' to discover available administrators.");let D=i1($,"id")??z,N=Z??z,E=i1($,"sealUrl")??`https://${z.toLowerCase()}.sealai.cc`,T={id:D,name:N,seal:{url:E,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"hose",domain:V,appKey:U,appSecurity:Y,corpId:z,staffId:L},auth:{refreshTtl:300}};if(W)OV(D),await AJ(T);let A=ny();Oz0(A,{recursive:!0,mode:448});let v=Fz0(A,`${eh(D)}.json`);if(Dz0(v)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${v}. Pass "overwrite": true to replace it.`);Nz0(v,`${JSON.stringify(T,null,2)} -`,{mode:384}),E0({id:D,name:N,corpId:z,domain:V,staffId:L,verified:W,path:v})}async function rq1($){let I=z7($,"token"),U=(i1($,"sealUrl")??i1($,"url")??"").replace(/\/+$/,"");if(!U)throw Error("Missing required JSON field: sealUrl");let Y=$z0($,"expiresIn")??2592000,J=$.force===!0||$.verify===!1?!1:!0,Q=J?await aq1(U,I):void 0;Az0($,{token:I,sealUrl:U,expiresIn:Y,verify:J,remote:Q})}async function tq1($,I,U){let Y=await NV($),J=K2(Y.sealUrl,Y.token),Q=await N$(J),K={user:Q.user,tenant:Q.tenant};FV(Y.corpId,K.tenant),Az0({id:Y.corpId,corpId:Y.corpId,name:I,provider:"hosecloud",overwrite:U},{token:Y.token,sealUrl:Y.sealUrl,expiresIn:Y.expiresIn,verify:!0,remote:K})}function Az0($,I){let{token:U,sealUrl:Y,expiresIn:J,verify:Q,remote:K}=I,q=K?.user,G=K?.tenant,H=i1($,"tenantSlug")??X7(G?.tenantSlug),W=i1($,"tenantId")??X7(G?.id),V=i1($,"tenantName")??X7(G?.name),z=i1($,"id")??H??W;if(!z)throw Error("Missing required JSON field: id. Seal whoami did not return tenantSlug or tenantId.");let Z=i1($,"staffId")??X7(q?.providerUserId)??X7(q?.id)??"seal",w=i1($,"provider")??X7(q?.provider)??X7(G?.providerConfig?.provider),L=i1($,"corpId")??H??W??z,D={id:z,name:i1($,"name")??V??z,seal:{url:Y,tenantSlug:H,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"seal",token:U,sealUrl:Y,expiresIn:J,staffId:Z,corpId:L,tenantId:W,tenantSlug:H,tenantName:V,providerUserId:X7(q?.providerUserId),provider:w},auth:{refreshTtl:300}},N=ny();Oz0(N,{recursive:!0,mode:448});let E=Fz0(N,`${eh(z)}.json`);if(Dz0(E)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${E}. Pass "overwrite": true to replace it.`);Nz0(E,`${JSON.stringify(D,null,2)} -`,{mode:384}),E0({id:z,name:D.name,tenantId:W,tenantSlug:H,verified:Q,path:E})}async function aq1($,I){let U=await sq1(`${$}/api/v1/auth/me`,{authorization:`Bearer ${I}`}),Y=QD(U.data);return{user:QD(Y.user??U.user),tenant:QD(Y.tenant??U.tenant)}}async function sq1($,I={}){let U=await fetch($,{headers:I}),Y=await U.text();if(!U.ok)throw Error(`${U.status} ${Y}`);let J=JSON.parse(Y);return QD(J)}function QD($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function X7($){return typeof $==="string"&&$?$:void 0}async function Pz0($,I){let U=await NV($),Y=K2(U.sealUrl,U.token),J=await N$(Y);FV(U.corpId,J.tenant);let Q=await wU(Y,{note:I});E0({tenant:{id:J.tenant.id,name:J.tenant.name,tenantSlug:J.tenant.tenantSlug,corpId:U.corpId},user:{id:J.user.id,name:J.user.name,providerUserId:J.user.providerUserId,isAdmin:J.user.isAdmin},delegation:Q,expiresIn:U.expiresIn})}async function Tz0($,I,U,Y,J){if($==="list"){await N0("seal_delegation_list",U,Y,{},D0(J.options));return}if($==="create"){let Q=h(J.options.note)??(I?[I,...J.command.slice(2)].join(" "):void 0);await N0("seal_delegation_create",U,Y,{note:Q},D0(J.options));return}if($==="revoke"){let Q=I??h(J.options.tokenId);if(!Q)throw Error("Usage: seal-use delegation revoke ");await N0("seal_delegation_revoke",U,Y,{tokenId:Q},D0(J.options));return}throw Error(`Unknown delegation command: ${$??""}. Run 'seal-use help' for available commands.`)}import{readFileSync as eq1}from"node:fs";async function Ez0($,I,U,Y,J,Q){if(!$||$==="help")throw Error(`Usage: seal-use deploy [options] +Please specify 'staffId', 'staffName', or 'staffPhone' to explicitly select an account (or pass force:true to bypass).`)}}}if(!L)if(!W&&Q)L=Q;else throw Error("Missing required parameter: staffId (or proxyStaffBizId). Run 'seal-use corps hose-staffs' to discover available administrators.");let D=i1($,"id")??w,F=Z??w,E=i1($,"sealUrl")??`https://${w.toLowerCase()}.sealai.cc`,T={id:D,name:F,seal:{url:E,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"hose",domain:V,appKey:U,appSecurity:Y,corpId:w,staffId:L},auth:{refreshTtl:300}};if(W)AV(D),await EJ(T);let A=Jh();QX0(A,{recursive:!0,mode:448});let R=qX0(A,`${zx(D)}.json`);if(JX0(R)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${R}. Pass "overwrite": true to replace it.`);KX0(R,`${JSON.stringify(T,null,2)} +`,{mode:384}),B0({id:D,name:F,corpId:w,domain:V,staffId:L,verified:W,path:R})}async function cG1($){let I=z7($,"token"),U=(i1($,"sealUrl")??i1($,"url")??"").replace(/\/+$/,"");if(!U)throw Error("Missing required JSON field: sealUrl");let Y=uZ0($,"expiresIn")??2592000,J=$.force===!0||$.verify===!1?!1:!0,Q=HX0($),K=J?await mG1(U,I,H2(Q)):void 0;WX0($,{token:I,sealUrl:U,expiresIn:Y,verify:J,remote:K,custom:Q})}function HX0($){return{headers:$h.parse($.headers),cookies:Ih.parse($.cookies)}}async function dG1($,I,U){let Y=await PV($),J=W2(Y.sealUrl,Y.token),Q=await N$(J),K={user:Q.user,tenant:Q.tenant};TV(Y.corpId,K.tenant),WX0({id:Y.corpId,corpId:Y.corpId,name:I,provider:"hosecloud",overwrite:U},{token:Y.token,sealUrl:Y.sealUrl,expiresIn:Y.expiresIn,verify:!0,remote:K})}function WX0($,I){let{token:U,sealUrl:Y,expiresIn:J,verify:Q,remote:K}=I,q=I.custom??HX0($),G=K?.user,H=K?.tenant,W=i1($,"tenantSlug")??L7(H?.tenantSlug),V=i1($,"tenantId")??L7(H?.id),w=i1($,"tenantName")??L7(H?.name),Z=i1($,"id")??W??V;if(!Z)throw Error("Missing required JSON field: id. Seal whoami did not return tenantSlug or tenantId.");let z=i1($,"staffId")??L7(G?.providerUserId)??L7(G?.id)??"seal",L=i1($,"provider")??L7(G?.provider)??L7(H?.providerConfig?.provider),D=i1($,"corpId")??W??V??Z,F={id:Z,name:i1($,"name")??w??Z,seal:{url:Y,tenantSlug:W,headers:q.headers,cookies:q.cookies,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"seal",token:U,sealUrl:Y,expiresIn:J,staffId:z,corpId:D,tenantId:V,tenantSlug:W,tenantName:w,providerUserId:L7(G?.providerUserId),provider:L},auth:{refreshTtl:300}},E=Jh();QX0(E,{recursive:!0,mode:448});let T=qX0(E,`${zx(Z)}.json`);if(JX0(T)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${T}. Pass "overwrite": true to replace it.`);KX0(T,`${JSON.stringify(F,null,2)} +`,{mode:384}),B0({id:Z,name:F.name,tenantId:V,tenantSlug:W,verified:Q,path:T})}async function mG1($,I,U={}){let Y=await lG1(`${$}/api/v1/auth/me`,{...U,authorization:`Bearer ${I}`}),J=OD(Y.data);return{user:OD(J.user??Y.user),tenant:OD(J.tenant??Y.tenant)}}async function lG1($,I={}){let U=await fetch($,{headers:I}),Y=await U.text();if(!U.ok)throw Error(`${U.status} ${Y}`);let J=JSON.parse(Y);return OD(J)}function OD($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function L7($){return typeof $==="string"&&$?$:void 0}async function VX0($,I){let U=await PV($),Y=W2(U.sealUrl,U.token),J=await N$(Y);TV(U.corpId,J.tenant);let Q=await DU(Y,{note:I});B0({tenant:{id:J.tenant.id,name:J.tenant.name,tenantSlug:J.tenant.tenantSlug,corpId:U.corpId},user:{id:J.user.id,name:J.user.name,providerUserId:J.user.providerUserId,isAdmin:J.user.isAdmin},delegation:Q,expiresIn:U.expiresIn})}async function wX0($,I,U,Y,J){if($==="list"){await D0("seal_delegation_list",U,Y,{},V0(J.options));return}if($==="create"){let Q=h(J.options.note)??(I?[I,...J.command.slice(2)].join(" "):void 0);await D0("seal_delegation_create",U,Y,{note:Q},V0(J.options));return}if($==="revoke"){let Q=I??h(J.options.tokenId);if(!Q)throw Error("Usage: seal-use delegation revoke ");await D0("seal_delegation_revoke",U,Y,{tokenId:Q},V0(J.options));return}throw Error(`Unknown delegation command: ${$??""}. Run 'seal-use help' for available commands.`)}import{readFileSync as oG1}from"node:fs";async function ZX0($,I,U,Y,J,Q){if(!$||$==="help")throw Error(`Usage: seal-use deploy [options] `+`支持的审批系统与发布目标: `+` • hosecloud (合思费控): seal-use deploy hosecloud --corp @@ -439,25 +448,25 @@ Please specify 'staffId', 'staffName', or 'staffPhone' to explicitly select an a `+` • feishu (飞书审批): 建议使用 Webhook 模式对接 `+` • weaver (泛微 OA): 建议使用 Webhook 模式对接 `+` • helios (汇联易): 建议使用 Webhook 模式对接 -`+" • maycur (每刻报销): 建议使用 Webhook 模式对接");if($==="webhook"||$==="webhooks")throw Error("Webhook 审批流发布请直接使用专有命令:seal-use webhook --corp ");if($==="feishu"||$==="lark")throw Error("飞书审批发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '飞书审批' --result-url --corp ");if($==="weaver")throw Error("泛微 OA 发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '泛微OA' --result-url --corp ");if($==="maycur"||$==="helios"){let H=$==="maycur"?"每刻报销":"汇联易";throw Error(`${H}发布:目前可通过 Webhook 模式接入。命令:seal-use webhook add --name '${H}' --result-url --corp `)}let K=$==="hosecloud",q=$==="hosecloud"?I:$,G=$==="hosecloud"?U:I;if(!K)throw Error(`未知的发布目标系统: ${$}。当前支持: hosecloud (合思费控) 与 webhook (通用回调)。`);if(q==="requirements"){await N0("seal_deploy_hosecloud_requirements",Y,J,{},D0(Q.options));return}if(q==="list"){await N0("seal_deploy_hosecloud_list",Y,J,{},D0(Q.options));return}if(q==="get"){let H=G??h(Q.options.signKey)??h(Q.options["sign-key"]);if(!H){let V=((await q4(Y)).integrations??[]).filter((z)=>z.type==="hosecloud");if(V.length===0)throw Error(`当前企业 (${J.name}) 尚未添加合思发布配置。 +`+" • maycur (每刻报销): 建议使用 Webhook 模式对接");if($==="webhook"||$==="webhooks")throw Error("Webhook 审批流发布请直接使用专有命令:seal-use webhook --corp ");if($==="feishu"||$==="lark")throw Error("飞书审批发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '飞书审批' --result-url --corp ");if($==="weaver")throw Error("泛微 OA 发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '泛微OA' --result-url --corp ");if($==="maycur"||$==="helios"){let H=$==="maycur"?"每刻报销":"汇联易";throw Error(`${H}发布:目前可通过 Webhook 模式接入。命令:seal-use webhook add --name '${H}' --result-url --corp `)}let K=$==="hosecloud",q=$==="hosecloud"?I:$,G=$==="hosecloud"?U:I;if(!K)throw Error(`未知的发布目标系统: ${$}。当前支持: hosecloud (合思费控) 与 webhook (通用回调)。`);if(q==="requirements"){await D0("seal_deploy_hosecloud_requirements",Y,J,{},V0(Q.options));return}if(q==="list"){await D0("seal_deploy_hosecloud_list",Y,J,{},V0(Q.options));return}if(q==="get"){let H=G??h(Q.options.signKey)??h(Q.options["sign-key"]);if(!H){let V=((await n1(Y)).integrations??[]).filter((w)=>w.type==="hosecloud");if(V.length===0)throw Error(`当前企业 (${J.name}) 尚未添加合思发布配置。 `+`\uD83D\uDC49 请先运行配置命令:seal-use deploy hosecloud configure --json '{...}' --corp ${J.id}`);console.error(`Usage: seal-use deploy hosecloud get [--corp ${J.id}] -`),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let z of V){let Z=z.outboundName??"SealAI 审批",w=z.signKey,L=z.apiOrigin??"production";console.error(` • "${Z}" (signKey: ${w}, 环境: ${L})`),console.error(` \uD83D\uDC49 查看命令: seal-use deploy hosecloud get ${w} --corp ${J.id} -`)}throw Error("缺少必需参数 。请从上述候选列表中选择并指定 signKey。")}await N0("seal_deploy_hosecloud_get",Y,J,{signKey:H},D0(Q.options));return}if(q==="status"){await N0("seal_deploy_hosecloud_status",Y,J,{},D0(Q.options));return}if(q==="configure"){let H=h(Q.options.input),W=H?JSON.parse(eq1(H,"utf8")):t6(Q.json);if(!W||Object.keys(W).length===0)throw Error("Usage: seal-use deploy hosecloud configure --json '{...}' or --input ");await N0("seal_deploy_hosecloud_configure",Y,J,W,D0(Q.options));return}if(q==="sync"){let H=G??h(Q.options.signKey)??h(Q.options["sign-key"]),W=_0(Q.options.auto)??_0(Q.options.yes);if(!H){let z=((await q4(Y)).integrations??[]).filter((w)=>w.type==="hosecloud");if(z.length===0)throw Error(`当前企业 (${J.name}) 尚未添加合思发布配置。 -`+`\uD83D\uDC49 请先运行配置命令:seal-use deploy hosecloud configure --json '{...}' --corp ${J.id}`);let Z=z[0];if(Z&&z.length===1&&W){let w=Z.signKey;console.error(`ℹ️ [auto] 检测到企业仅有 1 个合思配置,已自动选择 (signKey: ${w})`),await N0("seal_deploy_hosecloud_sync",Y,J,{signKey:w},D0(Q.options));return}console.error(`Usage: seal-use deploy hosecloud sync [--corp ${J.id}] -`),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let w of z){let L=w.outboundName??"SealAI 审批",D=w.signKey,N=w.apiOrigin??"production";console.error(` • "${L}" (signKey: ${D}, 环境: ${N})`),console.error(` \uD83D\uDC49 同步命令: seal-use deploy hosecloud sync ${D} --corp ${J.id} -`)}if(z.length===1)console.error(`\uD83D\uDCA1 提示:若希望单配置自动同步,可附加 --auto 参数:seal-use deploy hosecloud sync --auto --corp ${J.id} -`);throw Error("缺少必需参数 。请从上述候选列表中选择并指定 signKey 执行同步。")}await N0("seal_deploy_hosecloud_sync",Y,J,{signKey:H},D0(Q.options));return}throw Error(`Unknown deploy hosecloud action: ${q??""}. Available: requirements, list, get, status, configure, sync.`)}import{createServer as JG1}from"node:http";import{URL as IG1}from"node:url";var Bz0={openapi:"3.1.0",info:{title:"seal-use Wrapped API",version:"0.10.13",description:`Planned HTTP contract for the seal-use wrapped backend API. +`),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let w of V){let Z=w.outboundName??"SealAI 审批",z=w.signKey,L=w.apiOrigin??"production";console.error(` • "${Z}" (signKey: ${z}, 环境: ${L})`),console.error(` \uD83D\uDC49 查看命令: seal-use deploy hosecloud get ${z} --corp ${J.id} +`)}throw new c8("缺少必需参数 。请从上述候选列表中选择并指定 signKey。",2,V.length===1?`seal-use deploy hosecloud get ${V[0].signKey} --corp ${J.id}`:void 0)}await D0("seal_deploy_hosecloud_get",Y,J,{signKey:H},V0(Q.options));return}if(q==="status"){await D0("seal_deploy_hosecloud_status",Y,J,{},V0(Q.options));return}if(q==="configure"){let H=h(Q.options.input),W=H?JSON.parse(oG1(H,"utf8")):t6(Q.json);if(!W||Object.keys(W).length===0)throw Error("Usage: seal-use deploy hosecloud configure --json '{...}' or --input ");await D0("seal_deploy_hosecloud_configure",Y,J,{...W,dryRun:N0(Q.options.dryRun)??N0(Q.options["dry-run"])},V0(Q.options));return}if(q==="sync"){let H=G??h(Q.options.signKey)??h(Q.options["sign-key"]),W=N0(Q.options.auto)??N0(Q.options.yes);if(!H){let w=((await n1(Y)).integrations??[]).filter((z)=>z.type==="hosecloud");if(w.length===0)throw Error(`当前企业 (${J.name}) 尚未添加合思发布配置。 +`+`\uD83D\uDC49 请先运行配置命令:seal-use deploy hosecloud configure --json '{...}' --corp ${J.id}`);let Z=w[0];if(Z&&w.length===1&&W){let z=Z.signKey;console.error(`ℹ️ [auto] 检测到企业仅有 1 个合思配置,已自动选择 (signKey: ${z})`),await D0("seal_deploy_hosecloud_sync",Y,J,{signKey:z},V0(Q.options));return}console.error(`Usage: seal-use deploy hosecloud sync [--corp ${J.id}] +`),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let z of w){let L=z.outboundName??"SealAI 审批",D=z.signKey,F=z.apiOrigin??"production";console.error(` • "${L}" (signKey: ${D}, 环境: ${F})`),console.error(` \uD83D\uDC49 同步命令: seal-use deploy hosecloud sync ${D} --corp ${J.id} +`)}if(w.length===1)console.error(`\uD83D\uDCA1 提示:若希望单配置自动同步,可附加 --auto 参数:seal-use deploy hosecloud sync --auto --corp ${J.id} +`);throw new c8("缺少必需参数 。请从上述候选列表中选择并指定 signKey 执行同步。",2,w.length===1?`seal-use deploy hosecloud sync ${w[0].signKey} --corp ${J.id}`:void 0)}await D0("seal_deploy_hosecloud_sync",Y,J,{signKey:H},V0(Q.options));return}throw Error(`Unknown deploy hosecloud action: ${q??""}. Available: requirements, list, get, status, configure, sync.`)}import{createServer as eG1}from"node:http";import{URL as tG1}from"node:url";var XX0={openapi:"3.1.0",info:{title:"seal-use Wrapped API",version:"0.10.14",description:`Planned HTTP contract for the seal-use wrapped backend API. These endpoints describe the intended stable API for frontend developers and agents once the HTTP adapter is implemented. They are not the raw downstream Seal endpoints. seal-use is responsible for enterprise selection, source authentication, response compaction, and diagnostics-friendly fields. -`},servers:[{url:"http://localhost:8787",description:"Reserved for a future local HTTP adapter; the current service uses MCP stdio."}],security:[{localSession:[]}],tags:[{name:"Corps",description:"Local enterprise configuration selection."},{name:"Source",description:"Source-derived Seal enterprise configuration."},{name:"Auth",description:"Wrapped authentication diagnostics and current identity."},{name:"Approval Runs",description:"Wrapped approval run history, summaries, document URLs, and trace bridge helpers."},{name:"Approval Knowledge",description:"Wrapped approval rules, documents, preferences, and search."},{name:"Simulation",description:"Wrapped simulation batch record access."}],paths:{"/v1/corps":{get:{tags:["Corps"],operationId:"listCorps",summary:"List configured enterprises",responses:{"200":{description:"Configured enterprises.",content:{"application/json":{schema:{type:"array",items:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}}},"/v1/corps/current":{get:{tags:["Corps"],operationId:"getCurrentCorp",summary:"Get current enterprise",description:"Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.",responses:{"200":{description:"Current enterprise.",content:{"application/json":{schema:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}},"/v1/corps/current/switch":{post:{tags:["Corps"],operationId:"switchCurrentCorp",summary:"Switch current enterprise",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}}}}},responses:{"200":{description:"Switched enterprise.",content:{"application/json":{schema:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}}}}},"404":{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/source/config":{get:{tags:["Source"],operationId:"getSourceConfig",summary:"Resolve source-derived Seal enterprise config",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Redacted Seal enterprise config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/auth/diagnose":{get:{tags:["Auth"],operationId:"diagnoseAuth",summary:"Diagnose wrapped source-to-Seal authentication",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Authentication stage diagnosis.",content:{"application/json":{schema:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}}}}}}}},"/v1/whoami":{get:{tags:["Auth"],operationId:"whoami",summary:"Get current wrapped Seal identity",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current Seal user and tenant.",content:{"application/json":{schema:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/session":{get:{tags:["Auth"],operationId:"getSession",summary:"Get current wrapped Seal session metadata",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current session metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/approval/context":{get:{tags:["Approval Knowledge"],operationId:"getApprovalContext",summary:"Get rules, documents, and style preferences together",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"documentLimit",in:"query",schema:{type:"integer",minimum:1}},{name:"latestRuleVersion",in:"query",schema:{type:"boolean"}},{name:"ruleVersionNumber",in:"query",schema:{type:"integer"}}],responses:{"200":{description:"Approval context.",content:{"application/json":{schema:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}}}}}}}},"/v1/approval/search":{post:{tags:["Approval Knowledge"],operationId:"searchApprovalKnowledge",summary:"Search approval rules, documents, and preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}}}}},responses:{"200":{description:"Search results with line context.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rules":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRules",summary:"List current draft approval rules",responses:{"200":{description:"Draft rules.",content:{"application/json":{schema:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalRule",summary:"Create draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Created rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}}},"/v1/approval/rules/{ruleId}":{parameters:[{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."}],patch:{tags:["Approval Knowledge"],operationId:"updateApprovalRule",summary:"Update draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Updated rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalRule",summary:"Delete draft approval rule",responses:{"200":{description:"Deleted."}}}},"/v1/approval/rule-versions":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRuleVersions",summary:"List published approval rule versions",responses:{"200":{description:"Published rule versions.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}}},"/v1/approval/rule-versions/{versionId}":{parameters:[{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleVersion",summary:"Get published approval rule version",responses:{"200":{description:"Rule version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval/rules/by-version":{get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleByVersion",summary:"Get one wrapped rule from a published version",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"versionNumber",in:"query",schema:{type:"integer"}},{name:"versionId",in:"query",schema:{type:"string"}},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"code",in:"query",schema:{type:"string"},description:"Display rule code such as '#0038'."},{name:"runtimeId",in:"query",schema:{type:"string"},description:"Runtime rule ID such as rule-205."},{name:"recordId",in:"query",schema:{type:"string"},description:"Infer versionNumber from an approval run."}],responses:{"200":{description:"One rule from a published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rule-versions/publish":{post:{tags:["Approval Knowledge"],operationId:"publishApprovalRuleVersion",summary:"Publish current draft rules",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}}}}},responses:{"200":{description:"Published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/documents":{get:{tags:["Approval Knowledge"],operationId:"listApprovalDocuments",summary:"List approval knowledge documents",parameters:[{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,default:20}},{name:"scenario",in:"query",schema:{type:"array",items:{type:"string"}},style:"form",explode:!0}],responses:{"200":{description:"Documents.",content:{"application/json":{schema:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalDocument",summary:"Create approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Created document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/documents/{documentId}":{parameters:[{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalDocument",summary:"Get approval knowledge document",responses:{"200":{description:"Document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalDocument",summary:"Update approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Updated document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/style-preferences":{get:{tags:["Approval Knowledge"],operationId:"getApprovalStylePreferences",summary:"Get approval style preferences",responses:{"200":{description:"Style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalStylePreferences",summary:"Update approval style preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}},responses:{"200":{description:"Updated style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/approval-runs":{get:{tags:["Approval Runs"],operationId:"searchApprovalRuns",summary:"Search wrapped approval run history",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"startDate",in:"query",schema:{type:"string"},description:"Creation-time lower bound in milliseconds."},{name:"endDate",in:"query",schema:{type:"string"},description:"Creation-time upper bound in milliseconds."},{name:"status",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}},{name:"manualApprovalStatus",in:"query",schema:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"},description:"Hose/易快报单号 or other external source document number."},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"},description:"Local human result contains filter, such as 驳回 or 通过."},{name:"query",in:"query",schema:{type:"string"},description:"Search across record ID, source document fields, document ID, and trace fields."},{name:"includeBridge",in:"query",schema:{type:"boolean",default:!1},description:"Include full Langfuse bridge rows."}],responses:{"200":{description:"Compact wrapped approval run list.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/summary":{get:{tags:["Approval Runs"],operationId:"summarizeApprovalRuns",summary:"Summarize approval runs by local date",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"date",in:"query",schema:{type:"string",format:"date"}},{name:"timezone",in:"query",schema:{type:"string",default:"Asia/Shanghai"}},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"query",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Date summary with counts and compact records.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}}}}}}}},"/v1/approval-runs/pick":{get:{tags:["Approval Runs"],operationId:"pickApprovalRuns",summary:"Pick likely approval runs by document number or trace key",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"query",in:"query",schema:{type:"string"}},{name:"sn",in:"query",schema:{type:"string"},description:"Source document number for direct lookup."},{name:"batch",in:"query",schema:{type:"string"},description:"Optional simulation batch ID."},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated response fields."},{name:"limit",in:"query",schema:{type:"integer",default:20}},{name:"maxScan",in:"query",schema:{type:"integer",default:1000}}],responses:{"200":{description:"Picked records and suggested next actions.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/bridge":{get:{tags:["Approval Runs"],operationId:"getApprovalRunLangfuseBridge",summary:"Resolve approval runs to Langfuse trace or session hints",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"simulationBatchId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Trace/session bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/url":{get:{tags:["Approval Runs"],operationId:"getApprovalRunUrl",summary:"Get enterprise assist URL and optional source document URL",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Enterprise and document URLs.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}}}}}}}},"/v1/approval-runs/{recordId}":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRun",summary:"Get wrapped approval run detail",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated field paths such as metadata,document.fields,result.summary."}],responses:{"200":{description:"Approval run detail plus stable aliases and human result.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/cited-rules":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunCitedRules",summary:"Extract rules cited or matched by the AI result",responses:{"200":{description:"Cited rule summaries.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/document-summary":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunDocumentSummary",summary:"Get key document fields and compact AI/manual result",responses:{"200":{description:"Document summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/attachments":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunAttachments",summary:"List compact attachment metadata",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"Attachment metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/result":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunResult",summary:"Get AI result, optionally as a compact summary",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"AI result or summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-batch":{post:{tags:["Simulation"],operationId:"createSimulationBatch",summary:"Create a simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-material-pack-batch":{post:{tags:["Simulation"],operationId:"createMaterialPackBatch",summary:"Create a material pack simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches":{get:{tags:["Simulation"],operationId:"listSimulationBatches",summary:"List simulation batches",parameters:[{name:"limit",in:"query",schema:{type:"integer"},description:"Max batches to return."}],responses:{"200":{description:"Simulation batches.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/batch/{batchId}":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatch",summary:"Get a simulation batch detail including echoed create params",responses:{"200":{description:"Simulation batch detail.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches/{batchId}/records":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatchRecords",summary:"Get wrapped simulation batch records",parameters:[{name:"query",in:"query",schema:{type:"string"},description:"Optional local contains filter for record/document/trace identifiers."}],responses:{"200":{description:"Compact simulation records and bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/templates":{get:{tags:["Simulation"],operationId:"listSimulationTemplates",summary:"List simulation test templates",responses:{"200":{description:"Simulation templates.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/integration-status":{get:{tags:["Simulation"],operationId:"getSimulationIntegrationStatus",summary:"Get available source integration status for simulation",responses:{"200":{description:"Integration status.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/hosecloud-integrations":{get:{tags:["Simulation"],operationId:"listSimulationHosecloudIntegrations",summary:"List hosecloud source integrations available for simulation",responses:{"200":{description:"Hosecloud integrations.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/material-packages/upload":{post:{tags:["Simulation"],operationId:"uploadMaterialPackage",summary:"Upload a material package ZIP for simulation",requestBody:{required:!0,content:{"multipart/form-data":{schema:{type:"object",properties:{file:{type:"string",format:"binary"}}}}}},responses:{"200":{description:"Parsed material package with schema config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}}},components:{securitySchemes:{localSession:{type:"apiKey",in:"header",name:"X-Seal-Home-Session",description:"Optional local service session header for future HTTP deployments."}},parameters:{CorpId:{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},Offset:{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},Limit:{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},RuleId:{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."},VersionId:{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."},DocumentId:{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."},RecordId:{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."},BatchId:{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}},responses:{BadRequest:{description:"Invalid request.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},Unauthorized:{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},NotFound:{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}},schemas:{ErrorResponse:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}},CorpSummary:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}},SwitchCorpRequest:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}},SwitchCorpResponse:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}},SourceConfig:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."},AuthStage:{type:"object",additionalProperties:!0,required:["name","ok"],properties:{name:{type:"string",examples:["hose.openapi","hose.provisional","seal.sso","seal.whoami"]},ok:{type:"boolean"},error:{type:"string"}}},AuthDiagnosis:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}},SealUser:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},tenantId:{type:"string"},name:{type:"string"},isAdmin:{type:"boolean"},permissions:{type:"array",items:{type:"string"}}}},SealTenant:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},name:{type:"string"},tenantSlug:{type:"string"}}},WhoamiResponse:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}},SessionResponse:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}},ApprovalRule:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}},ApprovalRuleInput:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulePatch:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulesResponse:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}},RuleSetVersion:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}},PublishRuleVersionRequest:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}},ApprovalDocument:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentInput:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentPatch:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentsResponse:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}},ApprovalStylePreferences:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}},ApprovalContext:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}},ApprovalSearchRequest:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}},ApprovalSearchResponse:{type:"object",additionalProperties:!0},ApprovalRun:{type:"object",additionalProperties:!0,required:["id"],properties:{id:{type:"string"},sourceDocumentSN:{type:"string",description:"External document number, often Hose/易快报单号."},sourceDocumentId:{type:"string"},status:{type:"string"},taskMode:{type:"string"},finalExecutionMode:{type:"string"},ruleSetVersionNumber:{type:"integer"},langfuseTraceId:{type:"string"},langfuseSessionFallback:{type:"string"}}},ApprovalRunsResponse:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}},ApprovalRunsSummary:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}},RunUrlResponse:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}},BridgeResponse:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}};function KD(){return Bz0}function Rz0(){return` +`},servers:[{url:"http://localhost:8787",description:"Reserved for a future local HTTP adapter; the current service uses MCP stdio."}],security:[{localSession:[]}],tags:[{name:"Corps",description:"Local enterprise configuration selection."},{name:"Source",description:"Source-derived Seal enterprise configuration."},{name:"Auth",description:"Wrapped authentication diagnostics and current identity."},{name:"Approval Runs",description:"Wrapped approval run history, summaries, document URLs, and trace bridge helpers."},{name:"Approval Knowledge",description:"Wrapped approval rules, documents, preferences, and search."},{name:"Simulation",description:"Wrapped simulation batch record access."}],paths:{"/v1/corps":{get:{tags:["Corps"],operationId:"listCorps",summary:"List configured enterprises",responses:{"200":{description:"Configured enterprises.",content:{"application/json":{schema:{type:"array",items:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}}},"/v1/corps/current":{get:{tags:["Corps"],operationId:"getCurrentCorp",summary:"Get current enterprise",description:"Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.",responses:{"200":{description:"Current enterprise.",content:{"application/json":{schema:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}},"/v1/corps/current/switch":{post:{tags:["Corps"],operationId:"switchCurrentCorp",summary:"Switch current enterprise",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}}}}},responses:{"200":{description:"Switched enterprise.",content:{"application/json":{schema:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}}}}},"404":{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/source/config":{get:{tags:["Source"],operationId:"getSourceConfig",summary:"Resolve source-derived Seal enterprise config",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Redacted Seal enterprise config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/auth/diagnose":{get:{tags:["Auth"],operationId:"diagnoseAuth",summary:"Diagnose wrapped source-to-Seal authentication",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Authentication stage diagnosis.",content:{"application/json":{schema:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}}}}}}}},"/v1/whoami":{get:{tags:["Auth"],operationId:"whoami",summary:"Get current wrapped Seal identity",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current Seal user and tenant.",content:{"application/json":{schema:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/session":{get:{tags:["Auth"],operationId:"getSession",summary:"Get current wrapped Seal session metadata",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current session metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/approval/context":{get:{tags:["Approval Knowledge"],operationId:"getApprovalContext",summary:"Get rules, documents, and style preferences together",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"documentLimit",in:"query",schema:{type:"integer",minimum:1}},{name:"latestRuleVersion",in:"query",schema:{type:"boolean"}},{name:"ruleVersionNumber",in:"query",schema:{type:"integer"}}],responses:{"200":{description:"Approval context.",content:{"application/json":{schema:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}}}}}}}},"/v1/approval/search":{post:{tags:["Approval Knowledge"],operationId:"searchApprovalKnowledge",summary:"Search approval rules, documents, and preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}}}}},responses:{"200":{description:"Search results with line context.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rules":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRules",summary:"List current draft approval rules",responses:{"200":{description:"Draft rules.",content:{"application/json":{schema:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalRule",summary:"Create draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Created rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}}},"/v1/approval/rules/{ruleId}":{parameters:[{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."}],patch:{tags:["Approval Knowledge"],operationId:"updateApprovalRule",summary:"Update draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Updated rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalRule",summary:"Delete draft approval rule",responses:{"200":{description:"Deleted."}}}},"/v1/approval/rule-versions":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRuleVersions",summary:"List published approval rule versions",responses:{"200":{description:"Published rule versions.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}}},"/v1/approval/rule-versions/{versionId}":{parameters:[{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleVersion",summary:"Get published approval rule version",responses:{"200":{description:"Rule version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval/rules/by-version":{get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleByVersion",summary:"Get one wrapped rule from a published version",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"versionNumber",in:"query",schema:{type:"integer"}},{name:"versionId",in:"query",schema:{type:"string"}},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"code",in:"query",schema:{type:"string"},description:"Display rule code such as '#0038'."},{name:"runtimeId",in:"query",schema:{type:"string"},description:"Runtime rule ID such as rule-205."},{name:"recordId",in:"query",schema:{type:"string"},description:"Infer versionNumber from an approval run."}],responses:{"200":{description:"One rule from a published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rule-versions/publish":{post:{tags:["Approval Knowledge"],operationId:"publishApprovalRuleVersion",summary:"Publish current draft rules",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}}}}},responses:{"200":{description:"Published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/documents":{get:{tags:["Approval Knowledge"],operationId:"listApprovalDocuments",summary:"List approval knowledge documents",parameters:[{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,default:20}},{name:"scenario",in:"query",schema:{type:"array",items:{type:"string"}},style:"form",explode:!0}],responses:{"200":{description:"Documents.",content:{"application/json":{schema:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalDocument",summary:"Create approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Created document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/documents/{documentId}":{parameters:[{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalDocument",summary:"Get approval knowledge document",responses:{"200":{description:"Document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalDocument",summary:"Update approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Updated document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/style-preferences":{get:{tags:["Approval Knowledge"],operationId:"getApprovalStylePreferences",summary:"Get approval style preferences",responses:{"200":{description:"Style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalStylePreferences",summary:"Update approval style preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}},responses:{"200":{description:"Updated style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/approval-runs":{get:{tags:["Approval Runs"],operationId:"searchApprovalRuns",summary:"Search wrapped approval run history",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"startDate",in:"query",schema:{type:"string"},description:"Creation-time lower bound in milliseconds."},{name:"endDate",in:"query",schema:{type:"string"},description:"Creation-time upper bound in milliseconds."},{name:"status",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}},{name:"manualApprovalStatus",in:"query",schema:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"},description:"Hose/易快报单号 or other external source document number."},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"},description:"Local human result contains filter, such as 驳回 or 通过."},{name:"query",in:"query",schema:{type:"string"},description:"Search across record ID, source document fields, document ID, and trace fields."},{name:"includeBridge",in:"query",schema:{type:"boolean",default:!1},description:"Include full Langfuse bridge rows."}],responses:{"200":{description:"Compact wrapped approval run list.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/summary":{get:{tags:["Approval Runs"],operationId:"summarizeApprovalRuns",summary:"Summarize approval runs by local date",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"date",in:"query",schema:{type:"string",format:"date"}},{name:"timezone",in:"query",schema:{type:"string",default:"Asia/Shanghai"}},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"query",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Date summary with counts and compact records.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}}}}}}}},"/v1/approval-runs/pick":{get:{tags:["Approval Runs"],operationId:"pickApprovalRuns",summary:"Pick likely approval runs by document number or trace key",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"query",in:"query",schema:{type:"string"}},{name:"sn",in:"query",schema:{type:"string"},description:"Source document number for direct lookup."},{name:"batch",in:"query",schema:{type:"string"},description:"Optional simulation batch ID."},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated response fields."},{name:"limit",in:"query",schema:{type:"integer",default:20}},{name:"maxScan",in:"query",schema:{type:"integer",default:1000}}],responses:{"200":{description:"Picked records and suggested next actions.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/bridge":{get:{tags:["Approval Runs"],operationId:"getApprovalRunLangfuseBridge",summary:"Resolve approval runs to Langfuse trace or session hints",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"simulationBatchId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Trace/session bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/url":{get:{tags:["Approval Runs"],operationId:"getApprovalRunUrl",summary:"Get enterprise assist URL and optional source document URL",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Enterprise and document URLs.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}}}}}}}},"/v1/approval-runs/{recordId}":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRun",summary:"Get wrapped approval run detail",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated field paths such as metadata,document.fields,result.summary."}],responses:{"200":{description:"Approval run detail plus stable aliases and human result.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/cited-rules":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunCitedRules",summary:"Extract rules cited or matched by the AI result",responses:{"200":{description:"Cited rule summaries.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/document-summary":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunDocumentSummary",summary:"Get key document fields and compact AI/manual result",responses:{"200":{description:"Document summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/attachments":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunAttachments",summary:"List compact attachment metadata",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"Attachment metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/result":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunResult",summary:"Get AI result, optionally as a compact summary",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"AI result or summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-batch":{post:{tags:["Simulation"],operationId:"createSimulationBatch",summary:"Create a simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-material-pack-batch":{post:{tags:["Simulation"],operationId:"createMaterialPackBatch",summary:"Create a material pack simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches":{get:{tags:["Simulation"],operationId:"listSimulationBatches",summary:"List simulation batches",parameters:[{name:"limit",in:"query",schema:{type:"integer"},description:"Max batches to return."}],responses:{"200":{description:"Simulation batches.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/batch/{batchId}":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatch",summary:"Get a simulation batch detail including echoed create params",responses:{"200":{description:"Simulation batch detail.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches/{batchId}/records":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatchRecords",summary:"Get wrapped simulation batch records",parameters:[{name:"query",in:"query",schema:{type:"string"},description:"Optional local contains filter for record/document/trace identifiers."}],responses:{"200":{description:"Compact simulation records and bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/templates":{get:{tags:["Simulation"],operationId:"listSimulationTemplates",summary:"List simulation test templates",responses:{"200":{description:"Simulation templates.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/integration-status":{get:{tags:["Simulation"],operationId:"getSimulationIntegrationStatus",summary:"Get available source integration status for simulation",responses:{"200":{description:"Integration status.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/hosecloud-integrations":{get:{tags:["Simulation"],operationId:"listSimulationHosecloudIntegrations",summary:"List hosecloud source integrations available for simulation",responses:{"200":{description:"Hosecloud integrations.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/material-packages/upload":{post:{tags:["Simulation"],operationId:"uploadMaterialPackage",summary:"Upload a material package ZIP for simulation",requestBody:{required:!0,content:{"multipart/form-data":{schema:{type:"object",properties:{file:{type:"string",format:"binary"}}}}}},responses:{"200":{description:"Parsed material package with schema config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}}},components:{securitySchemes:{localSession:{type:"apiKey",in:"header",name:"X-Seal-Home-Session",description:"Optional local service session header for future HTTP deployments."}},parameters:{CorpId:{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},Offset:{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},Limit:{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},RuleId:{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."},VersionId:{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."},DocumentId:{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."},RecordId:{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."},BatchId:{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}},responses:{BadRequest:{description:"Invalid request.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},Unauthorized:{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},NotFound:{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}},schemas:{ErrorResponse:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}},CorpSummary:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}},SwitchCorpRequest:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}},SwitchCorpResponse:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}},SourceConfig:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."},AuthStage:{type:"object",additionalProperties:!0,required:["name","ok"],properties:{name:{type:"string",examples:["hose.openapi","hose.provisional","seal.sso","seal.whoami"]},ok:{type:"boolean"},error:{type:"string"}}},AuthDiagnosis:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}},SealUser:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},tenantId:{type:"string"},name:{type:"string"},isAdmin:{type:"boolean"},permissions:{type:"array",items:{type:"string"}}}},SealTenant:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},name:{type:"string"},tenantSlug:{type:"string"}}},WhoamiResponse:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}},SessionResponse:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}},ApprovalRule:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}},ApprovalRuleInput:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulePatch:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulesResponse:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}},RuleSetVersion:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}},PublishRuleVersionRequest:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}},ApprovalDocument:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentInput:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentPatch:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentsResponse:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}},ApprovalStylePreferences:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}},ApprovalContext:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}},ApprovalSearchRequest:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}},ApprovalSearchResponse:{type:"object",additionalProperties:!0},ApprovalRun:{type:"object",additionalProperties:!0,required:["id"],properties:{id:{type:"string"},sourceDocumentSN:{type:"string",description:"External document number, often Hose/易快报单号."},sourceDocumentId:{type:"string"},status:{type:"string"},taskMode:{type:"string"},finalExecutionMode:{type:"string"},ruleSetVersionNumber:{type:"integer"},langfuseTraceId:{type:"string"},langfuseSessionFallback:{type:"string"}}},ApprovalRunsResponse:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}},ApprovalRunsSummary:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}},RunUrlResponse:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}},BridgeResponse:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}};function FD(){return XX0}function zX0(){return` - Seal Home API Docs (v${$1}) + Seal Home API Docs (v${I1})