1371 lines
2.1 MiB
Plaintext
1371 lines
2.1 MiB
Plaintext
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<I.length)aP(U,I[Y]),U.push($[++Y]);return new b$(U)}rf._=lf;var tP=new b$("+");function of($,...I){let U=[SQ($[0])],Y=0;while(Y<I.length)U.push(tP),aP(U,I[Y]),U.push(tP,SQ($[++Y]));return TN0(U),new b$(U)}rf.str=of;function aP($,I){if(I instanceof b$)$.push(...I._items);else if(I instanceof aI)$.push(I);else $.push(vN0(I))}rf.addCodeArg=aP;function TN0($){let I=1;while(I<$.length-1){if($[I]===tP){let U=EN0($[I-1],$[I+1]);if(U!==void 0){$.splice(I-1,3,U);continue}$[I++]="+"}I++}}function EN0($,I){if(I==='""')return $;if($==='""')return I;if(typeof $=="string"){if(I instanceof aI||$[$.length-1]!=='"')return;if(typeof I!="string")return`${$.slice(0,-1)}${I}"`;if(I[0]==='"')return $.slice(0,-1)+I.slice(1);return}if(typeof I=="string"&&I[0]==='"'&&!($ instanceof aI))return`"${$}${I.slice(1)}`;return}function BN0($,I){return I.emptyStr()?$:$.emptyStr()?I:of`${$}${I}`}rf.strConcat=BN0;function vN0($){return typeof $=="number"||typeof $=="boolean"||$===null?$:SQ(Array.isArray($)?$.join(","):$)}function RN0($){return new b$(SQ($))}rf.stringify=RN0;function SQ($){return JSON.stringify($).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}rf.safeStringify=SQ;function CN0($){return typeof $=="string"&&rf.IDENTIFIER.test($)?new b$(`.${$}`):lf`[${$}]`}rf.getProperty=CN0;function jN0($){if(typeof $=="string"&&rf.IDENTIFIER.test($))return new b$(`${$}`);throw Error(`CodeGen: invalid export name: ${$}, use explicit $id name mapping`)}rf.getEsmExportName=jN0;function _N0($){return new b$($.toString())}rf.regexpCode=_N0});var IT=O((ef)=>{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<V.length;w++)pW($,I,U,V[w],J+"/"+W+"/"+w,Q,J,W,Y,w)}else if(W in W9.propsKeywords){if(V&&typeof V=="object")for(var Z in V)pW($,I,U,V[Z],J+"/"+W+"/"+qP0(Z),Q,J,W,Y,Z)}else if(W in W9.keywords||$.allKeys&&!(W in W9.skipKeywords))pW($,I,U,V,J+"/"+W,Q,J,W,Y)}U(Y,J,Q,K,q,G,H)}}function qP0($){return $.replace(/~/g,"~0").replace(/\//g,"~1")}});var kQ=O((Xi)=>{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<I)if(U++,J=$.charCodeAt(Y++),J>=55296&&J<=56319&&Y<I){if(J=$.charCodeAt(Y),(J&64512)===56320)Y++}return U}jn.default=Cn;Cn.code='require("ajv/dist/runtime/ucs2length").default'});var gn=O((Sn)=>{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 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<K.length;A++){let R=K[A];if((R===null||R===void 0?void 0:R.$ref)&&!(0,VR0.schemaHasRulesButRef)(R,Q.self.RULES)){let g=R.$ref;if(R=Gc.resolveRef.call(Q.self,Q.schemaEnv.root,Q.baseId,g),R instanceof Gc.SchemaEnv)R=R.schema;if(R===void 0)throw new WR0.default(Q.opts.uriResolver,Q.baseId,g)}let u=(Z=R===null||R===void 0?void 0:R.properties)===null||Z===void 0?void 0:Z[q];if(typeof u!="object")throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${q}"`);D=D&&(L||F(R)),E(u,A)}if(!D)throw Error(`discriminator: "${q}" must be required`);return z;function F({required:A}){return Array.isArray(A)&&A.includes(q)}function E(A,R){if(A.const)T(A.const,R);else if(A.enum)for(let u of A.enum)T(u,R);else throw Error(`discriminator: "properties/${q}" must have "const" or "enum"`)}function T(A,R){if(typeof A!="string"||A in z)throw Error(`discriminator: "${q}" values must be unique strings`);z[A]=R}}}};Hc.default=ZR0});var Vc=O((XO1,zR0)=>{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($<I)return-1;return 0}var dT=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function mT($){return function(U){let Y=dT.exec(U);if(!Y)return!1;let J=+Y[1],Q=+Y[2],K=+Y[3],q=Y[4],G=Y[5]==="-"?-1:1,H=+(Y[6]||0),W=+(Y[7]||0);if(H>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($<I)return-1;return 0}var lT=/t|\s/i;function Zc($){let I=mT($);return function(Y){let J=Y.split(lT);return J.length===2&&Lc(J[0])&&I(J[1])}}function Oc($,I){if(!($&&I))return;let U=new Date($).valueOf(),Y=new Date(I).valueOf();if(!(U&&Y))return;return U-Y}function Fc($,I){if(!($&&I))return;let[U,Y]=$.split(lT),[J,Q]=I.split(lT),K=oT(U,J);if(K===void 0)return;return K||rT(Y,Q)}var RR0=/\/|:/,CR0=/^(?:[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;function jR0($){return RR0.test($)&&CR0.test($)}var Xc=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function _R0($){return Xc.lastIndex=0,Xc.test($)}var SR0=-2147483648,gR0=2147483647;function yR0($){return Number.isInteger($)&&$<=gR0&&$>=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;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<I;K++)K5.each(arguments[K],Q);return $}};Yl.exports=K5});var G4=O((NM1,Jl)=>{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.top)this.top=$;if(!this.model.left||I<this.left)this.left=I;if(!this.model.bottom||U>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($.bottom<this.top)return!1;if($.top>this.bottom)return!1;if($.right<this.left)return!1;if($.left>this.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<U.length;K++)G=this.getCell($+K),G.value=U[K],G.style={},G._comment=void 0}eachCell($,I){if(!I)I=$,$=null;if($&&$.includeEmpty){let U=this._cells.length;for(let Y=1;Y<=U;Y++)I(this.getCell(Y),Y)}else this._cells.forEach((U,Y)=>{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(I<U.col)I=U.col}}),$>0?{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<Y.col)U=Y.col;$.push(J)}}}),this.height||$.length?{cells:$,number:this.number,min:I,max:U,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model($){if($.number!==this._number)throw Error("Invalid row number in model");this._cells=[];let I;if($.cells.forEach((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<I.length){let Q=I[J++];while(Y<Q.min)U.push(new dV($,Y++));while(Y<=Q.max)U.push(new dV($,Y++,Q))}return U.length?U:null}}Cl.exports=dV});var _l=O((RM1,jl)=>{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<this._cache.tableHeight;I++){let U=this.worksheet.getRow($.row+I);for(let Y=0;Y<this._cache.width;Y++){let J=U.getCell($.col+Y);J.value=null}}else{for(let I=this.tableHeight;I<this._cache.tableHeight;I++){let U=this.worksheet.getRow($.row+I);for(let Y=0;Y<this._cache.width;Y++){let J=U.getCell($.col+Y);J.value=null}}for(let I=0;I<this.tableHeight;I++){let U=this.worksheet.getRow($.row+I);for(let Y=this.width;Y<this._cache.width;Y++){let J=U.getCell($.col+Y);J.value=null}}}this.store()}addRow($,I){if(this.cacheState(),I===void 0)this.table.rows.push($);else this.table.rows.splice(I,0,$)}removeRows($,I=1){this.cacheState(),this.table.rows.splice($,I)}getColumn($){let I=this.table.columns[$];return new hl(this,I,$)}addColumn($,I,U){if(this.cacheState(),U===void 0)this.table.columns.push($),this.table.rows.forEach((Y,J)=>{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<Y;q++){let G=Buffer.alloc(4);G.writeUInt32LE(q,0),K=this.hash(I,K,G)}return K.toString("base64")},randomBytes($){return pE.randomBytes($)}};il.exports=Mj0});var pl=O((Tj0)=>{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<J;G++){let H=[$,I];U.forEach((V)=>{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<I.length;Y++)if(U[0]==="o"&&this.findRow(I.length+$+Y)!==void 0)this._copyStyle(I.length+$+Y,$+Y,U[1]==="+");else if(U[0]==="i"&&this.findRow($-1)!==void 0)this._copyStyle($-1,$+Y,U[1]==="+")}return this.getRows($,I.length)}_setStyleOption($,I="n"){if(I[0]==="o"&&this.findRow($+1)!==void 0)this._copyStyle($+1,$,I[1]==="+");else if(I[0]==="i"&&this.findRow($-1)!==void 0)this._copyStyle($-1,$,I[1]==="+")}_copyStyle($,I,U=!1){let Y=this.getRow($),J=this.getRow(I);J.style=ol(Y.style),Y.eachCell({includeEmpty:U},(Q,K)=>{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<I;Q++){let K=this._rows[$+Q];K.style=Y.style,K.height=Y.height,Y.eachCell({includeEmpty:!0},(q,G)=>{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<J;q++){let H=this.getRow($+q);H.style={},H.values=U[q]}this.workbook.definedNames.spliceRows(this.name,$,I,J)}eachRow($,I){if(!I)I=$,$=void 0;if($&&$.includeEmpty){let U=this._rows.length;for(let Y=1;Y<=U;Y++)I(this.getRow(Y),Y)}else this._rows.forEach((U)=>{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<Y;K++)Q.push([]);J.splice(I,U,...Q)}}spliceColumns($,I,U,Y){let J=this.sheets[$];if(J){let Q=[];for(let K=0;K<Y;K++)Q.push(null);sl.each(J,(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<W.length;V++)W[V].mark=!1;return!0}for(J=I.col-1;q(J,"left");J--);for(J=I.col+1;q(J,"right");J++);return Y}getRanges($,I){if(I=I||this.matrixMap[$],!I)return{name:$,ranges:[]};I.forEach((Y)=>{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<Q.length)Q[K++]=arguments[K];return process.nextTick(function(){$.apply(null,Q)})}}});var NU=O((uM1,Qo)=>{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<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else eE($,I,!1,q,Y,J,Q);return G}function eE($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function M_0($,I,U,Y,J){if(--I.pendingcb,U)f7.nextTick(J,Y),f7.nextTick(P2,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),P2($,I)}function A_0($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function P_0($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(A_0(U),I)M_0($,U,Y,I,J);else{var Q=Fo(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)Oo($,U);if(Y)V_0(Zo,$,U,Q,J);else Zo($,U,Q,J)}}function Zo($,I,U,Y){if(!U)T_0($,I);I.pendingcb--,Y(),P2($,I)}function T_0($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function Oo($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,eE($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new Xo(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(eE($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}P4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};P4.prototype._writev=null;P4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)v_0(this,Y,U)};function Fo($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function E_0($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),P2($,I)})}function B_0($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,f7.nextTick(E_0,$,I);else I.prefinished=!0,$.emit("prefinish")}function P2($,I){var U=Fo(I);if(U){if(B_0($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function v_0($,I,U){if(I.ending=!0,P2($,I),U)if(I.finished)f7.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function R_0($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(P4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});P4.prototype.destroy=Do.destroy;P4.prototype._undestroy=Do.undestroy;P4.prototype._destroy=function($,I){this.end(),I($)}});var b7=O((mM1,To)=>{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<Qw.length;E2++)if(B2=Qw[E2],!H5.prototype[B2])H5.prototype[B2]=IB.prototype[B2]}var Qw,B2,E2;function H5($){if(!(this instanceof H5))return new H5($);if(Po.call(this,$),IB.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",j_0)}Object.defineProperty(H5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function j_0(){if(this.allowHalfOpen||this._writableState.ended)return;Mo.nextTick(__0,this)}function __0($){$.end()}Object.defineProperty(H5.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});H5.prototype._destroy=function($,I){this.push(null),this.end(),Mo.nextTick(I,$)}});var QB=O((d_0)=>{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<U)return 0;var J=YB(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=YB(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=YB(I[Y]),J>=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-$<I.highWaterMark)Y=!0,A1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,A1("reading or ended",Y);else if(Y){if(A1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=vo(U,I)}var J;if($>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.length<I.highWaterMark)if(A1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}o1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};o1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,A1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)TU.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(F,E){if(A1("onunpipe"),F===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){A1("onend"),$.end()}var G=JS0(U);$.on("drain",G);var H=!1;function W(){if(A1("cleanup"),$.removeListener("close",z),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",w),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",w);function w(F){A1("ondata"),V=!1;var E=$.write(F);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&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<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=xo(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};o1.prototype.on=function($,I){var U=WB.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)TU.nextTick(QS0,this);else if(Y.length)Kw(this)}}return U};o1.prototype.addListener=o1.prototype.on;function QS0($){A1("readable nexttick read 0"),$.read(0)}o1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)A1("resume"),$.flowing=!0,KS0(this,$);return this};function KS0($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,TU.nextTick(qS0,$,I)}function qS0($,I){if(!I.reading)A1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),VB($),I.flowing&&!I.reading)$.read(0)}o1.prototype.pause=function(){if(A1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)A1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function VB($){var I=$._readableState;A1("flow",I.flowing);while(I.flowing&&$.read()!==null);}o1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(A1("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(A1("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(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<qB.length;Q++)$.on(qB[Q],this.emit.bind(this,qB[Q]));return this._read=function(K){if(A1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(o1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});o1._fromList=ho;function ho($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=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($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?HS0($,I):WS0($,I);return Y}function HS0($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>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<Y;U++)if($[U]===I)return U;return-1}});var wB=O((tM1,bo)=>{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<J.highWaterMark)this._read(J.highWaterMark)}function W5($){if(!(this instanceof W5))return new W5($);if(qw.call(this,$),this._transformState={afterTransform:wS0.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",ZS0)}function ZS0(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){uo($,I,U)});else uo(this,null,null)}W5.prototype.push=function($,I){return this._transformState.needTransform=!1,qw.prototype.push.call(this,$,I)};W5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};W5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};W5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};W5.prototype._destroy=function($,I){var U=this;qw.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function uo($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var co=O((aM1,po)=>{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<W?$.charCodeAt(H++):0,J=H<W?$.charCodeAt(H++):0;else U=$[H++],Y=H<W?$[H++]:0,J=H<W?$[H++]:0;Q=U>>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(++$<U)I[$]();U=S2.length}DB=!1}oo.exports=SS0;function SS0($){if(S2.push($)===1&&!DB)lo()}});var Ur=O((YA1,Ir)=>{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<Q)$.queue[J].callFulfilled(I)}return $};X6.reject=function($,I){if($.state=ao,$.outcome=I,$.handled===EU)to(function(){if($.handled===EU)process.emit("unhandledRejection",I,$)});var U=-1,Y=$.queue.length;while(++U<Y)$.queue[U].callRejected(I);return $};function gS0($){var I=$&&$.then;if($&&(typeof $==="object"||typeof $==="function")&&typeof I==="function")return function(){I.apply($,arguments)}}function eo($,I){var U=!1;function Y(q){if(U)return;U=!0,X6.reject($,q)}function J(q){if(U)return;U=!0,X6.resolve($,q)}function Q(){I(J,Y)}var K=$r(Q);if(K.status==="error")Y(K.value)}function $r($,I){var U={};try{U.value=$(I),U.status="success"}catch(Y){U.status="error",U.value=Y}return U}D9.resolve=yS0;function yS0($){if($ instanceof this)return $;return X6.resolve(new this(BU),$)}D9.reject=hS0;function hS0($){var I=new this(BU);return X6.reject(I,$)}D9.all=xS0;function xS0($){var I=this;if(Object.prototype.toString.call($)!=="[object Array]")return this.reject(TypeError("must be an array"));var U=$.length,Y=!1;if(!U)return this.resolve([]);var J=Array(U),Q=0,K=-1,q=new this(BU);while(++K<U)G($[K],K);return q;function G(H,W){I.resolve(H).then(V,function(w){if(!Y)Y=!0,X6.reject(q,w)});function V(w){if(J[W]=w,++Q===U&&!Y)Y=!0,X6.resolve(q,J)}}}D9.race=kS0;function kS0($){var I=this;if(Object.prototype.toString.call($)!=="[object Array]")return this.reject(TypeError("must be an array"));var U=$.length,Y=!1;if(!U)return this.resolve([]);var J=-1,Q=new this(BU);while(++J<U)K($[J]);return Q;function K(q){I.resolve(q).then(function(G){if(!Y)Y=!0,X6.resolve(Q,G)},function(G){if(!Y)Y=!0,X6.reject(Q,G)})}}});var vU=O((JA1,Yr)=>{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<T.length;A++)T[A]=arguments[A+1];var R={callback:E,args:T};return Y[U]=R,K(U),U++}function G(E){delete Y[E]}function H(E){var{callback:T,args:A}=E;switch(A.length){case 0:T();break;case 1:T(A[0]);break;case 2:T(A[0],A[1]);break;case 3:T(A[0],A[1],A[2]);break;default:T.apply(I,A);break}}function W(E){if(J)setTimeout(W,0,E);else{var T=Y[E];if(T){J=!0;try{H(T)}finally{G(E),J=!1}}}}function V(){K=function(E){process.nextTick(function(){W(E)})}}function w(){if($.postMessage&&!$.importScripts){var E=!0,T=$.onmessage;return $.onmessage=function(){E=!1},$.postMessage("","*"),$.onmessage=T,E}}function Z(){var E="setImmediate$"+Math.random()+"$",T=function(A){if(A.source===$&&typeof A.data==="string"&&A.data.indexOf(E)===0)W(+A.data.slice(E.length))};if($.addEventListener)$.addEventListener("message",T,!1);else $.attachEvent("onmessage",T);K=function(A){$.postMessage(E+A,"*")}}function z(){var E=new MessageChannel;E.port1.onmessage=function(T){var A=T.data;W(A)},K=function(T){E.port2.postMessage(T)}}function L(){var E=Q.documentElement;K=function(T){var A=Q.createElement("script");A.onreadystatechange=function(){W(T),A.onreadystatechange=null,E.removeChild(A),A=null},E.appendChild(A)}}function D(){K=function(E){setTimeout(W,0,E)}}var F=Object.getPrototypeOf&&Object.getPrototypeOf($);if(F=F&&F.setTimeout?F:$,{}.toString.call($.process)==="[object process]")V();else if(w())Z();else if($.MessageChannel)z();else if(Q&&"onreadystatechange"in Q.createElement("script"))L();else D();F.setImmediate=q,F.clearImmediate=G})(typeof self>"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(J<Q){if(I==="array"||I==="nodebuffer")Y.push(String.fromCharCode.apply(null,$.slice(J,Math.min(J+U,Q))));else Y.push(String.fromCharCode.apply(null,$.subarray(J,Math.min(J+U,Q))));J+=U}return Y.join("")},stringifyByChar:function($){var I="";for(var U=0;U<$.length;U++)I+=String.fromCharCode($[U]);return I},applyCanBeUsed:{uint8array:function(){try{return O9.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch($){return!1}}(),nodebuffer:function(){try{return O9.nodebuffer&&String.fromCharCode.apply(null,RU.allocBuffer(1)).length===1}catch($){return!1}}()}};function h2($){var I=65536,U=bS0.getTypeOf($),Y=!0;if(U==="uint8array")Y=Vw.applyCanBeUsed.uint8array;else if(U==="nodebuffer")Y=Vw.applyCanBeUsed.nodebuffer;if(Y)while(I>1)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<I.length;Y++){var J=I[Y];if(J==="."||J===""&&Y!==0&&Y!==I.length-1)continue;else if(J==="..")U.pop();else U.push(J)}return U.join("/")};bS0.getTypeOf=function($){if(typeof $==="string")return"string";if(Object.prototype.toString.call($)==="[object Array]")return"array";if(O9.nodebuffer&&RU.isBuffer($))return"nodebuffer";if(O9.uint8array&&$ instanceof Uint8Array)return"uint8array";if(O9.arraybuffer&&$ instanceof ArrayBuffer)return"arraybuffer"};bS0.checkSupport=function($){var I=O9[$.toLowerCase()];if(!I)throw Error($+" is not supported by this platform")};bS0.MAX_VALUE_16BITS=65535;bS0.MAX_VALUE_32BITS=-1;bS0.pretty=function($){var I="",U,Y;for(Y=0;Y<($||"").length;Y++)U=$.charCodeAt(Y),I+="\\x"+(U<16?"0":"")+U.toString(16).toUpperCase();return I};bS0.delay=function($,I,U){setImmediate(function(){$.apply(U||null,I||[])})};bS0.inherits=function($,I){var U=function(){};U.prototype=I.prototype,$.prototype=new U};bS0.extend=function(){var $={},I,U;for(I=0;I<arguments.length;I++)for(U in arguments[I])if(Object.prototype.hasOwnProperty.call(arguments[I],U)&&typeof $[U]>"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<this._listeners[$].length;U++)this._listeners[$][U].call(this,I)},pipe:function($){return $.registerPrevious(this)},registerPrevious:function($){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=$.streamInfo,this.mergeStreamInfo(),this.previous=$;var I=this;return $.on("data",function(U){I.processChunk(U)}),$.on("end",function(){I.end()}),$.on("error",function(U){I.error(U)}),this},pause:function(){if(this.isPaused||this.isFinished)return!1;if(this.isPaused=!0,this.previous)this.previous.pause();return!0},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var $=!1;if(this.generatedError)this.error(this.generatedError),$=!0;if(this.previous)this.previous.resume();return!$},flush:function(){},processChunk:function($){this.push($)},withStreamInfo:function($,I){return this.extraStreamInfo[$]=I,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var $ in this.extraStreamInfo){if(!Object.prototype.hasOwnProperty.call(this.extraStreamInfo,$))continue;this.streamInfo[$]=this.extraStreamInfo[$]}},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");if(this.isLocked=!0,this.previous)this.previous.lock()},toString:function(){var $="Worker "+this.name;if(this.previous)return this.previous+" -> "+$;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<K;J++){if(U=$.charCodeAt(J),(U&64512)===55296&&J+1<K){if(Y=$.charCodeAt(J+1),(Y&64512)===56320)U=65536+(U-55296<<10)+(Y-56320),J++}q+=U<128?1:U<2048?2:U<65536?3:4}if(i7.uint8array)I=new Uint8Array(q);else I=Array(q);for(Q=0,J=0;Q<q;J++){if(U=$.charCodeAt(J),(U&64512)===55296&&J+1<K){if(Y=$.charCodeAt(J+1),(Y&64512)===56320)U=65536+(U-55296<<10)+(Y-56320),J++}if(U<128)I[Q++]=U;else if(U<2048)I[Q++]=192|U>>>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;I<Q;){if(Y=$[I++],Y<128){K[U++]=Y;continue}if(J=x2[Y],J>4){K[U++]=65533,I+=J-1;continue}Y&=J===2?31:J===3?15:7;while(J>1&&I<Q)Y=Y<<6|$[I++]&63,J--;if(J>1){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<I.length;U++)Q+=I[U].length;switch($){case"string":return I.join("");case"array":return Array.prototype.concat.apply([],I);case"uint8array":J=new Uint8Array(Q);for(U=0;U<I.length;U++)J.set(I[U],Y),Y+=I[U].length;return J;case"nodebuffer":return Buffer.concat(I);default:throw Error("concat : unsupported type '"+$+"'")}}function wg0($,I){return new Hg0.Promise(function(U,Y){var J=[],Q=$._internalType,K=$._outputType,q=$._mimeType;$.on("data",function(G,H){if(J.push(G),I)I(H)}).on("error",function(G){J=[],Y(G)}).on("end",function(){try{var G=Wg0(K,Vg0(Q,J),q);U(G)}catch(H){Y(H)}J=[]}).resume()})}function Or($,I,U){var Y=I;switch(I){case"blob":case"arraybuffer":Y="uint8array";break;case"base64":Y="string";break}try{this._internalType=Y,this._outputType=I,this._mimeType=U,n7.checkSupport(Y),this._worker=$.pipe(new Qg0(Y)),$.lock()}catch(J){this._worker=new Kg0("error"),this._worker.error(J)}}Or.prototype={accumulate:function($){return wg0(this,$)},on:function($,I){var U=this;if($==="data")this._worker.on($,function(Y){I.call(U,Y.data,Y.meta)});else this._worker.on($,function(){n7.delay(I,arguments,U)});return this},resume:function(){return n7.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function($){if(n7.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw Error(this._outputType+" is not supported by this method");return new Dr(this,{objectMode:this._outputType!=="nodebuffer"},$)}};Fr.exports=Or});var CB=O((Zg0)=>{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<Q;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<Q;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<Y;Q++)$[J+Q]=I[U+Q]},flattenChunks:function($){var I,U,Y,J,Q,K;Y=0;for(I=0,U=$.length;I<U;I++)Y+=$[I].length;K=new Uint8Array(Y),J=0;for(I=0,U=$.length;I<U;I++)Q=$[I],K.set(Q,J),J+=Q.length;return K}},ng0={arraySet:function($,I,U,Y,J){for(var Q=0;Q<Y;Q++)$[J+Q]=I[U+Q]},flattenChunks:function($){return[].concat.apply([],$)}};bB.setTyped=function($){if($)bB.Buf8=Uint8Array,bB.Buf16=Uint16Array,bB.Buf32=Int32Array,bB.assign(bB,ig0);else bB.Buf8=Array,bB.Buf16=Array,bB.Buf32=Array,bB.assign(bB,ng0)};bB.setTyped(fg0)});var Yt=O((Vy0)=>{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;H<pr;H++){if(W=$.heap[H],w=U[U[W*2+1]*2+1]+1,w>G)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<oB-1;Y++){aB[Y]=U;for($=0;$<1<<mB[Y];$++)i2[U++]=Y}i2[U-1]=Y,J=0;for(Y=0;Y<16;Y++){Mw[Y]=J;for($=0;$<1<<Nw[Y];$++)b2[J++]=Y}J>>=7;for(;Y<SU;Y++){Mw[Y]=J<<7;for($=0;$<1<<Nw[Y]-7;$++)b2[256+J++]=Y}for(I=0;I<=p7;I++)Q[I]=0;$=0;while($<=143)Z5[$*2+1]=8,$++,Q[8]++;while($<=255)Z5[$*2+1]=9,$++,Q[9]++;while($<=279)Z5[$*2+1]=7,$++,Q[7]++;while($<=287)Z5[$*2+1]=8,$++,Q[8]++;er(Z5,f2+1,Q);for($=0;$<SU;$++)u2[$*2+1]=5,u2[$*2]=sr($,5);or=new pB(Z5,mB,p2+1,f2,p7),rr=new pB(u2,Nw,0,SU,p7),tr=new pB([],sg0,0,rB,ag0)}function $t($){var I;for(I=0;I<f2;I++)$.dyn_ltree[I*2]=0;for(I=0;I<SU;I++)$.dyn_dtree[I*2]=0;for(I=0;I<rB;I++)$.bl_tree[I*2]=0;$.dyn_ltree[tB*2]=1,$.opt_len=$.static_len=0,$.last_lit=$.matches=0}function It($){if($.bi_valid>8)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<Q;K++)if(U[K*2]!==0)$.heap[++$.heap_len]=G=K,$.depth[K]=0;else U[K*2+1]=0;while($.heap_len<2)if(H=$.heap[++$.heap_len]=G<2?++G:0,U[H*2]=1,$.depth[H]=0,$.opt_len--,J)$.static_len-=Y[H*2+1];I.max_code=G;for(K=$.heap_len>>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<G&&Q===K)continue;else if(q<H)$.bl_tree[Q*2]+=q;else if(Q!==0){if(Q!==J)$.bl_tree[Q*2]++;$.bl_tree[cr*2]++}else if(q<=10)$.bl_tree[dr*2]++;else $.bl_tree[mr*2]++;if(q=0,J=Q,K===0)G=138,H=3;else if(Q===K)G=6,H=3;else G=7,H=4}}function br($,I,U){var Y,J=-1,Q,K=I[1],q=0,G=7,H=4;if(K===0)G=138,H=3;for(Y=0;Y<=U;Y++){if(Q=K,K=I[(Y+1)*2+1],++q<G&&Q===K)continue;else if(q<H)do N8($,Q,$.bl_tree);while(--q!==0);else if(Q!==0){if(Q!==J)N8($,Q,$.bl_tree),q--;N8($,cr,$.bl_tree),n6($,q-3,2)}else if(q<=10)N8($,dr,$.bl_tree),n6($,q-3,3);else N8($,mr,$.bl_tree),n6($,q-11,7);if(q=0,J=Q,K===0)G=138,H=3;else if(Q===K)G=6,H=3;else G=7,H=4}}function Jy0($){var I;fr($,$.dyn_ltree,$.l_desc.max_code),fr($,$.dyn_dtree,$.d_desc.max_code),lB($,$.bl_desc);for(I=rB-1;I>=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<Y;J++)n6($,$.bl_tree[lr[J]*2+1],3);br($,$.dyn_ltree,I-1),br($,$.dyn_dtree,U-1)}function Ky0($){var I=4093624447,U;for(U=0;U<=31;U++,I>>>=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;U<p2;U++)if($.dyn_ltree[U*2]!==0)return xr;return hr}var ir=!1;function qy0($){if(!ir)Uy0(),ir=!0;$.l_desc=new cB($.dyn_ltree,or),$.d_desc=new cB($.dyn_dtree,rr),$.bl_desc=new cB($.bl_tree,tr),$.bi_buf=0,$.bi_valid=0,$t($)}function Ut($,I,U,Y){n6($,(lg0<<1)+(Y?1:0),3),Yy0($,I,U,!0)}function Gy0($){n6($,nr<<1,3),N8($,tB,Z5),$y0($)}function Hy0($,I,U,Y){var J,Q,K=0;if($.level>0){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<Q;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]&&Y<w);if(Q=P9-(w-Y),Y=w-P9,Q>K){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<G1)break}}while($.lookahead<t$&&$.strm.avail_in!==0)}function py0($,I){var U=65535;if(U>$.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<t$){if(m7($),$.lookahead<t$&&I===l7)return S4;if($.lookahead===0)break}if(U=0,$.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-1?$.strstart:G1-1,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 yU($,I){var U,Y,J;for(;;){if($.lookahead<t$){if(m7($),$.lookahead<t$&&I===l7)return S4;if($.lookahead===0)break}if(U=0,$.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($.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-1?$.strstart:G1-1,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 cy0($,I){var U,Y,J,Q,K=$.window;for(;;){if($.lookahead<=P9){if(m7($),$.lookahead<=P9&&I===l7)return S4;if($.lookahead===0)break}if($.match_length=0,$.lookahead>=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<Q);if($.match_length=P9-(Q-J),$.match_length>$.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<<q.w_bits,q.w_mask=q.w_size-1,q.hash_bits=J+7,q.hash_size=1<<q.hash_bits,q.hash_mask=q.hash_size-1,q.hash_shift=~~((q.hash_bits+G1-1)/G1),q.window=new R6.Buf8(q.w_size*2),q.head=new R6.Buf16(q.hash_size),q.prev=new R6.Buf16(q.w_size),q.lit_bufsize=1<<J+6,q.pending_buf_size=q.lit_bufsize*4,q.pending_buf=new R6.Buf8(q.pending_buf_size),q.d_buf=1*q.lit_bufsize,q.l_buf=3*q.lit_bufsize,q.level=I,q.strategy=Q,q.method=U,Zt($)}function ry0($,I){return Xt($,I,vw,Sy0,gy0,Cy0)}function ty0($,I){var U,Y,J,Q;if(!$||!$.state||I>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.gzindex<Y.gzhead.name.length)Q=Y.gzhead.name.charCodeAt(Y.gzindex++)&255;else Q=0;F1(Y,Q)}while(Q!==0);if(Y.gzhead.hcrc&&Y.pending>J)$.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.gzindex<Y.gzhead.comment.length)Q=Y.gzhead.comment.charCodeAt(Y.gzindex++)&255;else Q=0;F1(Y,Q)}while(Q!==0);if(Y.gzhead.hcrc&&Y.pending>J)$.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<<Y.hash_shift^Y.window[J+G1-1])&Y.hash_mask,Y.prev[J&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=J,J++;while(--Q);Y.strstart=J,Y.lookahead=G1-1,m7(Y)}return Y.strstart+=Y.lookahead,Y.block_start=Y.strstart,Y.insert=Y.lookahead,Y.lookahead=0,Y.match_length=Y.prev_length=G1-1,Y.match_available=0,$.next_in=G,$.input=H,$.avail_in=q,Y.wrap=K,A8}ey0.deflateInit=ry0;ey0.deflateInit2=Xt;ey0.deflateReset=Zt;ey0.deflateResetKeep=wt;ey0.deflateSetHeader=oy0;ey0.deflate=ty0;ey0.deflateEnd=ay0;ey0.deflateSetDictionary=sy0;ey0.deflateInfo="pako deflate (from Nodeca project)"});var Jv=O((Hh0)=>{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<K;J++){if(U=$.charCodeAt(J),(U&64512)===55296&&J+1<K){if(Y=$.charCodeAt(J+1),(Y&64512)===56320)U=65536+(U-55296<<10)+(Y-56320),J++}q+=U<128?1:U<2048?2:U<65536?3:4}I=new Cw.Buf8(q);for(Q=0,J=0;Q<q;J++){if(U=$.charCodeAt(J),(U&64512)===55296&&J+1<K){if(Y=$.charCodeAt(J+1),(Y&64512)===56320)U=65536+(U-55296<<10)+(Y-56320),J++}if(U<128)I[Q++]=U;else if(U<2048)I[Q++]=192|U>>>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;Y<I;Y++)U+=String.fromCharCode($[Y]);return U}Hh0.buf2binstring=function($){return Ot($,$.length)};Hh0.binstring2buf=function($){var I=new Cw.Buf8($.length);for(var U=0,Y=I.length;U<Y;U++)I[U]=$.charCodeAt(U);return I};Hh0.buf2string=function($,I){var U,Y,J,Q,K=I||$.length,q=Array(K*2);for(Y=0,U=0;U<K;){if(J=$[U++],J<128){q[Y++]=J;continue}if(Q=l2[J],Q>4){q[Y++]=65533,U+=Q-1;continue}J&=Q===2?31:Q===3?15:7;while(Q>1&&U<K)J=J<<6|$[U++]&63,Q--;if(Q>1){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<<Y.lenbits)-1,T=(1<<Y.distbits)-1;$:do{if(L<15)z+=p[J++]<<L,L+=8,z+=p[J++]<<L,L+=8;A=D[z&E];I:for(;;){if(R=A>>>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)z+=p[J++]<<L,L+=8;u+=z&(1<<R)-1,z>>>=R,L-=R}if(L<15)z+=p[J++]<<L,L+=8,z+=p[J++]<<L,L+=8;A=F[z&T];U:for(;;){if(R=A>>>24,z>>>=R,L-=R,R=A>>>16&255,R&16){if(g=A&65535,R&=15,L<R){if(z+=p[J++]<<L,L+=8,L<R)z+=p[J++]<<L,L+=8}if(g+=z&(1<<R)-1,g>H){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,R<u){u-=R;do n[K++]=Z[b++];while(--R);b=K-g,C=n}}else if(w<R){if(b+=W+w-R,R-=w,R<u){u-=R;do n[K++]=Z[b++];while(--R);if(b=0,w<u){R=w,u-=R;do n[K++]=Z[b++];while(--R);b=K-g,C=n}}}else if(b+=w-R,R<u){u-=R;do n[K++]=Z[b++];while(--R);b=K-g,C=n}while(u>2)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<<R)-1)];continue U}else{I.msg="invalid distance code",Y.mode=jw;break $}break}}else if((R&64)===0){A=D[(A&65535)+(z&(1<<R)-1)];continue I}else if(R&32){Y.mode=Rh0;break $}else{I.msg="invalid literal/length code",Y.mode=jw;break $}break}}while(J<Q&&K<G);u=L>>3,J-=u,L-=u<<3,z&=(1<<L)-1,I.next_in=J,I.next_out=K,I.avail_in=J<Q?5+(Q-J):5-(J-Q),I.avail_out=K<G?257+(G-K):257-(K-G),Y.hold=z,Y.bits=L;return}});var St=O((CA1,_t)=>{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<J;V++)S[U[Y+V]]++;z=H;for(Z=uU;Z>=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;w<Z;w++)if(S[w]!==0)break;if(z<w)z=w;F=1;for(W=1;W<=uU;W++)if(F<<=1,F-=S[W],F<0)return-1;if(F>0&&(I===Ct||Z!==1))return-1;f[1]=0;for(W=1;W<uU;W++)f[W+1]=f[W]+S[W];for(V=0;V<J;V++)if(U[Y+V]!==0)q[f[U[Y+V]]++]=V;if(I===Ct)C=i=q,n=19;else if(I===Wv)C=Ch0,p-=257,i=jh0,Y0-=257,n=256;else C=_h0,i=Sh0,n=-1;if(T=0,V=0,W=w,b=K,L=z,D=0,u=-1,E=1<<z,g=E-1,I===Wv&&E>vt||I===jt&&E>Rt)return 1;for(;;){if(B=W-D,q[V]<n)k=0,d=q[V];else if(q[V]>n)k=i[Y0+q[V]],d=C[p+q[V]];else k=96,d=0;A=1<<W-D,R=1<<L,w=R;do R-=A,Q[b+(T>>D)+R]=B<<24|k<<16|d|0;while(R!==0);A=1<<W-1;while(T&A)A>>=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<<L;while(L+D<Z){if(F-=S[L+D],F<=0)break;L++,F<<=1}if(E+=1<<L,I===Wv&&E>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.wbits,Q.wnext=0,Q.whave=0,Q.window=new J$.Buf8(Q.wsize);if(Y>=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<Q.wsize)Q.whave+=J}}return 0}function lh0($,I){var U,Y,J,Q,K,q,G,H,W,V,w,Z,z,L,D=0,F,E,T,A,R,u,g,b,C=new J$.Buf8(4),p,n,S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!$||!$.state||!$.output||!$.input&&$.avail_in!==0)return T$;if(U=$.state,U.mode===X5)U.mode=Vv;K=$.next_out,J=$.output,G=$.avail_out,Q=$.next_in,Y=$.input,q=$.avail_in,H=U.hold,W=U.bits,V=q,w=G,b=r7;$:for(;;)switch(U.mode){case qa:if(U.wrap===0){U.mode=Vv;break}while(W<16){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(U.wrap&2&&H===35615){U.check=0,C[0]=H&255,C[1]=H>>>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<<g,$.adler=U.check=1,U.mode=H&512?pt:X5,H=0,W=0;break;case ht:while(W<16){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(U.flags=H,(U.flags&255)!==yt){$.msg="unknown compression method",U.mode=J4;break}if(U.flags&57344){$.msg="unknown header flags set",U.mode=J4;break}if(U.head)U.head.text=H>>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++]<<W,W+=8}if(U.head)U.head.time=H;if(U.flags&512)C[0]=H&255,C[1]=H>>>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++]<<W,W+=8}if(U.head)U.head.xflags=H&255,U.head.os=H>>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++]<<W,W+=8}if(U.length=H,U.head)U.head.extra_len=H;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}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<q);if(U.flags&512)U.check=T8(U.check,Y,Z,Q);if(q-=Z,Q+=Z,g)break $}else if(U.head)U.head.name=null;U.length=0,U.mode=it;case it:if(U.flags&4096){if(q===0)break $;Z=0;do if(g=Y[Q+Z++],U.head&&g&&U.length<65536)U.head.comment+=String.fromCharCode(g);while(g&&Z<q);if(U.flags&512)U.check=T8(U.check,Y,Z,Q);if(q-=Z,Q+=Z,g)break $}else if(U.head)U.head.comment=null;U.mode=nt;case nt:if(U.flags&512){while(W<16){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(H!==(U.check&65535)){$.msg="header crc mismatch",U.mode=J4;break}H=0,W=0}if(U.head)U.head.hcrc=U.flags>>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,W+=8}$.adler=U.check=Ua(H),H=0,W=0,U.mode=yw;case yw:if(U.havedict===0)return $.next_out=K,$.avail_out=G,$.next_in=Q,$.avail_in=q,U.hold=H,U.bits=W,kh0;$.adler=U.check=1,U.mode=X5;case X5:if(I===hh0||I===_w)break $;case Vv:if(U.last){H>>>=W&7,W-=W&7,U.mode=Zv;break}while(W<3){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}switch(U.last=H&1,H>>>=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++]<<W,W+=8}if((H&65535)!==(H>>>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++]<<W,W+=8}if(U.nlen=(H&31)+257,H>>>=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<U.ncode){while(W<3){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}U.lens[S[U.have++]]=H&7,H>>>=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<U.nlen+U.ndist){for(;;){if(D=U.lencode[H&(1<<U.lenbits)-1],F=D>>>24,E=D>>>16&255,T=D&65535,F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(T<16)H>>>=F,W-=F,U.lens[U.have++]=T;else{if(T===16){n=F+2;while(W<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(H>>>=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<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}H>>>=F,W-=F,g=0,Z=3+(H&7),H>>>=3,W-=3}else{n=F+7;while(W<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}H>>>=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<<U.lenbits)-1],F=D>>>24,E=D>>>16&255,T=D&65535,F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(E&&(E&240)===0){A=F,R=E,u=T;for(;;){if(D=U.lencode[u+((H&(1<<A+R)-1)>>A)],F=D>>>24,E=D>>>16&255,T=D&65535,A+F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}H>>>=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<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}U.length+=H&(1<<U.extra)-1,H>>>=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<<U.distbits)-1],F=D>>>24,E=D>>>16&255,T=D&65535,F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if((E&240)===0){A=F,R=E,u=T;for(;;){if(D=U.distcode[u+((H&(1<<A+R)-1)>>A)],F=D>>>24,E=D>>>16&255,T=D&65535,A+F<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}H>>>=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<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}U.offset+=H&(1<<U.extra)-1,H>>>=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++]<<W,W+=8}if(w-=G,$.total_out+=w,U.total+=w,w)$.adler=U.check=U.flags?T8(U.check,J,w,K-w):Lv(U.check,J,w,K-w);if(w=G,(U.flags?H:Ua(H))!==U.check){$.msg="incorrect data check",U.mode=J4;break}H=0,W=0}U.mode=$a;case $a:if(U.wrap&&U.flags){while(W<32){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(H!==(U.total&4294967295)){$.msg="incorrect length check",U.mode=J4;break}H=0,W=0}U.mode=Ia;case Ia:b=xh0;break $;case J4:b=Ka;break $;case Ov:return Dv;case fh0:default:return T$}if($.next_out=K,$.avail_out=G,$.next_in=Q,$.avail_in=q,U.hold=H,U.bits=W,U.wsize||w!==$.avail_out&&U.mode<J4&&(U.mode<Zv||I!==gt)){if(wa($,$.output,$.next_out,w-$.avail_out))return U.mode=Ov,Dv}if(V-=$.avail_in,w-=$.avail_out,$.total_in+=V,$.total_out+=w,U.total+=w,U.wrap&&w)$.adler=U.check=U.flags?T8(U.check,J,w,$.next_out-w):Lv(U.check,J,w,$.next_out-w);if($.data_type=U.bits+(U.last?64:0)+(U.mode===X5?128:0)+(U.mode===Sw||U.mode===wv?256:0),(V===0&&w===0||I===gt)&&b===r7)b=uh0;return b}function oh0($){if(!$||!$.state)return T$;var I=$.state;if(I.window)I.window=null;return $.state=null,r7}function rh0($,I){var U;if(!$||!$.state)return T$;if(U=$.state,(U.wrap&2)===0)return T$;return U.head=I,I.done=!1,r7}function th0($,I){var U=I.length,Y,J,Q;if(!$||!$.state)return T$;if(Y=$.state,Y.wrap!==0&&Y.mode!==yw)return T$;if(Y.mode===yw){if(J=1,J=Lv(J,I,U,0),J!==Y.check)return Ka}if(Q=wa($,I,U,U),Q)return Y.mode=Ov,Dv;return Y.havedict=1,r7}ah0.inflateReset=Ha;ah0.inflateReset2=Wa;ah0.inflateResetKeep=Ga;ah0.inflateInit=dh0;ah0.inflateInit2=Va;ah0.inflate=lh0;ah0.inflateEnd=oh0;ah0.inflateGetHeader=rh0;ah0.inflateSetDictionary=th0;ah0.inflateInfo="pako inflate (from Nodeca project)"});var Fv=O((_A1,Xa)=>{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<I;Y++)U+=String.fromCharCode($&255),$=$>>>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<this.dirRecords.length;I++)this.push({data:this.dirRecords[I],meta:{percent:100}});var U=this.bytesWritten-$,Y=bx0(this.dirRecords.length,U,$,this.zipComment,this.encodeFileName);this.push({data:Y,meta:{percent:100}})};a$.prototype.prepareNextSource=function(){if(this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused)this.previous.pause();else this.previous.resume()};a$.prototype.registerPrevious=function($){this._sources.push($);var I=this;return $.on("data",function(U){I.processChunk(U)}),$.on("end",function(){if(I.closedSource(I.previous.streamInfo),I._sources.length)I.prepareNextSource();else I.end()}),$.on("error",function(U){I.error(U)}),this};a$.prototype.resume=function(){if(!iU.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};a$.prototype.error=function($){var I=this._sources;if(!iU.prototype.error.call(this,$))return!1;for(var U=0;U<I.length;U++)try{I[U].error($)}catch(Y){}return!0};a$.prototype.lock=function(){iU.prototype.lock.call(this);var $=this._sources;for(var I=0;I<$.length;I++)$[I].lock()};va.exports=a$});var Ca=O((dx0)=>{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<U.length;Y++)delete this.files[U[Y].name]}return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function($){var I,U={};try{if(U=e2.extend($||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ox0.utf8encode}),U.type=U.type.toLowerCase(),U.compression=U.compression.toUpperCase(),U.type==="binarystring")U.type="string";if(!U.type)throw Error("No output type specified.");if(e2.checkSupport(U.type),U.platform==="darwin"||U.platform==="freebsd"||U.platform==="linux"||U.platform==="sunos")U.platform="UNIX";if(U.platform==="win32")U.platform="DOS";var Y=U.comment||this.comment||"";I=ax0.generateWorker(this,U,Y)}catch(J){I=new ha("error"),I.error(J)}return new rx0(I,U.type||"string",U.mimeType)},generateAsync:function($,I){return this.generateInternalStream($).accumulate(I)},generateNodeStream:function($,I){if($=$||{},!$.type)$.type="nodebuffer";return this.generateInternalStream($).toNodejsStream(I)}};ba.exports=$k0});var Ev=O((nA1,pa)=>{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.zero+$||$<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+$+"). Corrupted zip ?")},setIndex:function($){this.checkIndex($),this.index=$},skip:function($){this.setIndex(this.index+$)},byteAt:function(){},readInt:function($){var I=0,U;this.checkOffset($);for(U=this.index+$-1;U>=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<this.data.length;I++)$[I]=$[I]&255}Uk0.inherits(nU,ca);nU.prototype.byteAt=function($){return this.data[this.zero+$]};nU.prototype.lastIndexOfSignature=function($){var I=$.charCodeAt(0),U=$.charCodeAt(1),Y=$.charCodeAt(2),J=$.charCodeAt(3);for(var Q=this.length-4;Q>=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<I)U=$.readInt(2),Y=$.readInt(2),J=$.readData(Y),this.extraFields[U]={id:U,length:Y,value:J};$.setIndex(I)},handleUTF8:function(){var $=Vk0.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=bw.utf8decode(this.fileName),this.fileCommentStr=bw.utf8decode(this.fileComment);else{var I=this.findExtraFieldUnicodePath();if(I!==null)this.fileNameStr=I;else{var U=B9.transformTo($,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(U)}var Y=this.findExtraFieldUnicodeComment();if(Y!==null)this.fileCommentStr=Y;else{var J=B9.transformTo($,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(J)}}},findExtraFieldUnicodePath:function(){var $=this.extraFields[28789];if($){var I=_v($.value);if(I.readInt(1)!==1)return null;if(Us(this.fileName)!==I.readInt(4))return null;return bw.utf8decode(I.readData($.length-5))}return null},findExtraFieldUnicodeComment:function(){var $=this.extraFields[25461];if($){var I=_v($.value);if(I.readInt(1)!==1)return null;if(Us(this.fileComment)!==I.readInt(4))return null;return bw.utf8decode(I.readData($.length-5))}return null}};Js.exports=Ys});var Gs=O((rA1,qs)=>{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;$<this.files.length;$++)I=this.files[$],this.reader.setIndex(I.localHeaderOffset),this.checkSignature(s$.LOCAL_FILE_HEADER),I.readLocalPart(this.reader),I.handleUTF8(),I.processAttributes()},readCentralDir:function(){var $;this.reader.setIndex(this.centralDirOffset);while(this.reader.readAndCheckSignature(s$.CENTRAL_FILE_HEADER))$=new Lk0({zip64:this.zip64},this.loadOptions),$.readCentralPart(this.reader),this.files.push($);if(this.centralDirRecords!==this.files.length){if(this.centralDirRecords!==0&&this.files.length===0)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)}},readEndOfCentral:function(){var $=this.reader.lastIndexOfSignature(s$.CENTRAL_DIRECTORY_END);if($<0){var I=!this.isSignature(0,s$.LOCAL_FILE_HEADER);if(I)throw Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");else throw Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex($);var U=$;if(this.checkSignature(s$.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===z5.MAX_VALUE_16BITS||this.diskWithCentralDirStart===z5.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===z5.MAX_VALUE_16BITS||this.centralDirRecords===z5.MAX_VALUE_16BITS||this.centralDirSize===z5.MAX_VALUE_32BITS||this.centralDirOffset===z5.MAX_VALUE_32BITS){if(this.zip64=!0,$=this.reader.lastIndexOfSignature(s$.ZIP64_CENTRAL_DIRECTORY_LOCATOR),$<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex($),this.checkSignature(s$.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s$.ZIP64_CENTRAL_DIRECTORY_END)){if(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s$.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory")}this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s$.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var Y=this.centralDirOffset+this.centralDirSize;if(this.zip64)Y+=20,Y+=12+this.zip64EndOfCentralSize;var J=U-Y;if(J>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<K.length;q++)Q.push(Mk0(K[q]));return nw.Promise.all(Q)}).then(function(J){var Q=J.shift(),K=Q.files;for(var q=0;q<K.length;q++){var G=K[q],H=G.fileNameStr,W=Sv.resolve(G.fileNameStr);if(U.file(W,G.decompressed,{binary:!0,optimizedBinaryString:!0,date:G.date,dir:G.dir,comment:G.fileCommentStr.length?G.fileCommentStr:null,unixPermissions:G.unixPermissions,dosPermissions:G.dosPermissions,createFolders:I.createFolders}),!G.dir)U.file(W).unsafeOriginalName=H}if(Q.zipComment.length)U.comment=Q.zipComment;return U})}});var gv=O((aA1,ws)=>{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;I<arguments.length;I++){var U=arguments[I]!=null?arguments[I]:{};I%2?Zs(Object(U),!0).forEach(function(Y){Ak0($,Y,U[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(U)):Zs(Object(U)).forEach(function(Y){Object.defineProperty($,Y,Object.getOwnPropertyDescriptor(U,Y))})}return $}function Ak0($,I,U){if(I=Ls(I),I in $)Object.defineProperty($,I,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[I]=U;return $}function Pk0($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}function zs($,I){for(var U=0;U<I.length;U++){var Y=I[U];if(Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y)Y.writable=!0;Object.defineProperty($,Ls(Y.key),Y)}}function Tk0($,I,U){if(I)zs($.prototype,I);if(U)zs($,U);return Object.defineProperty($,"prototype",{writable:!1}),$}function Ls($){var I=Ek0($,"string");return typeof I==="symbol"?I:String(I)}function Ek0($,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 Bk0=r("buffer"),pw=Bk0.Buffer,vk0=r("util"),yv=vk0.inspect,Rk0=yv&&yv.custom||"inspect";function Ck0($,I,U){pw.prototype.copy.call($,I,U)}Ds.exports=function(){function $(){Pk0(this,$),this.head=null,this.tail=null,this.length=0}return Tk0($,[{key:"push",value: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}},{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(U<this.head.data.length)J=this.head.data.slice(0,U),this.head.data=this.head.data.slice(U);else if(U===this.head.data.length)J=this.shift();else J=Y?this._getString(U):this._getBuffer(U);return J}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(U){var Y=this.head,J=1,Q=Y.data;U-=Q.length;while(Y=Y.next){var K=Y.data,q=U>K.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<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else uv($,I,!1,q,Y,J,Q);return G}function uv($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,I.destroyed)I.onwrite(new ak0("write"));else if(U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function Ku0($,I,U,Y,J){if(--I.pendingcb,U)process.nextTick(J,Y),process.nextTick($K,$,I),$._writableState.errorEmitted=!0,dU($,Y);else J(Y),$._writableState.errorEmitted=!0,dU($,Y),$K($,I)}function qu0($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function Gu0($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(typeof J!=="function")throw new rk0;if(qu0(U),I)Ku0($,U,Y,I,J);else{var Q=Cs(U)||$.destroyed;if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)Rs($,U);if(Y)process.nextTick(Es,$,U,Q,J);else Es($,U,Q,J)}}function Es($,I,U,Y){if(!U)Hu0($,I);I.pendingcb--,Y(),$K($,I)}function Hu0($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function Rs($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,uv($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new Bs(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(uv($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}X4.prototype._write=function($,I,U){U(new ok0("_write()"))};X4.prototype._writev=null;X4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)wu0(this,Y,U);return this};Object.defineProperty(X4.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Cs($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function Wu0($,I){$._final(function(U){if(I.pendingcb--,U)dU($,U);I.prefinished=!0,$.emit("prefinish"),$K($,I)})}function Vu0($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function"&&!I.destroyed)I.pendingcb++,I.finalCalled=!0,process.nextTick(Wu0,$,I);else I.prefinished=!0,$.emit("prefinish")}function $K($,I){var U=Cs(I);if(U){if(Vu0($,I),I.pendingcb===0){if(I.finished=!0,$.emit("finish"),I.autoDestroy){var Y=$._readableState;if(!Y||Y.autoDestroy&&Y.endEmitted)$.destroy()}}}return U}function wu0($,I,U){if(I.ending=!0,$K($,I),U)if(I.finished)process.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function Zu0($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(X4.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(I){if(!this._writableState)return;this._writableState.destroyed=I}});X4.prototype.destroy=fv.destroy;X4.prototype._undestroy=fv.undestroy;X4.prototype._destroy=function($,I){I($)}});var s7=O((UP1,Ss)=>{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<lw.length;UK++)if(YK=lw[UK],!E8.prototype[YK])E8.prototype[YK]=iv.prototype[YK]}var lw,YK,UK;function E8($){if(!(this instanceof E8))return new E8($);if(_s.call(this,$),iv.call(this,$),this.allowHalfOpen=!0,$){if($.readable===!1)this.readable=!1;if($.writable===!1)this.writable=!1;if($.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",zu0)}}Object.defineProperty(E8.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(E8.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(E8.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function zu0(){if(this._writableState.ended)return;process.nextTick(Lu0,this)}function Lu0($){$.end()}Object.defineProperty(E8.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(I){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=I,this._writableState.destroyed=I}})});var hs=O((pv,ys)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */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<U)return 0;var J=cv(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=cv(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=cv(I[Y]),J>=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<U;J++)Y[J]=arguments[J];$.apply(this,Y)}}function gu0(){}function yu0($){return $.setHeader&&typeof $.abort==="function"}function us($,I,U){if(typeof I==="function")return us($,null,I);if(!I)I={};U=Su0(U||gu0);var Y=I.readable||I.readable!==!1&&$.readable,J=I.writable||I.writable!==!1&&$.writable,Q=function(){if(!$.writable)q()},K=$._writableState&&$._writableState.finished,q=function(){if(J=!1,K=!0,!Y)U.call($)},G=$._readableState&&$._readableState.endEmitted,H=function(){if(Y=!1,G=!0,!J)U.call($)},W=function(z){U.call($,z)},V=function(){var z;if(Y&&!G){if(!$._readableState||!$._readableState.ended)z=new ks;return U.call($,z)}if(J&&!K){if(!$._writableState||!$._writableState.ended)z=new ks;return U.call($,z)}},w=function(){$.req.on("finish",q)};if(yu0($))if($.on("complete",q),$.on("abort",V),$.req)w();else $.on("request",w);else if(J&&!$._writableState)$.on("end",Q),$.on("close",Q);if($.on("end",H),$.on("finish",q),I.error!==!1)$.on("error",W);return $.on("close",V),function(){if($.removeListener("complete",q),$.removeListener("abort",V),$.removeListener("request",w),$.req)$.req.removeListener("finish",q);$.removeListener("end",Q),$.removeListener("close",Q),$.removeListener("finish",q),$.removeListener("end",H),$.removeListener("error",W),$.removeListener("close",V)}}fs.exports=us});var is=O((QP1,bs)=>{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<arguments.length;I++){var U=arguments[I]!=null?arguments[I]:{};I%2?ps(Object(U),!0).forEach(function(Y){mu0($,Y,U[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(U)):ps(Object(U)).forEach(function(Y){Object.defineProperty($,Y,Object.getOwnPropertyDescriptor(U,Y))})}return $}function mu0($,I,U){if(I=lu0(I),I in $)Object.defineProperty($,I,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[I]=U;return $}function lu0($){var I=ou0($,"string");return typeof I==="symbol"?I:String(I)}function ou0($,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 ru0=v9().codes.ERR_INVALID_ARG_TYPE;function tu0($,I,U){var Y;if(I&&typeof I.next==="function")Y=I;else if(I&&I[Symbol.asyncIterator])Y=I[Symbol.asyncIterator]();else if(I&&I[Symbol.iterator])Y=I[Symbol.iterator]();else throw new ru0("iterable",["Iterable"],I);var J=new $(du0({objectMode:!0},U)),Q=!1;J._read=function(){if(!Q)Q=!0,K()};function K(){return q.apply(this,arguments)}function q(){return q=cu0(function*(){try{var G=yield Y.next(),H=G.value,W=G.done;if(W)J.push(null);else if(J.push(yield H))K();else Q=!1}catch(V){J.destroy(V)}}),q.apply(this,arguments)}return J}cs.exports=tu0});var nv=O((GP1,Ie)=>{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<Q.highWaterMark||Q.length===0)}function sv($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)I.awaitDrain=0,$.emit("data",U);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)$Z($)}$R($,I)}function Gf0($,I){var U;if(!eu0(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=new Yf0("chunk",["string","Buffer","Uint8Array"],I);return U}z1.prototype.isPaused=function(){return this._readableState.flowing===!1};z1.prototype.setEncoding=function($){if(!lU)lU=mv().StringDecoder;var I=new lU($);this._readableState.decoder=I,this._readableState.encoding=this._readableState.decoder.encoding;var U=this._readableState.buffer.head,Y="";while(U!==null)Y+=I.write(U.data),U=U.next;if(this._readableState.buffer.clear(),Y!=="")this._readableState.buffer.push(Y);return this._readableState.length=Y.length,this};var ms=1073741824;function Hf0($){if($>=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-$<I.highWaterMark)Y=!0,U1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,U1("reading or ended",Y);else if(Y){if(U1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=ls(U,I)}var J;if($>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.length<I.highWaterMark||I.flowing&&I.length===0)){var U=I.length;if(U1("maybeReadMore read 0"),$.read(0),U===I.length)break}I.readingMore=!1}z1.prototype._read=function($){KK(this,new Qf0("_read()"))};z1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,U1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:L;if(Y.endEmitted)process.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(D,F){if(U1("onunpipe"),D===U){if(F&&F.hasUnpiped===!1)F.hasUnpiped=!0,W()}}function q(){U1("onend"),$.end()}var G=wf0(U);$.on("drain",G);var H=!1;function W(){if(U1("cleanup"),$.removeListener("close",Z),$.removeListener("finish",z),$.removeListener("drain",G),$.removeListener("error",w),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",L),U.removeListener("data",V),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}U.on("data",V);function V(D){U1("ondata");var F=$.write(D);if(U1("dest.write",F),F===!1){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&$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;Q<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=$e(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};z1.prototype.on=function($,I){var U=qK.prototype.on.call(this,$,I),Y=this._readableState;if($==="data"){if(Y.readableListening=this.listenerCount("readable")>0,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<av.length;Q++)$.on(av[Q],this.emit.bind(this,av[Q]));return this._read=function(K){if(U1("wrapped _read",K),Y)Y=!1,$.resume()},this};if(typeof Symbol==="function")z1.prototype[Symbol.asyncIterator]=function(){if(rv===void 0)rv=is();return rv(this)};Object.defineProperty(z1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(z1.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(z1.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(I){if(this._readableState)this._readableState.flowing=I}});z1._fromList=es;Object.defineProperty(z1.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function es($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=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<Y;U++)if($[U]===I)return U;return-1}});var YR=O((HP1,Ye)=>{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<J.highWaterMark)this._read(J.highWaterMark)}function L5($){if(!(this instanceof L5))return new L5($);if(UZ.call(this,$),this._transformState={afterTransform:Mf0.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",Af0)}function Af0(){var $=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(I,U){Ue($,I,U)});else Ue(this,null,null)}L5.prototype.push=function($,I){return this._transformState.needTransform=!1,UZ.prototype.push.call(this,$,I)};L5.prototype._transform=function($,I,U){U(new Df0("_transform()"))};L5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};L5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};L5.prototype._destroy=function($,I){UZ.prototype._destroy.call(this,$,function(U){I(U)})};function Ue($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);if($._writableState.length)throw new Nf0;if($._transformState.transforming)throw new Ff0;return $.push(null)}});var Ke=O((WP1,Qe)=>{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=q<I.length-1,H=q>0;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(I<U){let Y=this._getWritableBuffer();I+=Y.write($,I,U-I)}},async write($,I,U){if(I instanceof Function)U=I,I="utf8";U=U||De.nop;let Y;if($ instanceof yf0)Y=new Fe($);else if($ instanceof Buffer)Y=new Ne($);else if(typeof $==="string"||$ instanceof String||$ instanceof ArrayBuffer)Y=new Oe($,I);else throw Error("Chunk must be one of type String, Buffer or StringBuf.");if(this.pipes.length)if(this.batch){this._writeToBuffers(Y);while(!this.corked&&this.buffers.length>1)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("<?xml"),KR(I,$),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("</"),I.push($),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<U)J[this.state].call(this);return this.chunkPosition+=U,I?this.end():this}close(){return this.write(null)}getCode10(){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>=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+=`</${I}>`}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<Q;q++){let G=YY.encodeAddress(J.row+q,K);if(!$[G]||!FK.isEqual($[J.address],$[G]))return!1}return!0};return I.map((J)=>{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;H<K;H++)for(let W=0;W<G;W++)q=YY.encodeAddress(Q.row+H,Q.col+W),U[q].marked=!0;if(K>1||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=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`});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<G.length;W+=H)q.write(G.substring(W,W+H))}switch(q.end(),K){case"_rels/.rels":Y.globalRels=await this.parseRels(q);break;case"xl/workbook.xml":{let G=await this.parseWorkbook(q);Y.sheets=G.sheets,Y.definedNames=G.definedNames,Y.views=G.views,Y.properties=G.properties,Y.calcProperties=G.calcProperties;break}case"xl/_rels/workbook.xml.rels":Y.workbookRels=await this.parseRels(q);break;case"xl/sharedStrings.xml":Y.sharedStrings=new gC,await Y.sharedStrings.parseStream(q);break;case"xl/styles.xml":Y.styles=new SC,await Y.styles.parseStream(q);break;case"docProps/app.xml":{let H=await new m50().parseStream(q);Y.company=H.company,Y.manager=H.manager;break}case"docProps/core.xml":{let H=await new d50().parseStream(q);Object.assign(Y,H);break}default:{let G=K.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(G){await this._processWorksheetEntry(q,Y,G[1],I,K);break}if(G=K.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),G){await this._processWorksheetRelsEntry(q,Y,G[1]);break}if(G=K.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),G){await this._processThemeEntry(q,Y,G[1]);break}if(G=K.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),G){await this._processMediaEntry(q,Y,G[1]);break}if(G=K.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),G){await this._processDrawingEntry(q,Y,G[1]);break}if(G=K.match(/xl\/(comments\d+)[.]xml/),G){await this._processCommentEntry(q,Y,G[1]);break}if(G=K.match(/xl\/tables\/(table\d+)[.]xml/),G){await this._processTableEntry(q,Y,G[1]);break}if(G=K.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),G){await this._processDrawingRelsEntry(q,Y,G[1]);break}if(G=K.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),G){await this._processVmlDrawingEntry(q,Y,G[1]);break}}}}return this.reconcile(Y,I),this.workbook.model=Y,this.workbook}async addMedia($,I){await Promise.all(I.media.map(async(U)=>{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<Y){var K=$[U];if(I(K,U,$))Q[J++]=K}return Q}function zo0($,I){var U=-1,Y=I.length,J=$.length;while(++U<Y)$[J+U]=I[U];return $}function Lo0($,I){var U=-1,Y=$==null?0:$.length;while(++U<Y)if(I($[U],U,$))return!0;return!1}function Do0($,I){var U=-1,Y=Array($);while(++U<$)Y[U]=I(U);return Y}function Oo0($){return function(I){return $(I)}}function Fo0($,I){return $.has(I)}function No0($,I){return $==null?void 0:$[I]}function Mo0($){var I=-1,U=Array($.size);return $.forEach(function(Y,J){U[++I]=[J,Y]}),U}function Ao0($,I){return function(U){return $(I(U))}}function Po0($){var I=-1,U=Array($.size);return $.forEach(function(Y){U[++I]=Y}),U}var To0=Array.prototype,Eo0=Function.prototype,UX=Object.prototype,bC=F5["__core-js_shared__"],v90=Eo0.toString,C8=UX.hasOwnProperty,q90=function(){var $=/[^.]+$/.exec(bC&&bC.keys&&bC.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),R90=UX.toString,Bo0=RegExp("^"+v90.call(C8).replace(Wo0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G90=B90?F5.Buffer:void 0,sZ=F5.Symbol,H90=F5.Uint8Array,C90=UX.propertyIsEnumerable,vo0=To0.splice,w3=sZ?sZ.toStringTag:void 0,W90=Object.getOwnPropertySymbols,Ro0=G90?G90.isBuffer:void 0,Co0=Ao0(Object.keys,Object),cC=WY(F5,"DataView"),AK=WY(F5,"Map"),dC=WY(F5,"Promise"),mC=WY(F5,"Set"),lC=WY(F5,"WeakMap"),PK=WY(Object,"create"),jo0=z3(cC),_o0=z3(AK),So0=z3(dC),go0=z3(mC),yo0=z3(lC),V90=sZ?sZ.prototype:void 0,iC=V90?V90.valueOf:void 0;function Z3($){var I=-1,U=$==null?0:$.length;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function ho0(){this.__data__=PK?PK(null):{},this.size=0}function xo0($){var I=this.has($)&&delete this.__data__[$];return this.size-=I?1:0,I}function ko0($){var I=this.__data__;if(PK){var U=I[$];return U===rC?void 0:U}return C8.call(I,$)?I[$]:void 0}function uo0($){var I=this.__data__;return PK?I[$]!==void 0:C8.call(I,$)}function fo0($,I){var U=this.__data__;return this.size+=this.has($)?0:1,U[$]=PK&&I===void 0?rC:I,this}Z3.prototype.clear=ho0;Z3.prototype.delete=xo0;Z3.prototype.get=ko0;Z3.prototype.has=uo0;Z3.prototype.set=fo0;function N5($){var I=-1,U=$==null?0:$.length;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function bo0(){this.__data__=[],this.size=0}function io0($){var I=this.__data__,U=YX(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else vo0.call(I,U,1);return--this.size,!0}function no0($){var I=this.__data__,U=YX(I,$);return U<0?void 0:I[U][1]}function po0($){return YX(this.__data__,$)>-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(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function do0(){this.size=0,this.__data__={hash:new Z3,map:new(AK||N5),string:new Z3}}function mo0($){var I=JX(this,$).delete($);return this.size-=I?1:0,I}function lo0($){return JX(this,$).get($)}function oo0($){return JX(this,$).has($)}function ro0($,I){var U=JX(this,$),Y=U.size;return U.set($,I),this.size+=U.size==Y?0:1,this}X3.prototype.clear=do0;X3.prototype.delete=mo0;X3.prototype.get=lo0;X3.prototype.has=oo0;X3.prototype.set=ro0;function eZ($){var I=-1,U=$==null?0:$.length;this.__data__=new X3;while(++I<U)this.add($[I])}function to0($){return this.__data__.set($,rC),this}function ao0($){return this.__data__.has($)}eZ.prototype.add=eZ.prototype.push=to0;eZ.prototype.has=ao0;function f9($){var I=this.__data__=new N5($);this.size=I.size}function so0(){this.__data__=new N5,this.size=0}function eo0($){var I=this.__data__,U=I.delete($);return this.size=I.size,U}function $r0($){return this.__data__.get($)}function Ir0($){return this.__data__.has($)}function Ur0($,I){var U=this.__data__;if(U instanceof N5){var Y=U.__data__;if(!AK||Y.length<ol0-1)return Y.push([$,I]),this.size=++U.size,this;U=this.__data__=new X3(Y)}return U.set($,I),this.size=U.size,this}f9.prototype.clear=so0;f9.prototype.delete=eo0;f9.prototype.get=$r0;f9.prototype.has=Ir0;f9.prototype.set=Ur0;function Yr0($,I){var U=$X($),Y=!U&&Or0($),J=!U&&!Y&&oC($),Q=!U&&!Y&&!J&&x90($),K=U||Y||J||Q,q=K?Do0($.length,String):[],G=q.length;for(var H in $)if((I||C8.call($,H))&&!(K&&(H=="length"||J&&(H=="offset"||H=="parent")||Q&&(H=="buffer"||H=="byteLength"||H=="byteOffset")||Zr0(H,G))))q.push(H);return q}function YX($,I){var U=$.length;while(U--)if(S90($[U][0],I))return U;return-1}function Jr0($,I,U){var Y=I($);return $X($)?Y:zo0(Y,U($))}function EK($){if($==null)return $===void 0?$o0:al0;return w3&&w3 in Object($)?Vr0($):Dr0($)}function w90($){return TK($)&&EK($)==oZ}function j90($,I,U,Y,J){if($===I)return!0;if($==null||I==null||!TK($)&&!TK(I))return $!==$&&I!==I;return Qr0($,I,U,Y,j90,J)}function Qr0($,I,U,Y,J,Q){var K=$X($),q=$X(I),G=K?nC:u9($),H=q?nC:u9(I);G=G==oZ?GY:G,H=H==oZ?GY:H;var W=G==GY,V=H==GY,w=G==H;if(w&&oC($)){if(!oC(I))return!1;K=!0,W=!1}if(w&&!W)return Q||(Q=new f9),K||x90($)?_90($,I,U,Y,J,Q):Hr0($,I,G,U,Y,J,Q);if(!(U&IX)){var Z=W&&C8.call($,"__wrapped__"),z=V&&C8.call(I,"__wrapped__");if(Z||z){var L=Z?$.value():$,D=z?I.value():I;return Q||(Q=new f9),J(L,D,U,Y,Q)}}if(!w)return!1;return Q||(Q=new f9),Wr0($,I,U,Y,J,Q)}function Kr0($){if(!h90($)||zr0($))return!1;var I=g90($)?Bo0:Vo0;return I.test(z3($))}function qr0($){return TK($)&&y90($.length)&&!!r1[EK($)]}function Gr0($){if(!Lr0($))return Co0($);var I=[];for(var U in Object($))if(C8.call($,U)&&U!="constructor")I.push(U);return I}function _90($,I,U,Y,J,Q){var K=U&IX,q=$.length,G=I.length;if(q!=G&&!(K&&G>q))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<q){var Z=$[W],z=I[W];if(Y)var L=K?Y(z,Z,W,I,$,Q):Y(Z,z,W,$,I,Q);if(L!==void 0){if(L)continue;V=!1;break}if(w){if(!Lo0(I,function(D,F){if(!Fo0(w,F)&&(Z===D||J(Z,D,U,Y,Q)))return w.push(F)})){V=!1;break}}else if(!(Z===z||J(Z,z,U,Y,Q))){V=!1;break}}return Q.delete($),Q.delete(I),V}function Hr0($,I,U,Y,J,Q,K){switch(U){case aZ:if($.byteLength!=I.byteLength||$.byteOffset!=I.byteOffset)return!1;$=$.buffer,I=I.buffer;case P90:if($.byteLength!=I.byteLength||!Q(new H90($),new H90(I)))return!1;return!0;case L90:case D90:case N90:return S90(+$,+I);case O90:return $.name==I.name&&$.message==I.message;case M90:case A90:return $==I+"";case rZ:var q=Mo0;case tZ:var G=Y&IX;if(q||(q=Po0),$.size!=I.size&&!G)return!1;var H=K.get($);if(H)return H==I;Y|=X90,K.set($,I);var W=_90(q($),q(I),Y,J,Q,K);return K.delete($),W;case el0:if(iC)return iC.call($)==iC.call(I)}return!1}function Wr0($,I,U,Y,J,Q){var K=U&IX,q=Z90($),G=q.length,H=Z90(I),W=H.length;if(G!=W&&!K)return!1;var V=G;while(V--){var w=q[V];if(!(K?w in I:C8.call(I,w)))return!1}var Z=Q.get($);if(Z&&Q.get(I))return Z==I;var z=!0;Q.set($,I),Q.set(I,$);var L=K;while(++V<G){w=q[V];var D=$[w],F=I[w];if(Y)var E=K?Y(F,D,w,I,$,Q):Y(D,F,w,$,I,Q);if(!(E===void 0?D===F||J(D,F,U,Y,Q):E)){z=!1;break}L||(L=w=="constructor")}if(z&&!L){var T=$.constructor,A=I.constructor;if(T!=A&&(("constructor"in $)&&("constructor"in I))&&!(typeof T=="function"&&T instanceof T&&typeof A=="function"&&A instanceof A))z=!1}return Q.delete($),Q.delete(I),z}function Z90($){return Jr0($,Mr0,wr0)}function JX($,I){var U=$.__data__;return Xr0(I)?U[typeof I=="string"?"string":"hash"]:U.map}function WY($,I){var U=No0($,I);return Kr0(U)?U:void 0}function Vr0($){var I=C8.call($,w3),U=$[w3];try{$[w3]=void 0;var Y=!0}catch(Q){}var J=R90.call($);if(Y)if(I)$[w3]=U;else delete $[w3];return J}var wr0=!W90?Ar0:function($){if($==null)return[];return $=Object($),Xo0(W90($),function(I){return C90.call($,I)})},u9=EK;if(cC&&u9(new cC(new ArrayBuffer(1)))!=aZ||AK&&u9(new AK)!=rZ||dC&&u9(dC.resolve())!=Y90||mC&&u9(new mC)!=tZ||lC&&u9(new lC)!=pC)u9=function($){var I=EK($),U=I==GY?$.constructor:void 0,Y=U?z3(U):"";if(Y)switch(Y){case jo0:return aZ;case _o0:return rZ;case So0:return Y90;case go0:return tZ;case yo0:return pC}return I};function Zr0($,I){return I=I==null?z90:I,!!I&&(typeof $=="number"||wo0.test($))&&($>-1&&$%1==0&&$<I)}function Xr0($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function zr0($){return!!q90&&q90 in $}function Lr0($){var I=$&&$.constructor,U=typeof I=="function"&&I.prototype||UX;return $===U}function Dr0($){return R90.call($)}function z3($){if($!=null){try{return v90.call($)}catch(I){}try{return $+""}catch(I){}}return""}function S90($,I){return $===I||$!==$&&I!==I}var Or0=w90(function(){return arguments}())?w90:function($){return TK($)&&C8.call($,"callee")&&!C90.call($,"callee")},$X=Array.isArray;function Fr0($){return $!=null&&y90($.length)&&!g90($)}var oC=Ro0||Pr0;function Nr0($,I){return j90($,I)}function g90($){if(!h90($))return!1;var I=EK($);return I==F90||I==tl0||I==rl0||I==sl0}function y90($){return typeof $=="number"&&$>-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<J)if(U(I,$[Y]))return!0;return!1}function Bt0($,I,U,Y){var J=$.length,Q=U+(Y?1:-1);while(Y?Q--:++Q<J)if(I($[Q],Q,$))return Q;return-1}function vt0($,I,U){if(I!==I)return Bt0($,Rt0,U);var Y=U-1,J=$.length;while(++Y<J)if($[Y]===I)return Y;return-1}function Rt0($){return $!==$}function Ct0($,I){return $.has(I)}function jt0($,I){return $==null?void 0:$[I]}function _t0($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function Z70($){var I=-1,U=Array($.size);return $.forEach(function(Y){U[++I]=Y}),U}var St0=Array.prototype,gt0=Function.prototype,X70=Object.prototype,Jj=qj["__core-js_shared__"],w70=function(){var $=/[^.]+$/.exec(Jj&&Jj.keys&&Jj.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),z70=gt0.toString,Gj=X70.hasOwnProperty,yt0=X70.toString,ht0=RegExp("^"+z70.call(Gj).replace(Nt0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt0=St0.splice,kt0=Hj(qj,"Map"),Qj=Hj(qj,"Set"),BK=Hj(Object,"create");function D3($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function ut0(){this.__data__=BK?BK(null):{}}function ft0($){return this.has($)&&delete this.__data__[$]}function bt0($){var I=this.__data__;if(BK){var U=I[$];return U===Kj?void 0:U}return Gj.call(I,$)?I[$]:void 0}function it0($){var I=this.__data__;return BK?I[$]!==void 0:Gj.call(I,$)}function nt0($,I){var U=this.__data__;return U[$]=BK&&I===void 0?Kj:I,this}D3.prototype.clear=ut0;D3.prototype.delete=ft0;D3.prototype.get=bt0;D3.prototype.has=it0;D3.prototype.set=nt0;function zY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function pt0(){this.__data__=[]}function ct0($){var I=this.__data__,U=GX(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else xt0.call(I,U,1);return!0}function dt0($){var I=this.__data__,U=GX(I,$);return U<0?void 0:I[U][1]}function mt0($){return GX(this.__data__,$)>-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<U){var Y=$[I];this.set(Y[0],Y[1])}}function ot0(){this.__data__={hash:new D3,map:new(kt0||zY),string:new D3}}function rt0($){return HX(this,$).delete($)}function tt0($){return HX(this,$).get($)}function at0($){return HX(this,$).has($)}function st0($,I){return HX(this,$).set($,I),this}LY.prototype.clear=ot0;LY.prototype.delete=rt0;LY.prototype.get=tt0;LY.prototype.has=at0;LY.prototype.set=st0;function qX($){var I=-1,U=$?$.length:0;this.__data__=new LY;while(++I<U)this.add($[I])}function et0($){return this.__data__.set($,Kj),this}function $a0($){return this.__data__.has($)}qX.prototype.add=qX.prototype.push=et0;qX.prototype.has=$a0;function GX($,I){var U=$.length;while(U--)if(Ga0($[U][0],I))return U;return-1}function Ia0($){if(!L70($)||Qa0($))return!1;var I=Ha0($)||_t0($)?ht0:Mt0;return I.test(Ka0($))}function Ua0($,I,U){var Y=-1,J=Tt0,Q=$.length,K=!0,q=[],G=q;if(U)K=!1,J=Et0;else if(Q>=Lt0){var H=I?null:Ya0($);if(H)return Z70(H);K=!1,J=Ct0,G=new qX}else G=I?[]:q;$:while(++Y<Q){var W=$[Y],V=I?I(W):W;if(W=U||W!==0?W:0,K&&V===V){var w=G.length;while(w--)if(G[w]===V)continue $;if(I)G.push(V);q.push(W)}else if(!J(G,V,U)){if(G!==q)G.push(V);q.push(W)}}return q}var Ya0=!(Qj&&1/Z70(new Qj([,-0]))[1]==Dt0)?Wa0:function($){return new Qj($)};function HX($,I){var U=$.__data__;return Ja0(I)?U[typeof I=="string"?"string":"hash"]:U.map}function Hj($,I){var U=jt0($,I);return Ia0(U)?U:void 0}function Ja0($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function Qa0($){return!!w70&&w70 in $}function Ka0($){if($!=null){try{return z70.call($)}catch(I){}try{return $+""}catch(I){}}return""}function qa0($){return $&&$.length?Ua0($):[]}function Ga0($,I){return $===I||$!==$&&I!==I}function Ha0($){var I=L70($)?yt0.call($):"";return I==Ot0||I==Ft0}function L70($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function Wa0(){}D70.exports=qa0});var a70=O((WX,OY)=>{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<Q){var K=$[J];I(Y,K,U(K),$)}return Y}function ya0($,I){var U=-1,Y=$?$.length:0;while(++U<Y)if(I($[U],U,$))return!0;return!1}function ha0($){return function(I){return I==null?void 0:I[$]}}function xa0($,I){var U=-1,Y=Array($);while(++U<$)Y[U]=I(U);return Y}function ka0($){return function(I){return $(I)}}function ua0($,I){return $==null?void 0:$[I]}function Xj($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function fa0($){var I=-1,U=Array($.size);return $.forEach(function(Y,J){U[++I]=[J,Y]}),U}function ba0($,I){return function(U){return $(I(U))}}function ia0($){var I=-1,U=Array($.size);return $.forEach(function(Y){U[++I]=Y}),U}var na0=Array.prototype,pa0=Function.prototype,FX=Object.prototype,Wj=n9["__core-js_shared__"],T70=function(){var $=/[^.]+$/.exec(Wj&&Wj.keys&&Wj.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),i70=pa0.toString,j8=FX.hasOwnProperty,NY=FX.toString,ca0=RegExp("^"+i70.call(j8).replace(va0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),E70=n9.Symbol,B70=n9.Uint8Array,da0=FX.propertyIsEnumerable,ma0=na0.splice,la0=ba0(Object.keys,Object),zj=MY(n9,"DataView"),vK=MY(n9,"Map"),Lj=MY(n9,"Promise"),Dj=MY(n9,"Set"),Oj=MY(n9,"WeakMap"),RK=MY(Object,"create"),oa0=F3(zj),ra0=F3(vK),ta0=F3(Lj),aa0=F3(Dj),sa0=F3(Oj),zX=E70?E70.prototype:void 0,Vj=zX?zX.valueOf:void 0,v70=zX?zX.toString:void 0;function O3($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function ea0(){this.__data__=RK?RK(null):{}}function $s0($){return this.has($)&&delete this.__data__[$]}function Is0($){var I=this.__data__;if(RK){var U=I[$];return U===Fj?void 0:U}return j8.call(I,$)?I[$]:void 0}function Us0($){var I=this.__data__;return RK?I[$]!==void 0:j8.call(I,$)}function Ys0($,I){var U=this.__data__;return U[$]=RK&&I===void 0?Fj:I,this}O3.prototype.clear=ea0;O3.prototype.delete=$s0;O3.prototype.get=Is0;O3.prototype.has=Us0;O3.prototype.set=Ys0;function A5($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function Js0(){this.__data__=[]}function Qs0($){var I=this.__data__,U=NX(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else ma0.call(I,U,1);return!0}function Ks0($){var I=this.__data__,U=NX(I,$);return U<0?void 0:I[U][1]}function qs0($){return NX(this.__data__,$)>-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(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function Hs0(){this.__data__={hash:new O3,map:new(vK||A5),string:new O3}}function Ws0($){return MX(this,$).delete($)}function Vs0($){return MX(this,$).get($)}function ws0($){return MX(this,$).has($)}function Zs0($,I){return MX(this,$).set($,I),this}P5.prototype.clear=Hs0;P5.prototype.delete=Ws0;P5.prototype.get=Vs0;P5.prototype.has=ws0;P5.prototype.set=Zs0;function LX($){var I=-1,U=$?$.length:0;this.__data__=new P5;while(++I<U)this.add($[I])}function Xs0($){return this.__data__.set($,Fj),this}function zs0($){return this.__data__.has($)}LX.prototype.add=LX.prototype.push=Xs0;LX.prototype.has=zs0;function M5($){this.__data__=new A5($)}function Ls0(){this.__data__=new A5}function Ds0($){return this.__data__.delete($)}function Os0($){return this.__data__.get($)}function Fs0($){return this.__data__.has($)}function Ns0($,I){var U=this.__data__;if(U instanceof A5){var Y=U.__data__;if(!vK||Y.length<Va0-1)return Y.push([$,I]),this;U=this.__data__=new P5(Y)}return U.set($,I),this}M5.prototype.clear=Ls0;M5.prototype.delete=Ds0;M5.prototype.get=Os0;M5.prototype.has=Fs0;M5.prototype.set=Ns0;function Ms0($,I){var U=i9($)||r70($)?xa0($.length,String):[],Y=U.length,J=!!Y;for(var Q in $)if((I||j8.call($,Q))&&!(J&&(Q=="length"||d70(Q,Y))))U.push(Q);return U}function NX($,I){var U=$.length;while(U--)if(o70($[U][0],I))return U;return-1}function As0($,I,U,Y){return Ps0($,function(J,Q,K){I(Y,J,U(J),K)}),Y}var Ps0=fs0(Es0),Ts0=bs0();function Es0($,I){return $&&Ts0($,I,DX)}function n70($,I){I=AX(I,$)?[I]:p70(I);var U=0,Y=I.length;while($!=null&&U<Y)$=$[PX(I[U++])];return U&&U==Y?$:void 0}function Bs0($){return NY.call($)}function vs0($,I){return $!=null&&I in Object($)}function Nj($,I,U,Y,J){if($===I)return!0;if($==null||I==null||!TX($)&&!EX(I))return $!==$&&I!==I;return Rs0($,I,Nj,U,Y,J)}function Rs0($,I,U,Y,J,Q){var K=i9($),q=i9(I),G=wj,H=wj;if(!K)G=b9($),G=G==VX?DY:G;if(!q)H=b9(I),H=H==VX?DY:H;var W=G==DY&&!Xj($),V=H==DY&&!Xj(I),w=G==H;if(w&&!W)return Q||(Q=new M5),K||as0($)?c70($,I,U,Y,J,Q):is0($,I,G,U,Y,J,Q);if(!(J&FY)){var Z=W&&j8.call($,"__wrapped__"),z=V&&j8.call(I,"__wrapped__");if(Z||z){var L=Z?$.value():$,D=z?I.value():I;return Q||(Q=new M5),U(L,D,Y,J,Q)}}if(!w)return!1;return Q||(Q=new M5),ns0($,I,U,Y,J,Q)}function Cs0($,I,U,Y){var J=U.length,Q=J,K=!Y;if($==null)return!Q;$=Object($);while(J--){var q=U[J];if(K&&q[2]?q[1]!==$[q[0]]:!(q[0]in $))return!1}while(++J<Q){q=U[J];var G=q[0],H=$[G],W=q[1];if(K&&q[2]){if(H===void 0&&!(G in $))return!1}else{var V=new M5;if(Y)var w=Y(H,W,G,$,I,V);if(!(w===void 0?Nj(W,H,Y,OX|FY,V):w))return!1}}return!0}function js0($){if(!TX($)||ms0($))return!1;var I=t70($)||Xj($)?ca0:Ca0;return I.test(F3($))}function _s0($){return EX($)&&Pj($.length)&&!!t1[NY.call($)]}function Ss0($){if(typeof $=="function")return $;if($==null)return Ie0;if(typeof $=="object")return i9($)?hs0($[0],$[1]):ys0($);return Ue0($)}function gs0($){if(!ls0($))return la0($);var I=[];for(var U in Object($))if(j8.call($,U)&&U!="constructor")I.push(U);return I}function ys0($){var I=ps0($);if(I.length==1&&I[0][2])return l70(I[0][0],I[0][1]);return function(U){return U===$||Cs0(U,$,I)}}function hs0($,I){if(AX($)&&m70(I))return l70(PX($),I);return function(U){var Y=es0(U,$);return Y===void 0&&Y===I?$e0(U,$):Nj(I,Y,void 0,OX|FY)}}function xs0($){return function(I){return n70(I,$)}}function ks0($){if(typeof $=="string")return $;if(Tj($))return v70?v70.call($):"";var I=$+"";return I=="0"&&1/$==-R70?"-0":I}function p70($){return i9($)?$:os0($)}function us0($,I){return function(U,Y){var J=i9(U)?ga0:As0,Q=I?I():{};return J(U,$,Ss0(Y,2),Q)}}function fs0($,I){return function(U,Y){if(U==null)return U;if(!Aj(U))return $(U,Y);var J=U.length,Q=I?J:-1,K=Object(U);while(I?Q--:++Q<J)if(Y(K[Q],Q,K)===!1)break;return U}}function bs0($){return function(I,U,Y){var J=-1,Q=Object(I),K=Y(I),q=K.length;while(q--){var G=K[$?q:++J];if(U(Q[G],G,Q)===!1)break}return I}}function c70($,I,U,Y,J,Q){var K=J&FY,q=$.length,G=I.length;if(q!=G&&!(K&&G>q))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<q){var Z=$[W],z=I[W];if(Y)var L=K?Y(z,Z,W,I,$,Q):Y(Z,z,W,$,I,Q);if(L!==void 0){if(L)continue;V=!1;break}if(w){if(!ya0(I,function(D,F){if(!w.has(F)&&(Z===D||U(Z,D,Y,J,Q)))return w.add(F)})){V=!1;break}}else if(!(Z===z||U(Z,z,Y,J,Q))){V=!1;break}}return Q.delete($),Q.delete(I),V}function is0($,I,U,Y,J,Q,K){switch(U){case XX:if($.byteLength!=I.byteLength||$.byteOffset!=I.byteOffset)return!1;$=$.buffer,I=I.buffer;case u70:if($.byteLength!=I.byteLength||!Y(new B70($),new B70(I)))return!1;return!0;case j70:case _70:case y70:return o70(+$,+I);case S70:return $.name==I.name&&$.message==I.message;case h70:case x70:return $==I+"";case wX:var q=fa0;case ZX:var G=Q&FY;if(q||(q=ia0),$.size!=I.size&&!G)return!1;var H=K.get($);if(H)return H==I;Q|=OX,K.set($,I);var W=c70(q($),q(I),Y,J,Q,K);return K.delete($),W;case k70:if(Vj)return Vj.call($)==Vj.call(I)}return!1}function ns0($,I,U,Y,J,Q){var K=J&FY,q=DX($),G=q.length,H=DX(I),W=H.length;if(G!=W&&!K)return!1;var V=G;while(V--){var w=q[V];if(!(K?w in I:j8.call(I,w)))return!1}var Z=Q.get($);if(Z&&Q.get(I))return Z==I;var z=!0;Q.set($,I),Q.set(I,$);var L=K;while(++V<G){w=q[V];var D=$[w],F=I[w];if(Y)var E=K?Y(F,D,w,I,$,Q):Y(D,F,w,$,I,Q);if(!(E===void 0?D===F||U(D,F,Y,J,Q):E)){z=!1;break}L||(L=w=="constructor")}if(z&&!L){var T=$.constructor,A=I.constructor;if(T!=A&&(("constructor"in $)&&("constructor"in I))&&!(typeof T=="function"&&T instanceof T&&typeof A=="function"&&A instanceof A))z=!1}return Q.delete($),Q.delete(I),z}function MX($,I){var U=$.__data__;return ds0(I)?U[typeof I=="string"?"string":"hash"]:U.map}function ps0($){var I=DX($),U=I.length;while(U--){var Y=I[U],J=$[Y];I[U]=[Y,J,m70(J)]}return I}function MY($,I){var U=ua0($,I);return js0(U)?U:void 0}var b9=Bs0;if(zj&&b9(new zj(new ArrayBuffer(1)))!=XX||vK&&b9(new vK)!=wX||Lj&&b9(Lj.resolve())!=F70||Dj&&b9(new Dj)!=ZX||Oj&&b9(new Oj)!=Zj)b9=function($){var I=NY.call($),U=I==DY?$.constructor:void 0,Y=U?F3(U):void 0;if(Y)switch(Y){case oa0:return XX;case ra0:return wX;case ta0:return F70;case aa0:return ZX;case sa0:return Zj}return I};function cs0($,I,U){I=AX(I,$)?[I]:p70(I);var Y,J=-1,K=I.length;while(++J<K){var Q=PX(I[J]);if(!(Y=$!=null&&U($,Q)))break;$=$[Q]}if(Y)return Y;var K=$?$.length:0;return!!K&&Pj(K)&&d70(Q,K)&&(i9($)||r70($))}function d70($,I){return I=I==null?C70:I,!!I&&(typeof $=="number"||ja0.test($))&&($>-1&&$%1==0&&$<I)}function AX($,I){if(i9($))return!1;var U=typeof $;if(U=="number"||U=="symbol"||U=="boolean"||$==null||Tj($))return!0;return Ta0.test($)||!Pa0.test($)||I!=null&&$ in Object(I)}function ds0($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function ms0($){return!!T70&&T70 in $}function ls0($){var I=$&&$.constructor,U=typeof I=="function"&&I.prototype||FX;return $===U}function m70($){return $===$&&!TX($)}function l70($,I){return function(U){if(U==null)return!1;return U[$]===I&&(I!==void 0||($ in Object(U)))}}var os0=Mj(function($){$=ss0($);var I=[];if(Ea0.test($))I.push("");return $.replace(Ba0,function(U,Y,J,Q){I.push(J?Q.replace(Ra0,"$1"):Y||U)}),I});function PX($){if(typeof $=="string"||Tj($))return $;var I=$+"";return I=="0"&&1/$==-R70?"-0":I}function F3($){if($!=null){try{return i70.call($)}catch(I){}try{return $+""}catch(I){}}return""}var rs0=us0(function($,I,U){if(j8.call($,U))$[U].push(I);else $[U]=[I]});function Mj($,I){if(typeof $!="function"||I&&typeof I!="function")throw TypeError(wa0);var U=function(){var Y=arguments,J=I?I.apply(this,Y):Y[0],Q=U.cache;if(Q.has(J))return Q.get(J);var K=$.apply(this,Y);return U.cache=Q.set(J,K),K};return U.cache=new(Mj.Cache||P5),U}Mj.Cache=P5;function o70($,I){return $===I||$!==$&&I!==I}function r70($){return ts0($)&&j8.call($,"callee")&&(!da0.call($,"callee")||NY.call($)==VX)}var i9=Array.isArray;function Aj($){return $!=null&&Pj($.length)&&!t70($)}function ts0($){return EX($)&&Aj($)}function t70($){var I=TX($)?NY.call($):"";return I==g70||I==Za0}function Pj($){return typeof $=="number"&&$>-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<this.headersLength)return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`};return{row:this.mapHeaders($),isValid:!0}}mapHeaders($){let I={},{headers:U,headersLength:Y}=this;for(let J=0;J<Y;J+=1){let Q=U[J];if(!s70.default(Q)){let K=$[J];if(s70.default(K))I[Q]="";else I[Q]=K}}return I}setHeaders($){var I;let U=$.filter((Y)=>!!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}}Y30.Token=U30});var Ej=O((q30)=>{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<E;T+=1){var A=F[T],R=w[A],u=R&&R[0],g=R&&R[1];F[T]=g?{regex:u,parser:g}:A.replace(/^\[|\]$/g,"")}return function(b){for(var C={},p=0,n=0;p<E;p+=1){var S=F[p];if(typeof S=="string")n+=S.length;else{var{regex:f,parser:i}=S,Y0=b.slice(n),B=f.exec(Y0)[0];i.call(C,B),b=b.replace(B,"")}}return function(k){var d=k.afternoon;if(d!==void 0){var t=k.hours;d?t<12&&(k.hours+=12):t===12&&(k.hours=0),delete k.afternoon}}(C),C}}return function(z,L,D){D.p.customParseFormat=!0,z&&z.parseTwoDigitYear&&(q=z.parseTwoDigitYear);var F=L.prototype,E=F.parse;F.parse=function(T){var{date:A,utc:R,args:u}=T;this.$u=R;var g=u[1];if(typeof g=="string"){var b=u[2]===!0,C=u[3]===!0,p=b||C,n=u[2];C&&(n=u[2]),K=this.$locale(),!b&&n&&(K=D.Ls[n]),this.$d=function(Y0,B,k,d){try{if(["x","X"].indexOf(B)>-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()<i.date())return-S(i,f);var Y0=12*(i.year()-f.year())+(i.month()-f.month()),B=f.clone().add(Y0,H),k=i-B<0,d=f.clone().add(Y0+(k?-1:1),H);return+(-(Y0+(i-B)/(k?B-d:d-B))||0)},a:function(S){return S<0?Math.ceil(S)||0:Math.floor(S)},p:function(S){return{M:H,y:V,w:G,d:q,D:w,h:K,m:Q,s:J,ms:Y,Q:W}[S]||String(S||"").toLowerCase().replace(/s$/,"")},u:function(S){return S===void 0}},T="en",A={};A[T]=D;var R="$isDayjsObject",u=function(S){return S instanceof p||!(!S||!S[R])},g=function S(f,i,Y0){var B;if(!f)return T;if(typeof f=="string"){var k=f.toLowerCase();A[k]&&(B=k),i&&(A[k]=i,B=k);var d=f.split("-");if(!B&&d.length>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)<this.startOf(Y0)},f.isBefore=function(i,Y0){return this.endOf(Y0)<b(i)},f.$g=function(i,Y0,B){return C.u(i)?this[Y0]:this.set(B,i)},f.unix=function(){return Math.floor(this.valueOf()/1000)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(i,Y0){var B=this,k=!!C.u(Y0)||Y0,d=C.p(i),t=function(F0,g0){var m0=C.w(B.$u?Date.UTC(B.$y,g0,F0):new Date(B.$y,g0,F0),B);return k?m0:m0.endOf(q)},K0=function(F0,g0){return C.w(B.toDate()[F0].apply(B.toDate("s"),(k?[0,0,0,0]:[23,59,59,999]).slice(g0)),B)},W0=this.$W,A0=this.$M,v0=this.$D,L1="set"+(this.$u?"UTC":"");switch(d){case V:return k?t(1,0):t(31,11);case H:return k?t(1,A0):t(0,A0+1);case G:var f0=this.$locale().weekStart||0,H1=(W0<f0?W0+7:W0)-f0;return t(k?v0-H1:v0+(6-H1),A0);case q:case w:return K0(L1+"Hours",0);case K:return K0(L1+"Minutes",1);case Q:return K0(L1+"Seconds",2);case J:return K0(L1+"Milliseconds",3);default:return this.clone()}},f.endOf=function(i){return this.startOf(i,!1)},f.$set=function(i,Y0){var B,k=C.p(i),d="set"+(this.$u?"UTC":""),t=(B={},B[q]=d+"Date",B[w]=d+"Date",B[H]=d+"Month",B[V]=d+"FullYear",B[K]=d+"Hours",B[Q]=d+"Minutes",B[J]=d+"Seconds",B[Y]=d+"Milliseconds",B)[k],K0=k===q?this.$D+(Y0-this.$W):Y0;if(k===H||k===V){var W0=this.clone().set(w,1);W0.$d[t](K0),W0.init(),this.$d=W0.set(w,Math.min(this.$D,W0.daysInMonth())).$d}else t&&this.$d[t](K0);return this.init(),this},f.set=function(i,Y0){return this.clone().$set(i,Y0)},f.get=function(i){return this[C.p(i)]()},f.add=function(i,Y0){var B,k=this;i=Number(i);var d=C.p(Y0),t=function(A0){var v0=b(k);return C.w(v0.date(v0.date()+Math.round(A0*i)),k)};if(d===H)return this.set(H,this.$M+i);if(d===V)return this.set(V,this.$y+i);if(d===q)return t(1);if(d===G)return t(7);var K0=(B={},B[Q]=I,B[K]=U,B[J]=$,B)[d]||1,W0=this.$d.getTime()+i*K0;return C.w(W0,this)},f.subtract=function(i,Y0){return this.add(-1*i,Y0)},f.format=function(i){var Y0=this,B=this.$locale();if(!this.isValid())return B.invalidDate||Z;var k=i||"YYYY-MM-DDTHH:mm:ssZ",d=C.z(this),t=this.$H,K0=this.$m,W0=this.$M,A0=B.weekdays,v0=B.months,L1=B.meridiem,f0=function(g0,m0,K4,j4){return g0&&(g0[m0]||g0(Y0,k))||K4[m0].slice(0,j4)},H1=function(g0){return C.s(t%12||12,g0,"0")},F0=L1||function(g0,m0,K4){var j4=g0<12?"AM":"PM";return K4?j4.toLowerCase():j4};return k.replace(L,function(g0,m0){return m0||function(K4){switch(K4){case"YY":return String(Y0.$y).slice(-2);case"YYYY":return C.s(Y0.$y,4,"0");case"M":return W0+1;case"MM":return C.s(W0+1,2,"0");case"MMM":return f0(B.monthsShort,W0,v0,3);case"MMMM":return f0(v0,W0);case"D":return Y0.$D;case"DD":return C.s(Y0.$D,2,"0");case"d":return String(Y0.$W);case"dd":return f0(B.weekdaysMin,Y0.$W,A0,2);case"ddd":return f0(B.weekdaysShort,Y0.$W,A0,3);case"dddd":return A0[Y0.$W];case"H":return String(t);case"HH":return C.s(t,2,"0");case"h":return H1(1);case"hh":return H1(2);case"a":return F0(t,K0,!0);case"A":return F0(t,K0,!1);case"m":return String(K0);case"mm":return C.s(K0,2,"0");case"s":return String(Y0.$s);case"ss":return C.s(Y0.$s,2,"0");case"SSS":return C.s(Y0.$ms,3,"0");case"Z":return d}return null}(g0)||d.replace(":","")})},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(i,Y0,B){var k,d=this,t=C.p(Y0),K0=b(i),W0=(K0.utcOffset()-this.utcOffset())*I,A0=this-K0,v0=function(){return C.m(d,K0)};switch(t){case V:k=v0()/12;break;case H:k=v0();break;case W:k=v0()/3;break;case G:k=(A0-W0)/604800000;break;case q:k=(A0-W0)/86400000;break;case K:k=A0/U;break;case Q:k=A0/I;break;case J:k=A0/$;break;default:k=A0}return B?k:C.a(k)},f.daysInMonth=function(){return this.endOf(H).$D},f.$locale=function(){return A[this.$L]},f.locale=function(i,Y0){if(!i)return this.$L;var B=this.clone(),k=g(i,Y0,!0);return k&&(B.$L=k),B},f.clone=function(){return C.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},S}(),n=p.prototype;return b.prototype=n,[["$ms",Y],["$s",J],["$m",Q],["$H",K],["$W",q],["$M",H],["$y",V],["$D",w]].forEach(function(S){n[S[1]]=function(f){return this.$g(f,S[0],S[1])}}),b.extend=function(S,f){return S.$i||(S(f,p,b),S.$i=!0),b},b.locale=g,b.isDayjs=u,b.unix=function(S){return b(1000*S)},b.en=A[T],b.Ls=A,b.p={},b})});var c30=O((sB1,p30)=>{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++<w-1)Q.write([]);let{values:Z}=V;Z.shift(),Q.write(Z.map(G)),W=w});Q.end()})}writeFile($,I){I=I||{};let U={encoding:I.encoding||"utf8"},Y=b30.createWriteStream($,U);return this.write(Y,I)}async writeBuffer($){let I=new ie0;return await this.write(I,$),I.read()}}p30.exports=n30});var o30=O((eB1,l30)=>{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;$<this._worksheets.length;$++)if(!this._worksheets[$])return $;return this._worksheets.length||1}addWorksheet($,I){let U=this.nextId;if(I){if(typeof I==="string")console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),I={properties:{tabColor:{argb:I}}};else if(I.argb||I.theme||I.indexed)console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),I={properties:{tabColor:I}}}let Y=this._worksheets.reduce((K,q)=>(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<Q)Q=J,K=H;H=U.indexOf(I,W+1)}W=G<H&&G>=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<U.length;H++){if(K.length>=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=q<K;if(V)H*=-1,W=Y01;var w=J.some(I01),Z=0;for(var z=K;W(z,q)&&Q.length<U;z+=H){var L;if(I){if(L=String.fromCharCode(z),L==="\\")L=""}else if(L=String(z),w){var D=G-L.length;if(D>0){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<J.length;z++)if(J[z])Z=!1;V=[];var L=0;$:for(var D=0;D<w.length;D++){var F=nj(w[D],I,U,!1);for(var E=0;E<F.length;E++){var T=F[E];if(Z&&!T)continue;if(V.length>=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<I.length;F++)if(I[F]===j6){Q=F;break}let K=-1;for(let F=I.length-1;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)&&Q<this.maxGlobstarRecursion){let w=this._matchGlobStarBodySections($,I,U+G.length,Y+1,J,Q+1,K);if(w!==!1)return w}let V=$[U];if(V==="."||V===".."||!this.options.dot&&V.charAt(0)===".")return!1;U++}return J||null}_matchOne($,I,U,Y,J){let Q,K,q,G;for(Q=Y,K=J,q=$.length,G=I.length;Q<q&&K<G;Q++,K++){this.debug("matchOne loop");let H=I[K],W=$[Q];if(this.debug(I,H,W),H===!1||H===j6)return!1;let V;if(typeof H==="string")V=W===H,this.debug("string match",H,W,V);else V=W.match(H),this.debug("pattern match",H,W,V);if(!V)return!1}if(Q===q&&K===G)return!0;else if(Q===q)return U;else if(K===G)return Q===q-1&&$[Q]==="";throw Error("wtf?")}braceExpand(){return LI0(this.pattern,this.options)}parse($,I){SX($);let U=this.options;if($==="**")if(!U.noglobstar)return j6;else $="*";if($==="")return"";let Y="",J=!1,Q=!1,K=[],q=[],G,H=!1,W=-1,V=-1,w,Z,z,L=$.charAt(0)===".",D=U.dot||L,F=()=>L?"":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<f;B++)i=i.replace(/\)[+*?]?/,"");p=i;let Y0=p===""&&I!==dj?"(?:$|\\/)":"";Y=b+C+p+Y0+n}if(Y!==""&&J)Y="(?=.)"+Y;if(A)Y=F()+Y;if(I===dj)return[Y,J];if(U.nocase&&!J)J=$.toUpperCase()!==$.toLowerCase();if(!J)return W01($);let R=U.nocase?"i":"";try{return Object.assign(new RegExp("^"+Y+"$",R),{_glob:$,_src:Y})}catch(u){return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let $=this.set;if(!$.length)return this.regexp=!1,this.regexp;let I=this.options,U=I.noglobstar?cj:I.dot?K01:q01,Y=I.nocase?"i":"",J=$.map((Q)=>{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<Y.length;Q++){let K=Y[Q],q=$;if(U.matchBase&&K.length===1)q=[J];if(this.matchOne(q,K,I)){if(U.flipNegate)return!0;return!this.negate}}if(U.flipNegate)return!1;return this.negate}static defaults($){return K$.defaults($).Minimatch}}K$.Minimatch=_K});var AI0=O((Qv1,MI0)=>{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<y?{value:P[v],key:v}:null}}function C(P){var v=-1;return function(){var c=P.next();if(c.done)return null;return v++,{value:c.value,key:v}}}function p(P){var v=P?Object.keys(P):[],y=-1,c=v.length;return function $0(){var U0=v[++y];if(U0==="__proto__")return $0();return y<c?{value:P[U0],key:U0}:null}}function n(P){if(A(P))return b(P);var v=g(P);return v?C(v):p(P)}function S(P){return function(...v){if(P===null)throw Error("Callback was already called.");var y=P;P=null,y.apply(this,v)}}function f(P,v,y,c){let $0=!1,U0=!1,q0=!1,G0=0,Z0=0;function j0(){if(G0>=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(G0<P&&!U0){var D1=$0();if(D1===null){if(U0=!0,G0<=0)c(null);return}G0+=1,y(D1.value,D1.key,S(j0))}Z0=!1}K1()}};function Y0(P,v,y,c){return i(v)(P,D(y),c)}var B=F(Y0,4);function k(P,v,y){y=u(y);var c=0,$0=0,{length:U0}=P,q0=!1;if(U0===0)y(null);function G0(Z0,j0){if(Z0===!1)q0=!0;if(q0===!0)return;if(Z0)y(Z0);else if(++$0===U0||j0===R)y(null)}for(;c<U0;c++)v(P[c],c,S(G0))}function d(P,v,y){return B(P,1/0,v,y)}function t(P,v,y){var c=A(P)?k:d;return c(P,D(v),y)}var K0=F(t,3);function W0(P,v,y){return T(K0,P,v,y)}var A0=F(W0,3),v0=E(A0);function L1(P,v,y){return B(P,1,v,y)}var f0=F(L1,3);function H1(P,v,y){return T(f0,P,v,y)}var F0=F(H1,3),g0=E(F0);let m0=Symbol("promiseCallback");function K4(){let P,v;function y(c,...$0){if(c)return v(c);P($0.length>1?$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&&U0<v){var R0=j0.shift();R0()}}function VI(R0,x0){var V1=Z0[R0];if(!V1)V1=Z0[R0]=[];V1.push(x0)}function O7(R0){var x0=Z0[R0]||[];x0.forEach((V1)=>V1()),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<P.length)if(P[y]==="/"&&P[y+1]==="/"){let $0=P.indexOf(`
|
||
`,y);y=$0===-1?P.length:$0}else if(c!==-1&&P[y]==="/"&&P[y+1]==="*"){let $0=P.indexOf("*/",y);if($0!==-1)y=$0+2,c=P.indexOf("*/",y);else v+=P[y],y++}else v+=P[y],y++;return v}function l8(P){let v=w$(P.toString()),y=v.match(V$);if(!y)y=v.match(k$);if(!y)throw Error(`could not parse args in autoInject
|
||
Source:
|
||
`+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;V1<U4;V1++){var u4=h0[V1],X$=U0.indexOf(u4);if(X$===0)U0.shift();else if(X$>0)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<O1.concurrency&&O1._tasks.length){var h0=[],R0=[],x0=O1._tasks.length;if(O1.payload)x0=Math.min(x0,O1.payload);for(var V1=0;V1<x0;V1++){var U4=O1._tasks.shift();h0.push(U4),U0.push(U4),R0.push(U4.data)}if($0+=1,O1._tasks.length===0)K1("empty");if($0===O1.concurrency)K1("saturated");var u4=S(Z$(h0));c(R0,u4)}gJ=!1},length(){return O1._tasks.length},running(){return $0},workersList(){return U0},idle(){return O1._tasks.length+$0===0},pause(){O1.paused=!0},resume(){if(O1.paused===!1)return;O1.paused=!1,H(O1.process)}};return Object.defineProperties(O1,{saturated:{writable:!1,value:O7("saturated")},unsaturated:{writable:!1,value:O7("unsaturated")},empty:{writable:!1,value:O7("empty")},drain:{writable:!1,value:O7("drain")},error:{writable:!1,value:O7("error")}}),O1}function E0(P,v){return d5(P,1,v)}function a(P,v,y){return d5(P,v,y)}function N(P,v,y,c){c=u(c);var $0=D(y);return f0(P,(U0,q0,G0)=>{$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<q0.length;Z0++)if(q0[Z0])G0=G0.concat(...q0[Z0]);return c(U0,G0)})}var J0=F(e,4);function H0(P,v,y){return J0(P,1/0,v,y)}var C0=F(H0,3);function b0(P,v,y){return J0(P,1,v,y)}var k0=F(b0,3);function Q1(...P){return function(...v){var y=v.pop();return y(null,...P)}}function q4(P,v){return(y,c,$0,U0)=>{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<v.length;G0++)if($0[G0])q0.push(v[G0]);c(null,q0)})}function Bz0(P,v,y,c){var $0=[];P(v,(U0,q0,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<q0.length;j0++)if(q0[j0]){var{key:K1}=q0[j0],{val:D1}=q0[j0];if(Z0.call(G0,K1))G0[K1].push(D1);else G0[K1]=[D1]}return c(U0,G0)})}var _G=F(_z0,4);function cx(P,v,y){return _G(P,1/0,v,y)}function dx(P,v,y){return _G(P,1,v,y)}var mx=fx("log");function Sz0(P,v,y,c){c=u(c);var $0={},U0=D(y);return i(v)(P,(q0,G0,Z0)=>{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<Z$;W1++)D1[W1](j0,...K1)})});return U0.memo=y,U0.unmemoized=P,U0}var gG;if(Q)gG=process.nextTick;else if(J)gG=setImmediate;else gG=K;var tx=q(gG),gD=F((P,v,y)=>{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))<this.heap.length){if(v+1<this.heap.length&&hD(this.heap[v+1],this.heap[v]))v=v+1;if(hD(this.heap[P],this.heap[v]))break;let y=this.heap[P];this.heap[P]=this.heap[v],this.heap[v]=y,P=v}}push(P){P.pushCount=++this.pushCount,this.heap.push(P),this.percUp(this.heap.length-1)}unshift(P){return this.heap.push(P)}shift(){let[P]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),P}toArray(){return[...this]}*[Symbol.iterator](){for(let P=0;P<this.heap.length;P++)yield this.heap[P].data}remove(P){let v=0;for(let y=0;y<this.heap.length;y++)if(!P(this.heap[y]))this.heap[v]=this.heap[y],v++;this.heap.splice(v);for(let y=$k(this.heap.length-1);y>=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<v.priority;else return P.pushCount<v.pushCount}function Ik(P,v){var y=yD(P,v),{push:c,pushAsync:$0}=y;y._tasks=new ex,y._createTaskItem=({data:q0,priority:G0},Z0)=>{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<c;y++)D(P[y])(v)}var Uk=F(yz0,2);function yG(P,v,y,c){var $0=[...P].reverse();return M($0,v,y,c)}function hG(P){var v=D(P);return U(function(c,$0){return c.push((U0,...q0)=>{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++<c.times&&(typeof c.errorFilter!="function"||c.errorFilter(G0)))setTimeout(q0,c.intervalFunc(U0-1));else y(G0,...Z0)})}return q0(),y[m0]}function uz0(P,v){if(typeof v==="object")P.times=+v.times||kD,P.intervalFunc=typeof v.interval==="function"?v.interval:qk(+v.interval||Gk),P.errorFilter=v.errorFilter;else if(typeof v==="number"||typeof v==="string")P.times=+v||kD;else throw Error("Invalid arguments for async.retry")}function Hk(P,v){if(!v)v=P,P=null;let y=P&&P.arity||v.length;if(Z(v))y+=1;var c=D(v);return U(($0,U0)=>{if($0.length<y-1||U0==null)$0.push(U0),U0=K4();function q0(G0){c(...$0,G0)}if(P)xG(P,q0,U0);else xG(q0,U0);return U0[m0]})}function Wk(P,v){return gD(f0,P,v)}function fz0(P,v,y){return q4(Boolean,(c)=>c)(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 G0<Z0?-1:G0>Z0?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;q<G;q++){var H=K[q];this[H]=J[H]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!=="number")throw TypeError("end must be a Number");if(this.start>this.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<q;K++){var G=Q[K];this[G]=J[G]}if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.start<0)throw Error("start must be >= 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;I<V4[Y6].length;++I)if(V4[Y6][I].length>2)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<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else J_($,I,!1,q,Y,J,Q);return G}function J_($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function p01($,I,U,Y,J){if(--I.pendingcb,U)M3.nextTick(J,Y),M3.nextTick(gK,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),gK($,I)}function c01($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function d01($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(c01(U),I)p01($,U,Y,I,J);else{var Q=pI0(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)nI0($,U);if(Y)g01(kI0,$,U,Q,J);else kI0($,U,Q,J)}}function kI0($,I,U,Y){if(!U)m01($,I);I.pendingcb--,Y(),gK($,I)}function m01($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function nI0($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,J_($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new uI0(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(J_($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}T4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};T4.prototype._writev=null;T4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)r01(this,Y,U)};function pI0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function l01($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),gK($,I)})}function o01($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,M3.nextTick(l01,$,I);else I.prefinished=!0,$.emit("prefinish")}function gK($,I){var U=pI0(I);if(U){if(o01($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function r01($,I,U){if(I.ending=!0,gK($,I),U)if(I.finished)M3.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function t01($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(T4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});T4.prototype.destroy=iI0.destroy;T4.prototype._undestroy=iI0.undestroy;T4.prototype._destroy=function($,I){this.end(),I($)}});var A3=O((Zv1,oI0)=>{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<pX.length;hK++)if(xK=pX[hK],!E5.prototype[xK])E5.prototype[xK]=K_.prototype[xK]}var pX,xK,hK;function E5($){if(!(this instanceof E5))return new E5($);if(lI0.call(this,$),K_.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",s01)}Object.defineProperty(E5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function s01(){if(this.allowHalfOpen||this._writableState.ended)return;dI0.nextTick(e01,this)}function e01($){$.end()}Object.defineProperty(E5.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});E5.prototype._destroy=function($,I){this.push(null),this.end(),dI0.nextTick(I,$)}});var W_=O((Z11)=>{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<U)return 0;var J=G_(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=G_(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=G_(I[Y]),J>=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-$<I.highWaterMark)Y=!0,P1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,P1("reading or ended",Y);else if(Y){if(P1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=aI0(U,I)}var J;if($>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.length<I.highWaterMark)if(P1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}a1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};a1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,P1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)jY.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(F,E){if(P1("onunpipe"),F===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){P1("onend"),$.end()}var G=B11(U);$.on("drain",G);var H=!1;function W(){if(P1("cleanup"),$.removeListener("close",z),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",w),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",w);function w(F){P1("ondata"),V=!1;var E=$.write(F);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&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<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=KU0(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};a1.prototype.on=function($,I){var U=z_.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)jY.nextTick(v11,this);else if(Y.length)cX(this)}}return U};a1.prototype.addListener=a1.prototype.on;function v11($){P1("readable nexttick read 0"),$.read(0)}a1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)P1("resume"),$.flowing=!0,R11(this,$);return this};function R11($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,jY.nextTick(C11,$,I)}function C11($,I){if(!I.reading)P1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),L_($),I.flowing&&!I.reading)$.read(0)}a1.prototype.pause=function(){if(P1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)P1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function L_($){var I=$._readableState;P1("flow",I.flowing);while(I.flowing&&$.read()!==null);}a1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(P1("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(P1("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(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<w_.length;Q++)$.on(w_[Q],this.emit.bind(this,w_[Q]));return this._read=function(K){if(P1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(a1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});a1._fromList=QU0;function QU0($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=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($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?_11($,I):S11($,I);return Y}function _11($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>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<Y;U++)if($[U]===I)return U;return-1}});var D_=O((Dv1,WU0)=>{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<J.highWaterMark)this._read(J.highWaterMark)}function B5($){if(!(this instanceof B5))return new B5($);if(dX.call(this,$),this._transformState={afterTransform:y11.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",h11)}function h11(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){GU0($,I,U)});else GU0(this,null,null)}B5.prototype.push=function($,I){return this._transformState.needTransform=!1,dX.prototype.push.call(this,$,I)};B5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};B5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};B5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};B5.prototype._destroy=function($,I){var U=this;dX.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function GU0($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var XU0=O((Ov1,ZU0)=>{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 <https://github.com/jonschlinkert/normalize-path>
|
||
*
|
||
* Copyright (c) 2014-2018, Jon Schlinkert.
|
||
* Released under the MIT License.
|
||
*/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(++Y<J)Q[Y]=U[I+Y];Y=-1;var K=Array(I+1);while(++Y<I)K[Y]=U[Y];return K[I]=Q,TU0($,this,K)}}function m11($,I,U,Y){U||(U={});var J=-1,Q=I.length;while(++J<Q){var K=I[J],q=Y?Y(U[K],$[K],K,U,$):void 0;c11(U,K,q===void 0?$[K]:q)}return U}function l11($){return BU0(function(I,U){var Y=-1,J=U.length,Q=J>1?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<J){var q=U[Y];if(q)$(I,q,Y,Q)}return I})}function vU0($,I){return I=I==null?PU0:I,!!I&&(typeof $=="number"||f11.test($))&&($>-1&&$%1==0&&$<I)}function o11($,I,U){if(!M_(U))return!1;var Y=typeof I;if(Y=="number"?N_(U)&&vU0(I,U.length):Y=="string"&&(I in U))return F_(U[I],$);return!1}function r11($){var I=$&&$.constructor,U=typeof I=="function"&&I.prototype||iK;return $===U}function t11($){var I=[];if($!=null)for(var U in Object($))I.push(U);return I}function F_($,I){return $===I||$!==$&&I!==I}function a11($){return e11($)&&nK.call($,"callee")&&(!i11.call($,"callee")||EU0.call($)==x11)}var s11=Array.isArray;function N_($){return $!=null&&I41($.length)&&!$41($)}function e11($){return U41($)&&N_($)}function $41($){var I=M_($)?EU0.call($):"";return I==k11||I==u11}function I41($){return typeof $=="number"&&$>-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<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else E_($,I,!1,q,Y,J,Q);return G}function E_($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function N41($,I,U,Y,J){if(--I.pendingcb,U)P3.nextTick(J,Y),P3.nextTick(cK,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),cK($,I)}function M41($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function A41($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(M41(U),I)N41($,U,Y,I,J);else{var Q=uU0(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)kU0($,U);if(Y)W41(SU0,$,U,Q,J);else SU0($,U,Q,J)}}function SU0($,I,U,Y){if(!U)P41($,I);I.pendingcb--,Y(),cK($,I)}function P41($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function kU0($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,E_($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new gU0(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(E_($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}E4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};E4.prototype._writev=null;E4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)B41(this,Y,U)};function uU0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function T41($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),cK($,I)})}function E41($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,P3.nextTick(T41,$,I);else I.prefinished=!0,$.emit("prefinish")}function cK($,I){var U=uU0(I);if(U){if(E41($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function B41($,I,U){if(I.ending=!0,cK($,I),U)if(I.finished)P3.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function v41($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(E4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});E4.prototype.destroy=xU0.destroy;E4.prototype._undestroy=xU0.undestroy;E4.prototype._destroy=function($,I){this.end(),I($)}});var T3=O((Bv1,pU0)=>{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<Iz.length;mK++)if(lK=Iz[mK],!v5.prototype[lK])v5.prototype[lK]=v_.prototype[lK]}var Iz,lK,mK;function v5($){if(!(this instanceof v5))return new v5($);if(nU0.call(this,$),v_.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",C41)}Object.defineProperty(v5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function C41(){if(this.allowHalfOpen||this._writableState.ended)return;bU0.nextTick(j41,this)}function j41($){$.end()}Object.defineProperty(v5.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});v5.prototype._destroy=function($,I){this.push(null),this.end(),bU0.nextTick(I,$)}});var __=O((c41)=>{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<U)return 0;var J=C_(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=C_(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=C_(I[Y]),J>=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-$<I.highWaterMark)Y=!0,T1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,T1("reading or ended",Y);else if(Y){if(T1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=mU0(U,I)}var J;if($>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.length<I.highWaterMark)if(T1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}s1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};s1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,T1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)gY.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(F,E){if(T1("onunpipe"),F===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){T1("onend"),$.end()}var G=Y61(U);$.on("drain",G);var H=!1;function W(){if(T1("cleanup"),$.removeListener("close",z),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",w),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",w);function w(F){T1("ondata"),V=!1;var E=$.write(F);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&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<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=IY0(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};s1.prototype.on=function($,I){var U=x_.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)gY.nextTick(J61,this);else if(Y.length)Uz(this)}}return U};s1.prototype.addListener=s1.prototype.on;function J61($){T1("readable nexttick read 0"),$.read(0)}s1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)T1("resume"),$.flowing=!0,Q61(this,$);return this};function Q61($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,gY.nextTick(K61,$,I)}function K61($,I){if(!I.reading)T1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),k_($),I.flowing&&!I.reading)$.read(0)}s1.prototype.pause=function(){if(T1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)T1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function k_($){var I=$._readableState;T1("flow",I.flowing);while(I.flowing&&$.read()!==null);}s1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(T1("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(T1("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(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<g_.length;Q++)$.on(g_[Q],this.emit.bind(this,g_[Q]));return this._read=function(K){if(T1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(s1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});s1._fromList=$Y0;function $Y0($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=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($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?G61($,I):H61($,I);return Y}function G61($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>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<Y;U++)if($[U]===I)return U;return-1}});var u_=O((jv1,QY0)=>{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<J.highWaterMark)this._read(J.highWaterMark)}function R5($){if(!(this instanceof R5))return new R5($);if(Yz.call(this,$),this._transformState={afterTransform:V61.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",w61)}function w61(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){YY0($,I,U)});else YY0(this,null,null)}R5.prototype.push=function($,I){return this._transformState.needTransform=!1,Yz.prototype.push.call(this,$,I)};R5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};R5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};R5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};R5.prototype._destroy=function($,I){var U=this;Yz.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function YY0($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var HY0=O((_v1,GY0)=>{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(++U<Y)$[J+U]=I[U];return $}var f_=Object.prototype,M61=f_.hasOwnProperty,ZY0=f_.toString,VY0=F61.Symbol,A61=f_.propertyIsEnumerable,wY0=VY0?VY0.isConcatSpreadable:void 0;function XY0($,I,U,Y,J){var Q=-1,K=$.length;U||(U=P61),J||(J=[]);while(++Q<K){var q=$[Q];if(I>0&&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<J)if(U(I,$[Y]))return!0;return!1}function d61($,I){var U=-1,Y=$?$.length:0,J=Array(Y);while(++U<Y)J[U]=I($[U],U,$);return J}function m61($,I){var U=-1,Y=I.length,J=$.length;while(++U<Y)$[J+U]=I[U];return $}function l61($,I,U,Y){var J=$.length,Q=U+(Y?1:-1);while(Y?Q--:++Q<J)if(I($[Q],Q,$))return Q;return-1}function o61($,I,U){if(I!==I)return l61($,r61,U);var Y=U-1,J=$.length;while(++Y<J)if($[Y]===I)return Y;return-1}function r61($){return $!==$}function t61($){return function(I){return $(I)}}function a61($,I){return $.has(I)}function s61($,I){return $==null?void 0:$[I]}function e61($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}var $$1=Array.prototype,I$1=Function.prototype,d_=Object.prototype,i_=c_["__core-js_shared__"],LY0=function(){var $=/[^.]+$/.exec(i_&&i_.keys&&i_.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),NY0=I$1.toString,Kz=d_.hasOwnProperty,MY0=d_.toString,U$1=RegExp("^"+NY0.call(Kz).replace(u61,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),DY0=c_.Symbol,Y$1=d_.propertyIsEnumerable,J$1=$$1.splice,OY0=DY0?DY0.isConcatSpreadable:void 0,FY0=Math.max,Q$1=PY0(c_,"Map"),sK=PY0(Object,"create");function E3($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function K$1(){this.__data__=sK?sK(null):{}}function q$1($){return this.has($)&&delete this.__data__[$]}function G$1($){var I=this.__data__;if(sK){var U=I[$];return U===p_?void 0:U}return Kz.call(I,$)?I[$]:void 0}function H$1($){var I=this.__data__;return sK?I[$]!==void 0:Kz.call(I,$)}function W$1($,I){var U=this.__data__;return U[$]=sK&&I===void 0?p_:I,this}E3.prototype.clear=K$1;E3.prototype.delete=q$1;E3.prototype.get=G$1;E3.prototype.has=H$1;E3.prototype.set=W$1;function yY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function V$1(){this.__data__=[]}function w$1($){var I=this.__data__,U=qz(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else J$1.call(I,U,1);return!0}function Z$1($){var I=this.__data__,U=qz(I,$);return U<0?void 0:I[U][1]}function X$1($){return qz(this.__data__,$)>-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<U){var Y=$[I];this.set(Y[0],Y[1])}}function L$1(){this.__data__={hash:new E3,map:new(Q$1||yY),string:new E3}}function D$1($){return Gz(this,$).delete($)}function O$1($){return Gz(this,$).get($)}function F$1($){return Gz(this,$).has($)}function N$1($,I){return Gz(this,$).set($,I),this}hY.prototype.clear=L$1;hY.prototype.delete=D$1;hY.prototype.get=O$1;hY.prototype.has=F$1;hY.prototype.set=N$1;function Qz($){var I=-1,U=$?$.length:0;this.__data__=new hY;while(++I<U)this.add($[I])}function M$1($){return this.__data__.set($,p_),this}function A$1($){return this.__data__.has($)}Qz.prototype.add=Qz.prototype.push=M$1;Qz.prototype.has=A$1;function qz($,I){var U=$.length;while(U--)if(_$1($[U][0],I))return U;return-1}function P$1($,I,U,Y){var J=-1,Q=p61,K=!0,q=$.length,G=[],H=I.length;if(!q)return G;if(U)I=d61(I,t61(U));if(Y)Q=c61,K=!1;else if(I.length>=g61)Q=a61,K=!1,I=new Qz(I);$:while(++J<q){var W=$[J],V=U?U(W):W;if(W=Y||W!==0?W:0,K&&V===V){var w=H;while(w--)if(I[w]===V)continue $;G.push(W)}else if(!Q(I,V,Y))G.push(W)}return G}function AY0($,I,U,Y,J){var Q=-1,K=$.length;U||(U=B$1),J||(J=[]);while(++Q<K){var q=$[Q];if(I>0&&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<J)Q[Y]=U[I+Y];Y=-1;var K=Array(I+1);while(++Y<I)K[Y]=U[Y];return K[I]=Q,n61($,this,K)}}function Gz($,I){var U=$.__data__;return v$1(I)?U[typeof I=="string"?"string":"hash"]:U.map}function PY0($,I){var U=s61($,I);return T$1(U)?U:void 0}function B$1($){return g$1($)||S$1($)||!!(OY0&&$&&$[OY0])}function v$1($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function R$1($){return!!LY0&&LY0 in $}function C$1($){if($!=null){try{return NY0.call($)}catch(I){}try{return $+""}catch(I){}}return""}var j$1=E$1(function($,I){return n_($)?P$1($,AY0(I,1,n_,!0)):[]});function _$1($,I){return $===I||$!==$&&I!==I}function S$1($){return n_($)&&Kz.call($,"callee")&&(!Y$1.call($,"callee")||MY0.call($)==h61)}var g$1=Array.isArray;function y$1($){return $!=null&&h$1($.length)&&!TY0($)}function n_($){return x$1($)&&y$1($)}function TY0($){var I=EY0($)?MY0.call($):"";return I==x61||I==k61}function h$1($){return typeof $=="number"&&$>-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<J)if(U(I,$[Y]))return!0;return!1}function t$1($,I){var U=-1,Y=I.length,J=$.length;while(++U<Y)$[J+U]=I[U];return $}function a$1($,I,U,Y){var J=$.length,Q=U+(Y?1:-1);while(Y?Q--:++Q<J)if(I($[Q],Q,$))return Q;return-1}function s$1($,I,U){if(I!==I)return a$1($,e$1,U);var Y=U-1,J=$.length;while(++Y<J)if($[Y]===I)return Y;return-1}function e$1($){return $!==$}function $81($,I){return $.has(I)}function I81($,I){return $==null?void 0:$[I]}function U81($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function _Y0($){var I=-1,U=Array($.size);return $.forEach(function(Y){U[++I]=Y}),U}var Y81=Array.prototype,J81=Function.prototype,t_=Object.prototype,l_=Wz["__core-js_shared__"],vY0=function(){var $=/[^.]+$/.exec(l_&&l_.keys&&l_.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),SY0=J81.toString,Vz=t_.hasOwnProperty,gY0=t_.toString,Q81=RegExp("^"+SY0.call(Vz).replace(p$1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),RY0=Wz.Symbol,K81=t_.propertyIsEnumerable,q81=Y81.splice,CY0=RY0?RY0.isConcatSpreadable:void 0,jY0=Math.max,G81=a_(Wz,"Map"),o_=a_(Wz,"Set"),eK=a_(Object,"create");function B3($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function H81(){this.__data__=eK?eK(null):{}}function W81($){return this.has($)&&delete this.__data__[$]}function V81($){var I=this.__data__;if(eK){var U=I[$];return U===r_?void 0:U}return Vz.call(I,$)?I[$]:void 0}function w81($){var I=this.__data__;return eK?I[$]!==void 0:Vz.call(I,$)}function Z81($,I){var U=this.__data__;return U[$]=eK&&I===void 0?r_:I,this}B3.prototype.clear=H81;B3.prototype.delete=W81;B3.prototype.get=V81;B3.prototype.has=w81;B3.prototype.set=Z81;function xY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function X81(){this.__data__=[]}function z81($){var I=this.__data__,U=wz(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else q81.call(I,U,1);return!0}function L81($){var I=this.__data__,U=wz(I,$);return U<0?void 0:I[U][1]}function D81($){return wz(this.__data__,$)>-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(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function F81(){this.__data__={hash:new B3,map:new(G81||xY),string:new B3}}function N81($){return Zz(this,$).delete($)}function M81($){return Zz(this,$).get($)}function A81($){return Zz(this,$).has($)}function P81($,I){return Zz(this,$).set($,I),this}kY.prototype.clear=F81;kY.prototype.delete=N81;kY.prototype.get=M81;kY.prototype.has=A81;kY.prototype.set=P81;function Hz($){var I=-1,U=$?$.length:0;this.__data__=new kY;while(++I<U)this.add($[I])}function T81($){return this.__data__.set($,r_),this}function E81($){return this.__data__.has($)}Hz.prototype.add=Hz.prototype.push=T81;Hz.prototype.has=E81;function wz($,I){var U=$.length;while(U--)if(h81($[U][0],I))return U;return-1}function yY0($,I,U,Y,J){var Q=-1,K=$.length;U||(U=j81),J||(J=[]);while(++Q<K){var q=$[Q];if(I>0&&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<J)Q[Y]=U[I+Y];Y=-1;var K=Array(I+1);while(++Y<I)K[Y]=U[Y];return K[I]=Q,l$1($,this,K)}}function R81($,I,U){var Y=-1,J=o$1,Q=$.length,K=!0,q=[],G=q;if(U)K=!1,J=r$1;else if(Q>=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<Q){var W=$[Y],V=I?I(W):W;if(W=U||W!==0?W:0,K&&V===V){var w=G.length;while(w--)if(G[w]===V)continue $;if(I)G.push(V);q.push(W)}else if(!J(G,V,U)){if(G!==q)G.push(V);q.push(W)}}return q}var C81=!(o_&&1/_Y0(new o_([,-0]))[1]==u$1)?i81:function($){return new o_($)};function Zz($,I){var U=$.__data__;return _81(I)?U[typeof I=="string"?"string":"hash"]:U.map}function a_($,I){var U=I81($,I);return B81(U)?U:void 0}function j81($){return k81($)||x81($)||!!(CY0&&$&&$[CY0])}function _81($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function S81($){return!!vY0&&vY0 in $}function g81($){if($!=null){try{return SY0.call($)}catch(I){}try{return $+""}catch(I){}}return""}var y81=v81(function($){return R81(yY0($,1,hY0,!0))});function h81($,I){return $===I||$!==$&&I!==I}function x81($){return hY0($)&&Vz.call($,"callee")&&(!K81.call($,"callee")||gY0.call($)==b$1)}var k81=Array.isArray;function u81($){return $!=null&&f81($.length)&&!xY0($)}function hY0($){return b81($)&&u81($)}function xY0($){var I=kY0($)?gY0.call($):"";return I==i$1||I==n$1}function f81($){return typeof $=="number"&&$>-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){g8.lastIndex=K;var V=g8.exec(I);if(H=q,q+=V[0],G=H+V[1],K=g8.lastIndex,Q[G]||U&&U[G]===G)continue;var w;if(U&&Object.prototype.hasOwnProperty.call(U,G))w=U[G];else{var Z=l9.lstatSync(G);if(!Z.isSymbolicLink()){if(Q[G]=!0,U)U[G]=G;continue}var z=null;if(!o9){var L=Z.dev.toString(32)+":"+Z.ino.toString(32);if(J.hasOwnProperty(L))z=J[L]}if(z===null)l9.statSync(G),z=l9.readlinkSync(G);if(w=v3.resolve(H,z),U)U[G]=w;if(!o9)J[L]=z}I=v3.resolve(w,I.slice(K)),W()}if(U)U[Y]=I;return I};I51.realpath=function(I,U,Y){if(typeof Y!=="function")Y=$51(U),U=null;if(I=v3.resolve(I),U&&Object.prototype.hasOwnProperty.call(U,I))return process.nextTick(Y.bind(null,null,U[I]));var J=I,Q={},K={},q,G,H,W;V();function V(){var D=uY.exec(I);if(q=D[0].length,G=D[0],H=D[0],W="",o9&&!K[H])l9.lstat(H,function(F){if(F)return Y(F);K[H]=!0,w()});else process.nextTick(w)}function w(){if(q>=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<Y.length;V++){if(G.length>=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=q<K;if(V)H*=-1,W=L51;var w=J.some(X51),Z=0;for(var z=K;W(z,q)&&Q.length<U;z+=H){var L;if(I){if(L=String.fromCharCode(z),L==="\\")L=""}else if(L=String(z),w){var D=G-L.length;if(D>0){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<J.length;L++)Q.push(J[L].length);continue}return $q(J,Q,W+"{"+H.body+"}"+H.post,[""],I,U,K,[])}if(q)K=Y&&!Z,q=!1;var D;if(Z)D=D51(H.body,w,I,U);else{var F=$J0(H.body);if(F.length===1&&F[0]!==void 0){if(F=QS(F[0],I,U,!1).map(Z51),F.length===1){if(G=[],J=$q(J,Q,W+F[0],[""],I,U,K&&!H.post.length,G),Q=G,!H.post.length)break;$=H.post;continue}}var E=K&&!H.post.length&&!W;for(var T=0;E&&T<J.length;T++)if(J[T].length!==Q[T])E=!1;D=[];var A=0;$:for(var R=0;R<F.length;R++){var u=QS(F[R],I,U,!1);for(var g=0;g<u.length;g++){var b=u[g];if(E&&!b)continue;if(D.length>=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<Q&&$.charAt(J)==="!";J++)I=!I,Y++;if(Y)this.pattern=$.substr(Y);this.negate=I}q$.braceExpand=function($,I){return KJ0($,I)};B4.prototype.braceExpand=KJ0;function KJ0($,I){if(!I)if(this instanceof B4)I=this.options;else I={};if($=typeof $>"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<D&&(F=$.charAt(L));L++){if(this.debug("%s\t%s %s %j",$,L,Y,F),Q&&JJ0[F]){Y+="\\"+F,Q=!1;continue}switch(F){case"/":return!1;case"\\":z(),Q=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,L,Y,F),H){if(this.debug(" in class"),F==="!"&&L===V+1)F="^";Y+=F;continue}if(F==="*"&&G==="*")continue;if(Z.debug("call clearStateChar %j",G),z(),G=F,U.noext)z();continue;case"(":if(H){Y+="(";continue}if(!G){Y+="\\(";continue}K.push({type:G,start:L-1,reStart:Y.length,open:YJ0[G].open,close:YJ0[G].close}),Y+=G==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",G,Y),G=!1;continue;case")":if(H||!K.length){Y+="\\)";continue}z(),J=!0;var E=K.pop();if(Y+=E.close,E.type==="!")q.push(E);E.reEnd=Y.length;continue;case"|":if(H||!K.length||Q){Y+="\\|",Q=!1;continue}z(),Y+="|";continue;case"[":if(z(),H){Y+="\\"+F;continue}H=!0,V=L,W=Y.length,Y+=F;continue;case"]":if(L===V+1||!H){Y+="\\"+F,Q=!1;continue}var T=$.substring(V+1,L);try{RegExp("["+T+"]")}catch(K0){var A=this.parse(T,Xz);Y=Y.substr(0,W)+"\\["+A[0]+"\\]",J=J||A[1],H=!1;continue}J=!0,H=!1,Y+=F;continue;default:if(z(),Q)Q=!1;else if(JJ0[F]&&!(F==="^"&&H))Y+="\\";Y+=F}}if(H)T=$.substr(V+1),A=this.parse(T,Xz),Y=Y.substr(0,W)+"\\["+A[0],J=J||A[1];for(E=K.pop();E;E=K.pop()){var R=Y.slice(E.reStart+E.open.length);this.debug("setting tail",Y,E),R=R.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(K0,W0,A0){if(!A0)A0="\\";return W0+W0+A0+"|"}),this.debug(`tail=%j
|
||
%s`,R,R,E,Y);var u=E.type==="*"?GS:E.type==="?"?qS:"\\"+E.type;J=!0,Y=Y.slice(0,E.reStart)+u+"\\("+R}if(z(),Q)Y+="\\\\";var g=!1;switch(Y.charAt(0)){case"[":case".":case"(":g=!0}for(var b=q.length-1;b>-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<i;L++)Y0=Y0.replace(/\)[+*?]?/,"");f=Y0;var B="";if(f===""&&I!==Xz)B="$";var k=p+n+f+B+S;Y=k}if(Y!==""&&J)Y="(?=.)"+Y;if(g)Y=w+Y;if(I===Xz)return[Y,J];if(!J)return R51($);var d=U.nocase?"i":"";try{var t=new RegExp("^"+Y+"$",d)}catch(K0){return new RegExp("$.")}return t._glob=$,t._src=Y,t}q$.makeRe=function($,I){return new B4($,I||{}).makeRe()};B4.prototype.makeRe=v51;function v51(){if(this.regexp||this.regexp===!1)return this.regexp;var $=this.set;if(!$.length)return this.regexp=!1,this.regexp;var I=this.options,U=I.noglobstar?GS:I.dot?F51:N51,Y=I.nocase?"i":"",J=$.map(function(Q){return Q.map(function(K){return K===R3?U:typeof K==="string"?C51(K):K._src}).join("\\/")}).join("|");if(J="^(?:"+J+")$",this.negate)J="^(?!"+J+").*$";try{this.regexp=new RegExp(J,Y)}catch(Q){this.regexp=!1}return this.regexp}q$.match=function($,I,U){U=U||{};var Y=new B4(I,U);if($=$.filter(function(J){return Y.match(J)}),Y.options.nonull&&!$.length)$.push(I);return $};B4.prototype.match=function(I,U){if(typeof U>"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<J.length;K++){var q=J[K],G=I;if(Y.matchBase&&q.length===1)G=[Q];var H=this.matchOne(G,q,U);if(H){if(Y.flipNegate)return!0;return!this.negate}}if(Y.flipNegate)return!1;return this.negate};B4.prototype.matchOne=function($,I,U){if(I.indexOf(R3)!==-1)return this._matchGlobstar($,I,U,0,0);return this._matchOne($,I,U,0,0)};B4.prototype._matchGlobstar=function($,I,U,Y,J){var Q,K=-1;for(Q=J;Q<I.length;Q++)if(I[Q]===R3){K=Q;break}var q=-1;for(Q=I.length-1;Q>=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<H.length;A++){var R=H[A];if(R===R3)T.push(E),F=[[],0],D.push(F);else F[0].push(R),E++}var u=D.length-1,g=$.length-w;for(var b=0;b<D.length;b++)D[b][1]=g-(T[u--]+D[b][0].length);return!!this._matchGlobStarBodySections($,D,Y,0,U,0,!!w)};B4.prototype._matchGlobStarBodySections=function($,I,U,Y,J,Q,K){var q=I[Y];if(!q){for(var G=U;G<$.length;G++){K=!0;var H=$[G];if(H==="."||H===".."||!this.options.dot&&H.charAt(0)===".")return!1}return K}var W=q[0],V=q[1];while(U<=V){var w=this._matchOne($.slice(0,U+W.length),W,J,U,0);if(w&&Q<this.maxGlobstarRecursion){var Z=this._matchGlobStarBodySections($,I,U+W.length,Y+1,J,Q+1,K);if(Z!==!1)return Z}var H=$[U];if(H==="."||H===".."||!this.options.dot&&H.charAt(0)===".")return!1;U++}return J||null};B4.prototype._matchOne=function($,I,U,Y,J){var Q,K,q,G;for(Q=Y,K=J,q=$.length,G=I.length;Q<q&&K<G;Q++,K++){this.debug("matchOne loop");var H=I[K],W=$[Q];if(this.debug(I,H,W),H===!1||H===R3)return!1;var V;if(typeof H==="string")V=W===H,this.debug("string match",H,W,V);else V=W.match(H),this.debug("pattern match",H,W,V);if(!V)return!1}if(Q===q&&K===G)return!0;else if(Q===q)return U;else if(K===G)return Q===q-1&&$[Q]==="";throw Error("wtf?")};function R51($){return $.replace(/\\(.)/g,"$1")}function C51($){return $.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var Oz=O((pv1,Dz)=>{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<J;Y++){var Q=$.matches[Y];if(!Q||Object.keys(Q).length===0){if($.nonull){var K=$.minimatch.globSet[Y];if(I)U.push(K);else U[K]=!0}}else{var q=Object.keys(Q);if(I)U.push.apply(U,q);else q.forEach(function(G){U[G]=!0})}}if(!I)U=Object.keys(U);if(!$.nosort)U=U.sort(S51);if($.mark){for(var Y=0;Y<U.length;Y++)U[Y]=$._mark(U[Y]);if($.nodir)U=U.filter(function(G){var H=!/\/$/.test(G),W=$.cache[G]||$.cache[Uq($,G)];if(H&&W)H=W!=="DIR"&&!Array.isArray(W);return H})}if($.ignore.length)U=U.filter(function(G){return!wJ0($,G)});$.found=U}function k51($,I){var U=Uq($,I),Y=$.cache[U],J=I;if(Y){var Q=Y==="DIR"||Array.isArray(Y),K=I.slice(-1)==="/";if(Q&&!K)J+="/";else if(!Q&&K)J=J.slice(0,-1);if(J!==I){var q=Uq($,J);$.statCache[q]=$.statCache[U],$.cache[q]=$.cache[U]}}return J}function Uq($,I){var U=I;if(I.charAt(0)==="/")U=bY.join($.root,I);else if(VJ0(I)||I==="")U=I;else if($.changedCwd)U=bY.resolve($.cwd,I);else U=bY.resolve(I);if(process.platform==="win32")U=U.replace(/\\/g,"/");return U}function wJ0($,I){if(!$.ignore.length)return!1;return $.ignore.some(function(U){return U.matcher.match(I)||!!(U.gmatcher&&U.gmatcher.match(I))})}function u51($,I){if(!$.ignore.length)return!1;return $.ignore.some(function(U){return!!(U.gmatcher&&U.gmatcher.match(I))})}});var DJ0=O((ov1,LJ0)=>{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(o51(this,$,I),this.noprocess)return this;var U=this.minimatch.set.length;this.matches=Array(U);for(var Y=0;Y<U;Y++)this._process(this.minimatch.set[Y],Y,!1);this._finish()}y4.prototype._finish=function(){if(XJ0.ok(this instanceof y4),this.realpath){var $=this;this.matches.forEach(function(I,U){var Y=$.matches[U]=Object.create(null);for(var J in I)try{J=$._makeAbs(J);var Q=l51.realpathSync(J,$.realpathCache);Y[Q]=!0}catch(K){if(K.syscall==="stat")Y[$._makeAbs(J)]=!0;else throw K}})}C3.finish(this)};y4.prototype._process=function($,I,U){XJ0.ok(this instanceof y4);var Y=0;while(typeof $[Y]==="string")Y++;var J;switch(Y){case $.length:this._processSimple($.join("/"),I);return;case 0:J=null;break;default:J=$.slice(0,Y).join("/");break}var Q=$.slice(Y),K;if(J===null)K=".";else if(Fz(J)||Fz($.map(function(H){return typeof H==="string"?H:"[*]"}).join("/"))){if(!J||!Fz(J))J="/"+J;K=J}else K=J;var q=this._makeAbs(K);if(r51(this,K))return;var G=Q[0]===ZJ0.GLOBSTAR;if(G)this._processGlobStar(J,K,q,Q,I,U);else this._processReaddir(J,K,q,Q,I,U)};y4.prototype._processReaddir=function($,I,U,Y,J,Q){var K=this._readdir(U,Q);if(!K)return;var q=Y[0],G=!!this.minimatch.negate,H=q._glob,W=this.dot||H.charAt(0)===".",V=[];for(var w=0;w<K.length;w++){var Z=K[w];if(Z.charAt(0)!=="."||W){var z;if(G&&!$)z=!Z.match(q);else z=Z.match(q);if(z)V.push(Z)}}var L=V.length;if(L===0)return;if(Y.length===1&&!this.mark&&!this.stat){if(!this.matches[J])this.matches[J]=Object.create(null);for(var w=0;w<L;w++){var Z=V[w];if($)if($.slice(-1)!=="/")Z=$+"/"+Z;else Z=$+Z;if(Z.charAt(0)==="/"&&!this.nomount)Z=VS.join(this.root,Z);this._emitMatch(J,Z)}return}Y.shift();for(var w=0;w<L;w++){var Z=V[w],D;if($)D=[$,Z];else D=[Z];this._process(D.concat(Y),J,Q)}};y4.prototype._emitMatch=function($,I){if(t51(this,I))return;var U=this._makeAbs(I);if(this.mark)I=this._mark(I);if(this.absolute)I=U;if(this.matches[$][I])return;if(this.nodir){var Y=this.cache[U];if(Y==="DIR"||Array.isArray(Y))return}if(this.matches[$][I]=!0,this.stat)this._stat(I)};y4.prototype._readdirInGlobStar=function($){if(this.follow)return this._readdir($,!1);var I,U,Y;try{U=this.fs.lstatSync($)}catch(Q){if(Q.code==="ENOENT")return null}var J=U&&U.isSymbolicLink();if(this.symlinks[$]=J,!J&&U&&!U.isDirectory())this.cache[$]="FILE";else I=this._readdir($,!1);return I};y4.prototype._readdir=function($,I){var U;if(I&&!wS(this.symlinks,$))return this._readdirInGlobStar($);if(wS(this.cache,$)){var Y=this.cache[$];if(!Y||Y==="FILE")return null;if(Array.isArray(Y))return Y}try{return this._readdirEntries($,this.fs.readdirSync($))}catch(J){return this._readdirError($,J),null}};y4.prototype._readdirEntries=function($,I){if(!this.mark&&!this.stat)for(var U=0;U<I.length;U++){var Y=I[U];if($==="/")Y=$+Y;else Y=$+"/"+Y;this.cache[Y]=!0}return this.cache[$]=I,I};y4.prototype._readdirError=function($,I){switch(I.code){case"ENOTSUP":case"ENOTDIR":var U=this._makeAbs($);if(this.cache[U]="FILE",U===this.cwdAbs){var Y=Error(I.code+" invalid cwd "+this.cwd);throw Y.path=this.cwd,Y.code=I.code,Y}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs($)]=!1;break;default:if(this.cache[this._makeAbs($)]=!1,this.strict)throw I;if(!this.silent)console.error("glob error",I);break}};y4.prototype._processGlobStar=function($,I,U,Y,J,Q){var K=this._readdir(U,Q);if(!K)return;var q=Y.slice(1),G=$?[$]:[],H=G.concat(q);this._process(H,J,!1);var W=K.length,V=this.symlinks[U];if(V&&Q)return;for(var w=0;w<W;w++){var Z=K[w];if(Z.charAt(0)==="."&&!this.dot)continue;var z=G.concat(K[w],q);this._process(z,J,!0);var L=G.concat(K[w],Y);this._process(L,J,!0)}};y4.prototype._processSimple=function($,I){var U=this._stat($);if(!this.matches[I])this.matches[I]=Object.create(null);if(!U)return;if($&&Fz($)&&!this.nomount){var Y=/[\/\\]$/.test($);if($.charAt(0)==="/")$=VS.join(this.root,$);else if($=VS.resolve(this.root,$),Y)$+="/"}if(process.platform==="win32")$=$.replace(/\\/g,"/");this._emitMatch(I,$)};y4.prototype._stat=function($){var I=this._makeAbs($),U=$.slice(-1)==="/";if($.length>this.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<Y.length;J++)Y[J]=arguments[J];var Q=$.apply(this,Y),K=Y[Y.length-1];if(typeof Q==="function"&&Q!==K)Object.keys(K).forEach(function(q){Q[q]=K[q]});return Q}}});var Mz=O((tv1,XS)=>{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;Q<Y;Q++)U[Q].apply(null,J)}finally{if(U.length>Y)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<I;Y++)U[Y]=$[Y];return U}});var Yq=O(($R1,EJ0)=>{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;Q<J[0].length;Q++)if(typeof J[0][Q]!=="string")return!0;return!1};j3.Glob=j1;Y91(j1,J91);function j1($,I,U){if(typeof I==="function")U=I,I=null;if(I&&I.sync){if(U)throw TypeError("callback provided to sync glob");return new H91($,I)}if(!(this instanceof j1))return new j1($,I,U);Q91(this,$,I),this._didRealPath=!1;var Y=this.minimatch.set.length;if(this.matches=Array(Y),typeof U==="function")U=G91(U),this.on("error",U),this.on("end",function(G){U(null,G)});var J=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(Y===0)return q();var Q=!0;for(var K=0;K<Y;K++)this._process(this.minimatch.set[K],K,!1,q);Q=!1;function q(){if(--J._processing,J._processing<=0)if(Q)process.nextTick(function(){J._finish()});else J._finish()}}j1.prototype._finish=function(){if(LS(this instanceof j1),this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();_3.finish(this),this.emit("end",this.found)};j1.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var $=this.matches.length;if($===0)return this._finish();var I=this;for(var U=0;U<this.matches.length;U++)this._realpathSet(U,Y);function Y(){if(--$===0)I._finish()}};j1.prototype._realpathSet=function($,I){var U=this.matches[$];if(!U)return I();var Y=Object.keys(U),J=this,Q=Y.length;if(Q===0)return I();var K=this.matches[$]=Object.create(null);Y.forEach(function(q,G){q=J._makeAbs(q),U91.realpath(q,J.realpathCache,function(H,W){if(!H)K[W]=!0;else if(H.syscall==="stat")K[q]=!0;else J.emit("error",H);if(--Q===0)J.matches[$]=K,I()})})};j1.prototype._mark=function($){return _3.mark(this,$)};j1.prototype._makeAbs=function($){return _3.makeAbs(this,$)};j1.prototype.abort=function(){this.aborted=!0,this.emit("abort")};j1.prototype.pause=function(){if(!this.paused)this.paused=!0,this.emit("pause")};j1.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var $=this._emitQueue.slice(0);this._emitQueue.length=0;for(var I=0;I<$.length;I++){var U=$[I];this._emitMatch(U[0],U[1])}}if(this._processQueue.length){var Y=this._processQueue.slice(0);this._processQueue.length=0;for(var I=0;I<Y.length;I++){var J=Y[I];this._processing--,this._process(J[0],J[1],J[2],J[3])}}}};j1.prototype._process=function($,I,U,Y){if(LS(this instanceof j1),LS(typeof Y==="function"),this.aborted)return;if(this._processing++,this.paused){this._processQueue.push([$,I,U,Y]);return}var J=0;while(typeof $[J]==="string")J++;var Q;switch(J){case $.length:this._processSimple($.join("/"),I,Y);return;case 0:Q=null;break;default:Q=$.slice(0,J).join("/");break}var K=$.slice(J),q;if(Q===null)q=".";else if(Qq(Q)||Qq($.map(function(W){return typeof W==="string"?W:"[*]"}).join("/"))){if(!Q||!Qq(Q))Q="/"+Q;q=Q}else q=Q;var G=this._makeAbs(q);if(K91(this,q))return Y();var H=K[0]===TJ0.GLOBSTAR;if(H)this._processGlobStar(Q,q,G,K,I,U,Y);else this._processReaddir(Q,q,G,K,I,U,Y)};j1.prototype._processReaddir=function($,I,U,Y,J,Q,K){var q=this;this._readdir(U,Q,function(G,H){return q._processReaddir2($,I,U,Y,J,Q,H,K)})};j1.prototype._processReaddir2=function($,I,U,Y,J,Q,K,q){if(!K)return q();var G=Y[0],H=!!this.minimatch.negate,W=G._glob,V=this.dot||W.charAt(0)===".",w=[];for(var Z=0;Z<K.length;Z++){var z=K[Z];if(z.charAt(0)!=="."||V){var L;if(H&&!$)L=!z.match(G);else L=z.match(G);if(L)w.push(z)}}var D=w.length;if(D===0)return q();if(Y.length===1&&!this.mark&&!this.stat){if(!this.matches[J])this.matches[J]=Object.create(null);for(var Z=0;Z<D;Z++){var z=w[Z];if($)if($!=="/")z=$+"/"+z;else z=$+z;if(z.charAt(0)==="/"&&!this.nomount)z=zS.join(this.root,z);this._emitMatch(J,z)}return q()}Y.shift();for(var Z=0;Z<D;Z++){var z=w[Z],F;if($)if($!=="/")z=$+"/"+z;else z=$+z;this._process([z].concat(Y),J,Q,q)}q()};j1.prototype._emitMatch=function($,I){if(this.aborted)return;if(q91(this,I))return;if(this.paused){this._emitQueue.push([$,I]);return}var U=Qq(I)?I:this._makeAbs(I);if(this.mark)I=this._mark(I);if(this.absolute)I=U;if(this.matches[$][I])return;if(this.nodir){var Y=this.cache[U];if(Y==="DIR"||Array.isArray(Y))return}this.matches[$][I]=!0;var J=this.statCache[U];if(J)this.emit("stat",I,J);this.emit("match",I)};j1.prototype._readdirInGlobStar=function($,I){if(this.aborted)return;if(this.follow)return this._readdir($,!1,I);var U="lstat\x00"+$,Y=this,J=FS(U,Q);if(J)Y.fs.lstat($,J);function Q(K,q){if(K&&K.code==="ENOENT")return I();var G=q&&q.isSymbolicLink();if(Y.symlinks[$]=G,!G&&q&&!q.isDirectory())Y.cache[$]="FILE",I();else Y._readdir($,!1,I)}};j1.prototype._readdir=function($,I,U){if(this.aborted)return;if(U=FS("readdir\x00"+$+"\x00"+I,U),!U)return;if(I&&!DS(this.symlinks,$))return this._readdirInGlobStar($,U);if(DS(this.cache,$)){var Y=this.cache[$];if(!Y||Y==="FILE")return U();if(Array.isArray(Y))return U(null,Y)}var J=this;J.fs.readdir($,V91(this,$,U))};function V91($,I,U){return function(Y,J){if(Y)$._readdirError(I,Y,U);else $._readdirEntries(I,J,U)}}j1.prototype._readdirEntries=function($,I,U){if(this.aborted)return;if(!this.mark&&!this.stat)for(var Y=0;Y<I.length;Y++){var J=I[Y];if($==="/")J=$+J;else J=$+"/"+J;this.cache[J]=!0}return this.cache[$]=I,U(null,I)};j1.prototype._readdirError=function($,I,U){if(this.aborted)return;switch(I.code){case"ENOTSUP":case"ENOTDIR":var Y=this._makeAbs($);if(this.cache[Y]="FILE",Y===this.cwdAbs){var J=Error(I.code+" invalid cwd "+this.cwd);J.path=this.cwd,J.code=I.code,this.emit("error",J),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs($)]=!1;break;default:if(this.cache[this._makeAbs($)]=!1,this.strict)this.emit("error",I),this.abort();if(!this.silent)console.error("glob error",I);break}return U()};j1.prototype._processGlobStar=function($,I,U,Y,J,Q,K){var q=this;this._readdir(U,Q,function(G,H){q._processGlobStar2($,I,U,Y,J,Q,H,K)})};j1.prototype._processGlobStar2=function($,I,U,Y,J,Q,K,q){if(!K)return q();var G=Y.slice(1),H=$?[$]:[],W=H.concat(G);this._process(W,J,!1,q);var V=this.symlinks[U],w=K.length;if(V&&Q)return q();for(var Z=0;Z<w;Z++){var z=K[Z];if(z.charAt(0)==="."&&!this.dot)continue;var L=H.concat(K[Z],G);this._process(L,J,!0,q);var D=H.concat(K[Z],Y);this._process(D,J,!0,q)}q()};j1.prototype._processSimple=function($,I,U){var Y=this;this._stat($,function(J,Q){Y._processSimple2($,I,J,Q,U)})};j1.prototype._processSimple2=function($,I,U,Y,J){if(!this.matches[I])this.matches[I]=Object.create(null);if(!Y)return J();if($&&Qq($)&&!this.nomount){var Q=/[\/\\]$/.test($);if($.charAt(0)==="/")$=zS.join(this.root,$);else if($=zS.resolve(this.root,$),Q)$+="/"}if(process.platform==="win32")$=$.replace(/\\/g,"/");this._emitMatch(I,$),J()};j1.prototype._stat=function($,I){var U=this._makeAbs($),Y=$.slice(-1)==="/";if($.length>this.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<n;)C=C>>>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<p;)C=T[g[n++]^C&255]^E[g[n++]^C>>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<p)C=C>>>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<n;)if(S=g.charCodeAt(p++),S<128)C=C>>>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;Y<this._bufs.length;Y++){let J=U+this._bufs[Y].length;if(I<J||Y===this._bufs.length-1)return[Y,I-U];U=J}};d1.prototype._reverseOffset=function($){let I=$[0],U=$[1];for(let Y=0;Y<I;Y++)U+=this._bufs[Y].length;return U};d1.prototype.get=function(I){if(I>this.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;V<this._bufs.length;V++)this._bufs[V].copy(I,H),H+=this._bufs[V].length;return I}if(G<=this._bufs[K[0]].length-W)return Q?this._bufs[K[0]].copy(I,U,W,W+G):this._bufs[K[0]].slice(W,W+G);if(!Q)I=Y8.allocUnsafe(q);for(let V=K[0];V<this._bufs.length;V++){let w=this._bufs[V].length-W;if(G>w)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;U<this._bufs.length;U++)I.append(this._bufs[U]);return I};d1.prototype.append=function(I){if(I==null)return this;if(I.buffer)this._appendBuffer(Y8.from(I.buffer,I.byteOffset,I.byteLength));else if(Array.isArray(I))for(let U=0;U<I.length;U++)this.append(I[U]);else if(this._isBufferList(I))for(let U=0;U<I._bufs.length;U++)this.append(I._bufs[U]);else{if(typeof I==="number")I=I.toString();this._appendBuffer(Y8.from(I))}return this};d1.prototype._appendBuffer=function(I){this._bufs.push(I),this.length+=I.length};d1.prototype.indexOf=function($,I,U){if(U===void 0&&typeof I==="string")U=I,I=void 0;if(typeof $==="function"||Array.isArray($))throw TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');else if(typeof $==="number")$=Y8.from([$]);else if(typeof $==="string")$=Y8.from($,U);else if(this._isBufferList($))$=$.slice();else if(Array.isArray($.buffer))$=Y8.from($.buffer,$.byteOffset,$.byteLength);else if(!Y8.isBuffer($))$=Y8.from($);if(I=Number(I||0),isNaN(I))I=0;if(I<0)I=this.length+I;if(I<0)I=0;if($.length===0)return I>this.length?this.length:I;let Y=this._offset(I),J=Y[0],Q=Y[1];for(;J<this._bufs.length;J++){let K=this._bufs[J];while(Q<K.length)if(K.length-Q>=$.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-$<I.length)return!1;for(let U=0;U<I.length;U++)if(this.get($+U)!==I[U])return!1;return!0};(function(){let $={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let I in $)(function(U){if($[U]===null)d1.prototype[U]=function(Y,J){return this.slice(Y,Y+J)[U](0,J)};else d1.prototype[U]=function(Y=0){return this.slice(Y,Y+$[U])[U](0)}})(I)})();d1.prototype._isBufferList=function(I){return I instanceof d1||d1.isBufferList(I)};d1.isBufferList=function(I){return I!=null&&I[gQ0]};yQ0.exports=d1});var xQ0=O((RR1,Ez)=>{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(;U<Y;U++)if($[U]===I)return U;return Y},bQ0=function($){var I=256;for(var U=0;U<148;U++)I+=$[U];for(var Y=156;Y<512;Y++)I+=$[Y];return I},e9=function($,I){if($=$.toString(8),$.length>I)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<K;Y++)Q+=U[Y]*Math.pow(256,Y);return I?Q:-1*Q}var $7=function($,I,U){if($=$.slice(I,I+U),I=0,$[I]&128)return V71($);else{while(I<$.length&&$[I]===32)I++;var Y=G71(fQ0($,32,I,$.length),$.length,$.length);while(I<Y&&$[I]===0)I++;if(Y===I)return 0;return parseInt($.slice(I,Y).toString(),8)}},cY=function($,I,U,Y){return $.slice(I,fQ0($,0,I,I+U)).toString(Y)},dS=function($){var I=Buffer.byteLength($),U=Math.floor(Math.log(I)/Math.log(10))+1;if(I+U>=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($.length<Q){if(this._missing-=$.length,this._overflow=null,Y)return Y.write($,U);return J.append($),U()}this._cb=U,this._missing=0;var K=null;if($.length>Q)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(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">`)}_writeRelationship($){if(!this.count)this._writeOpen();let I=`rId${++this.count}`;if($.TargetMode)this.stream.write(`<Relationship Id="${I}" Type="${$.Type}" Target="${f71.xmlEncode($.Target)}" TargetMode="${$.TargetMode}"/>`);else this.stream.write(`<Relationship Id="${I}" Type="${$.Type}" Target="${$.Target}"/>`);return I}_writeClose(){this.stream.write("</Relationships>")}}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('<?xml version="1.0" encoding="UTF-8" standalone="yes"?><comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><authors><author>Author</author></authors><commentList>'),this.vmlStream.write('<?xml version="1.0" encoding="UTF-8"?><xml xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:x="urn:schemas-microsoft-com:office:excel"><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1" /></o:shapelayout><v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe"><v:stroke joinstyle="miter" /><v:path gradientshapeok="t" o:connecttype="rect" /></v:shapetype>')}_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("</commentList></comments>"),this.vmlStream.write("</xml>")}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<U;Y++)I(this.getRow(Y),Y)}else this._rows.forEach((U)=>{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('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),i4.addText('<worksheet 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">'),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("<sheetData>")}_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("</sheetData>")}_writeMergeCells(){if(this._merges.length)i4.reset(),i4.addText(`<mergeCells count="${this._merges.length}">`),this._merges.forEach(($)=>{i4.addText(`<mergeCell ref="${$}"/>`)}),i4.addText("</mergeCells>"),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(`<legacyDrawing r:id="${this._sheetCommentsWriter.vmlRelId}"/>`),this.stream.write(i4)}_writeDimensions(){}_writeCloseWorksheet(){this._write("</worksheet>")}}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;$<this._worksheets.length;$++)if(!this._worksheets[$])return $;return this._worksheets.length||1}addImage($){let I=this.media.length,U=Object.assign({},$,{type:"image",name:`image${I}.${$.extension}`});return this.media.push(U),I}getImage($){return this.media[$]}addWorksheet($,I){I=I||{};let U=I.useSharedStrings!==void 0?I.useSharedStrings:this.useSharedStrings;if(I.tabColor)console.trace("tabColor option has moved to { properties: tabColor: {...} }"),I.properties=Object.assign({tabColor:I.tabColor},I.properties);let Y=this.nextId;$=$||`sheet${Y}`;let J=new N31({id:Y,name:$,workbook:this,useSharedStrings:U,properties:I.properties,state:I.state,pageSetup:I.pageSetup,views:I.views,autoFilter:I.autoFilter,headerFooter:I.headerFooter});return this._worksheets[Y]=J,J}getWorksheet($){if($===void 0)return this._worksheets.find(()=>!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<U;Q++)if(this[Y+Q]!=$[Q]){J=!0;break}if(!J)return Y}return-1};function n20($,I){if(typeof $==="string"||$ instanceof String)$=wq($);else if(typeof $==="number"||$ instanceof Number)$=wq([$]);var U=$.length;I=I||this.length-U;for(var Y=I;Y>=0;Y--){var J=!1;for(var Q=0;Q<U;Q++)if(this[Y+Q]!=$[Q]){J=!0;break}if(!J)return Y}return-1}if(Buffer.prototype.lastIndexOf){if(wq("ABC").lastIndexOf("ABC")===-1)Buffer.prototype.lastIndexOf=n20}else Buffer.prototype.lastIndexOf=n20});var l20=O((lR1,m20)=>{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<q.length;H++){var W=q[H];if(!Object.hasOwnProperty.call(Y,W))J()}}}),I};N6.prototype.paths=function(){var $=[];return this.forEach(function(I){$.push(this.path)}),$};N6.prototype.nodes=function(){var $=[];return this.forEach(function(I){$.push(this.node)}),$};N6.prototype.clone=function(){var $=[],I=[];return function U(Y){for(var J=0;J<$.length;J++)if($[J]===Y)return I[J];if(typeof Y==="object"&&Y!==null){var Q=d20(Y);return $.push(Y),I.push(Q),Object.keys(Y).forEach(function(K){Q[K]=U(Y[K])}),$.pop(),I.pop(),Q}else return Y}(this.value)};function c20($,I,U){var Y=[],J=[],Q=!0;return function K(q){var G=U?d20(q):q,H={},W={node:G,node_:q,path:[].concat(Y),parent:J.slice(-1)[0],key:Y.slice(-1)[0],isRoot:Y.length===0,level:Y.length,circular:null,update:function(z){if(!W.isRoot)W.parent.node[W.key]=z;W.node=z},delete:function(){delete W.parent.node[W.key]},remove:function(){if(Array.isArray(W.parent.node))W.parent.node.splice(W.key,1);else delete W.parent.node[W.key]},before:function(z){H.before=z},after:function(z){H.after=z},pre:function(z){H.pre=z},post:function(z){H.post=z},stop:function(){Q=!1}};if(!Q)return W;if(typeof G==="object"&&G!==null){W.isLeaf=Object.keys(G).length==0;for(var V=0;V<J.length;V++)if(J[V].node_===q){W.circular=J[V];break}}else W.isLeaf=!0;W.notLeaf=!W.isLeaf,W.notRoot=!W.isRoot;var w=I.call(W,W.node);if(w!==void 0&&W.update)W.update(w);if(H.before)H.before.call(W,W.node);if(typeof W.node=="object"&&W.node!==null&&!W.circular){J.push(W);var Z=Object.keys(W.node);Z.forEach(function(z,L){if(Y.push(z),H.pre)H.pre.call(W,W.node[z],z);var D=K(W.node[z]);if(U&&Object.hasOwnProperty.call(W.node,z))W.node[z]=D.node;if(D.isLast=L==Z.length-1,D.isFirst=L==0,H.post)H.post.call(W,D);Y.pop()}),J.pop()}if(H.after)H.after.call(W,W.node);return W}($).node}Object.keys(N6.prototype).forEach(function($){N6[$]=function(I){var U=[].slice.call(arguments,1),Y=N6(I);return Y[$].apply(Y,U)}});function d20($){if(typeof $==="object"&&$!==null){var I;if(Array.isArray($))I=[];else if($ instanceof Date)I=new Date($);else if($ instanceof Boolean)I=new Boolean($);else if($ instanceof Number)I=new Number($);else if($ instanceof String)I=new String($);else I=Object.create(Object.getPrototypeOf($));return Object.keys($).forEach(function(U){I[U]=$[U]}),I}else return $}});var r20=O((oR1,o20)=>{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;$<arguments.length;$++)if(!Buffer.isBuffer(arguments[$]))throw TypeError("Tried to push a non-buffer");for(var $=0;$<arguments.length;$++){var I=arguments[$];this.buffers.push(I),this.length+=I.length}return this.length};S6.prototype.unshift=function(){for(var $=0;$<arguments.length;$++)if(!Buffer.isBuffer(arguments[$]))throw TypeError("Tried to unshift a non-buffer");for(var $=0;$<arguments.length;$++){var I=arguments[$];this.buffers.unshift(I),this.length+=I.length}return this.length};S6.prototype.copy=function($,I,U,Y){return this.slice(U,Y).copy($,I,0,Y-U)};S6.prototype.splice=function($,I){var U=this.buffers,Y=$>=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;$<J.length;$++)this.length+=J[$].length;var Q=new S6,K=0,q=0;for(var G=0;G<U.length&&q+U[G].length<Y;G++)q+=U[G].length;if(Y-q>0){var H=Y-q;if(H+I<U[G].length){Q.push(U[G].slice(H,H+I));var W=U[G],V=new Buffer(H);for(var $=0;$<H;$++)V[$]=W[$];var w=new Buffer(W.length-H-I);for(var $=H+I;$<W.length;$++)w[$-I-H]=W[$];if(J.length>0){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.length<I){var z=U[G],L=z.length,D=Math.min(L,I-Q.length);if(D===L)Q.push(z),U.splice(G,1);else Q.push(z.slice(0,D)),U[G]=U[G].slice(D)}return this.length-=Q.length,Q};S6.prototype.slice=function($,I){var U=this.buffers;if(I===void 0)I=this.length;if($===void 0)$=0;if(I>this.length)I=this.length;var Y=0;for(var J=0;J<U.length&&Y+U[J].length<=$;J++)Y+=U[J].length;var Q=new Buffer(I-$),K=0;for(var q=J;K<I-$&&q<U.length;q++){var G=U[q].length,H=K===0?$-Y:0,W=K+G>=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<Y.length)return{buf:U,offset:I};else I-=Y.length;U++}};S6.prototype.get=function(I){var U=this.pos(I);return this.buffers[U.buf].get(U.offset)};S6.prototype.set=function(I,U){var Y=this.pos(I);return this.buffers[Y.buf].set(Y.offset,U)};S6.prototype.indexOf=function($,I){if(typeof $==="string")$=new Buffer($);else if($ instanceof Buffer);else throw Error("Invalid type for a search string");if(!$.length)return 0;if(!this.length)return-1;var U=0,Y=0,J=0,Q,K=0;if(I){var q=this.pos(I);U=q.buf,Y=q.offset,K=I}for(;;){while(Y>=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<K.length&&I[Y+q+G]===K[G];G++);if(G===K.length)break}return J.set(Q,I.slice(Y,Y+q)),Y+=q+K.length,U},U.peek=function(Q){var K=Y;return Q.call(U,J.store),Y=K,U},U.flush=function(){return J.store={},U},U.eof=function(){return Y>=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;J<U;++J)Y[J]=$[J];return Y[J]=I,Y}function u31($,I,U){if(l6.isES5){var Y=Object.getOwnPropertyDescriptor($,I);if(Y!=null)return Y.get==null&&Y.set==null?Y.value:U}else return{}.hasOwnProperty.call($,I)?$[I]:void 0}function QK0($,I,U){if(Xg($))return $;var Y={value:U,configurable:!0,enumerable:!1,writable:!0};return l6.defineProperty($,I,Y),$}function f31($){throw $}var b31=function(){var $=[Array.prototype,Object.prototype,Function.prototype],I=function(J){for(var Q=0;Q<$.length;++Q)if($[Q]===J)return!0;return!1};if(l6.isES5){var U=Object.getOwnPropertyNames;return function(J){var Q=[],K=Object.create(null);while(J!=null&&!I(J)){var q;try{q=U(J)}catch(V){return Q}for(var G=0;G<q.length;++G){var H=q[G];if(K[H])continue;K[H]=!0;var W=Object.getOwnPropertyDescriptor(J,H);if(W!=null&&W.get==null&&W.set==null)Q.push(H)}J=l6.getPrototypeOf(J)}return Q}}else{var Y={}.hasOwnProperty;return function(J){if(I(J))return[];var Q=[];$:for(var K in J)if(Y.call(J,K))Q.push(K);else{for(var q=0;q<$.length;++q)if(Y.call($[q],K))continue $;Q.push(K)}return Q}}}(),i31=/this\s*\.\s*\S+\s*=/;function n31($){try{if(typeof $==="function"){var I=l6.names($.prototype),U=l6.isES5&&I.length>1,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;J<Y.length;++J){var Q=Y[J];if(U(Q))try{l6.defineProperty(I,Q,l6.getDescriptor($,Q))}catch(K){}}}var GK0=function($){if(l6.isArray($))return $;return null};if(typeof Symbol<"u"&&Symbol.iterator)Zg=typeof Array.from==="function"?function($){return Array.from($)}:function($){var I=[],U=$[Symbol.iterator](),Y;while(!(Y=U.next()).done)I.push(Y.value);return I},GK0=function($){if(l6.isArray($))return $;else if($!=null&&typeof $[Symbol.iterator]==="function")return Zg($);return null};var Zg,a31=typeof process<"u"&&qK0(process).toLowerCase()==="[object process]",HK0=typeof process<"u"&&typeof process.env<"u";function s31($){return HK0?process.env[$]:void 0}function e31(){if(typeof Promise==="function")try{var $=new Promise(function(){});if({}.toString.call($)==="[object Promise]")return Promise}catch(I){}}function $I1($,I){return $.bind(I)}var oY={isClass:n31,isIdentifier:d31,inheritedDataKeys:b31,getDataPropertyOrDefault:u31,thrower:f31,isArray:l6.isArray,asArray:GK0,notEnumerableProp:QK0,isPrimitive:Xg,isObject:h31,isError:KK0,canEvaluate:j31,errorObj:Wg,tryCatch:g31,inherits:y31,withAppended:k31,maybeWrapAsError:x31,toFastProperties:p31,filledRange:m31,toString:gz,canAttachTrace:wg,ensureErrorObject:r31,originatesFromRejection:o31,markAsOriginatingFromRejection:l31,classString:qK0,copyDescriptors:t31,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes==="function",isNode:a31,hasEnvVariables:HK0,env:s31,global:_31,getNativePromise:e31,domainBind:$I1};oY.isRecentNode=oY.isNode&&function(){var $=process.versions.node.split(".").map(Number);return $[0]===0&&$[1]>10||$[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
|
||
`)},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<J;++Q)U[Q+Y]=$[Q+I],$[Q+I]=void 0}function Y7($){this._capacity=$,this._length=0,this._front=0}Y7.prototype._willBeOverCapacity=function($){return this._capacity<$};Y7.prototype._pushOne=function($){var I=this.length();this._checkCapacity(I+1);var U=this._front+I&this._capacity-1;this[U]=$,this._length=I+1};Y7.prototype.push=function($,I,U){var Y=this.length()+3;if(this._willBeOverCapacity(Y)){this._pushOne($),this._pushOne(I),this._pushOne(U);return}var J=this._front+Y-3;this._checkCapacity(Y);var Q=this._capacity-1;this[J+0&Q]=$,this[J+1&Q]=I,this[J+2&Q]=U,this._length=Y};Y7.prototype.shift=function(){var $=this._front,I=this[$];return this[$]=void 0,this._front=$+1&this._capacity-1,this._length--,I};Y7.prototype.length=function(){return this._length};Y7.prototype._checkCapacity=function($){if(this._capacity<$)this._resizeTo(this._capacity<<1)};Y7.prototype._resizeTo=function($){var I=this._capacity;this._capacity=$;var U=this._front,Y=this._length,J=U+Y&I-1;UI1(this,0,this,I,J)};wK0.exports=Y7});var NK0=O(($C1,Mg)=>{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 zK0($,I,U){this._lateQueue.push($,I,U),this._queueTick()}function LK0($,I,U){this._normalQueue.push($,I,U),this._queueTick()}function DK0($){this._normalQueue._pushOne($),this._queueTick()}if(!FK0.hasDevTools)p4.prototype.invokeLater=zK0,p4.prototype.invoke=LK0,p4.prototype.settlePromises=DK0;else p4.prototype.invokeLater=function($,I,U){if(this._trampolineEnabled)zK0.call(this,$,I,U);else this._schedule(function(){setTimeout(function(){$.call(I,U)},100)})},p4.prototype.invoke=function($,I,U){if(this._trampolineEnabled)LK0.call(this,$,I,U);else this._schedule(function(){$.call(I,U)})},p4.prototype.settlePromises=function($){if(this._trampolineEnabled)DK0.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};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<hz.length;++u3)if(typeof Array.prototype[hz[u3]]==="function")zq.prototype[hz[u3]]=Array.prototype[hz[u3]];var u3;Tg.defineProperty(zq.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0});zq.prototype.isOperational=!0;var xz=0;zq.prototype.toString=function(){var $=Array(xz*4+1).join(" "),I=`
|
||
`+$+`AggregateError of:
|
||
`;xz++,$=Array(xz*4+1).join(" ");for(var U=0;U<this.length;++U){var Y=this[U]===this?"[Circular AggregateError]":this[U]+"",J=Y.split(`
|
||
`);for(var Q=0;Q<J.length;++Q)J[Q]=$+J[Q];Y=J.join(`
|
||
`),I+=Y+`
|
||
`}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<W;++z){var L=U(H[z],V);if(L instanceof $)L=L._target(),Z=L._bitField;else Z=null;if(w){if(Z!==null)L.suppressUnhandledRejections()}else if(Z!==null)if((Z&50397184)===0)L._proxy(this,z),this._values[z]=L;else if((Z&33554432)!==0)w=this._promiseFulfilled(L._value(),z);else if((Z&16777216)!==0)w=this._promiseRejected(L._reason(),z);else w=this._promiseCancelled(z);else w=this._promiseFulfilled(L,z)}if(!w)V._setAsyncGuaranteed()},G.prototype._isResolved=function(){return this._values===null},G.prototype._resolve=function(H){this._values=null,this._promise._fulfill(H)},G.prototype._cancel=function(){if(this._isResolved()||!this._promise._isCancellable())return;this._values=null,this._promise._cancel()},G.prototype._reject=function(H){this._values=null,this._promise._rejectCallback(H,!1)},G.prototype._promiseFulfilled=function(H,W){this._values[W]=H;var V=++this._totalResolved;if(V>=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<H.length;++W)if(H[W]instanceof $)H[W].cancel()},G.prototype.shouldCopyValues=function(){return!0},G.prototype.getActualLength=function(H){return H},G}});var CK0=O((JC1,RK0)=>{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(!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=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 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;H0<e.length;++H0)if(e[H0]===k0){if(H0>0)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,N){for(var M=0;M<N.length-1;++M)N[M].push("From previous event:"),N[M]=N[M].join(`
|
||
`);if(M<N.length)N[M]=N[M].join(`
|
||
`);return a+`
|
||
`+N.join(`
|
||
`)}function H1(a){for(var N=0;N<a.length;++N)if(a[N].length===0||N+1<a.length&&a[N][0]===a[N+1][0])a.splice(N,1),N--}function F0(a){var N=a[0];for(var M=1;M<a.length;++M){var j=a[M],x=N.length-1,s=N[x],m=-1;for(var e=j.length-1;e>=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;M<a.length;++M){var j=a[M],x=j===" (No stack trace)"||w.test(j),s=x&&w$(j);if(x&&!s){if(z&&j.charAt(0)!==" ")j=" "+j;N.push(j)}}return N}function m0(a){var N=a.stack.replace(/\s+$/g,"").split(`
|
||
`);for(var M=0;M<N.length;++M){var j=N[M];if(j===" (No stack trace)"||w.test(j))break}if(M>0&&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<N)return a;return a.substr(0,N-3)+"..."}function u$(){return typeof d5==="function"}var w$=function(){return!1},l8=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function a6(a){var N=a.match(l8);if(N)return{fileName:N[1],line:parseInt(N[2],10)}}function D7(a,N){if(!u$())return;var M=a.stack.split(`
|
||
`),j=N.stack.split(`
|
||
`),x=-1,s=-1,m,e;for(var J0=0;J0<M.length;++J0){var H0=a6(M[J0]);if(H0){m=H0.fileName,x=H0.line;break}}for(var J0=0;J0<j.length;++J0){var H0=a6(j[J0]);if(H0){e=H0.fileName,s=H0.line;break}}if(x<0||s<0||!m||!e||m!==e||x>=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;j<a;++j){var m=N[j].stack,e=M[m];if(e!==void 0&&e!==j){if(e>0)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<a-1)J0._parent=N[e+1],J0._parent.uncycle(),J0._length=J0._parent._length+1;else J0._parent=void 0,J0._length=1;var H0=J0._length+1;for(var C0=j-2;C0>=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<K.length;++V){var w=K[V];if(w===Error||w!=null&&w.prototype instanceof Error){if(H instanceof w)return Y(q).call(W,H)}else if(typeof w==="function"){var Z=Y(w).call(W,H);if(Z===J)return Z;else if(Z)return Y(q).call(W,H)}else if(I.isObject(H)){var z=U(w);for(var L=0;L<z.length;++L){var D=z[L];if(w[D]!=H[D])continue $}return Y(q).call(W,H)}}return $}}return Q}});var Eg=O((GC1,uK0)=>{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<U.length;++Y){var J=U[Y];if(!wI1.test(J))I[J]=$[J]}return I}return xK0.markAsOriginatingFromRejection($),$}function XI1($,I){return function(U,Y){if($===null)return;if(U){var J=ZI1(GI1(U));$._attachExtraTrace(J),$._reject(J)}else if(!I)$._fulfill(Y);else{var Q=arguments.length,K=Array(Math.max(Q-1,0));for(var q=1;q<Q;++q)K[q-1]=arguments[q];$._fulfill(K)}$=null}}uK0.exports=XI1});var bK0=O((HC1,fK0)=>{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<G.length;++W)this._doInvokeOnCancel(G[W],H);else if(G!==void 0)if(typeof G==="function"){if(!H){var V=Q(G).call(this._boundValue());if(V===K)this._attachExtraTrace(V.e),q.throwLater(V.e)}}else G._resultCancelled(this)},$.prototype._invokeOnCancel=function(){var G=this._onCancel();this._unsetOnCancel(),q.invoke(this._doInvokeOnCancel,this,G)},$.prototype._invokeInternalOnCancel=function(){if(this._isCancellable())this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel()},$.prototype._resultCancelled=function(){this.cancel()}}});var mK0=O((wC1,dK0)=>{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 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))},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;A<T.length;++A)T[A]="this.p"+(A+1);var R=T.join(" = ")+" = null;",u=`var promise;
|
||
`+T.map(function(p){return`
|
||
promise = `+p+`;
|
||
if (promise instanceof Promise) {
|
||
promise.cancel();
|
||
}
|
||
`}).join(`
|
||
`),g=T.join(", "),b="Holder$"+E,C=`return function(tryCatch, errorObj, Promise, async) {
|
||
'use strict';
|
||
function [TheName](fn) {
|
||
[TheProperties]
|
||
this.fn = fn;
|
||
this.asyncNeeded = true;
|
||
this.now = 0;
|
||
}
|
||
|
||
[TheName].prototype._callFunction = function(promise) {
|
||
promise._pushContext();
|
||
var ret = tryCatch(this.fn)([ThePassedArguments]);
|
||
promise._popContext();
|
||
if (ret === errorObj) {
|
||
promise._rejectCallback(ret.e, false);
|
||
} else {
|
||
promise._resolveCallback(ret);
|
||
}
|
||
};
|
||
|
||
[TheName].prototype.checkFulfillment = function(promise) {
|
||
var now = ++this.now;
|
||
if (now === [TheTotal]) {
|
||
if (this.asyncNeeded) {
|
||
async.invoke(this._callFunction, this, promise);
|
||
} else {
|
||
this._callFunction(promise);
|
||
}
|
||
|
||
}
|
||
};
|
||
|
||
[TheName].prototype._resultCancelled = function() {
|
||
[CancellationCode]
|
||
};
|
||
|
||
return [TheName];
|
||
}(tryCatch, errorObj, Promise, async);
|
||
`;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<E;++g){var b=U(arguments[g],i);if(b instanceof $){b=b._target();var C=b._bitField;if((C&50397184)===0)b._then(u[g],W,void 0,i,R),D[g](b,R),R.asyncNeeded=!1;else if((C&33554432)!==0)u[g].call(i,b._value(),R);else if((C&16777216)!==0)i._reject(b._reason());else i._cancel()}else u[g].call(i,b,R)}if(!i._isFateSealed()){if(R.asyncNeeded){var p=Q();if(p!==null)R.fn=K.domainBind(p,R.fn)}i._setAsyncGuaranteed(),i._setOnCancel(R)}return i}}var n=arguments.length,S=Array(n);for(var f=0;f<n;++f)S[f]=arguments[f];if(T)S.pop();var i=new I(S).promise();return T!==void 0?i.spread(T):i}}});var sK0=O((zC1,aK0)=>{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<z){if(this._isResolved())return;var D=Z.pop();this._promiseFulfilled(L[D],D)}},V.prototype._filter=function(Z,z){var L=z.length,D=Array(L),F=0;for(var E=0;E<L;++E)if(Z[E])D[F++]=z[E];D.length=F,this._resolve(D)},V.prototype.preservedValues=function(){return this._preservedValues};function w(Z,z,L,D){if(typeof z!=="function")return U("expecting a function but got "+q.classString(z));var F=0;if(L!==void 0)if(typeof L==="object"&&L!==null){if(typeof L.concurrency!=="number")return $.reject(TypeError("'concurrency' must be a number but it is "+q.classString(L.concurrency)));F=L.concurrency}else return $.reject(TypeError("options argument must be an object but it is "+q.classString(L)));return F=typeof F==="number"&&isFinite(F)&&F>=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;
|
||
ensureMethod(obj, 'methodName');
|
||
switch(len) {
|
||
case 1: return obj.methodName(this[0]);
|
||
case 2: return obj.methodName(this[0], this[1]);
|
||
case 3: return obj.methodName(this[0], this[1], this[2]);
|
||
case 0: return obj.methodName();
|
||
default:
|
||
return obj.methodName.apply(obj, this);
|
||
}
|
||
};
|
||
`.replace(/methodName/g,Z))(H)},q=function(Z){return Function("obj",`
|
||
'use strict';
|
||
return obj.propertyName;
|
||
`.replace("propertyName",Z))},G=function(Z,z,L){var D=L[Z];if(typeof D!=="function"){if(!Y(Z))return null;if(D=z(Z),L[Z]=D,L[" size"]++,L[" size"]>512){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<z;++D)L[D-1]=arguments[D];if(U){var F=J(Z);if(F!==null)return this._then(F,void 0,void 0,L,void 0)}return L.push(Z),this._then(W,void 0,void 0,L,void 0)};function V(Z){return Z[this]}function w(Z){var z=+this;if(z<0)z=Math.max(0,z+Z.length);return Z[z]}$.prototype.get=function(Z){var z=typeof Z==="number",L;if(!z)if(U){var D=Q(Z);L=D!==null?D:V}else L=V;else L=w;return this._then(L,void 0,void 0,Z,void 0)}}});var Uq0=O((DC1,Iq0)=>{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;A<T;++A){var R=this[A];if(R instanceof $)R.cancel()}},$.using=function(){var T=arguments.length;if(T<2)return I("you must pass at least 2 arguments to Promise.using");var A=arguments[T-1];if(typeof A!=="function")return I("expecting a function but got "+K.classString(A));var R,u=!0;if(T===2&&Array.isArray(arguments[0]))R=arguments[0],T=R.length,u=!1;else R=arguments,T--;var g=new E(T);for(var b=0;b<T;++b){var C=R[b];if(L.isDisposer(C)){var p=C;C=C.promise(),C._setDisposable(p)}else{var n=U(C);if(n instanceof $)C=n._then(F,null,null,{resources:g,index:b},void 0)}g[b]=C}var S=Array(g.length);for(var b=0;b<S.length;++b)S[b]=$.resolve(g[b]).reflect();var f=$.all(S).then(function(Y0){for(var B=0;B<Y0.length;++B){var k=Y0[B];if(k.isRejected())return H.e=k.error(),H;else if(!k.isFulfilled()){f.cancel();return}Y0[B]=k.value()}i._pushContext(),A=W(A);var d=u?A.apply(void 0,Y0):A(Y0),t=i._popContext();return Q.checkForgottenReturns(d,t,"Promise.using",i),d}),i=f.lastly(function(){var Y0=new $.PromiseInspection(f);return z(g,Y0)});return g.promise=i,i._setOnCancel(g),i},$.prototype._setDisposable=function(T){this._bitField=this._bitField|131072,this._disposer=T},$.prototype._isDisposable=function(){return(this._bitField&131072)>0},$.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<L.length;++F){D._pushContext();var E=W(L[F])(z);if(D._popContext(),E===H){D._pushContext();var T=$.reject(H.e);return D._popContext(),T}var A=Y(E,D);if(A instanceof $)return A}return null}function Z(z,L,D,F){if(Q.cancellation()){var E=new $(U),T=this._finallyPromise=new $(U);this._promise=E.lastly(function(){return T}),E._captureStackTrace(),E._setOnCancel(this)}else{var A=this._promise=new $(U);A._captureStackTrace()}this._stack=F,this._generatorFunction=z,this._receiver=L,this._generator=void 0,this._yieldHandlers=typeof D==="function"?[D].concat(V):V,this._yieldedPromise=null,this._cancellationPhase=!1}G.inherits(Z,J),Z.prototype._isResolved=function(){return this._promise===null},Z.prototype._cleanup=function(){if(this._promise=this._generator=null,Q.cancellation()&&this._finallyPromise!==null)this._finallyPromise._fulfill(),this._finallyPromise=null},Z.prototype._promiseCancelled=function(){if(this._isResolved())return;var z=typeof this._generator.return<"u",L;if(!z){var D=new $.CancellationError("generator .return() sentinel");$.coroutine.returnSentinel=D,this._promise._attachExtraTrace(D),this._promise._pushContext(),L=W(this._generator.throw).call(this._generator,D),this._promise._popContext()}else this._promise._pushContext(),L=W(this._generator.return).call(this._generator,void 0),this._promise._popContext();this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(L)},Z.prototype._promiseFulfilled=function(z){this._yieldedPromise=null,this._promise._pushContext();var L=W(this._generator.next).call(this._generator,z);this._promise._popContext(),this._continue(L)},Z.prototype._promiseRejected=function(z){this._yieldedPromise=null,this._promise._attachExtraTrace(z),this._promise._pushContext();var L=W(this._generator.throw).call(this._generator,z);this._promise._popContext(),this._continue(L)},Z.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof $){var z=this._yieldedPromise;this._yieldedPromise=null,z.cancel()}},Z.prototype.promise=function(){return this._promise},Z.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},Z.prototype._continue=function(z){var L=this._promise;if(z===H)if(this._cleanup(),this._cancellationPhase)return L.cancel();else return L._rejectCallback(z.e,!1);var D=z.value;if(z.done===!0)if(this._cleanup(),this._cancellationPhase)return L.cancel();else return L._resolveCallback(D);else{var F=Y(D,this._promise);if(!(F instanceof $)){if(F=w(F,this._yieldHandlers,this._promise),F===null){this._promiseRejected(new q(`A value %s was yielded that could not be treated as a promise
|
||
|
||
See http://goo.gl/MqrFmX
|
||
|
||
`.replace("%s",D)+`From coroutine:
|
||
`+this._stack.split(`
|
||
`).slice(1,-7).join(`
|
||
`)));return}}F=F._target();var E=F._bitField;if((E&50397184)===0)this._yieldedPromise=F,F._proxy(this,null);else if((E&33554432)!==0)$._async.invoke(this._promiseFulfilled,this,F._value());else if((E&16777216)!==0)$._async.invoke(this._promiseRejected,this,F._reason());else this._promiseCancelled()}},$.coroutine=function(z,L){if(typeof z!=="function")throw new q(`generatorFunction must be a function
|
||
|
||
See http://goo.gl/MqrFmX
|
||
`);var D=Object(L).yieldHandler,F=Z,E=Error().stack;return function(){var T=z.apply(this,arguments),A=new F(void 0,void 0,D,E),R=A.promise();return A._generator=T,A._promiseFulfilled(void 0),R}},$.coroutine.addYieldHandler=function(z){if(typeof z!=="function")throw new q("expecting a function but got "+G.classString(z));V.push(z)},$.spawn=function(z){if(Q.deprecated("Promise.spawn()","Promise.coroutine()"),typeof z!=="function")return I(`generatorFunction must be a function
|
||
|
||
See http://goo.gl/MqrFmX
|
||
`);var L=new Z(z,this),D=L.promise();return L._run($.spawn),D}}});var Gq0=O((NC1,qq0)=>{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<f.length;B+=2){var k=f[B];if(Y0.test(k)){var d=k.replace(Y0,"");for(var t=0;t<f.length;t+=2)if(f[t]===d)throw new G(`Cannot promisify an API that has normal methods with '%s'-suffix
|
||
|
||
See http://goo.gl/MqrFmX
|
||
`.replace("%s",i))}}}function E(f,i,Y0,B){var k=Y.inheritedDataKeys(f),d=[];for(var t=0;t<k.length;++t){var K0=k[t],W0=f[K0],A0=B===Z?!0:Z(K0,W0,f);if(typeof W0==="function"&&!L(W0)&&!D(f,K0,i)&&B(K0,W0,f,A0))d.push(K0,W0)}return F(d,i,Y0),d}var T=function(f){return f.replace(/([$])/,"\\$")},A,R=function(f){var i=[f],Y0=Math.max(0,f-1-3);for(var B=f-1;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=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 m0.replace("{{args}}",F0).replace(", ",g0)}function v0(){var H1="";for(var F0=0;F0<K0.length;++F0)H1+="case "+K0[F0]+":"+A0(K0[F0]);return H1+=`
|
||
default:
|
||
var args = new Array(len + 1);
|
||
var i = 0;
|
||
for (var i = 0; i < len; ++i) {
|
||
args[i] = arguments[i];
|
||
}
|
||
args[i] = nodeback;
|
||
[CodeForCall]
|
||
break;
|
||
`.replace("[CodeForCall]",W0?`ret = callback.apply(this, args);
|
||
`:`ret = callback.apply(receiver, args);
|
||
`),H1}var L1=typeof f==="string"?"this != null ? this['"+f+"'] : fn":"fn",f0=`'use strict';
|
||
var ret = function (Parameters) {
|
||
'use strict';
|
||
var len = arguments.length;
|
||
var promise = new Promise(INTERNAL);
|
||
promise._captureStackTrace();
|
||
var nodeback = nodebackForPromise(promise, `+d+`);
|
||
var ret;
|
||
var callback = tryCatch([GetFunctionCode]);
|
||
switch(len) {
|
||
[CodeForSwitchCase]
|
||
}
|
||
if (ret === errorObj) {
|
||
promise._rejectCallback(maybeWrapAsError(ret.e), true, true);
|
||
}
|
||
if (!promise._isFateSealed()) promise._setAsyncGuaranteed();
|
||
return promise;
|
||
};
|
||
notEnumerableProp(ret, '__isPromisified__', true);
|
||
return ret;
|
||
`.replace("[CodeForSwitchCase]",v0()).replace("[GetFunctionCode]",L1);return f0=f0.replace("Parameters",g(t)),Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",f0)($,B,i,Q,K,J,Y.tryCatch,Y.errorObj,Y.notEnumerableProp,I)};function C(f,i,Y0,B,k,d){var t=function(){return this}(),K0=f;if(typeof K0==="string")f=B;function W0(){var A0=i;if(i===U)A0=this;var v0=new $(I);v0._captureStackTrace();var L1=typeof K0==="string"&&this!==t?this[K0]:f,f0=J(v0,d);try{L1.apply(A0,Q(arguments,f0))}catch(H1){v0._rejectCallback(K(H1),!0,!0)}if(!v0._isFateSealed())v0._setAsyncGuaranteed();return v0}return Y.notEnumerableProp(W0,"__isPromisified__",!0),W0}var p=q?A:C;function n(f,i,Y0,B,k){var d=new RegExp(T(i)+"$"),t=E(f,i,d,Y0);for(var K0=0,W0=t.length;K0<W0;K0+=2){var A0=t[K0],v0=t[K0+1],L1=A0+i;if(B===p)f[L1]=p(A0,U,A0,v0,i,k);else{var f0=B(v0,function(){return p(A0,U,A0,v0,i,k)});Y.notEnumerableProp(f0,"__isPromisified__",!0),f[L1]=f0}}return Y.toFastProperties(f),f}function S(f,i,Y0){return p(f,i,void 0,f,null,Y0)}$.promisify=function(f,i){if(typeof f!=="function")throw new G("expecting a function but got "+Y.classString(f));if(L(f))return f;i=Object(i);var Y0=i.context===void 0?U:i.context,B=!!i.multiArgs,k=S(f,Y0,B);return Y.copyDescriptors(f,k,z),k},$.promisifyAll=function(f,i){if(typeof f!=="function"&&typeof f!=="object")throw new G(`the target of promisifyAll must be an object or a function
|
||
|
||
See http://goo.gl/MqrFmX
|
||
`);i=Object(i);var Y0=!!i.multiArgs,B=i.suffix;if(typeof B!=="string")B=H;var k=i.filter;if(typeof k!=="function")k=Z;var d=i.promisifier;if(typeof d!=="function")d=p;if(!Y.isIdentifier(B))throw RangeError(`suffix must be a valid identifier
|
||
|
||
See http://goo.gl/MqrFmX
|
||
`);var t=Y.inheritedDataKeys(f);for(var K0=0;K0<t.length;++K0){var W0=f[t[K0]];if(t[K0]!=="constructor"&&Y.isClass(W0))n(W0.prototype,B,k,d,Y0),n(W0,B,k,d,Y0)}return n(f,B,k,d,Y0)}}});var wq0=O((AC1,Vq0)=>{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<z;++L){var D=w[z+L],F=w[L];Z.set(D,F)}return Z};function W(w){var Z=!1,z;if(q!==void 0&&w instanceof q)z=G(w),Z=!0;else{var L=K.keys(w),D=L.length;z=Array(D*2);for(var F=0;F<D;++F){var E=L[F];z[F]=w[E],z[F+D]=E}}this.constructor$(z),this._isMap=Z,this._init$(void 0,-3)}J.inherits(W,I),W.prototype._init=function(){},W.prototype._promiseFulfilled=function(w,Z){this._values[Z]=w;var z=++this._totalResolved;if(z>=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<E;++F)L[this._values[F+D]]=this._values[F]}return this._resolve(L),!0}return!1},W.prototype.shouldCopyValues=function(){return!1},W.prototype.getActualLength=function(w){return w>>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(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<z;++Z){var L=q[Z];if(L===void 0&&!(Z in q))continue;$.cast(L)._then(V,w,void 0,W,null)}return W}$.race=function(q){return K(q,void 0)},$.prototype.race=function(){return K(this,void 0)}}});var Lq0=O((TC1,zq0)=>{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<F;++D){var E={accum:null,value:z[D],index:D,length:F,array:this};L=L._then(w,void 0,void 0,E,void 0)}if(this._eachValues!==void 0)L=L._then(this._eachComplete,void 0,void 0,this,void 0);L._then(W,W,void 0,L,this)},$.prototype.reduce=function(z,L){return V(this,z,L,null)},$.reduce=function(z,L,D,F){return V(z,L,D,F)};function W(z,L){if(this.isFulfilled())L._resolve(z);else L._reject(z)}function V(z,L,D,F){if(typeof L!=="function")return U("expecting a function but got "+q.classString(L));var E=new H(z,L,D,F);return E.promise()}function w(z){this.accum=z,this.array._gotAccum(z);var L=Y(this.value,this.array._promise);if(L instanceof $)return this.array._currentCancellable=L,L._then(Z,void 0,void 0,this,void 0);else return Z.call(this,L)}function Z(z){var L=this.array,D=L._promise,F=G(L._fn);D._pushContext();var E;if(L._eachValues!==void 0)E=F.call(D._boundValue(),z,this.index,this.length);else E=F.call(D._boundValue(),this.accum,z,this.index,this.length);if(E instanceof $)L._currentCancellable=E;var T=D._popContext();return Q.checkForgottenReturns(E,T,L._eachValues!==void 0?"Promise.each":"Promise.reduce",D),E}}});var Oq0=O((EC1,Dq0)=>{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();V<this._values.length;++V)if(this._values[V]!==q)W.push(this._values[V]);if(W.length>0)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 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=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;K0<k-1;++K0){var W0=arguments[K0];if(Q.isObject(W0))d[t++]=W0;else return U("expecting an object but got A catch statement predicate "+Q.classString(W0))}return d.length=t,B=arguments[K0],this.then(void 0,g(d,B,this))}return this.then(void 0,B)},S.prototype.reflect=function(){return this._then(I,I,void 0,this,void 0)},S.prototype.then=function(B,k){if(A.warnings()&&arguments.length>0&&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<W0;++A0)t._migrateCallbackAt(this,A0);this._setFollowing(),this._setLength(0),this._setFollowee(t)}else if((K0&33554432)!==0)this._fulfill(t._value());else if((K0&16777216)!==0)this._reject(t._reason());else{var v0=new w("late cancellation observer");t._attachExtraTrace(v0),this._reject(v0)}},S.prototype._rejectCallback=function(B,k,d){var t=Q.ensureErrorObject(B),K0=t===B;if(!K0&&!d&&A.warnings()){var W0="a promise was rejected with a non-error: "+Q.classString(B);this._warn(W0,!0)}this._attachExtraTrace(t,k?K0:!1),this._reject(B)},S.prototype._resolveFromExecutor=function(B){var k=this;this._captureStackTrace(),this._pushContext();var d=!0,t=this._execute(B,function(K0){k._resolveCallback(K0)},function(K0){k._rejectCallback(K0,d)});if(d=!1,this._popContext(),t!==void 0)k._rejectCallback(t,!0)},S.prototype._settlePromiseFromHandler=function(B,k,d,t){var K0=t._bitField;if((K0&65536)!==0)return;t._pushContext();var W0;if(k===z)if(!d||typeof d.length!=="number")W0=C,W0.e=new V("cannot .spread() a non-array: "+Q.classString(d));else W0=p(B).apply(this._boundValue(),d);else W0=p(B).call(k,d);var A0=t._popContext();if(K0=t._bitField,(K0&65536)!==0)return;if(W0===L)t._reject(d);else if(W0===C)t._rejectCallback(W0.e,!1);else A.checkForgottenReturns(W0,A0,"",t,this),t._resolveCallback(W0)},S.prototype._target=function(){var B=this;while(B._isFollowing())B=B._followee();return B},S.prototype._followee=function(){return this._rejectionHandler0},S.prototype._setFollowee=function(B){this._rejectionHandler0=B},S.prototype._settlePromise=function(B,k,d,t){var K0=B instanceof S,W0=this._bitField,A0=(W0&134217728)!==0;if((W0&65536)!==0){if(K0)B._invokeInternalOnCancel();if(d instanceof u&&d.isFinallyHandler()){if(d.cancelPromise=B,p(k).call(d,t)===C)B._reject(C.e)}else if(k===I)B._fulfill(I.call(d));else if(d instanceof Y)d._promiseCancelled(B);else if(K0||B instanceof F)B._cancel();else d.cancel()}else if(typeof k==="function")if(!K0)k.call(d,t,B);else{if(A0)B._setAsyncGuaranteed();this._settlePromiseFromHandler(k,d,t,B)}else if(d instanceof Y){if(!d._isResolved())if((W0&33554432)!==0)d._promiseFulfilled(t,B);else d._promiseRejected(t,B)}else if(K0){if(A0)B._setAsyncGuaranteed();if((W0&33554432)!==0)B._fulfill(t);else B._reject(t)}},S.prototype._settlePromiseLateCancellationObserver=function(B){var{handler:k,promise:d,receiver:t,value:K0}=B;if(typeof k==="function")if(!(d instanceof S))k.call(t,K0,d);else this._settlePromiseFromHandler(k,t,K0,d);else if(d instanceof S)d._reject(K0)},S.prototype._settlePromiseCtx=function(B){this._settlePromise(B.promise,B.handler,B.receiver,B.value)},S.prototype._settlePromise0=function(B,k,d){var t=this._promise0,K0=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(t,B,K0,k)},S.prototype._clearCallbackDataAtIndex=function(B){var k=B*4-4;this[k+2]=this[k+3]=this[k+0]=this[k+1]=void 0},S.prototype._fulfill=function(B){var k=this._bitField;if((k&117506048)>>>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;d<B;d++){var t=this._fulfillmentHandlerAt(d),K0=this._promiseAt(d),W0=this._receiverAt(d);this._clearCallbackDataAtIndex(d),this._settlePromise(K0,t,W0,k)}},S.prototype._rejectPromises=function(B,k){for(var d=1;d<B;d++){var t=this._rejectionHandlerAt(d),K0=this._promiseAt(d),W0=this._receiverAt(d);this._clearCallbackDataAtIndex(d),this._settlePromise(K0,t,W0,k)}},S.prototype._settlePromises=function(){var B=this._bitField,k=B&65535;if(k>0){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<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else jg($,I,!1,q,Y,J,Q);return G}function jg($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function jI1($,I,U,Y,J){if(--I.pendingcb,U)b3.nextTick(J,Y),b3.nextTick(Dq,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),Dq($,I)}function _I1($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function SI1($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(_I1(U),I)jI1($,U,Y,I,J);else{var Q=bq0(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)fq0($,U);if(Y)NI1(yq0,$,U,Q,J);else yq0($,U,Q,J)}}function yq0($,I,U,Y){if(!U)gI1($,I);I.pendingcb--,Y(),Dq($,I)}function gI1($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function fq0($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,jg($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new hq0(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(jg($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}v4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};v4.prototype._writev=null;v4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)xI1(this,Y,U)};function bq0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function yI1($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),Dq($,I)})}function hI1($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,b3.nextTick(yI1,$,I);else I.prefinished=!0,$.emit("prefinish")}function Dq($,I){var U=bq0(I);if(U){if(hI1($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function xI1($,I,U){if(I.ending=!0,Dq($,I),U)if(I.finished)b3.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function kI1($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(v4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});v4.prototype.destroy=uq0.destroy;v4.prototype._undestroy=uq0.undestroy;v4.prototype._destroy=function($,I){this.end(),I($)}});var i3=O((xC1,dq0)=>{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<cz.length;Fq++)if(Nq=cz[Fq],!S5.prototype[Nq])S5.prototype[Nq]=Sg.prototype[Nq]}var cz,Nq,Fq;function S5($){if(!(this instanceof S5))return new S5($);if(cq0.call(this,$),Sg.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",fI1)}Object.defineProperty(S5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function fI1(){if(this.allowHalfOpen||this._writableState.ended)return;nq0.nextTick(bI1,this)}function bI1($){$.end()}Object.defineProperty(S5.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});S5.prototype._destroy=function($,I){this.push(null),this.end(),nq0.nextTick(I,$)}});var xg=O(($U1)=>{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<U)return 0;var J=yg(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=yg(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=yg(I[Y]),J>=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-$<I.highWaterMark)Y=!0,E1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,E1("reading or ended",Y);else if(Y){if(E1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=oq0(U,I)}var J;if($>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.length<I.highWaterMark)if(E1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}e1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};e1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,E1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)IJ.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(F,E){if(E1("onunpipe"),F===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){E1("onend"),$.end()}var G=ZU1(U);$.on("drain",G);var H=!1;function W(){if(E1("cleanup"),$.removeListener("close",z),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",w),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",w);function w(F){E1("ondata"),V=!1;var E=$.write(F);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&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<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=YG0(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};e1.prototype.on=function($,I){var U=ig.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)IJ.nextTick(XU1,this);else if(Y.length)dz(this)}}return U};e1.prototype.addListener=e1.prototype.on;function XU1($){E1("readable nexttick read 0"),$.read(0)}e1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)E1("resume"),$.flowing=!0,zU1(this,$);return this};function zU1($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,IJ.nextTick(LU1,$,I)}function LU1($,I){if(!I.reading)E1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),ng($),I.flowing&&!I.reading)$.read(0)}e1.prototype.pause=function(){if(E1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)E1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function ng($){var I=$._readableState;E1("flow",I.flowing);while(I.flowing&&$.read()!==null);}e1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(E1("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(E1("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(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<ug.length;Q++)$.on(ug[Q],this.emit.bind(this,ug[Q]));return this._read=function(K){if(E1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(e1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});e1._fromList=UG0;function UG0($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=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($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?OU1($,I):FU1($,I);return Y}function OU1($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>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<Y;U++)if($[U]===I)return U;return-1}});var pg=O((bC1,qG0)=>{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<J.highWaterMark)this._read(J.highWaterMark)}function g5($){if(!(this instanceof g5))return new g5($);if(mz.call(this,$),this._transformState={afterTransform:MU1.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",AU1)}function AU1(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){QG0($,I,U)});else QG0(this,null,null)}g5.prototype.push=function($,I){return this._transformState.needTransform=!1,mz.prototype.push.call(this,$,I)};g5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};g5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};g5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};g5.prototype._destroy=function($,I){var U=this;mz.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function QG0($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var VG0=O((iC1,WG0)=>{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<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else og($,I,!1,q,Y,J,Q);return G}function og($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function rU1($,I,U,Y,J){if(--I.pendingcb,U)p3.nextTick(J,Y),p3.nextTick(jq,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),jq($,I)}function tU1($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function aU1($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(tU1(U),I)rU1($,U,Y,I,J);else{var Q=_G0(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)jG0($,U);if(Y)fU1(EG0,$,U,Q,J);else EG0($,U,Q,J)}}function EG0($,I,U,Y){if(!U)sU1($,I);I.pendingcb--,Y(),jq($,I)}function sU1($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function jG0($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,og($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new BG0(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(og($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}R4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};R4.prototype._writev=null;R4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)IY1(this,Y,U)};function _G0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function eU1($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),jq($,I)})}function $Y1($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,p3.nextTick(eU1,$,I);else I.prefinished=!0,$.emit("prefinish")}function jq($,I){var U=_G0(I);if(U){if($Y1($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function IY1($,I,U){if(I.ending=!0,jq($,I),U)if(I.finished)p3.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function UY1($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(R4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});R4.prototype.destroy=CG0.destroy;R4.prototype._undestroy=CG0.undestroy;R4.prototype._destroy=function($,I){this.end(),I($)}});var c3=O((aC1,xG0)=>{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<QL.length;Sq++)if(gq=QL[Sq],!h5.prototype[gq])h5.prototype[gq]=tg.prototype[gq]}var QL,gq,Sq;function h5($){if(!(this instanceof h5))return new h5($);if(hG0.call(this,$),tg.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",JY1)}Object.defineProperty(h5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function JY1(){if(this.allowHalfOpen||this._writableState.ended)return;gG0.nextTick(QY1,this)}function QY1($){$.end()}Object.defineProperty(h5.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});h5.prototype._destroy=function($,I){this.push(null),this.end(),gG0.nextTick(I,$)}});var $y=O((FY1)=>{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<U)return 0;var J=sg(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=sg(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=sg(I[Y]),J>=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-$<I.highWaterMark)Y=!0,B1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,B1("reading or ended",Y);else if(Y){if(B1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=fG0(U,I)}var J;if($>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.length<I.highWaterMark)if(B1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}$4.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};$4.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,B1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)JJ.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(F,E){if(B1("onunpipe"),F===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){B1("onend"),$.end()}var G=SY1(U);$.on("drain",G);var H=!1;function W(){if(B1("cleanup"),$.removeListener("close",z),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",w),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",w);function w(F){B1("ondata"),V=!1;var E=$.write(F);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&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<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=oG0(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};$4.prototype.on=function($,I){var U=Qy.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)JJ.nextTick(gY1,this);else if(Y.length)KL(this)}}return U};$4.prototype.addListener=$4.prototype.on;function gY1($){B1("readable nexttick read 0"),$.read(0)}$4.prototype.resume=function(){var $=this._readableState;if(!$.flowing)B1("resume"),$.flowing=!0,yY1(this,$);return this};function yY1($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,JJ.nextTick(hY1,$,I)}function hY1($,I){if(!I.reading)B1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),Ky($),I.flowing&&!I.reading)$.read(0)}$4.prototype.pause=function(){if(B1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)B1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function Ky($){var I=$._readableState;B1("flow",I.flowing);while(I.flowing&&$.read()!==null);}$4.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(B1("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(B1("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(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<Uy.length;Q++)$.on(Uy[Q],this.emit.bind(this,Uy[Q]));return this._read=function(K){if(B1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty($4.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});$4._fromList=lG0;function lG0($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=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($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?kY1($,I):uY1($,I);return Y}function kY1($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>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<Y;U++)if($[U]===I)return U;return-1}});var qy=O((Ij1,sG0)=>{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<J.highWaterMark)this._read(J.highWaterMark)}function x5($){if(!(this instanceof x5))return new x5($);if(qL.call(this,$),this._transformState={afterTransform:bY1.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",iY1)}function iY1(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){tG0($,I,U)});else tG0(this,null,null)}x5.prototype.push=function($,I){return this._transformState.needTransform=!1,qL.prototype.push.call(this,$,I)};x5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};x5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};x5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};x5.prototype._destroy=function($,I){var U=this;qL.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function tG0($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var UH0=O((Uj1,IH0)=>{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
|
||
fstream_path = %s
|
||
fstream_unc_path = %s
|
||
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)};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<J;Y++){U=I[Y];var Q=$[U]||$["is"+U];if(typeof Q==="function")Q=Q.call($);if(Q)return $[U]=!0,$.type=U,U}return null}});var Zy=O((qj1,HH0)=>{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(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<Y;U++){var J=I[U];if(J===XH0)$.emit("end");else if(J===zH0)$.emit("close");else $.emit("data",J);if($._paused){$._buffer=I.slice(U);return}}$._buffer.length=0}};m3.prototype.pause=function($){var I=this;if(I._paused)return;if($=$||I,I._paused=!0,I._stream)I._stream.pause();I.emit("pause",$)};m3.prototype.resume=function($){var I=this;if(!I._paused)return;if($=$||I,I.emit("resume",$),I._paused=!1,I._stream)I._stream.resume();I._read()}});var FH0=O((Wj1,OH0)=>{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.toLowerCase()?-1:$>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<I.maxBusyTries){Y++;var Z=Y*100;return setTimeout(function(){Ay(W,I,V)},Z)}if(w.code==="EMFILE"&&My<I.emfileWait)return setTimeout(function(){Ay(W,I,V)},My++);if(w.code==="ENOENT")w=null}My=0,K(w)})})}}function Ay($,I,U){v1($),v1(I),v1(typeof U==="function"),I.lstat($,function(Y,J){if(Y&&Y.code==="ENOENT")return U(null);if(Y&&Y.code==="EPERM"&&iq)EH0($,I,Y,U);if(J&&J.isDirectory())return wL($,I,Y,U);I.unlink($,function(Q){if(Q){if(Q.code==="ENOENT")return U(null);if(Q.code==="EPERM")return iq?EH0($,I,Q,U):wL($,I,Q,U);if(Q.code==="EISDIR")return wL($,I,Q,U)}return U(Q)})})}function EH0($,I,U,Y){if(v1($),v1(I),v1(typeof Y==="function"),U)v1(U instanceof Error);I.chmod($,RH0,function(J){if(J)Y(J.code==="ENOENT"?null:U);else I.stat($,function(Q,K){if(Q)Y(Q.code==="ENOENT"?null:U);else if(K.isDirectory())wL($,I,U,Y);else I.unlink($,Y)})})}function BH0($,I,U){if(v1($),v1(I),U)v1(U instanceof Error);try{I.chmodSync($,RH0)}catch(J){if(J.code==="ENOENT")return;else throw U}try{var Y=I.statSync($)}catch(J){if(J.code==="ENOENT")return;else throw U}if(Y.isDirectory())ZL($,I,U);else I.unlinkSync($)}function wL($,I,U,Y){if(v1($),v1(I),U)v1(U instanceof Error);v1(typeof Y==="function"),I.rmdir($,function(J){if(J&&(J.code==="ENOTEMPTY"||J.code==="EEXIST"||J.code==="EPERM"))GJ1($,I,Y);else if(J&&J.code==="ENOTDIR")Y(U);else Y(J)})}function GJ1($,I,U){v1($),v1(I),v1(typeof U==="function"),I.readdir($,function(Y,J){if(Y)return U(Y);var Q=J.length;if(Q===0)return I.rmdir($,U);var K;J.forEach(function(q){Py(vH0.join($,q),I,function(G){if(K)return;if(G)return U(K=G);if(--Q===0)I.rmdir($,U)})})})}function jH0($,I){I=I||{},CH0(I),v1($,"rimraf: missing path"),v1.equal(typeof $,"string","rimraf: path should be a string"),v1(I,"rimraf: missing options"),v1.equal(typeof I,"object","rimraf: options should be object");var U;if(I.disableGlob||!qJ.hasMagic($))U=[$];else try{I.lstatSync($),U=[$]}catch(Q){U=qJ.sync($,I.glob)}if(!U.length)return;for(var Y=0;Y<U.length;Y++){var $=U[Y];try{var J=I.lstatSync($)}catch(K){if(K.code==="ENOENT")return;if(K.code==="EPERM"&&iq)BH0($,I,K)}try{if(J&&J.isDirectory())ZL($,I,null);else I.unlinkSync($)}catch(K){if(K.code==="ENOENT")return;if(K.code==="EPERM")return iq?BH0($,I,K):ZL($,I,K);if(K.code!=="EISDIR")throw K;ZL($,I,K)}}}function ZL($,I,U){if(v1($),v1(I),U)v1(U instanceof Error);try{I.rmdirSync($)}catch(Y){if(Y.code==="ENOENT")return;if(Y.code==="ENOTDIR")throw U;if(Y.code==="ENOTEMPTY"||Y.code==="EEXIST"||Y.code==="EPERM")HJ1($,I)}}function HJ1($,I){v1($),v1(I),I.readdirSync($).forEach(function(K){jH0(vH0.join($,K),I)});var U=iq?100:1,Y=0;do{var J=!0;try{var Q=I.rmdirSync($,I);return J=!1,Q}finally{if(++Y<U&&J)continue}}while(!0)}});var nq=O((SH0)=>{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);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-Y<N&&N<Y}function w(N){if(N<1e7)return[N];if(N<100000000000000)return[N%1e7,Math.floor(N/1e7)];return[N%1e7,Math.floor(N/1e7)%1e7,Math.floor(N/100000000000000)]}function Z(N){z(N);var M=N.length;if(M<4&&d(N,J)<0)switch(M){case 0:return 0;case 1:return N[0];case 2:return N[0]+N[1]*I;default:return N[0]+(N[1]+N[2]*I)*I}return N}function z(N){var M=N.length;while(N[--M]===0);N.length=M+1}function L(N){var M=Array(N),j=-1;while(++j<N)M[j]=0;return M}function D(N){if(N>0)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<x;H0++)J0=N[H0]+M[H0]+m,m=J0>=e?1:0,s[H0]=J0-m*e;while(H0<j)J0=N[H0]+m,m=J0===e?1:0,s[H0++]=J0-m*e;if(m>0)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;e<j;e++)m=N[e]-s+M,M=Math.floor(m/s),x[e]=m-M*s,M+=1;while(M>0)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<x;J0++){if(H0=N[J0]-m-M[J0],H0<0)H0+=e,m=1;else m=0;s[J0]=H0}for(J0=x;J0<j;J0++){if(H0=N[J0]-m,H0<0)H0+=e;else{s[J0++]=H0;break}s[J0]=H0}for(;J0<j;J0++)s[J0]=N[J0];return z(s),s}function R(N,M,j){var x;if(d(N,M)>=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<x;J0++)H0=N[J0]+m,m=Math.floor(H0/e),H0%=e,s[J0]=H0<0?H0+e:H0;if(s=Z(s),typeof s==="number"){if(j)s=-s;return new H(s)}return new G(s,j)}G.prototype.subtract=function(N){var M=E0(N);if(this.sign!==M.sign)return this.add(M.negate());var j=this.value,x=M.value;if(M.isSmall)return u(j,Math.abs(x),this.sign);return R(j,x,this.sign)},G.prototype.minus=G.prototype.subtract,H.prototype.subtract=function(N){var M=E0(N),j=this.value;if(j<0!==M.sign)return this.add(M.negate());var x=M.value;if(M.isSmall)return new H(j-x);return u(x,Math.abs(j),j>=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;C0<j;++C0){b0=N[C0];for(var Q1=0;Q1<x;++Q1)k0=M[Q1],J0=b0*k0+m[C0+Q1],H0=Math.floor(J0/e),m[C0+Q1]=J0-H0*e,m[C0+Q1+1]+=H0}return z(m),m}function b(N,M){var j=N.length,x=Array(j),s=I,m=0,e,J0;for(J0=0;J0<j;J0++)e=N[J0]*M+m,m=Math.floor(e/s),x[J0]=e-m*s;while(m>0)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<I)return new G(b(j,m),s);x=w(m)}if(n(j.length,x.length))return new G(p(j,x),s);return new G(g(j,x),s)},G.prototype.times=G.prototype.multiply;function S(N,M,j){if(N<I)return new G(b(M,N),j);return new G(g(M,w(N)),j)}H.prototype._multiplyBySmall=function(N){if(V(N.value*this.value))return new H(N.value*this.value);return S(Math.abs(N.value),w(Math.abs(this.value)),this.sign!==N.sign)},G.prototype._multiplyBySmall=function(N){if(N.value===0)return q[0];if(N.value===1)return this;if(N.value===-1)return this.negate();return S(Math.abs(N.value),this.value,this.sign!==N.sign)},H.prototype.multiply=function(N){return E0(N)._multiplyBySmall(this)},H.prototype.times=H.prototype.multiply,W.prototype.multiply=function(N){return new W(this.value*E0(N).value)},W.prototype.times=W.prototype.multiply;function f(N){var M=N.length,j=L(M+M),x=I,s,m,e,J0,H0;for(e=0;e<M;e++){J0=N[e],m=0-J0*J0;for(var C0=e;C0<M;C0++)H0=N[C0],s=2*(J0*H0)+j[e+C0]+m,m=Math.floor(s/x),j[e+C0]=s-m*x;j[e+M]=m}return z(j),j}G.prototype.square=function(){return new G(f(this.value),!1)},H.prototype.square=function(){var N=this.value*this.value;if(V(N))return new H(N);return new G(f(w(Math.abs(this.value))),!1)},W.prototype.square=function(N){return new W(this.value*this.value)};function i(N,M){var j=N.length,x=M.length,s=I,m=L(M.length),e=M[x-1],J0=Math.ceil(s/(2*e)),H0=b(N,J0),C0=b(M,J0),b0,k0,Q1,q4,V6,m5,RJ;if(H0.length<=j)H0.push(0);C0.push(0),e=C0[x-1];for(k0=j-x;k0>=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;V6<m5;V6++)if(Q1+=b0*C0[V6],RJ=Math.floor(Q1/s),q4+=H0[k0+V6]-(Q1-RJ*s),Q1=RJ,q4<0)H0[k0+V6]=q4+s,q4=-1;else H0[k0+V6]=q4,q4=0;while(q4!==0){b0-=1,Q1=0;for(V6=0;V6<m5;V6++)if(Q1+=H0[k0+V6]-s+C0[V6],Q1<0)H0[k0+V6]=Q1+s,Q1=0;else H0[k0+V6]=Q1,Q1=1;q4+=Q1}m[k0]=b0}return H0=B(H0,J0)[0],[Z(m),Z(H0)]}function Y0(N,M){var j=N.length,x=M.length,s=[],m=[],e=I,J0,H0,C0,b0,k0;while(j){if(m.unshift(N[--j]),z(m),d(m,M)<0){s.push(0);continue}if(H0=m.length,C0=m[H0-1]*e+m[H0-2],b0=M[x-1]*e+M[x-2],H0>x)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(J0<I){j=B(s,J0),e=Z(j[0]);var H0=j[1];if(N.sign)H0=-H0;if(typeof e==="number"){if(N.sign!==x.sign)e=-e;return[new H(e),new H(H0)]}return[new G(e,N.sign!==x.sign),new H(H0)]}m=w(J0)}var C0=d(s,m);if(C0===-1)return[q[0],N];if(C0===0)return[q[N.sign===x.sign?1:-1],q[0]];if(s.length+m.length<=200)j=i(s,m);else j=Y0(s,m);e=j[0];var b0=N.sign!==x.sign,k0=j[1],Q1=N.sign;if(typeof e==="number"){if(b0)e=-e;e=new H(e)}else e=new G(e,b0);if(typeof k0==="number"){if(Q1)k0=-k0;k0=new H(k0)}else k0=new G(k0,Q1);return[e,k0]}G.prototype.divmod=function(N){var M=k(this,N);return{quotient:M[0],remainder:M[1]}},W.prototype.divmod=H.prototype.divmod=G.prototype.divmod,G.prototype.divide=function(N){return k(this,N)[0]},W.prototype.over=W.prototype.divide=function(N){return new W(this.value/E0(N).value)},H.prototype.over=H.prototype.divide=G.prototype.over=G.prototype.divide,G.prototype.mod=function(N){return k(this,N)[1]},W.prototype.mod=W.prototype.remainder=function(N){return new W(this.value%E0(N).value)},H.prototype.remainder=H.prototype.mod=G.prototype.remainder=G.prototype.mod,G.prototype.pow=function(N){var M=E0(N),j=this.value,x=M.value,s,m,e;if(x===0)return q[1];if(j===0)return q[0];if(j===1)return q[1];if(j===-1)return M.isEven()?q[1]:q[-1];if(M.sign)return q[0];if(!M.isSmall)throw Error("The exponent "+M.toString()+" is too large.");if(this.isSmall){if(V(s=Math.pow(j,x)))return new H(D(s))}m=this,e=q[1];while(!0){if(x&!0)e=e.times(m),--x;if(x===0)break;x/=2,m=m.square()}return e},H.prototype.pow=G.prototype.pow,W.prototype.pow=function(N){var M=E0(N),j=this.value,x=M.value,s=BigInt(0),m=BigInt(1),e=BigInt(2);if(x===s)return q[1];if(j===s)return q[0];if(j===m)return q[1];if(j===BigInt(-1))return M.isEven()?q[1]:q[-1];if(M.isNegative())return new W(s);var J0=this,H0=q[1];while(!0){if((x&m)===m)H0=H0.times(J0),--x;if(x===s)break;x/=e,J0=J0.square()}return H0},G.prototype.modPow=function(N,M){if(N=E0(N),M=E0(M),M.isZero())throw Error("Cannot take modPow with modulus 0");var j=q[1],x=this.mod(M);if(N.isNegative())N=N.multiply(q[-1]),x=x.modInv(M);while(N.isPositive()){if(x.isZero())return q[0];if(N.isOdd())j=j.multiply(x).mod(M);N=N.divide(2),x=x.square().mod(M)}return j},W.prototype.modPow=H.prototype.modPow=G.prototype.modPow;function d(N,M){if(N.length!==M.length)return N.length>M.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<M.length;J0++){if(N.lesser(M[J0]))continue;if(H0=h4(M[J0]).modPow(x,N),H0.isUnit()||H0.equals(j))continue;for(m=s-1;m!=0;m--){if(H0=H0.square().mod(N),H0.isUnit())return!1;if(H0.equals(j))continue $}return!1}return!0}G.prototype.isPrime=function(N){var M=t(this);if(M!==$)return M;var j=this.abs(),x=j.bitLength();if(x<=64)return K0(j,[2,3,5,7,11,13,17,19,23,29,31,37]);var s=Math.log(2)*x.toJSNumber(),m=Math.ceil(N===!0?2*Math.pow(s,2):s);for(var e=[],J0=0;J0<m;J0++)e.push(h4(J0+2));return K0(j,e)},W.prototype.isPrime=H.prototype.isPrime=G.prototype.isPrime,G.prototype.isProbablePrime=function(N,M){var j=t(this);if(j!==$)return j;var x=this.abs(),s=N===$?5:N;for(var m=[],e=0;e<s;e++)m.push(h4.randBetween(2,x.minus(2),M));return K0(x,m)},W.prototype.isProbablePrime=H.prototype.isProbablePrime=G.prototype.isProbablePrime,G.prototype.modInv=function(N){var{zero:M,one:j}=h4,x=E0(N),s=this.abs(),m,e,J0;while(!s.isZero())m=x.divide(s),e=M,J0=x,M=j,x=s,j=e.subtract(m.multiply(j)),s=J0.subtract(m.multiply(s));if(!x.isUnit())throw Error(this.toString()+" and "+N.toString()+" are not co-prime");if(M.compare(0)===-1)M=M.add(N);if(this.isNegative())return M.negate();return M},W.prototype.modInv=H.prototype.modInv=G.prototype.modInv,G.prototype.next=function(){var N=this.value;if(this.sign)return u(N,1,this.sign);return new G(T(N,1),this.sign)},H.prototype.next=function(){var N=this.value;if(N+1<Y)return new H(N+1);return new G(J,!1)},W.prototype.next=function(){return new W(this.value+BigInt(1))},G.prototype.prev=function(){var N=this.value;if(this.sign)return new G(T(N,1),!0);return u(N,1,this.sign)},H.prototype.prev=function(){var N=this.value;if(N-1>-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<J0.length;b0++){var k0=C0?J0[b0]+(b0+1<J0.length?J0[b0+1]/I:0):I,Q1=D(x()*k0);if(H0.push(Q1),Q1<J0[b0])C0=!1}return s.add(q.fromArray(H0,I,!1))}var u$=function(N,M,j,x){if(j=j||Q,N=String(N),!x)N=N.toLowerCase(),j=j.toLowerCase();var s=N.length,m,e=Math.abs(M),J0={};for(m=0;m<j.length;m++)J0[j[m]]=m;for(m=0;m<s;m++){var H0=N[m];if(H0==="-")continue;if(H0 in J0){if(J0[H0]>=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<N.length;m++){var H0=N[m];if(H0 in J0)C0.push(E0(J0[H0]));else if(H0==="<"){var k0=m;do m++;while(N[m]!==">"&&m<N.length);C0.push(E0(N.slice(k0+1,m)))}else throw Error(H0+" is not a valid character")}return w$(C0,M,b0)};function w$(N,M,j){var x=q[0],s=q[1],m;for(m=N.length-1;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<M.length)return M[N];return"<"+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<U.length;Q++)U[Q]=I.decryptByte(U[Q]);this.push(U),J()},$};yW0.exports=HJ});var kW0=O((dj1,xW0)=>{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<w.length;z++)w[z]=Z.decryptByte(w[z]);H.decrypt=Z,H.compressedSize-=12;var L=H.flags&8?H.lastModifiedTime>>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 <github@spam.raszi.hu>
|
||
*
|
||
* MIT Licensed
|
||
*/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.pending<this.max)sV0(this,$);else this.waiting.push($)};uL.prototype.wait=function($){if(this.pending===0)$(this.error);else this.listeners.push($)};uL.prototype.hold=function(){return aV0(this)};function aV0($){$.pending+=1;var I=!1;return U;function U(J){if(I)throw Error("callback called twice");if(I=!0,$.error=$.error||J,$.pending-=1,$.waiting.length>0&&$.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<U.length)I.write(U.slice(J,U.length));break}I.write(U.slice(J,Q)),J=Q}return I.end(),I};zJ.prototype.ref=function(){this.refCount+=1};zJ.prototype.unref=function(){if(this.refCount-=1,this.refCount<0)throw Error("invalid unref")}});var Qw0=O((l_1,Jw0)=>{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;H<Y.extraFields.length;H++){var W=Y.extraFields[H];if(W.id!==1)continue;var V=W.data,w=0;if(Y.uncompressedSize===4294967295){if(w+8>V.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(Q<J)throw Error("options.end < options.start")}}var K=I.decodeFileData===!1||($.compressionMethod===0||$.compressionMethod===8&&I.decompress===!1)&&(!$.isEncrypted()||I.decrypt===!1);if(I.start!=null||I.end!=null){if(!K)throw Error("start/end range require options.decodeFileData === false for non-trivial encoded entries.")}if(!Y.isOpen)return U(Error("closed"));if($.isEncrypted()&&!K){if(I.decrypt!==!1)return U(Error("entry is encrypted, and options.decodeFileData !== false"))}var q;if(K)q=!1;else if($.compressionMethod===8)q=I.decodeFileData!==!0;else return U(Error("unsupported compression method: "+$.compressionMethod));Y.readLocalFileHeader($,{minimal:!0},function(G,H){if(G)return U(G);Y.openReadStreamLowLevel(H.fileDataStart,$.compressedSize,J,Q,q,$.uncompressedSize,U)})};r6.prototype.openReadStreamLowLevel=function($,I,U,Y,J,Q,K){var q=this,G=$+I,H=q.reader.createReadStream({start:$+U,end:$+Y}),W=H;if(J){var V=!1,w=zh.createInflateRaw();if(H.on("error",function(Z){setImmediate(function(){if(!V)w.emit("error",Z)})}),H.pipe(w),q.validateEntrySizes)W=new $G(Q),w.on("error",function(Z){setImmediate(function(){if(!V)W.emit("error",Z)})}),w.pipe(W);else W=w;Lh(W,function(){if(V=!0,w!==W)w.unpipe(W);H.unpipe(w),H.destroy()})}K(null,W)};r6.prototype.readLocalFileHeader=function($,I,U){var Y=this;if(U==null)U=I,I=null;if(I==null)I={};Y.reader.ref();var J=u5(30);DJ(Y.reader,J,0,J.length,$.relativeOffsetOfLocalHeader,function(Q){try{if(Q)return U(Q);var K=J.readUInt32LE(0);if(K!==67324752)return U(Error("invalid local file header signature: 0x"+K.toString(16)));var q=J.readUInt16LE(26),G=J.readUInt16LE(28),H=$.relativeOffsetOfLocalHeader+30+q+G;if(H+$.compressedSize>Y.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<this.extraFields.length;I++){var U=this.extraFields[I];if(U.id===21589){var Y=U.data;if(Y.length<5)continue;var J=Y[0],Q=1;if(!(J&Q))continue;var K=Y.readInt32LE(1);return new Date(K*1000)}else if(U.id===10){var Y=U.data;if(Y.length!==32)continue;if(Y.readUInt16LE(4)!==1)continue;if(Y.readUInt16LE(6)!==24)continue;var q=Y.readUInt32LE(8)+4294967296*Y.readInt32LE(12),G=q/1e4-11644473600000;return new Date(G)}}return ww0(this.lastModFileDate,this.lastModFileTime,$.timezone)};OJ.prototype.canDecodeFileData=function(){return!this.isEncrypted()&&(this.compressionMethod===0||this.compressionMethod===8)};OJ.prototype.isEncrypted=function(){return(this.generalPurposeBitFlag&1)!==0};OJ.prototype.isCompressed=function(){return this.compressionMethod===8};function Vw0(){}function ww0($,I,U){var Y=$&31,J=($>>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<U.length;Q++){var K=U[Q];if(K.id===28789){if(K.data.length<6)continue;if(K.data.readUInt8(0)!==1)continue;var q=K.data.readUInt32LE(1);if(PK1(I)!==q)continue;J=bL(K.data.subarray(5),!0);break}}if(J==null){var G=($&2048)!==0;J=bL(I,G)}if(!Y)J=J.replace(/\\/g,"/");return J}function Xw0($){if($.indexOf("\\")!==-1)return"invalid characters in fileName: "+$;if(/^[a-zA-Z]:/.test($)||/^\//.test($))return"absolute path: "+$;if($.split("/").indexOf("..")!==-1)return"invalid relative path: "+$;return null}function zw0($){var I=[],U=0;while(U<$.length-3){var Y=$.readUInt16LE(U+0),J=$.readUInt16LE(U+2),Q=U+4,K=Q+J;if(K>$.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(q<Y)return Q(Error("unexpected EOF"));Q()})}nL.inherits($G,qw0);function $G($){qw0.call(this),this.actualByteCount=0,this.expectedByteCount=$}$G.prototype._transform=function($,I,U){if(this.actualByteCount+=$.length,this.actualByteCount>this.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.actualByteCount<this.expectedByteCount){var I="not enough bytes in the stream. expected "+this.expectedByteCount+". got only "+this.actualByteCount;return $(Error(I))}$()};nL.inherits(X7,pL);function X7(){pL.call(this),this.refCount=0}X7.prototype.ref=function(){this.refCount+=1};X7.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount>0)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<I.length;Q+=2){var K=I.readUInt16LE(Q),q=K>=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(J<U.length)U=U.slice(0,J);return U};jh.prototype.end=function(){if(!this.highSurrogate)return;var $=lL.alloc(4);if(this.isLE)$.writeUInt32LE(this.highSurrogate,0);else $.writeUInt32BE(this.highSurrogate,0);return this.highSurrogate=0,$};function _h($,I){this.isLE=I.isLE,this.badChar=I.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}_h.prototype.write=function($){if($.length===0)return"";var I=0,U=0,Y=lL.alloc($.length+4),J=0,Q=this.isLE,K=this.overflow,q=this.badChar;if(K.length>0){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;Y<this.initialBufs.length;Y++)U+=this.decoder.write(this.initialBufs[Y]);return this.initialBufs.length=this.initialBufsLen=0,U}return this.decoder.write($)};yh.prototype.end=function(){if(!this.decoder){var $=Tw0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder($,this.options);var I="";for(var U=0;U<this.initialBufs.length;U++)I+=this.decoder.write(this.initialBufs[U]);var Y=this.decoder.end();if(Y)I+=Y;return this.initialBufs.length=this.initialBufsLen=0,I}return this.decoder.end()};function Tw0($,I){var U=[],Y=0,J=0,Q=0,K=0,q=0;$:for(var G=0;G<$.length;G++){var H=$[G];for(var W=0;W<H.length;W++)if(U.push(H[W]),U.length===4){if(Y===0){if(U[0]===255&&U[1]===254&&U[2]===0&&U[3]===0)return"utf-32le";if(U[0]===0&&U[1]===0&&U[2]===254&&U[3]===255)return"utf-32be"}if(U[0]!==0||U[1]>16)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<K-J)return"utf-32le";return I||"utf-32le"}});var Rw0=O((Kq1)=>{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<I.length;U+=2){var Y=I[U];I[U]=I[U+1],I[U+1]=Y}return I};hh.prototype.end=function(){};function xh(){this.overflowByte=-1}xh.prototype.write=function($){if($.length==0)return"";var I=Bw0.alloc($.length+1),U=0,Y=0;if(this.overflowByte!==-1)I[0]=$[0],I[1]=this.overflowByte,U=1,Y=2;for(;U<$.length-1;U+=2,Y+=2)I[Y]=$[U+1],I[Y+1]=$[U];return this.overflowByte=U==$.length-1?$[$.length-1]:-1,I.slice(0,Y).toString("ucs2")};xh.prototype.end=function(){this.overflowByte=-1};Kq1.utf16=kh;function kh($,I){this.iconv=I}kh.prototype.encoder=uh;kh.prototype.decoder=fh;function uh($,I){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=I.iconv.getEncoder("utf-16le",$)}uh.prototype.write=function($){return this.encoder.write($)};uh.prototype.end=function(){return this.encoder.end()};function fh($,I){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=I.iconv}fh.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<16)return"";var I=vw0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(I,this.options);var U="";for(var Y=0;Y<this.initialBufs.length;Y++)U+=this.decoder.write(this.initialBufs[Y]);return this.initialBufs.length=this.initialBufsLen=0,U}return this.decoder.write($)};fh.prototype.end=function(){if(!this.decoder){var $=vw0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder($,this.options);var I="";for(var U=0;U<this.initialBufs.length;U++)I+=this.decoder.write(this.initialBufs[U]);var Y=this.decoder.end();if(Y)I+=Y;return this.initialBufs.length=this.initialBufsLen=0,I}return this.decoder.end()};function vw0($,I){var U=[],Y=0,J=0,Q=0;$:for(var K=0;K<$.length;K++){var q=$[K];for(var G=0;G<q.length;G++)if(U.push(q[G]),U.length===2){if(Y===0){if(U[0]===255&&U[1]===254)return"utf-16le";if(U[0]===254&&U[1]===255)return"utf-16be"}if(U[0]===0&&U[1]!==0)Q++;if(U[0]!==0&&U[1]===0)J++;if(U.length=0,Y++,Y>=100)break $}}if(Q>J)return"utf-16be";if(Q<J)return"utf-16le";return I||"utf-16le"}});var jw0=O((wq1)=>{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 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;Y<U.length;Y++)this._addDecodeChunk(U[Y]);if(typeof $.gb18030==="function"){this.gb18030=$.gb18030();var J=this.decodeTables.length;this.decodeTables.push(AJ.slice(0));var Q=this.decodeTables.length;this.decodeTables.push(AJ.slice(0));var K=this.decodeTables[0];for(var Y=129;Y<=254;Y++){var q=this.decodeTables[g6-K[Y]];for(var G=48;G<=57;G++){if(q[G]===H6)q[G]=g6-J;else if(q[G]>g6)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<J.length;){var K=J.charCodeAt(Q++);if(K>=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;W<G;W++)H.push(J.charCodeAt(Q++));U[I++]=x$-this.decodeTableSeq.length,this.decodeTableSeq.push(H)}else U[I++]=K}else if(typeof J==="number"){var V=U[I-1]+1;for(var Q=0;Q<J;Q++)U[I++]=V++}else throw Error("Incorrect type '"+typeof J+"' given in "+this.encodingName+" at chunk "+$[0])}if(I>255)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<w.length-1;Z++)K=w[Z],I[G++]=K&255,I[G++]=K>>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<Y-1){var J=U+(Y-U+1>>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<dw0.length;YG++)JG=dw0[YG],Rq1(mw0,JG);var JG,YG});var tw0=O((zS1,rw0)=>{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<W.length;V++){let w=W[V];if(!(w in q))q[w]=H[w].bind(q)}}let J=U?.Parent??Object;class Q extends J{}Object.defineProperty(Q,"name",{value:$});function K(q){var G;let H=U?.Parent?new Q:this;Y(H,q),(G=H._zod).deferred??(G.deferred=[]);for(let W of H._zod.deferred)W();return H}return Object.defineProperty(K,"init",{value:Y}),Object.defineProperty(K,Symbol.hasInstance,{value:(q)=>{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)<J)return 0;return U-Y}var Mk=Symbol("evaluating");function e0($,I,U){let Y=void 0;Object.defineProperty($,I,{get(){if(Y===Mk)return;if(Y===void 0)Y=Mk,Y=U();return Y},set(J){Object.defineProperty($,I,{value:J})},configurable:!0})}function HL0($){return Object.create(Object.getPrototypeOf($),Object.getOwnPropertyDescriptors($))}function o5($,I,U){Object.defineProperty($,I,{value:U,writable:!0,enumerable:!0,configurable:!0})}function r8(...$){let I={};for(let U of $){let Y=Object.getOwnPropertyDescriptors(U);Object.assign(I,Y)}return Object.defineProperties({},I)}function WL0($){return r8($._zod.def)}function VL0($,I){if(!I)return $;return I.reduce((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<I.length;Q++)J[I[Q]]=Y[Q];return J})}function ZL0($=10){let U="";for(let Y=0;Y<$;Y++)U+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return U}function iG($){return JSON.stringify($)}function pD($){return $.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var nG="captureStackTrace"in Error?Error.captureStackTrace:(...$)=>{};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;Y<I.length;Y++)U[Y]=I.charCodeAt(Y);return U}function Pk($){let I="";for(let U=0;U<$.length;U++)I+=String.fromCharCode($[U]);return btoa(I)}function EL0($){let I=$.replace(/-/g,"+").replace(/_/g,"/"),U="=".repeat((4-I.length%4)%4);return Ak(I+U)}function BL0($){return Pk($).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function vL0($){let I=$.replace(/^0x/,"");if(I.length%2!==0)throw Error("Invalid hex string length");let U=new Uint8Array(I.length/2);for(let Y=0;Y<I.length;Y+=2)U[Y/2]=Number.parseInt(I.slice(Y,Y+2),16);return U}function RL0($){return Array.from($).map((I)=>I.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(H<q.length){let W=q[H];if(H!==q.length-1)G[W]=G[W]||{_errors:[]};else G[W]=G[W]||{_errors:[]},G[W]._errors.push(I(K));G=G[W],H++}}}};return Y($),U}function aD($,I=(U)=>U.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(V<H.length){let w=H[V],Z=V===H.length-1;if(typeof w==="string")W.properties??(W.properties={}),(K=W.properties)[w]??(K[w]={errors:[]}),W=W.properties[w];else W.items??(W.items=[]),(q=W.items)[w]??(q[w]={errors:[]}),W=W.items[w];if(Z)W.errors.push(I(G));V++}}};return Y($),U}function Bk($){let I=[],U=$.map((Y)=>typeof 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<Q)if(I.inclusive)J.maximum=I.value;else J.exclusiveMaximum=I.value}),$._zod.check=(Y)=>{if(I.inclusive?Y.value<=I.value:Y.value<I.value)return;Y.issues.push({origin:U,code:"too_big",maximum:typeof I.value==="object"?I.value.getTime():I.value,input:Y.value,inclusive:I.inclusive,inst:$,continue:!I.abort})}}),eG=o("$ZodCheckGreaterThan",($,I)=>{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(q<J)K.issues.push({origin:"number",input:q,code:"too_small",minimum:J,inclusive:!0,inst:$,continue:!I.abort});if(q>Q)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(Q<U)J.issues.push({origin:"bigint",input:Q,code:"too_small",minimum:U,inclusive:!0,inst:$,continue:!I.abort});if(Q>Y)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<J)Y._zod.bag.maximum=I.maximum}),$._zod.check=(Y)=>{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<J)Y._zod.bag.maximum=I.maximum}),$._zod.check=(Y)=>{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 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;K<J.length;K++){let q=J[K],G=I.element._zod.run({value:q,issues:[]},Y);if(G instanceof Promise)Q.push(G.then((H)=>ik(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 (${R} in input) {
|
||
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${R}, ...iss.path] : [${R}]
|
||
})));
|
||
}
|
||
}
|
||
|
||
if (${A}.value === undefined) {
|
||
if (${R} in input) {
|
||
newResult[${R}] = undefined;
|
||
}
|
||
} else {
|
||
newResult[${R}] = ${A}.value;
|
||
}
|
||
|
||
`);else if(!g)Z.write(`
|
||
const ${A}_present = ${R} in input;
|
||
if (${A}.issues.length) {
|
||
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${R}, ...iss.path] : [${R}]
|
||
})));
|
||
}
|
||
if (!${A}_present && !${A}.issues.length) {
|
||
payload.issues.push({
|
||
code: "invalid_type",
|
||
expected: "nonoptional",
|
||
input: undefined,
|
||
path: [${R}]
|
||
});
|
||
}
|
||
|
||
if (${A}_present) {
|
||
if (${A}.value === undefined) {
|
||
newResult[${R}] = undefined;
|
||
} else {
|
||
newResult[${R}] = ${A}.value;
|
||
}
|
||
}
|
||
|
||
`);else Z.write(`
|
||
if (${A}.issues.length) {
|
||
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${R}, ...iss.path] : [${R}]
|
||
})));
|
||
}
|
||
|
||
if (${A}.value === undefined) {
|
||
if (${R} in input) {
|
||
newResult[${R}] = undefined;
|
||
}
|
||
} else {
|
||
newResult[${R}] = ${A}.value;
|
||
}
|
||
|
||
`)}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.length<q)return Y.issues.push({code:"too_small",minimum:q,inclusive:!0,input:Q,inst:$,origin:"array"}),Y;if(Q.length>U.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<U.length;W++){let V=U[W]._zod.run({value:Q[W],issues:[]},J);if(V instanceof Promise)K.push(V.then((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<U.length;Q++){let K=$[Q],q=Q<Y.length;if(K.issues.length){if(!q&&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("/")}/<root>
|
||
|
||
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;Z<V.length;Z++)w=P0.intersection(w,V[Z]);Y=w}break}let q=P0.object(J);if($.additionalProperties===!1)Y=q.strict();else if(typeof $.additionalProperties==="object")Y=q.catchall(w6($.additionalProperties,I));else Y=q.passthrough();break}case"array":{let{prefixItems:J,items:Q}=$;if(J&&Array.isArray(J)){let K=J.map((G)=>w6(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.LOG_LEVEL_SEVERITY.get(J):!1},this._capabilities=I?.capabilities??{},this._instructions=I?.instructions,this._jsonSchemaValidator=I?.jsonSchemaValidator??new $E,this.setRequestHandler(hP,(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.length<K){let C,p=3;while(p>0)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<J||Z>=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}=<path>`,...$?[`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 <corpId>. 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()<Q.expiresAt)return Q;let[K,q,G]=await Promise.all([r21($,{scope:Y,versionId:U.ruleVersionId,versionNumber:U.ruleVersionNumber,latest:U.latestRuleVersion}),z2($,{limit:U.documentLimit??100}),n1($,I.seal.endpoints.approvalStylePreferences)]),H=Date.now(),W={entries:[...K,...q.articles.flatMap(m21),...l21(G)],fetchedAt:H,expiresAt:H+pV0};return iV0.set(J,W),W}async function r21($,I){if(I.scope==="current")return(await M$($)).rules.flatMap(d21);if(I.scope==="version"){let Y=await t21($,I);return nV0(Y)}return(await Q5($)).flatMap(nV0)}async function t21($,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}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($.uncompressedSize<I.minFileSizeBytes)U.push(`附件文件过小: ${$.fileName}(${$.uncompressedSize} B,小于最小值 ${I.minFileSizeBytes} B)`);if(I.maxFileSizeBytes!==void 0&&I.maxFileSizeBytes!==null&&$.uncompressedSize>I.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<K.value.length;q++){let G=K.value[q];for(let H of I.expenseAttachments[q]??[])G.push({key:H.key,label:H.label,type:"ATTACHMENT",value:H.paths.flatMap(J)})}return Y}import{readFileSync as eq1}from"node:fs";function $G1($){let I=new URL($),U=I.pathname.match(/\/webhook\/([^/]+)/);if(!U)throw Error("Webhook URL 必须包含 /webhook/{webhookId}/document");return{baseUrl:`${I.protocol}//${I.host}`,webhookId:U[1]}}function IG1($,I){return I.toLowerCase().endsWith(".zip")||$[0]===80&&$[1]===75&&!I.toLowerCase().endsWith(".xlsx")}function UG1($,I){if(!$.length)return;let U=new Set($.map((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;q<Y.parsed.length;q+=1){let G=Y.parsed[q],H=Y.plans[q],W=new Map,V=[...H.categoryFields,...Object.values(H.personAttachments).flat(),...Object.values(H.expenseAttachments).flat()];for(let z of V)for(let L of z.paths){if(W.has(L))continue;let D=Y.entries.find((u)=>u.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 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:"<webhookIdOrName>"}`;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<I.minScore)throw Error(`[Linter 质量门禁未通过] 综合评分 ${G.overallScore} 低于要求的最低分 ${I.minScore} 分 (共发现 ${G.issueCount} 条问题规则)。`);return G}},{name:"seal_approval_rules_pull",description:"从 Seal 远端拉取草稿或指定版本规则,保存至本地规则文件(支持离线编辑与本地 Lint,绝不污染远端草稿)",parameters:X.object({version:X.string().optional().describe("指定拉取的历史发布版本号或 ID(如 16 或 latest),不传默认拉取当前草稿规则"),out:X.string().optional().describe("保存的目标本地文件路径,默认为 ./rules.local.json")}),handler:async($,I,U)=>{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 <recordId> --summary",getRuleVersion:"seal-home rules version <ruleSetVersionNumber>",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 <batchId>",getRecords:"seal-home simulation batch-records <batchId>",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 <batchId>",getRecords:"seal-home simulation batch-records <batchId>"}}}},{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 <batchId>"}}}},{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:"<redacted>"}}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.maxScan&&Y.length<I.limit){let K=await X8($,{offset:Q,limit:Math.min(U,I.maxScan-Q),search:I.sn??I.query,sourceDocumentSN:I.sn});J=K.total,Q+=K.records.length;let q=Xx(K.records,I.query).filter((G)=>!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 ZG($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1<redacted>").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1<redacted>")}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
|
||
seal-use mcp
|
||
seal-use mcp config
|
||
seal-use mcp-config
|
||
seal-use skill dump
|
||
seal-use skill install [--dir <path>|--local]
|
||
seal-use skill status
|
||
seal-use http [--port 8787] [--host 127.0.0.1]
|
||
seal-use serve [--port 8787]
|
||
seal-use openapi
|
||
seal-use probe [<corpId>]
|
||
seal-use config paths
|
||
seal-use config get
|
||
seal-use config mode <stateful|stateless> [--corp <corpId>]
|
||
seal-use config test-dir [<path>|--clear]
|
||
seal-use config lint [status|enable|disable] [--linter <name|path>] [--min-score <score>]
|
||
seal-use update [--check] [--force] [--version <v>]
|
||
seal-use update check
|
||
seal-use update changelog [--limit <n>]
|
||
seal-use changelog [--limit <n>]
|
||
seal-use tools list
|
||
seal-use corps list [--corp <corpId>]
|
||
seal-use corps current [--corp <corpId>]
|
||
seal-use corps switch <corpId>
|
||
seal-use corps add-hose --json '{"name":"企业名称","domain":"https://app.ekuaibao.com","appKey":"...","appSecurity":"...","proxyStaffBizId":"corpId:staffId"}'
|
||
seal-use corps add-seal --json '{"sealUrl":"https://tenant.sealai.cc","token":"seal-bearer-token"}'
|
||
seal-use corps add-link <https://.../web/thirdparty.html?...> [--name <customName>] [--overwrite]
|
||
seal-use auth diagnose [--corp <corpId>]
|
||
seal-use auth hose-link [--corp <corpId>] [--expire 7200]
|
||
seal-use delegation list [--corp <corpId>]
|
||
seal-use delegation create [--note <note>] [--from-link <url>] [--corp <corpId>]
|
||
seal-use delegation revoke <tokenId> [--corp <corpId>]
|
||
seal-use users create --name <name> --phone <phone> [--dept <deptId>] [--corp <corpId>]
|
||
seal-use users search <keyword> [--corp <corpId>]
|
||
seal-use users delegation <userIdOrPhone|name> [--note <note>] [--corp <corpId>]
|
||
seal-use users reset-password <userId> [--corp <corpId>]
|
||
seal-use users get <userId> [--corp <corpId>]
|
||
seal-use users delete <userId> [--corp <corpId>]
|
||
seal-use contacts departments [<departmentId>] [--corp <corpId>]
|
||
seal-use contacts children <departmentId> [--corp <corpId>]
|
||
seal-use contacts users <departmentId> [--corp <corpId>]
|
||
seal-use contacts sync-time [--corp <corpId>]
|
||
seal-use data expenses [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>] [--corp <corpId>]
|
||
seal-use data invoices [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>] [--corp <corpId>]
|
||
seal-use llm config [--corp <corpId>]
|
||
seal-use llm providers [--corp <corpId>]
|
||
seal-use permissions available [--corp <corpId>]
|
||
seal-use permissions configs [--corp <corpId>]
|
||
seal-use billing status [--corp <corpId>]
|
||
seal-use billing plans [--corp <corpId>]
|
||
seal-use billing features [--corp <corpId>]
|
||
seal-use webhook ready [<材料包.zip>] [--webhook <idOrName>] [--corp <corpId>]
|
||
seal-use webhook status [<材料包.zip>] [--corp <corpId>]
|
||
seal-use webhook list [--query <text>] [--show-secret] [--corp <corpId>]
|
||
seal-use webhook get|find <idOrName> [--show-secret] [--corp <corpId>]
|
||
seal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>] [--min-file-size 500] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp <corpId>]
|
||
seal-use webhook update <idOrName> [--name <name>] [--result-url <url>] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>|--rotate-secret] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp <corpId>]
|
||
seal-use webhook delete <idOrName> [--yes|--dry-run] [--corp <corpId>]
|
||
seal-use webhook material-pack preview <材料包.zip|信息表.xlsx> [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--corp <corpId>]
|
||
seal-use webhook material-pack push <材料包.zip|信息表.xlsx> [--webhook <idOrName>] [--corp <corpId>]
|
||
seal-use deploy hosecloud requirements [--corp <corpId>]
|
||
seal-use deploy hosecloud list [--corp <corpId>]
|
||
seal-use deploy hosecloud get <sign-key> [--corp <corpId>]
|
||
seal-use deploy hosecloud status [--corp <corpId>]
|
||
seal-use deploy hosecloud configure --json '{...}' [--dry-run] [--corp <corpId>]
|
||
seal-use deploy hosecloud sync <sign-key> [--corp <corpId>]
|
||
seal-use preference get [--corp <corpId>]
|
||
seal-use preference decision update --json '{"explicitApprove":"..."}' [--dry-run] [--corp <corpId>]
|
||
seal-use preference thinking-depth set --default <medium|high> [--dry-run] [--corp <corpId>]
|
||
seal-use preference thinking-depth policies list [--corp <corpId>]
|
||
seal-use preference thinking-depth policies upsert --json '{...}' [--dry-run] [--corp <corpId>]
|
||
seal-use preference thinking-depth policies remove <policyId> [--dry-run] [--corp <corpId>]
|
||
seal-use source config [--corp <corpId>]
|
||
seal-use tool <toolName> [--corp <corpId>] [--json '{"key":"value"}']
|
||
seal-use rules count [--corp <corpId>]
|
||
seal-use rules list [--summary] [--count] [--limit 20] [--offset 0] [--corp <corpId>]
|
||
seal-use rules clear [--corp <corpId>] [--dry-run|--yes]
|
||
seal-use rules versions [--corp <corpId>]
|
||
seal-use rules version <versionId|versionNumber|latest> [--corp <corpId>]
|
||
seal-use rules get --corp <corpId> --version <number|latest> --code '#0038'
|
||
seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205
|
||
seal-use rules search <keyword> [--version <versionId|versionNumber|latest>] [--maxResults 20] [--corp <corpId>]
|
||
seal-use context [--ruleVersion <versionId|versionNumber|latest>] [--documentLimit 50] [--corp <corpId>]
|
||
seal-use approval-runs summary [--date YYYY-MM-DD] [--timezone Asia/Shanghai] [--corp <corpId>]
|
||
seal-use approval-runs stats [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id] [--corp <corpId>]
|
||
seal-use approval-runs count [--status APPROVED] [--corp <corpId>]
|
||
seal-use approval-runs export [--start <YYYY-MM-DD|ms>] [--end <YYYY-MM-DD|ms>] [--limit <n>] [--downloads] [--out <file>] [--corp <corpId>]
|
||
seal-use approval-runs list|search [--query text] [--humanResult 驳回] [--manualApprovalStatus TERMINATED] [--startDate ms] [--endDate ms] [--limit 20] [--includeBridge true] [--corp <corpId>]
|
||
seal-use approval-runs pick --sn <documentSN> [--batch <batchId>] [--latest] [--fields recordId,status,aiDecision] [--corp <corpId>]
|
||
seal-use approval-runs get <recordId> [--summary] [--fields metadata|document.fields,result.summary] [--full] [--output-file file.json] [--corp <corpId>]
|
||
seal-use approval-runs cited-rules <recordId> [--corp <corpId>]
|
||
seal-use approval-runs document-summary <recordId> [--corp <corpId>]
|
||
seal-use approval-runs attachments <recordId> [--summary] [--corp <corpId>]
|
||
seal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>] [--corp <corpId>]
|
||
seal-use approval-runs result <recordId> [--summary] [--corp <corpId>]
|
||
seal-use analytics insight [--start-date <ISO>] [--end-date <ISO>] [--limit <n>] [--corp <corpId>]
|
||
seal-use approval-runs url [--corp <corpId>]
|
||
seal-use approval-runs url <recordId> [--corp <corpId>]
|
||
seal-use approval-runs url --sourceDocumentSN B26022501 [--corp <corpId>]
|
||
seal-use approval-runs bridge [--sourceDocumentSN B26001887] [--corp <corpId>]
|
||
seal-use simulation batch-records <batchId> [--corp <corpId>]
|
||
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 <corpId>]
|
||
seal-use simulation create --mode material_pack --package-ids <materialPackageId> [--template-id conference_reimbursement_v1] [--schema-config file.json] [--corp <corpId>]
|
||
seal-use simulation create --source-system weaver --request-ids "req-01,req-02" [--corp <corpId>]
|
||
seal-use simulation status <batchId> [--corp <corpId>]
|
||
seal-use simulation wait <batchId> [--timeout 10m] [--poll-interval 2s] [--corp <corpId>]
|
||
seal-use simulation clean <batchId> [--corp <corpId>]
|
||
seal-use simulation specifications [--integration <sign-key>] [--corp <corpId>]
|
||
seal-use simulation approval-definitions [--corp <corpId>]
|
||
seal-use simulation list [--limit 50] [--corp <corpId>]
|
||
seal-use simulation get <batchId> [--corp <corpId>]
|
||
seal-use simulation templates [--corp <corpId>]
|
||
seal-use simulation integrations [--corp <corpId>]
|
||
seal-use simulation package-upload <材料包.zip> [--corp <corpId>]
|
||
`)}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 <documentSN>");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 <recordId>");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 <recordId>");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 <recordId> [--all] [--name <name>] [--out-dir <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 <recordId> | seal-use approval-runs attachments download <recordId>");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 <recordId> [--all] [--name <name>] [--out-dir <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 <recordId> [--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 <departmentId>");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 <departmentId>");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 <corpId>");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 <https://.../web/thirdparty.html?...> [--name <customName>] [--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")??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 <tokenId>");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 <system> <action> [options]
|
||
|
||
`+`支持的审批系统与发布目标:
|
||
`+` • hosecloud (合思费控): seal-use deploy hosecloud <requirements|list|get|status|configure|sync> --corp <corpId>
|
||
`+` • webhook (通用审批流回调): seal-use webhook <list|get|add|update|delete> --corp <corpId>
|
||
`+` • feishu (飞书审批): 建议使用 Webhook 模式对接
|
||
`+` • weaver (泛微 OA): 建议使用 Webhook 模式对接
|
||
`+` • helios (汇联易): 建议使用 Webhook 模式对接
|
||
`+" • maycur (每刻报销): 建议使用 Webhook 模式对接");if($==="webhook"||$==="webhooks")throw Error("Webhook 审批流发布请直接使用专有命令:seal-use webhook <list|get|add|update|delete> --corp <corpId>");if($==="feishu"||$==="lark")throw Error("飞书审批发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '飞书审批' --result-url <url> --corp <corpId>");if($==="weaver")throw Error("泛微 OA 发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '泛微OA' --result-url <url> --corp <corpId>");if($==="maycur"||$==="helios"){let H=$==="maycur"?"每刻报销":"汇联易";throw Error(`${H}发布:目前可通过 Webhook 模式接入。命令:seal-use webhook add --name '${H}' --result-url <url> --corp <corpId>`)}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 <sign-key> [--corp ${J.id}]
|
||
`),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("缺少必需参数 <sign-key>。请从上述候选列表中选择并指定 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 <file>");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 <sign-key> [--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("缺少必需参数 <sign-key>。请从上述候选列表中选择并指定 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 FD(){return XX0}function zX0(){return`<!doctype html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||
<title>Seal Home API Docs (v${I1})</title>
|
||
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>\uD83E\uDDAD</text></svg>" />
|
||
<style>
|
||
body {
|
||
margin: 0;
|
||
padding: 0;
|
||
background-color: #0f172a;
|
||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<script
|
||
id="api-reference"
|
||
data-url="/openapi.json"
|
||
data-configuration='{"theme":"purple","layout":"modern","showSidebar":true}'
|
||
src="https://cdn.jsdelivr.net/npm/@scalar/api-reference@1.25.101/dist/browser/standalone.js"
|
||
></script>
|
||
</body>
|
||
</html>`}async function k4($,I,U,Y){let J=$.handler;return J(I,U,{corp:Y})}async function LX0($,I){if(I.setHeader("Access-Control-Allow-Origin","*"),I.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS, PATCH"),I.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization, X-Seal-Corp, X-Seal-Home-Session"),$.method==="OPTIONS"){I.writeHead(204),I.end();return}let U=$.headers.host||"localhost",Y=$.headers["x-forwarded-proto"]||"http",J=new tG1($.url||"/",`${Y}://${U}`),Q=J.pathname.replace(/\/+$/,"")||"/",K=($.method||"GET").toUpperCase();try{if(K==="GET"&&Q==="/"){m1(I,200,{name:"seal-use",version:I1,description:"Seal tenant operations and approval automation HTTP API",docs:"/docs",openapi:"/openapi.json",health:"/health",endpoints:{cli:"POST /api/cli",tools:"GET /api/tools",toolInvoke:"POST /api/tool/:name",restV1:"GET/POST /v1/*"}});return}if(K==="GET"&&Q==="/docs"){sG1(I,200,zX0());return}if(K==="GET"&&Q==="/openapi.json"){m1(I,200,FD());return}if(K==="GET"&&Q==="/health"){m1(I,200,{status:"ok",version:I1,name:"seal-use",timestamp:new Date().toISOString()});return}if(K==="POST"&&(Q==="/shutdown"||Q==="/api/shutdown")){m1(I,200,{success:!0,message:"Shutting down seal-use background daemon",pid:process.pid}),setTimeout(()=>{process.kill(process.pid,"SIGTERM")},50);return}if(K==="POST"&&Q==="/api/cli"){let q=await MD($),G=(typeof q?.command==="string"?q.command:"").trim();if(!G){ND(I,400,"Missing 'command' property in request body");return}let H=Mx(G),W=H[0]==="seal-use"||H[0]==="seal-home"||H[0]?.endsWith("/seal-use")||H[0]?.endsWith("/seal-home")?H.slice(1):H,V=await zG(W),w=void 0;try{if(V.stdout.trim().startsWith("{")||V.stdout.trim().startsWith("["))w=JSON.parse(V.stdout)}catch{}m1(I,V.isError?400:200,{success:!V.isError,stdout:V.stdout,stderr:V.stderr,exitCode:V.exitCode,data:w});return}if(K==="POST"&&Q.startsWith("/api/tool/")){let q=Q.slice(10).trim(),G=C4(q);if(!G){ND(I,404,`Tool not found: '${q}'`);return}let H=await MD($)||{},W=y6($,J,H),V=D4(W),w=await Y4(V),Z={...H};delete Z.corp;let z=await k4(G,w,Z,V);m1(I,200,z);return}if(Q.startsWith("/v1/")){if(await aG1($,I,K,Q,J))return}ND(I,404,`Cannot ${K} ${Q}. Visit /docs for available endpoints.`)}catch(q){let G=q instanceof Error?q.message:String(q);ND(I,500,G)}}async function aG1($,I,U,Y,J){let Q=Object.fromEntries(J.searchParams.entries());if(U==="GET"&&Y==="/v1/corps"){let K=b8(),q=L4();return m1(I,200,{count:K.length,mode:q.stateful?"stateful":"stateless",defaultCorpId:q.defaultCorpId,corps:K.map((G)=>({id:G.id,name:G.name,sourceType:G.source.type,sealUrl:G.seal?.url}))}),!0}if(U==="GET"&&Y==="/v1/whoami"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_whoami"),W=await k4(H,G,{},q);return m1(I,200,W),!0}if(U==="GET"&&Y==="/v1/session"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_session_get"),W=await k4(H,G,{},q);return m1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval-runs/summary"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_approval_runs_summary"),W=await k4(H,G,Q,q);return m1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval-runs/stats"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_approval_runs_stats"),W=await k4(H,G,Q,q);return m1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval-runs/pick"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_approval_run_pick"),W=await k4(H,G,Q,q);return m1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval-runs/url"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_approval_run_url_get"),W=await k4(H,G,Q,q);return m1(I,200,W),!0}if(Y.startsWith("/v1/approval-runs/")){let K=Y.slice(18).split("/"),q=K[0],G=K[1];if(q&&!["summary","pick","stats","url","bridge"].includes(q)){let H=y6($,J,Q),W=D4(H),V=await Y4(W);if(!G){let w=C4("seal_approval_run_get"),Z=await k4(w,V,{recordId:q,...Q},W);return m1(I,200,Z),!0}if(G==="attachments"){let w=C4("seal_approval_run_attachments_get"),Z=await k4(w,V,{recordId:q,...Q},W);return m1(I,200,Z),!0}if(G==="cited-rules"){let w=C4("seal_approval_run_cited_rules_get"),Z=await k4(w,V,{recordId:q,...Q},W);return m1(I,200,Z),!0}if(G==="document-summary"){let w=C4("seal_approval_run_document_summary_get"),Z=await k4(w,V,{recordId:q,...Q},W);return m1(I,200,Z),!0}if(G==="result"){let w=C4("seal_approval_run_result_get"),Z=await k4(w,V,{recordId:q,...Q},W);return m1(I,200,Z),!0}}}if(U==="GET"&&Y==="/v1/approval-runs"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_approval_runs_search"),W=await k4(H,G,{...Q,limit:Q.limit?Number(Q.limit):void 0,offset:Q.offset?Number(Q.offset):void 0,includeBridge:Q.includeBridge==="true"},q);return m1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval/rules"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_approval_rules_list"),W=await k4(H,G,Q,q);return m1(I,200,W),!0}if(U==="GET"&&Y==="/v1/simulation/batches"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_simulation_batches_list"),W=await k4(H,G,Q,q);return m1(I,200,W),!0}if(U==="POST"&&Y==="/v1/simulation/create-batch"){let K=await MD($)||{},q=y6($,J,K),G=D4(q),H=await Y4(G),W=C4("seal_simulation_batch_create"),V=await k4(W,H,K,G);return m1(I,200,V),!0}if(U==="GET"&&Y.startsWith("/v1/simulation/batch/")){let q=Y.slice(21).split("/")[0];if(q){let G=y6($,J,Q),H=D4(G),W=await Y4(H),V=C4("seal_simulation_batch_get"),w=await k4(V,W,{batchId:q},H);return m1(I,200,w),!0}}if(U==="GET"&&Y==="/v1/preferences"){let K=y6($,J,Q),q=D4(K),G=await Y4(q),H=C4("seal_preference_get"),W=await k4(H,G,{},q);return m1(I,200,W),!0}if(U==="POST"&&Y==="/v1/preferences/decision"){let K=await MD($)||{},q=y6($,J,K),G=D4(q),H=await Y4(G),W=C4("seal_preference_decision_update"),V=await k4(W,H,K,G);return m1(I,200,V),!0}return!1}function y6($,I,U){let Y=$.headers["x-seal-corp"];if(typeof Y==="string"&&Y.trim())return Y.trim();let J=I.searchParams.get("corp");if(J?.trim())return J.trim();if(U&&typeof U.corp==="string"&&U.corp.trim())return U.corp.trim();return}async function MD($){let I="";for await(let U of $)if(I+=U,I.length>20971520)throw Error("Payload too large");if(!I.trim())return{};try{return JSON.parse(I)}catch(U){throw Error(`Invalid JSON body: ${U instanceof Error?U.message:String(U)}`)}}function m1($,I,U){let Y=JSON.stringify(U,null,2);$.writeHead(I,{"Content-Type":"application/json; charset=utf-8","Content-Length":Buffer.byteLength(Y)}),$.end(Y)}function sG1($,I,U){$.writeHead(I,{"Content-Type":"text/html; charset=utf-8","Content-Length":Buffer.byteLength(U)}),$.end(U)}function ND($,I,U,Y){m1($,I,{error:!0,statusCode:I,message:U,...Y!==void 0?{details:Y}:{}})}var AD=8787,PD="127.0.0.1";async function TD($={}){let I=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):AD),U=$.host??(process.env.HOST?process.env.HOST:PD),Y=eG1(async(J,Q)=>{try{await LX0(J,Q)}catch(K){if(!Q.headersSent)Q.writeHead(500,{"Content-Type":"application/json"}),Q.end(JSON.stringify({error:!0,message:K instanceof Error?K.message:String(K)}))}});return new Promise((J,Q)=>{Y.on("error",(K)=>{Q(K)}),Y.listen(I,U,()=>{if(!$.silent)console.error(`
|
||
\uD83D\uDE80 seal-use HTTP Server (v${I1}) started`),console.error(` URL: http://${U}:${I}`),console.error(` Docs: http://${U}:${I}/docs`),console.error(` OpenAPI: http://${U}:${I}/openapi.json`),console.error(` CLI Exec: POST http://${U}:${I}/api/cli`),console.error(` REST API: http://${U}:${I}/v1/...
|
||
`);J(Y)})})}async function DX0($){let I=d0($.options.port)??d0($.options.p),U=h($.options.host)??h($.options.h),Y=await TD({port:I,host:U}),J=()=>{Y.close(()=>{process.exit(0)})};process.on("SIGINT",J),process.on("SIGTERM",J),await new Promise(()=>{})}async function OX0($,I,U,Y){if($==="config"||$==="get"){await D0("seal_llm_config_get",I,U,{},V0(Y.options));return}if($==="providers"||$==="list"){await D0("seal_llm_providers_list",I,U,{},V0(Y.options));return}throw Error(`Unknown llm command: ${$??""}. Run 'seal-use help' for available commands.`)}async function FX0($,I){if($==="config"||$==="json"){Ax();return}await Px()}function Ax(){B0({mcpServers:{"seal-use":{type:"stdio",command:"seal-use",args:["mcp"],env:{SEAL_USE_MCP_ENABLED:"true"}}}})}function NX0($){let I=FD();B0(I,{...V0($.options),allowFull:!0})}async function MX0($,I,U,Y){if($==="available"){await D0("seal_permissions_available_list",I,U,{},V0(Y.options));return}if($==="configs"||$==="list"){await D0("seal_permissions_configs_list",I,U,{},V0(Y.options));return}throw Error(`Unknown permissions command: ${$??""}. Run 'seal-use help' for available commands.`)}import{readFileSync as AX0}from"node:fs";async function PX0($,I,U,Y,J,Q,K){if(!$||$==="get"){await D0("seal_preference_get",J,Q,{},V0(K.options));return}if($==="decision"){if(I==="update"||!I){let q=h(K.options.input),G=q?JSON.parse(AX0(q,"utf8")):t6(K.json);if(!G||Object.keys(G).length===0)throw Error(`Usage: seal-use preference decision update --json '{"explicitApprove":"..."}'`);await D0("seal_preference_decision_update",J,Q,{...G,dryRun:N0(K.options.dryRun)??N0(K.options["dry-run"])},V0(K.options));return}}if($==="thinking-depth"||$==="thinkingDepth"){if(I==="set"){let q=h(K.options.default)??h(K.options.level)??Y;if(q!=="medium"&&q!=="high")throw Error("Usage: seal-use preference thinking-depth set --default <medium|high>");await D0("seal_preference_thinking_depth_set",J,Q,{defaultLevel:q,dryRun:N0(K.options.dryRun)??N0(K.options["dry-run"])},V0(K.options));return}if(I==="policies"){if(U==="list"||!U){await D0("seal_preference_thinking_depth_policies_list",J,Q,{},V0(K.options));return}if(U==="upsert"){let q=h(K.options.input),G=q?JSON.parse(AX0(q,"utf8")):t6(K.json);if(!G||!G.id||!G.name)throw Error(`Usage: seal-use preference thinking-depth policies upsert --json '{"id":"...","name":"...","level":"high"}'`);await D0("seal_preference_thinking_depth_policies_upsert",J,Q,{...G,dryRun:N0(K.options.dryRun)??N0(K.options["dry-run"])},V0(K.options));return}if(U==="remove"||U==="delete"){let q=Y??h(K.options.id)??h(K.options.policyId);if(!q)throw Error("Usage: seal-use preference thinking-depth policies remove <policyId>");await D0("seal_preference_thinking_depth_policies_remove",J,Q,{policyId:q,dryRun:N0(K.options.dryRun)??N0(K.options["dry-run"])},V0(K.options));return}}}throw Error(`Unknown preference action: ${$??""}. Available: get, decision update, thinking-depth set, thinking-depth policies list/upsert/remove.`)}async function TX0($={}){let I=b8(),U=L4(),Y=ZJ(I,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$.corpId},a3());console.log(`[probe] corp=${Y.id} source=${Y.source.type}`);let J=await EJ(Y);console.log("[probe] seal enterprise"),console.log(JSON.stringify(J,null,2));let Q=await Y4(Y),K=await bV(Q,{documentLimit:20,stylePreferencesEndpoint:Y.seal.endpoints.approvalStylePreferences});console.log("[probe] approval context summary"),console.log(JSON.stringify({rules:K.rules.rules.length,hasPendingRuleDeletes:K.rules.hasPendingDeletes,documents:K.documents.articles.length,documentsTotal:K.documents.total,stylePreferences:K.stylePreferences.ok?"ok":`error: ${K.stylePreferences.error}`},null,2))}async function EX0($,I,U){let Y=I??h(U.options.corp)??($&&$!=="--corp"?$:void 0);await TX0({corpId:Y})}async function Tx($,I,U,Y,J){if($==="count"){await D0("seal_approval_rules_list",U,Y,{countOnly:!0},V0(J.options));return}if($==="list"){if(N0(J.options.count)){await D0("seal_approval_rules_list",U,Y,{countOnly:!0},V0(J.options));return}let Q=d0(J.options.limit),K=d0(J.options.offset);if(N0(J.options.summary)){await D0("seal_approval_rules_list",U,Y,{fields:pZ0,limit:Q,offset:K},V0(J.options));return}let q=await GI("seal_approval_rules_list",U,Y,{limit:Q,offset:K});cZ0(q,N0(J.options.full)===!0),B0(q);return}if($==="clear"){let Q=N0(J.options.yes)===!0,K=N0(J.options.dryRun)??N0(J.options["dry-run"])??!Q;if(!Q&&!K)throw zD("Refusing to clear rules without --yes. Use --dry-run to preview.",`seal-use rules clear --corp ${Y.id} --dry-run`);let q=await GI("seal_approval_rules_clear",U,Y,{dryRun:K,recode:N0(J.options.recode)});if(!Q&&K&&q&&typeof q==="object"){B0({...q,nextCommand:`seal-use rules clear --corp ${Y.id} --yes`},V0(J.options));return}B0(q,V0(J.options));return}if($==="versions"){await D0("seal_approval_rule_versions_list",U,Y,{},V0(J.options));return}if($==="version"){let Q=I??h(J.options.version);if(!Q)throw Error("Usage: seal-use rules version <versionId|versionNumber|latest>");await D0("seal_approval_rule_version_get",U,Y,WG(Q),V0(J.options));return}if($==="get"){await D0("seal_approval_rule_get",U,Y,{...nZ0(h(J.options.version)),code:h(J.options.code),runtimeId:h(J.options.runtimeId)??h(J.options["runtime-id"]),recordId:h(J.options.recordId)??h(J.options["record-id"])},V0(J.options));return}if($==="search"){let Q=I??h(J.options.query);if(!Q)throw Error("Usage: seal-use rules search <keyword> [--version <versionId|versionNumber|latest>]");await D0("seal_approval_search",U,Y,{keywords:[Q],areas:["rules"],maxResults:d0(J.options.maxResults),contextLines:d0(J.options.contextLines),refresh:N0(J.options.refresh),snippetOnly:N0(J.options.snippetOnly)??N0(J.options["snippet-only"]),maxChars:d0(J.options.maxChars)??d0(J.options["max-chars"]),fields:W6(J.options.fields),...bZ0(h(J.options.version))},V0(J.options));return}if($==="pull"){let Q=h(J.options.version)??I,K=h(J.options.out)??h(J.options.file)??h(J.options.f);await D0("seal_approval_rules_pull",U,Y,{version:Q,out:K},V0(J.options));return}if($==="push"){let Q=h(J.options.file)??h(J.options.f)??I,K=N0(J.options.yes)===!0,q=N0(J.options.dryRun)??N0(J.options["dry-run"])??!K,G=N0(J.options.publish),H=h(J.options.versionName)??h(J.options["version-name"]),W=await GI("seal_approval_rules_push",U,Y,{file:Q,dryRun:q,confirm:K,publish:G,versionName:H});if(!K&&q&&W&&typeof W==="object"){B0({...W,nextCommand:`seal-use rules push --file ${Q??"./rules.local.json"} --corp ${Y.id} --yes${G?" --publish":""}`},V0(J.options));return}B0(W,V0(J.options));return}if($==="lint"){await D0("seal_approval_rules_lint",U,Y,{file:h(J.options.file)??h(J.options.f),linter:h(J.options.linter),version:h(J.options.version),code:h(J.options.code),ruleId:h(J.options.rule)??I,minScore:d0(J.options.minScore)??d0(J.options["min-score"]),level:h(J.options.level),summary:N0(J.options.summary)},V0(J.options));return}throw Error(`Unknown rules command: ${$??""}. Available: count, list, clear, versions, version, get, search, lint, pull, push. Run 'seal-use help' for available commands.`)}import{homedir as KH1}from"node:os";import{join as qH1}from"node:path";import{spawn as $H1,execFileSync as IH1}from"node:child_process";import{existsSync as ED,mkdirSync as UH1,readFileSync as Ex,rmSync as d8,writeFileSync as BD}from"node:fs";import{join as Bx}from"node:path";async function HI($,I,U={}){switch($){case"run":await JH1(I);return;case"start":return BX0(I);case"stop":case"kill":case"down":case"shutdown":return vX0(I,U);case"restart":return vX0(I,{quiet:!0}),BX0(I);case"logs":case"log":return YH1(I,U.maxLines);case"status":case void 0:return vJ(I);default:throw Error("Usage: seal-use service <start|stop|restart|status|logs>")}}function vJ($){let I=RD($),U=vx($),Y=vD(I),J=Y?RX0(Y,$.appRoot):!1;if(!J){if(Y)d8(I,{force:!0});if(ED(U))d8(U,{force:!0})}let Q;if(J&&ED(U))try{Q=JSON.parse(Ex(U,"utf8"))}catch{}let K=$.port??Q?.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):AD),q=$.host??Q?.host??(process.env.HOST?process.env.HOST:PD),G=$.version??Q?.version;return{running:J,pid:J?Y:void 0,version:G,port:K,host:q,url:J?`http://${q}:${K}`:void 0,appRoot:$.appRoot,stateDir:$.stateDir,pidFile:I,logFile:LG($)}}function YH1($,I=50){let U=LG($);if(!ED(U))return{logFile:U,lines:[],totalLines:0};let J=Ex(U,"utf8").split(`
|
||
`).filter(Boolean),Q=J.slice(-I);return{logFile:U,lines:Q,totalLines:J.length}}async function JH1($){let I=RD($),U=vx($),Y=LG($);CX0($.stateDir);let J=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):AD),Q=$.host??(process.env.HOST?process.env.HOST:PD);BD(I,`${process.pid}
|
||
`,{mode:384}),BD(U,JSON.stringify({pid:process.pid,port:J,host:Q,version:$.version,startedAt:new Date().toISOString()},null,2),{mode:384}),BJ(Y,`service starting on http://${Q}:${J} pid=${process.pid}`);let K=null;try{K=await TD({port:J,host:Q,silent:!0}),BJ(Y,`service listening pid=${process.pid}`)}catch(G){if(BJ(Y,`service failed to bind port ${J}: ${G instanceof Error?G.message:String(G)}`),vD(I)===process.pid)d8(I,{force:!0}),d8(U,{force:!0});throw G}let q=()=>{if(K)K.close(),K=null;if(vD(I)===process.pid)d8(I,{force:!0}),d8(U,{force:!0});BJ(Y,`stopped pid=${process.pid}`)};await new Promise((G)=>{let H=!1,W=()=>{if(H)return;H=!0,q(),process.off("SIGTERM",W),process.off("SIGINT",W),G()};process.once("SIGTERM",W),process.once("SIGINT",W)})}function BX0($){CX0($.stateDir);let I=vJ($);if(I.running)return I;let U=$.launcher??{command:process.execPath,args:[$.entryFile]},Y=[...U.args??[],"service","run"];if($.port)Y.push("--port",String($.port));if($.host)Y.push("--host",String($.host));let J=$H1(U.command,Y,{cwd:$.appRoot,detached:!0,stdio:["ignore","ignore","ignore"],env:process.env});J.unref();let Q=RD($);return BD(Q,`${J.pid}
|
||
`,{mode:384}),BJ(LG($),`started pid=${J.pid}`),{started:!0,...vJ($)}}function vX0($,I={}){let U=RD($),Y=vx($),J=vD(U);if(!J||!RX0(J,$.appRoot))return d8(U,{force:!0}),d8(Y,{force:!0}),I.quiet?void 0:{stopped:!1,reason:"not running"};return process.kill(J,"SIGTERM"),d8(U,{force:!0}),d8(Y,{force:!0}),BJ(LG($),`stop requested pid=${J}`),I.quiet?void 0:{stopped:!0,pid:J}}function RX0($,I){if(!QH1($))return!1;try{let U=IH1("ps",["-p",String($),"-o","command="],{encoding:"utf8"});return(U.includes(I)||U.includes("seal-use")||U.includes("src/cli.ts"))&&U.includes("service")&&U.includes("run")}catch{return!1}}function QH1($){try{return process.kill($,0),!0}catch{return!1}}function RD($){return Bx($.stateDir,"service.pid")}function vx($){return Bx($.stateDir,"service.json")}function LG($){return Bx($.stateDir,"service.log")}function vD($){if(!ED($))return;let I=Number(Ex($,"utf8").trim());return Number.isInteger(I)&&I>0?I:void 0}function CX0($){UH1($,{recursive:!0,mode:448})}function BJ($,I){BD($,`${new Date().toISOString()} ${I}
|
||
`,{flag:"a",mode:384})}var Rx=qH1(KH1(),".config","seal-use");async function Cx($,I,U){let Y=U?d0(U.options.port)??d0(U.options.p):void 0,J=U?h(U.options.host)??h(U.options.h):void 0,Q=U?d0(U.options.lines)??d0(U.options.n):void 0,K=await HI($,{appRoot:I.appRoot,entryFile:I.entryFile,stateDir:Rx,version:I1,launcher:I.launcher,port:Y,host:J},{maxLines:Q});if(K!==void 0)B0(K)}import{existsSync as GH1,readFileSync as jX0}from"node:fs";async function _X0($,I,U,Y,J){if($==="batch-records"||$==="records"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation batch-records <batchId>");await D0("seal_simulation_batch_records_get",U,Y,{batchId:Q,query:h(J.options.query)},V0(J.options));return}if($==="create"||$==="run"){let Q=h(J.options.mode)??h(J.options.sourceSystem)??h(J.options["source-system"])??"hosecloud",K=Q==="material-pack"?"material_pack":Q,q=h(J.options.schemaConfig)??h(J.options["schema-config"]),G=q?JSON.parse(jX0(q,"utf8")):void 0,H=h(J.options.input),W=H?JSON.parse(jX0(H,"utf8")):t6(J.json),V=h(J.options.packageId)??h(J.options["package-id"]),w=W6(J.options.packageIds)??W6(J.options["package-ids"])??(V?[V]:void 0),Z=W6(J.options.flowIds)??W6(J.options["flow-ids"])??W6(J.options.documentSn)??W6(J.options["document-sn"]),z=h(J.options.signKey)??h(J.options["sign-key"])??h(J.options.integration),L=N0(J.options.noWait)??N0(J.options["no-wait"]);await D0("seal_simulation_batch_create",U,Y,{mode:K,sourceSystem:K,flowIds:Z,documentSn:Z,rejectNodeName:h(J.options.rejectNode)??h(J.options["reject-node"])??null,thinkingDepthOverride:h(J.options.thinkingDepth)??h(J.options["thinking-depth"]),skipInvoiceGeneration:N0(J.options.skipInvoiceGeneration)??N0(J.options["skip-invoice-generation"]),skipExpenseExtraction:N0(J.options.skipExpenseExtraction)??N0(J.options["skip-expense-extraction"]),disableAttachmentCache:N0(J.options.disableAttachmentCache)??N0(J.options["disable-attachment-cache"]),signKey:z,packageIds:w,packageId:V,templateId:h(J.options.templateId)??h(J.options["template-id"]),schemaConfig:G,requestIds:W6(J.options.requestIds)??W6(J.options["request-ids"]),workflowTypeId:h(J.options.workflowTypeId)??h(J.options["workflow-type-id"]),flowStatusList:W6(J.options.flowStatusList)?.map(Number)??W6(J.options["flow-status-list"])?.map(Number),businessCodes:W6(J.options.businessCodes)??W6(J.options["business-codes"]),documentType:h(J.options.documentType)??h(J.options["document-type"]),startTime:d0(J.options.startTime)??d0(J.options["start-time"]),endTime:d0(J.options.endTime)??d0(J.options["end-time"]),status:W6(J.options.status),limit:d0(J.options.limit),noWait:L,rawParams:W},V0(J.options));return}if($==="wait"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation wait <batchId> [--timeout 10m] [--poll-interval 2s]");await D0("seal_simulation_batch_wait",U,Y,{batchId:Q,timeout:h(J.options.timeout),pollInterval:h(J.options.pollInterval)??h(J.options["poll-interval"])},V0(J.options));return}if($==="status"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation status <batchId>");await D0("seal_simulation_batch_status",U,Y,{batchId:Q},V0(J.options));return}if($==="clean"||$==="delete"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation clean <batchId>");await D0("seal_simulation_batch_clean",U,Y,{batchId:Q},V0(J.options));return}if($==="specifications"){let Q=I??h(J.options.integration)??h(J.options.signKey)??h(J.options["sign-key"]);await D0("seal_simulation_specifications_list",U,Y,{signKey:Q},V0(J.options));return}if($==="approval-definitions"||$==="definitions"){await D0("seal_simulation_feishu_approval_definitions_list",U,Y,{},V0(J.options));return}if($==="list"){await D0("seal_simulation_batches_list",U,Y,{limit:d0(J.options.limit)},V0(J.options));return}if($==="get"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation get <batchId>");await D0("seal_simulation_batch_get",U,Y,{batchId:Q},V0(J.options));return}if($==="templates"){await D0("seal_simulation_templates_get",U,Y,{},V0(J.options));return}if($==="integrations"){await D0("seal_simulation_integrations_get",U,Y,{},V0(J.options));return}if($==="package-upload"){let Q=I??h(J.options.file);if(!Q)throw Error("Usage: seal-use simulation package-upload <材料包.zip>");if(!GH1(Q))throw Error(`File not found: ${Q}`);await D0("seal_simulation_material_package_upload",U,Y,{filePath:Q},V0(J.options));return}throw Error(`Unknown simulation command: ${$??""}. Run 'seal-use help' for available commands.`)}import{existsSync as rX0}from"node:fs";import{join as CD}from"node:path";import{existsSync as jx,mkdirSync as pX0,rmSync as NH1,writeFileSync as MH1}from"node:fs";import{homedir as cX0}from"node:os";import{dirname as AH1,join as _x}from"node:path";var SX0=`---
|
||
name: seal-use
|
||
description: "v0.10.14: Use for Seal Use first-time enterprise onboarding, Hose/合思 or Seal-native authentication, assistance links and browser cURL intake, plus tenant approval operations, diagnosis, simulation, rules, users, configuration, and search."
|
||
metadata:
|
||
version: 0.10.14
|
||
short-description: Seal tenant and Hose approval automation (v0.10.14)
|
||
---
|
||
|
||
# Seal Use (v0.10.14)
|
||
|
||
Use the \`seal_cli\` MCP tool when it is available; pass the command string as its \`command\` argument. If MCP is unavailable, fall back to the global \`seal-use\` CLI. This skill is a routing layer for agents: keep this file short, choose the right command, and read a focused reference only when the task needs detail.
|
||
|
||
## Bootstrap & Installation (环境安装与自愈)
|
||
|
||
If \`seal-use\` or \`seal_cli\` is not installed on the system, the Agent should automatically install it via:
|
||
|
||
\`\`\`bash
|
||
# 国内高速安装(Gitea 镜像源,免代理、秒级完成)
|
||
curl -fsSL https://git.ying-qing.cn/gitea/seal-use/raw/branch/main/scripts/install.sh | bash
|
||
|
||
# Global / GitHub Direct
|
||
curl -fsSL https://raw.githubusercontent.com/yunyingk/seal-use/main/scripts/install.sh | bash
|
||
\`\`\`
|
||
|
||
After installation, verify with:
|
||
\`\`\`bash
|
||
seal-use version
|
||
seal-use corps list
|
||
\`\`\`
|
||
|
||
## First Rules
|
||
|
||
- Treat CLI/MCP as the Agent's execution channel, not the user's interface. Translate natural-language intent into commands yourself; never ask the user to compose CLI syntax, JSON payloads, placeholder values, or internal IDs.
|
||
- Before asking for enterprise parameters, run \`seal-use corps list\`. If the target is already configured, resolve its human name to the returned \`id\` and pass that value as \`--corp\`; do not ask the user to know \`corpId\`.
|
||
- If no enterprise is configured, the user is installing for the first time, or the user provides credentials, an assistance link, or a browser-copied cURL, read \`references/enterprise-onboarding.md\` before asking questions or running setup commands.
|
||
- When the user provides a Hose/合思 \`thirdparty.html\` assistance link, use \`seal-use corps add-link <url> [--name ...]\`; the command verifies the tenant and records the temporary Seal session without echoing the link token.
|
||
- Keep enterprise identity origin separate from credential acquisition. A Hose/合思-sourced Seal tenant can be accessed with standard Hose app credentials, an assistance link, or a captured web session; receiving a Seal Bearer token does not by itself prove the tenant is Seal-native.
|
||
- Never ask a normal user for \`corpId\`, \`staffId\`, \`proxyStaffBizId\`, \`tenantId\`, or another discoverable internal ID. Discover it first. If discovery fails, explain what the field means, why it could not be discovered, and exactly where the user can find it.
|
||
- Prefer compact commands first: \`pick\`, \`--summary\`, \`--fields\`, \`attachments --summary\`, \`rules count\`, and \`rules list --summary\`.
|
||
- Parse JSON stdout. Do not scrape human text.
|
||
- Do not hand-edit enterprise configs for normal setup. Use \`seal-use corps ...\`.
|
||
- Before write operations on rules, documents, style preferences, or publishing, fetch current state and confirm the intended mutation with the user. For supported configuration writes, prefer the universal \`--dry-run\` preview first (rules clear/push, preferences, thinking-depth policies, HoseCloud configure, and Webhook add/update/delete), then use \`--yes\` only after reviewing its redacted \`changesDiff\`.
|
||
- Knowledge document creation is currently irreversible: the upstream API exposes no delete operation. Validate \`contentType\` and \`scenarios\` before creating, and use \`enabled: false\` when the document should be withdrawn.
|
||
- For customer-feedback rule remediation, show an exact field-level diff and obtain explicit approval before updating. Default to changing only the narrowest necessary part of \`description\`; preserve \`scope\`, \`strictness\`, and unrelated clauses unless the user explicitly approves otherwise.
|
||
- Resolve and lock the target enterprise \`corpId\` before diagnosis or mutation. Never assume the current tenant is the customer tenant. Re-fetch the target rule immediately before updating, then verify the draft and newly published version after writing.
|
||
- For date questions, use explicit dates and \`--timezone Asia/Shanghai\`.
|
||
- If output may be large, use \`--summary\`, \`--fields\`, \`--count\`, or \`--output-file\`; use \`--full\` only when the user really needs full payloads.
|
||
- When returning ANY authorization, login, or delegation links (e.g. 合思授权链接, Seal授权链接/委托链接), ALWAYS provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) for easy copying without accidental default browser redirection, AND a clickable hyperlink.
|
||
- For delegation links, always prefer \`seal-use delegation create\` over \`users delegation\` for link generation to ensure persistent token tracking.
|
||
- Never treat “Seal 协助/Seal 授权/委托” as a 合思授权入口. They are different links and must use different commands.
|
||
- In the default stateless mode, every enterprise command requires \`--corp <corpId>\`. In stateful mode, omitting \`--corp\` uses the configured default enterprise and is unsafe for an explicitly named enterprise.
|
||
- For an explicitly named enterprise, first resolve it with \`seal-use corps list\`, then pass its exact \`corpId\` to every command. After creation, verify the returned URL host matches that enterprise's Seal tenant; if the host is the current/default tenant or cannot be verified, do not present the link as the target enterprise's link.
|
||
|
||
## Route By Intent
|
||
|
||
- First install / zero configuration / “how do I connect my enterprise?” / user supplies app credentials, an assistance link, or F12/Network cURL: read \`references/enterprise-onboarding.md\`. Ask what material the user already has in plain language, then discover all remaining identifiers automatically.
|
||
- User-facing Seal tenant assistance link (Seal 协助/Seal 授权/委托): resolve the named enterprise first, then run \`seal-use delegation create --corp <corpId> --note '<enterprise>'\`; verify the returned hostname is that tenant's Seal hostname. Always provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) AND a hyperlink.
|
||
- Packaged customer feedback → approval-rule remediation: read \`references/customer-feedback-rule-remediation.md\`. Use this route for WeChat messages, screenshots, rejection notifications, document numbers, customer complaints, expected approval behavior, rule-only mitigation, exact diffs, or requests to update and publish a rule version.
|
||
- 模拟测试发布闭环: \`seal-use simulation create --mode hosecloud --flow-ids ... --no-wait --corp <corpId>\` (合思指定单号) 或 \`--mode material_pack --package-ids ... --schema-config file.json\` (材料包导入), 支持多源系统 \`--source-system <hosecloud|feishu|weaver|helios|maycur|material_pack>\`, \`simulation status <batchId>\` 单次查询状态, \`simulation wait <batchId>\` 轮询等待完成, \`simulation clean <batchId>\` 清理数据, \`simulation specifications\` 列出单据模板, \`simulation list\`/\`get\`/\`batch-records\` 查看批次与记录。创建前确认目标环境为测试环境。
|
||
- Seal AI 智能审核发布到合思费控: \`seal-use deploy hosecloud <requirements|list|get|status|configure|sync> --corp <corpId>\`; read \`references/hose-enterprise-deploy.md\`.
|
||
- 审核决策偏好与思考深度: \`seal-use preference get --corp <corpId>\`, \`preference decision update --json '...' --corp <corpId>\`, \`preference thinking-depth set --default <medium|high> --corp <corpId>\`, \`preference thinking-depth policies <list|upsert|remove> --corp <corpId>\`.
|
||
- 审核大盘统计与去重分析: \`seal-use approval-runs stats [--since 3months] [--dedupe-by sourceDocumentSN|id] --corp <corpId>\`, \`seal-use approval-runs count --corp <corpId>\`.
|
||
- User-facing 合思 authorization link (合思/易快报授权): \`seal-use auth hose-link --corp <corpId> --expire 7200\`; read \`references/hose-enterprise-auth.md\`. Never use this route when the user says Seal 协助. Always provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) AND a hyperlink.
|
||
- Delegation links management: \`seal-use delegation list --corp <corpId>\`, \`create [--note ...] --corp <corpId>\`, \`create --from-link <url> [--note ...]\`, \`revoke <tokenId> --corp <corpId>\`.
|
||
- User & Contacts Management (用户搜索、激活与一键代生成授权): \`seal-use users search [keyword] --corp <corpId>\`, \`users delegation <userIdOrPhone> --corp <corpId>\` (仅适用于 Seal 本地创建的账号 \`provider: local\`;对合思同步账号系统拒绝重置密码,需改用 \`auth hose-link\`), \`users activate <userId> --corp <corpId>\`, \`users create --name ... --phone ... --corp <corpId>\`, \`reset-password <userId> --corp <corpId>\`, \`get <userId> --corp <corpId>\`, \`delete <userId> --corp <corpId>\`.
|
||
- LLM Model Config & Providers: \`seal-use llm config --corp <corpId>\`, \`seal-use llm providers --corp <corpId>\`.
|
||
- System Permissions Config: \`seal-use permissions available --corp <corpId>\`, \`seal-use permissions configs --corp <corpId>\`.
|
||
- Billing & Feature Quotas: \`seal-use billing status --corp <corpId>\`, \`seal-use billing plans --corp <corpId>\`, \`seal-use billing features --corp <corpId>\`.
|
||
- Webhook 准备看板与审批回调管理: \`seal-use webhook ready [<材料包.zip>] [--webhook <idOrName>] --corp <corpId>\` (别名 \`status\`) 检查企业环境、租户连通性、已激活通道与材料包预检;\`seal-use webhook <list|get|add|update|delete> --corp <corpId>\`.
|
||
- Webhook 材料包导入: \`seal-use webhook material-pack preview <材料包.zip> --corp <corpId>\` 只做本地校验和解析(无网络请求);\`... push <材料包.zip> [--webhook <idOrName>] --corp <corpId>\` 上传附件并通过入站 Webhook 触发 AI 审批(租户仅有 1 个通道时自动锁定无需指定 \`--webhook\`)。每个 Webhook 可配置材料包附件的最小字节数、可选最大字节数和文件后缀白名单;这是可修改的持久化策略,不是不可绕过的硬编码。校验不通过时不会上传附件或推送单据。材料包格式:ZIP 根目录名 = \`documentId\`(或 \`documentId@annotation\`),Excel 附件列以 \`[附件]\` 为前缀(如 \`[附件]合同协议\`),单元格值为 ZIP 相对路径(支持多行/逗号/分号分隔);系统执行严格双向验证(Excel 声明的路径必须在 ZIP 中存在,ZIP 中的文件必须在某个 \`[附件]\` 列中声明)。详见 \`references/cli.md\` 中 "Material Pack Workflow" 一节。它与 \`simulation material_pack\` 的官方服务端导入流程相互独立。
|
||
|
||
- HTTP REST API & Docs Server: \`seal-use http [--port 8787] [--host 127.0.0.1]\` (提供 \`/docs\` 交互文档、\`/openapi.json\`、\`POST /api/cli\` 与 \`/v1/*\` REST API)。
|
||
- 审批规则质量校验 (Linter): \`seal-use rules lint [--linter <name|path>] [--version <num>] [--code <code>] [--min-score <score>] [--summary] --corp <corpId>\`; read \`references/rule-lint.md\`. 全局配置默认关闭 (\`config lint <enable|disable>\`)。
|
||
- Full CLI inventory: read \`references/cli.md\`.
|
||
|
||
## Material-pack Webhook policy and recovery
|
||
|
||
材料包附件策略保存在目标入站 Webhook 的 \`materialPackFilePolicy\` 下,按 Webhook 生效。新建 Webhook 的默认策略是:最小文件大小 \`500\` 字节、最大文件大小不限制、后缀白名单为常见 PDF/Office/文本/邮件/图片格式。\`信息表.xlsx\` 是材料包根清单,不属于普通附件,不受这三个附件策略限制。完整默认后缀和边界规则见 \`references/cli.md\`。
|
||
|
||
这套策略允许人工或助手修改。错误处理有两条通道:先通过错误通道明确告诉助手是哪一个文件、哪一条规则失败;再通过配置或文件处置通道完成恢复。遇到附件被拦截时按以下闭环处理:
|
||
|
||
1. 从错误中识别被拦截的文件、实际大小、失败规则和目标 Webhook。
|
||
2. 向用户说明可选处置:替换/压缩文件,或在确认允许该格式/大小后修改 Webhook 策略。
|
||
3. 用户或业务负责人明确确认放宽策略后,读取目标 Webhook 当前配置(CLI 使用 \`webhook get\`/\`webhook list\`,MCP 使用 \`seal_webhook_get\`/\`seal_webhook_list\`)。
|
||
4. 调用 \`seal_webhook_update\` 或 \`seal-use webhook update\` 修改最小值、最大值或完整后缀白名单,写入后重新读取核对,再重试原来的材料包 push。
|
||
|
||
push 会重新读取最新 Webhook 配置;校验通过后才会开始上传附件。CLI 以非零退出码和 \`stderr\` 返回可恢复的业务错误,MCP 以工具错误返回。没有用户授权或没有修改权限时,不能擅自放宽策略,也不能绕过校验。
|
||
|
||
注意:直接执行本地 \`material-pack preview\` 只使用默认策略或命令行临时覆盖,不会自动读取某个 Webhook 的持久化策略;\`webhook ready --file\`(指定 Webhook 时)和 \`material-pack push\` 才使用保存的 Webhook 策略。需要验证实际入站通道策略时,优先使用 \`ready --file --webhook ...\`,或直接重试 push。
|
||
|
||
## High-Value Commands
|
||
|
||
\`\`\`bash
|
||
seal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --latest
|
||
seal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --batch <batchId> --latest --fields recordId,status,aiDecision,aiSummary
|
||
seal-use approval-runs get <recordId> --corp <corpId> --summary
|
||
seal-use approval-runs get <recordId> --corp <corpId> --fields metadata,document.fields,result.summary
|
||
seal-use approval-runs document-summary <recordId> --corp <corpId>
|
||
seal-use approval-runs cited-rules <recordId> --corp <corpId>
|
||
seal-use approval-runs attachments <recordId> --corp <corpId> --summary
|
||
seal-use approval-runs result <recordId> --corp <corpId> --summary
|
||
seal-use rules count --corp <corpId>
|
||
seal-use rules list --corp <corpId> --summary
|
||
seal-use rules lint --corp <corpId> --summary
|
||
seal-use rules clear --corp <corpId> --dry-run
|
||
seal-use rules clear --corp <corpId> --yes
|
||
seal-use rules get --corp <corpId> --version 16 --code '#0038'
|
||
seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205
|
||
seal-use simulation create --corp <corpId> --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high]
|
||
seal-use simulation create --corp <corpId> --mode material_pack --package-ids <materialPackageId> [--schema-config file.json]
|
||
seal-use simulation package-upload <材料包.zip> --corp <corpId>
|
||
seal-use simulation list --corp <corpId>
|
||
seal-use simulation get <batchId> --corp <corpId>
|
||
seal-use simulation batch-records <batchId> --corp <corpId>
|
||
seal-use tool seal_approval_search --corp <corpId> --json '{"keywords":["差旅","发票"],"areas":["rules"],"snippetOnly":true,"maxChars":500,"fields":["id","title","snippet"]}'
|
||
\`\`\`
|
||
|
||
## Important Fields
|
||
|
||
- \`sourceDocumentSN\`: external document number, often the easiest 合思/易快报 lookup key.
|
||
- \`sourceDocumentId\`: external source document ID.
|
||
- \`recordId\`: Seal approval run record ID.
|
||
- \`simulationBatchId\`: simulation batch identifier.
|
||
- \`status\`: run status.
|
||
- \`taskMode\` / \`finalExecutionMode\`: execution mode information.
|
||
- \`ruleSetVersionNumber\`: approval rule version used by a run.
|
||
- \`langfuseTraceId\`: direct Langfuse trace lookup key.
|
||
- \`langfuseSessionFallback\`: fallback session key, usually \`hosecloud-{sourceDocumentSN}\`.
|
||
|
||
## References
|
||
|
||
- \`references/enterprise-onboarding.md\`: 首次安装、零配置、合思来源与 Seal 原生来源的区分、标准密钥/协助链接/F12 cURL 接入、参数责任与安全边界。
|
||
- \`references/approval-run-lightweight.md\`: 单号定位、字段裁剪、摘要、引用规则、单据摘要、附件摘要。
|
||
- \`references/rule-lightweight.md\`: 规则 count/list summary、按版本/编号取单条规则、规则搜索裁剪。
|
||
- \`references/rule-lint.md\`: 规则质量检查器(Linter)、模糊词拦截、悬空例外闭环、多 TS 校验器切换与发布门禁。
|
||
- \`references/customer-feedback-rule-remediation.md\`: 微信/截图反馈包到企业定位、审批追踪、根因分类、最小规则 diff、确认、发布与验收的固定闭环。
|
||
- \`references/hose-enterprise-auth.md\`: Hose 企业配置、认证诊断、授权链接。
|
||
- \`references/hose-enterprise-init.md\`: 合思标准密钥的域名、企业与管理员自动发现,以及多候选管理员的安全选择。
|
||
- \`references/hose-enterprise-deploy.md\`: Seal AI 智能审核发布到合思费控(添加/编辑配置、平台自动探测、一键同步与 EBot 节点发布)。
|
||
- \`references/approval-attachment-trace.md\`: 附件/发票/OCR/图片争议的 Langfuse 追踪工作流。
|
||
- \`references/cli.md\`: 完整 CLI 命令清单。
|
||
|
||
## Safety
|
||
|
||
Rule, document, style preference, and publish actions mutate Seal configuration. Make the target enterprise explicit, show the intended payload, and verify after the write. Never send real \`enterprises/*.json\` files, tokens, signed URLs, or full raw documents to GitHub, tickets, logs, or chat unless the user explicitly requests a safe export.
|
||
`;var gX0=`interface:
|
||
display_name: "Seal Use"
|
||
short_description: "Diagnose approval feedback and publish minimal rule fixes"
|
||
default_prompt: "Use $seal-use to resolve a customer feedback package to the correct tenant, diagnose the approval run, propose a minimal rule diff, and publish only after explicit confirmation."
|
||
`;var yX0=`# Rule Lightweight Queries
|
||
|
||
Use this reference when the user wants rule counts, compact rule lists, one rule from a historical version, or approval knowledge search without dumping hundreds of rule descriptions.
|
||
|
||
## Draft and Published Rule Codes
|
||
|
||
\`rules list\` and \`rules pull\` operate on the current draft and therefore return draft \`code\` values. A published version stores a separate snapshot and may recode the same rules; publishing, deleting, or reordering rules can make those published codes differ or drift again. A code such as \`#0038\` is only meaningful together with its version context.
|
||
|
||
Use the draft \`id\` for current edits and use the approval run's recorded version plus rule text or runtime rule ID for historical investigations. Do not copy a draft code into a report or command that will be interpreted against a published version.
|
||
|
||
## Count Rules
|
||
|
||
Use count when only scale or existence matters.
|
||
|
||
\`\`\`bash
|
||
seal-use rules count --corp <corpId>
|
||
\`\`\`
|
||
|
||
Expected shape:
|
||
|
||
\`\`\`json
|
||
{ "count": 191 }
|
||
\`\`\`
|
||
|
||
Tool-layer equivalent:
|
||
|
||
\`\`\`bash
|
||
seal-use tool seal_approval_rules_list --corp <corpId> --json '{"countOnly":true}'
|
||
seal-use tool seal_approval_rules_list --corp <corpId> --json '{"fields":["id"],"limit":0}'
|
||
\`\`\`
|
||
|
||
## List Rule Summaries
|
||
|
||
Use summaries for navigation and selection.
|
||
|
||
\`\`\`bash
|
||
seal-use rules list --corp <corpId> --summary
|
||
\`\`\`
|
||
|
||
Default summary should include only fields such as \`id\`, \`code\`, \`scope\`, \`strictness\`, \`status\`, and \`updatedAt\`. Do not pull \`description\` unless the user needs rule text.
|
||
|
||
Tool-layer equivalent:
|
||
|
||
\`\`\`bash
|
||
seal-use tool seal_approval_rules_list --corp <corpId> --json '{"fields":["id","code","scope","strictness","status","updatedAt"]}'
|
||
\`\`\`
|
||
|
||
## Clear Draft Rules Before Import
|
||
|
||
Use this for test tenants when the next step is importing another tenant's rule set. Always preview first unless the user has already confirmed the exact tenant.
|
||
|
||
\`\`\`bash
|
||
seal-use rules clear --corp <corpId> --dry-run
|
||
seal-use rules clear --corp <corpId> --yes
|
||
\`\`\`
|
||
|
||
Expected shape:
|
||
|
||
\`\`\`json
|
||
{
|
||
"corpId": "xiezihao",
|
||
"dryRun": false,
|
||
"beforeCount": 49,
|
||
"deleted": 49,
|
||
"afterCount": 0
|
||
}
|
||
\`\`\`
|
||
|
||
Tool-layer equivalent:
|
||
|
||
\`\`\`bash
|
||
seal-use tool seal_approval_rules_clear --corp <corpId> --json '{"dryRun":true}'
|
||
seal-use tool seal_approval_rules_clear --corp <corpId> --json '{"dryRun":false}'
|
||
\`\`\`
|
||
|
||
## Get One Historical Rule
|
||
|
||
Use this when a run used a historical rule version and current rules may differ.
|
||
|
||
\`\`\`bash
|
||
seal-use rules get --corp <corpId> --version 16 --code '#0038'
|
||
seal-use rules get --corp <corpId> --version latest --code '#0038'
|
||
\`\`\`
|
||
|
||
If the user starts from a run and a runtime ID such as \`rule-205\`, resolve against that run:
|
||
|
||
\`\`\`bash
|
||
seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205
|
||
\`\`\`
|
||
|
||
Return the single rule text plus \`scope\`, \`strictness\`, \`status\`, \`versionNumber\`, and version metadata. Avoid commands that dump a whole rule version unless the user asks for the full version.
|
||
|
||
## Search Approval Knowledge Compactly
|
||
|
||
Prefer scoped and trimmed search:
|
||
|
||
\`\`\`bash
|
||
seal-use tool seal_approval_search --corp <corpId> --json '{"keywords":["关键词"],"areas":["rules"],"matchMode":"any","maxResults":20,"snippetOnly":true,"maxChars":500,"fields":["id","title","snippet"]}'
|
||
\`\`\`
|
||
|
||
When investigating historical behavior, search the matching rule version if the API supports it:
|
||
|
||
\`\`\`bash
|
||
seal-use tool seal_approval_search --corp <corpId> --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","versionNumber":16,"snippetOnly":true,"maxChars":500}'
|
||
\`\`\`
|
||
|
||
Use current search only when the question is about current draft/current knowledge, not why a historical run behaved a certain way.
|
||
|
||
## Output Discipline
|
||
|
||
If a rule command would return many descriptions or more than about 20 rules, use \`rules count\`, \`rules list --summary\`, \`fields\`, \`snippetOnly\`, or \`--output-file\`. Use \`--full\` only for deliberate exports.
|
||
`;var hX0=`# Approval Bad Case Catalog
|
||
|
||
Use this file only as a comparison catalog after inspecting the current trace. Do not treat any case below as a default diagnosis.
|
||
|
||
## Case A: Receipt-Like Attachments Labeled As Invoices
|
||
|
||
Symptom:
|
||
|
||
- UI finding said attachments contained fixed-amount invoices that were not uploaded to the invoice field.
|
||
- Customer said the 160 and 90 slips were receipts, not invoices.
|
||
|
||
Failure pattern:
|
||
|
||
- Raw attachment objects and invoice-list objects had similar names/content but different IDs.
|
||
- \`image_understanding\` first introduced loose or wrong labels such as "发票(或收据)" and "定额发票".
|
||
- \`document_parsing\` inherited those labels.
|
||
- \`approval_review\` converted the inherited labels into a rule finding.
|
||
|
||
Checklist:
|
||
|
||
- Compare raw attachment IDs and invoice-list IDs before making a claim.
|
||
- Inspect the original image for formal invoice elements.
|
||
- If the image lacks invoice title, tax supervision seal, invoice code/number, and tax fields, the customer's receipt interpretation may be reasonable.
|
||
|
||
## Case B: Payment Amount Passed Earlier, Then Excluded Later
|
||
|
||
Symptom:
|
||
|
||
- UI finding said payment screenshots totaled only 1550 (\`650+900\`) against reimbursement amount 3400.
|
||
- Customer said the 1850 screenshot was also a payment-support screenshot and should have been included.
|
||
|
||
Failure pattern:
|
||
|
||
- The same six images appeared twice: under fee-detail attachments (\`file-1\` to \`file-6\`) and form-level attachments (\`file-7\` to \`file-12\`).
|
||
- \`image_understanding\` did not lose the 1850 amount; it extracted \`1850.00\`.
|
||
- \`pre_analysis\` explicitly passed 1850 as a payment-screenshot amount candidate in a review point: "付款截图金额(1850.00元)".
|
||
- \`document_parsing\` later reclassified \`1850.jpg\` as "收款凭证,非付款截图", overriding the review-point premise.
|
||
- Duplicate \`900.jpg\` entries produced inconsistent parser conclusions; final review included 900 but excluded 1850.
|
||
|
||
Checklist:
|
||
|
||
- If an amount is missing from the final total, check whether it was recognized in \`image_understanding\`.
|
||
- If recognized, check whether \`pre_analysis\` passed it in \`attachmentInstructions.reviewPoints\`.
|
||
- If passed, check whether \`document_parsing\` ignored or reclassified it.
|
||
- If the same image appears under multiple \`fileId\`s, compare duplicate conclusions before trusting final aggregation.
|
||
|
||
Important nuance:
|
||
|
||
- This is a bad-case pattern, not a general rule that every amount-total dispute is caused by \`pre_analysis\`.
|
||
- Use it when the current trace shows recognized amounts being excluded downstream or duplicate attachments producing inconsistent conclusions.
|
||
`;var xX0="# Seal Use CLI Reference\n\nRun from any directory after installing the global CLI:\n\n```bash\nseal-use <command>\n```\n\nEnterprise config lookup:\n\n- If `SEAL_USE_ENTERPRISES_DIR` is set, only that directory is loaded.\n- Otherwise `./enterprises` and `~/.config/seal-use/enterprises` are merged.\n- User-level configs override same-ID local configs.\n\nEnterprise selection is stateless by default. Commands that access an enterprise require\n`--corp <corpId>` unless stateful mode is explicitly enabled:\n\n```bash\nseal-use config mode stateful --corp <corpId>\nseal-use corps switch <corpId>\nseal-use config mode stateless\n```\n\nThe global mode is stored in `~/.config/seal-use/config.json`; set `SEAL_USE_CONFIG_FILE` to\noverride that path. The legacy `current-corp` file is not read.\n\n## Stream & Exit Code Contract\n\n- **`stdout`**: Pure, deterministic JSON for machine/Agent parsing.\n- **`stderr`**: Diagnostics, probing logs, and **Next-Step Command Suggestions** with the stable prefix `👉 Next action: seal-use ...`.\n- **`Exit Code`**: `0` on success; `1` runtime/upstream failure, `2` usage/argument error, `10` explicit destructive-operation confirmation required, `11` missing/invalid authentication, and `12` output protection requiring a compact/file/query alternative.\n\n## Top-Level Commands\n\n```bash\nseal-use version\nseal-use config paths\nseal-use config get\nseal-use config mode <stateful|stateless> [--corp <corpId>]\nseal-use config test-dir [<path>|--clear]\nseal-use config lint <enable|disable|status> [--linter <name>] [--min-score <score>]\nseal-use rules pull [--corp <corpId>] [--version <id|num|latest>] [--out <file>]\nseal-use rules lint [--file <path>] [--corp <corpId>] [--linter <name|path>] [--version <num>] [--code <code>] [--min-score <score>] [--summary]\nseal-use rules push [--file <path>] [--corp <corpId>] [--publish] [--version-name <name>] [--dry-run|--yes]\nseal-use service <start|stop|restart|status|logs> [--port 8787] [--host 127.0.0.1] [--lines 50]\nseal-use http [--port 8787] [--host 127.0.0.1]\nseal-use serve [--port 8787]\nseal-use update\nseal-use tools list\nseal-use corps list [--corp <corpId>]\nseal-use corps current [--corp <corpId>]\nseal-use corps switch <corpId>\nseal-use corps add-hose --json '{\"name\":\"企业名称\",\"domain\":\"https://app.ekuaibao.com\",\"appKey\":\"...\",\"appSecurity\":\"...\",\"proxyStaffBizId\":\"corpId:staffId\"}'\nseal-use corps add-seal --json '{\"sealUrl\":\"https://tenant.sealai.cc\",\"token\":\"seal-bearer-token\"}'\nseal-use corps add-link <https://.../web/thirdparty.html?...> [--name <customName>] [--overwrite]\nseal-use auth diagnose [--corp <corpId>]\nseal-use auth hose-link [--corp <corpId>] [--expire 7200]\nseal-use delegation list [--corp <corpId>]\nseal-use delegation create [--note <note>] [--from-link <url>] [--corp <corpId>]\nseal-use delegation revoke <tokenId> [--corp <corpId>]\nseal-use users create --name <name> --phone <phone> [--dept <deptId>] [--corp <corpId>]\nseal-use users reset-password <userId> [--corp <corpId>]\nseal-use users get <userId> [--corp <corpId>]\nseal-use users delete <userId> [--corp <corpId>]\nseal-use contacts departments [<departmentId>] [--corp <corpId>]\nseal-use contacts children <departmentId> [--corp <corpId>]\nseal-use contacts users <departmentId> [--corp <corpId>]\nseal-use contacts sync-time [--corp <corpId>]\nseal-use data expenses --corp <corpId> [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>]\nseal-use data invoices --corp <corpId> [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>]\nseal-use llm config [--corp <corpId>]\nseal-use llm providers [--corp <corpId>]\nseal-use permissions available [--corp <corpId>]\nseal-use permissions configs [--corp <corpId>]\nseal-use billing status [--corp <corpId>]\nseal-use billing plans [--corp <corpId>]\nseal-use billing features [--corp <corpId>]\nseal-use webhook list [--query <text>] [--show-secret] [--corp <corpId>]\nseal-use webhook get|find <idOrName> [--show-secret] [--corp <corpId>]\nseal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp <corpId>]\nseal-use webhook update <idOrName> [--name <name>] [--result-url <url>] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>|--rotate-secret] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp <corpId>]\nseal-use webhook delete <idOrName> [--yes|--dry-run] [--corp <corpId>]\nseal-use deploy hosecloud requirements [--corp <corpId>]\nseal-use deploy hosecloud list [--corp <corpId>]\nseal-use deploy hosecloud get [<sign-key>] [--corp <corpId>]\nseal-use deploy hosecloud status [--corp <corpId>]\nseal-use deploy hosecloud configure --json '{...}' [--dry-run] [--corp <corpId>]\nseal-use deploy hosecloud sync [<sign-key>] [--auto] [--corp <corpId>]\nseal-use preference get [--corp <corpId>]\nseal-use preference decision update --json '{\"explicitApprove\":\"...\"}' [--dry-run] [--corp <corpId>]\nseal-use preference thinking-depth set --default <medium|high> [--dry-run] [--corp <corpId>]\nseal-use preference thinking-depth policies list [--corp <corpId>]\nseal-use preference thinking-depth policies upsert --json '{...}' [--dry-run] [--corp <corpId>]\nseal-use preference thinking-depth policies remove <policyId> [--dry-run] [--corp <corpId>]\nseal-use source config [--corp <corpId>]\nseal-use tool <toolName> [--corp <corpId>] [--json '{\"key\":\"value\"}']\nseal-use approval-runs summary --corp <corpId> [--date YYYY-MM-DD] [--timezone Asia/Shanghai]\nseal-use approval-runs stats --corp <corpId> [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id]\nseal-use analytics insight --corp <corpId> [--start-date <ISO>] [--end-date <ISO>] [--limit <n>]\nseal-use approval-runs count --corp <corpId> [--status APPROVED]\nseal-use approval-runs export --corp <corpId> [--start <YYYY-MM-DD|ms>] [--end <YYYY-MM-DD|ms>] [--limit <n>] [--downloads] [--out <file>]\nseal-use approval-runs search --corp <corpId> [--query text] [--limit 20] [--includeBridge true]\nseal-use approval-runs get <recordId> --corp <corpId> [--fields metadata|document.fields,result.summary] [--output-file file.json]\nseal-use approval-runs attachments <recordId> --corp <corpId>\nseal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>] --corp <corpId>\nseal-use approval-runs result <recordId> --corp <corpId> [--summary]\nseal-use approval-runs url --corp <corpId>\nseal-use approval-runs url <recordId> --corp <corpId>\nseal-use approval-runs url --sourceDocumentSN <sourceDocumentSN> --corp <corpId>\nseal-use approval-runs bridge --corp <corpId> [--sourceDocumentSN <sourceDocumentSN>]\nseal-use simulation batch-records <batchId> --corp <corpId>\nseal-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 <corpId>\nseal-use simulation create --mode material_pack --package-ids <materialPackageId> [--template-id conference_reimbursement_v1] [--schema-config file.json] --corp <corpId>\nseal-use simulation create --source-system weaver --request-ids \"req-01,req-02\" --corp <corpId>\nseal-use simulation status <batchId> --corp <corpId>\nseal-use simulation wait <batchId> [--timeout 10m] [--poll-interval 2s] --corp <corpId>\nseal-use simulation clean <batchId> --corp <corpId>\nseal-use simulation specifications [--integration <sign-key>] --corp <corpId>\nseal-use simulation approval-definitions --corp <corpId>\nseal-use simulation list [--limit 50] --corp <corpId>\nseal-use simulation get <batchId> --corp <corpId>\nseal-use simulation templates --corp <corpId>\nseal-use simulation integrations --corp <corpId>\nseal-use simulation package-upload <材料包.zip> --corp <corpId>\n```\n\n## CLI Command Overview\n\n`seal-use version` returns:\n\n```json\n{\n \"name\": \"seal-use\",\n \"version\": \"<package version>\"\n}\n```\n\n`seal-use service <start|stop|restart|status|logs>` manages the persistent background service daemon with embedded HTTP server (serving `/docs`, `/openapi.json`, and `POST /api/cli`). `status` returns the PID, version, host, port, active HTTP URL, state directory, PID file, and log file.\n\n`seal-use update` updates the git checkout, runs `bun install`, and restarts the local service if it was running.\n\nIdentity and session:\n\n- `seal-use auth diagnose --corp <corpId>`\n- `seal-use corps list`\n- `seal-use corps current`\n\nApproval rule maintenance:\n\n- `seal-use rules count [--corp <corpId>]`\n- `seal-use rules list --summary [--corp <corpId>]`\n- `seal-use rules pull [--corp <corpId>] [--version <id|num|latest>] [--out <file>]`\n- `seal-use rules lint [--file <path>] [--corp <corpId>] [--linter <name|path>] [--version <num>] [--code <code>] [--min-score <score>] [--summary]`\n- `seal-use rules push [--file <path>] [--corp <corpId>] [--publish] [--version-name <name>] [--dry-run|--yes]` incrementally applies the local file: matched IDs are updated, missing local IDs are created, and remote IDs absent from the file are deleted. It does not clear/recreate the whole draft or recode it. Run `--dry-run` first; a local file exported with `rules pull` is preferred.\n- `seal-use rules clear [--corp <corpId>] [--dry-run|--yes]`\n\nRule identity and versioning:\n\n- `rules list` and `rules pull` read the current **draft** rule set. Their `code` values belong to the draft code space.\n- A published version has its own snapshot and code space. Publishing can recode rules, so a published `code` may differ from the draft `code`, and codes can shift again after later edits and publishes.\n- Do not use a draft `#NN` as a cross-version identifier. For current draft work, prefer the stable rule `id`; for historical behavior, select the published `version` and locate the rule by its text/context or runtime rule ID from the approval run.\n- `rules get --version ... --code ...` interprets `code` inside that selected published version, while `rules get --record-id ... --runtime-id ...` resolves the version recorded on the run.\n\nApproval run lightweight queries:\n\n- `seal-use approval-runs get <recordId> --corp <corpId> --fields metadata`\n- `seal-use approval-runs get <recordId> --corp <corpId> --summary`\n- `seal-use approval-runs pick --corp <corpId> --sn <单号> --batch <batchId> --latest`\n- `seal-use approval-runs document-summary <recordId> --corp <corpId>`\n- `seal-use approval-runs cited-rules <recordId> --corp <corpId>`\n- `seal-use approval-runs get <recordId> --corp <corpId> --fields document.fields,result.summary`\n- `seal-use approval-runs attachments <recordId> --corp <corpId> --summary`\n- `seal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>] --corp <corpId>`\n- `seal-use approval-runs result <recordId> --corp <corpId> --summary`\n\nApproval knowledge documents & style:\n\n- `seal-use rules get --corp <corpId> --version <number> --code '#0038'`\n- `seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205`\n\nWebhook integrations:\n\n- `seal-use webhook ready [<材料包.zip|信息表.xlsx>] [--webhook <idOrName>] [--corp <corpId>]`\n- `seal-use webhook status [<材料包.zip|信息表.xlsx>] [--corp <corpId>]`\n- `seal-use webhook list [--query <text>] [--show-secret] [--corp <corpId>]`\n- `seal-use webhook get|find <idOrName> [--show-secret] [--corp <corpId>]`\n- `seal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp <corpId>]`\n- `seal-use webhook update <idOrName> [--name <name>] [--result-url <url>] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>|--rotate-secret] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp <corpId>]`\n- `seal-use webhook delete <idOrName> [--yes|--dry-run] [--corp <corpId>]`\n- `seal-use webhook material-pack preview <材料包.zip|信息表.xlsx> [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] --corp <corpId>`\n- `seal-use webhook material-pack push <材料包.zip|信息表.xlsx> [--webhook <idOrName>] --corp <corpId>`\n\nWebhook writes read the current AI approval config and POST the merged full config back to `api/v1/agent/ai-approval/config`, preserving non-Webhook integrations. List/get mask `secret` by default; add returns the generated secret once. Each Webhook can also store a mutable `materialPackFilePolicy` with `minFileSizeBytes`, optional `maxFileSizeBytes`, and `allowedExtensions`. Update is a patch: omitted policy fields are retained; `allowedExtensions` replaces the complete list; `--clear-max-file-size` removes the upper bound.\n\nAll supported configuration writes accept `--dry-run`: rules clear/push, preference updates, thinking-depth policy changes, HoseCloud configure, and Webhook add/update/delete. Preview mode performs read-only discovery and returns JSON with `preview: true`, the exact `targetUrl`, a redacted `changesDiff` (`before`/`after`), and `impactCount`. It never sends the mutation request and does not require `--yes`; use the same command with `--yes` only after reviewing the preview.\n\nApproval runs, simulations, and Langfuse bridge:\n\n- `seal-use approval-runs search --corp <corpId> [--query <text>] [--limit 20]`\n- `seal-use approval-runs summary --corp <corpId> [--date YYYY-MM-DD] [--timezone Asia/Shanghai]`\n- `seal-use approval-runs bridge --corp <corpId> [--sourceDocumentSN <sn>]`\n- `seal-use simulation create --mode hosecloud --flow-ids ... --no-wait --corp <corpId>` returns immediately with an `asyncTicket` (creation is non-blocking by default for compatibility).\n- `seal-use simulation status <batchId> --corp <corpId>` performs one non-blocking status check and returns `QUEUED`/`RUNNING`/`COMPLETED`/`FAILED`-style state plus counters.\n- `seal-use simulation wait <batchId> --corp <corpId>`\n- `seal-use simulation clean <batchId> --corp <corpId>`\n- `seal-use simulation list --corp <corpId>`\n- `seal-use simulation get <batchId> --corp <corpId>`\n- `seal-use simulation batch-records <batchId> --corp <corpId>`\n- `seal-use simulation templates --corp <corpId>`\n- `seal-use simulation integrations --corp <corpId>`\n\n## Common Examples\n\nAdd and verify a Hose enterprise:\n\n```bash\nseal-use corps add-hose --json '{\"name\":\"企业名称\",\"domain\":\"https://app.ekuaibao.com\",\"appKey\":\"...\",\"appSecurity\":\"...\",\"proxyStaffBizId\":\"corpId:staffId\"}'\nseal-use auth diagnose --corp <corpId>\n```\n\nForce-write a Hose config without verification:\n\n```bash\nseal-use corps add-hose --json '{\"name\":\"企业名称\",\"domain\":\"https://app.ekuaibao.com\",\"appKey\":\"...\",\"appSecurity\":\"...\",\"proxyStaffBizId\":\"corpId:staffId\",\"force\":true}'\n```\n\nDiagnose auth failures:\n\n```bash\nseal-use auth diagnose --corp <corpId>\n```\n\nThe diagnostic stages are `hose.openapi`, `hose.provisional`, `seal.sso`, and `seal.whoami`. Tokens are omitted from output.\n\nSearch approval content:\n\n```bash\nseal-use tool seal_approval_search --corp <corpId> --json '{\"keywords\":[\"关键词\"],\"matchMode\":\"any\",\"maxResults\":20}'\n```\n\nGet aggregated approval context:\n\n```bash\nseal-use tool seal_approval_context_get --corp <corpId> --json '{\"documentLimit\":20}'\n```\n\nCreate a draft approval rule:\n\n```bash\nseal-use tool seal_approval_rule_create --corp <corpId> --json '{\"description\":\"规则描述\",\"scope\":\"适用场景\",\"strictness\":\"SHOULD_FOLLOW\"}'\n```\n\nUpdate an approval document:\n\n```bash\nseal-use tool seal_approval_document_update --corp <corpId> --json '{\"documentId\":\"doc-id\",\"content\":\"Markdown 内容\"}'\n```\n\nSummarize one local date:\n\n```bash\nseal-use approval-runs summary --corp <corpId> --date 2026-06-09 --timezone Asia/Shanghai --limit 100\n```\n\nFind a run and include Langfuse bridge rows:\n\n```bash\nseal-use approval-runs search --corp <corpId> --query <sourceDocumentSN> --limit 20 --includeBridge true\n```\n\nResolve Langfuse trace/session hints:\n\n```bash\nseal-use approval-runs bridge --corp <corpId> --sourceDocumentSN <sourceDocumentSN>\n```\n\n模拟测试批次(模拟发布闭环)创建与查询:\n\n```bash\n# 合思指定单号: 创建批次(响应只含 batchId)\nseal-use simulation create --mode hosecloud --flow-ids \"B26017701,B26022501\" --reject-node 财务 --thinking-depth medium --skip-invoice-generation --corp <corpId>\n# 材料包导入: 先上传材料包 ZIP(服务端解析并返回 schemaConfig), 再用返回的 id 发起\nseal-use simulation package-upload 测试材料包.zip --corp <corpId>\nseal-use simulation create --mode material_pack --package-ids <materialPackageId> --template-id conference_reimbursement_v1 --schema-config schema.json --corp <corpId>\n# 预留: 其他模式参数通过 --json 透传(如时间范围 startTime/endTime)\nseal-use simulation create --mode hosecloud --flow-ids \"B26017701\" --json '{\"startTime\":0,\"endTime\":0}' --corp <corpId>\n# 创建后轮询批次状态与记录\nseal-use simulation list --limit 50 --corp <corpId>\nseal-use simulation get <batchId> --corp <corpId>\nseal-use simulation batch-records <batchId> --corp <corpId>\nseal-use simulation templates --corp <corpId>\nseal-use simulation integrations --corp <corpId>\n```\n\n## Write Operation Payloads\n\nCreate a rule:\n\n```json\n{\n \"description\": \"规则描述\",\n \"scope\": \"适用场景\",\n \"strictness\": \"MUST_FOLLOW | SHOULD_FOLLOW | SUGGESTION\"\n}\n```\n\nUpdate a rule:\n\n```json\n{\n \"ruleId\": \"rule-id\",\n \"description\": \"可选\",\n \"scope\": \"可选\",\n \"strictness\": \"SHOULD_FOLLOW\"\n}\n```\n\nPublish a rule version:\n\n```json\n{\n \"versionName\": \"版本名称\"\n}\n```\n\nCreate a document:\n\n```json\n{\n \"title\": \"标题\",\n \"purpose\": \"用途\",\n \"content\": \"Markdown 内容\",\n \"contentType\": \"policy\",\n \"status\": \"published\",\n \"scenarios\": [\"audit\"],\n \"tags\": [\"标签\"]\n}\n```\n\n`contentType` 必须是 `document`、`video`、`pdf`、`feishu_doc` 或 `policy` 之一;`scenarios` 必填且至少包含一个 `fill`(智能填单)或 `audit`(智能审核)。这里的 `scenarios` 是产品能力开关,不是费用类别或业务场景名。\n\n知识文档创建后当前 API 没有删除接口,创建操作不可逆;请在写入前确认标题、正文、内容类型和能力场景。需要撤下内容时,优先使用更新操作并设置 `enabled: false`(如果上游支持该字段),不要通过试探性创建来验证参数。规则支持删除,但知识文档与规则的生命周期能力并不对称。\n\nUpdate a document:\n\n```json\n{\n \"documentId\": \"doc-id\",\n \"title\": \"可选\",\n \"purpose\": \"可选\",\n \"content\": \"可选\",\n \"enabled\": true,\n \"scenarios\": [\"可选\"],\n \"tags\": [\"可选\"]\n}\n```\n\nUpdate style preferences:\n\n```json\n{\n \"tone\": \"可选\",\n \"language\": \"可选\",\n \"detailLevel\": \"可选\",\n \"outputFormat\": \"可选\",\n \"examples\": [\"可选\"],\n \"prohibitedPhrases\": [\"可选\"],\n \"customInstructions\": \"可选\"\n}\n```\n\n## Material Pack Workflow\n\nA **material pack** (材料包) is a ZIP file that bundles an Excel information sheet (`信息表.xlsx`) with attachments organised by document ID. It is the primary input to the Webhook-based AI approval ingestion pipeline.\n\n### ZIP structure convention\n\n```\n材料包.zip\n├── 信息表.xlsx ← must exist at ZIP root\n├── BX20260826003/ ← root dir name = documentId (or documentId@annotation)\n│ ├── 合同协议/\n│ │ └── 采购合同.pdf\n│ └── 支付凭证/\n│ └── 支付宝交易明细.pdf\n└── BX20260826004@重新提交v2/ ← @annotation is stripped when matching documentId\n └── 发票/\n └── 增值税专用发票.pdf\n```\n\n- The root directory name **must equal** the `documentId` **OR** start with `documentId@` (the `@` separates an optional annotation ignored during matching).\n- `信息表.xlsx` at the ZIP root is the only file not associated with any document directory.\n\n### Excel column convention\n\n| Column type | Naming | Purpose |\n|---|---|---|\n| Regular column | Any header (e.g. `会议编号`, `总金额`) | Standard document fields |\n| Attachment column | Header starts with `[附件]` (e.g. `[附件]合同协议`) | Declares attached files for this row |\n\n- The `[附件]` prefix is stripped to produce the field `label` sent to Seal.\n- The cell value contains full ZIP-relative path(s) to the declared files (multiple paths separated by newline, comma, or semicolon).\n- Example: column `[附件]合同协议`, cell value `BX20260826003/合同协议/采购合同.pdf`\n\n### Sheet → document level mapping\n\n| Excel sheet | Maps to |\n|---|---|\n| First sheet (main / 会议) | Root document `categoryFields` |\n| 费用明细表 (has `报销金额` column) | Per-row entries in `mingxi_list` |\n| 劳务明细 (has `姓名` column) | Per-person entries in `daoshi_list` |\n\n### Strict bidirectional validation\n\nBefore pushing or previewing, the system enforces:\n\n1. **Excel → ZIP**: Every path declared in an `[附件]` column cell **must** exist as a ZIP entry. Error: `Excel 声明的附件路径在 ZIP 中不存在: <path>`\n2. **ZIP → Excel**: Every ZIP file (excluding `信息表.xlsx`) **must** be declared in exactly one `[附件]` column. Error: `ZIP 中的文件未在 Excel 任何 [附件] 列中声明: <path>`\n3. **Document Directory Scope Isolation**: All attachments declared for a document `DOC_X` **must** reside in its own root directory (`DOC_X/` or `DOC_X@annotation/`). Cross-document references are strictly forbidden. Error: `单据「X」声明了跨单据或非本单据目录的附件路径: <path>。附件必须位于该单据自己的根目录...`\n4. **Strict Declaration Uniqueness**: A given ZIP file path **cannot** be declared more than once across the entire material pack (even within the same document across multiple rows or fields). If the same logical document is needed in multiple places, separate files must be placed in distinct paths. Error: `附件路径「<path>」被重复声明了 N 次...`\n5. **Attachment file policy**: Every attachment except the root `信息表.xlsx` must satisfy the selected Webhook's minimum size, optional maximum size, and extension whitelist. The default minimum is 500 bytes; the default maximum is unlimited; the default whitelist includes common PDF, Office, text, email, and image formats. Error: `附件文件过小...` / `附件文件过大...` / `附件后缀不在白名单中...`\n6. **documentId ↔ ZIP root**: Every `documentId` in the Excel main sheet must have a matching ZIP root dir (exact match or `documentId@annotation`). Errors: `Excel 会议编号「X」在 ZIP 中找不到对应的根目录...` / `ZIP 根目录对应的编号「X」在信息表中找不到对应的会议编号`\n\nAll validation errors are collected and reported together in a single `MaterialPackValidationError`.\n\n### CLI usage\n\n```bash\n# Check environment readiness and optionally pre-validate the material pack\nseal-use webhook ready [--file <pack.zip>] [--corp <corpId>]\n\n# Dry-run: local parse & validation only, no network calls, returns preview JSON\nseal-use webhook material-pack preview <pack.zip> --corp <corpId>\n# Preview with temporary local policy overrides (comma-separated extensions)\nseal-use webhook material-pack preview <pack.zip> --min-file-size 500 --max-file-size 20971520 --allowed-extensions .pdf,.xlsx,.docx --corp <corpId>\n\n# Upload attachments and push documents via inbound Webhook\nseal-use webhook material-pack push <pack.zip> [--webhook <nameOrId>] --corp <corpId>\n# When there is exactly one webhook channel, --webhook can be omitted (auto-locked)\n```\n\n### Attachment file policy configuration\n\nThe policy is stored per inbound Webhook integration and is applied before any attachment upload or document push. A failed check stops the entire material-pack flow. The policy is intentionally mutable: after an authorized configuration change, retrying the same push reads the saved policy again.\n\nDefault configuration:\n\n```json\n{\n \"minFileSizeBytes\": 500,\n \"maxFileSizeBytes\": null,\n \"allowedExtensions\": [\n \".pdf\", \".xls\", \".xlsx\", \".csv\", \".doc\", \".docx\", \".ppt\", \".pptx\",\n \".txt\", \".rtf\", \".odt\", \".ods\", \".odp\", \".jpg\", \".jpeg\", \".png\",\n \".gif\", \".bmp\", \".webp\", \".heic\", \".eml\", \".msg\"\n ]\n}\n```\n\n`null` or an omitted `maxFileSizeBytes` means no per-file upper bound. Values are bytes; a file smaller than the minimum or larger than the maximum fails. Extensions are normalized case-insensitively and may be written with or without the leading dot. The root `信息表.xlsx` remains exempt from attachment policy checks.\n\n```bash\n# New Webhook: use the default 500-byte minimum and default extension whitelist\nseal-use webhook add --name \"材料包入站\" --result-url \"https://your-domain.com/callback\" --corp <corpId>\n\n# Configure an existing Webhook; sizes are bytes and extensions are comma-separated\nseal-use webhook update <webhookIdOrName> \\\n --min-file-size 500 \\\n --max-file-size 20971520 \\\n --allowed-extensions .pdf,.xlsx,.xls,.docx,.pptx,.jpg,.png \\\n --corp <corpId>\n\n# Allow a newly confirmed format while retaining the rest of the policy:\n# first read webhook get/list, then pass the complete desired whitelist.\nseal-use webhook update <webhookIdOrName> \\\n --allowed-extensions .pdf,.xlsx,.xls,.docx,.pptx,.jpg,.png,.zip \\\n --corp <corpId>\n\n# Remove only the maximum-size limit (minimum and whitelist are retained).\nseal-use webhook update <webhookIdOrName> --clear-max-file-size --corp <corpId>\n```\n\nThe saved configuration is returned by `webhook get`/`webhook list` under `materialPackFilePolicy`. The root `信息表.xlsx` is always allowed as the material-pack manifest and is not subject to the attachment policy.\n\n### Failure recovery loop\n\nWhen a push fails because of the attachment policy, the error is actionable and should be handled as a two-channel recovery loop:\n\n1. Error channel: read `附件文件过小`, `附件文件过大`, or `附件后缀不在白名单中`, including the attachment path and the configured boundary.\n2. Resolution channel: ask whether the user wants to replace/compress the file or explicitly allow the format/size by changing the target Webhook policy.\n3. If configuration change is authorized, read the current policy with `webhook get`/`webhook list`, update only the necessary fields, and verify the returned configuration.\n4. Retry the original `material-pack push`; it will load the latest saved policy before any upload begins.\n\nThe same loop is available through MCP: read with `seal_webhook_get`/`seal_webhook_list`, update with `seal_webhook_update` and its `materialPackFilePolicy` patch, then retry `seal_webhook_material_pack` in `push` mode. For MCP, set `maxFileSizeBytes` to `null` to clear the upper bound. `allowedExtensions` is a complete replacement list, so include existing allowed suffixes when adding one.\n\nIf the assistant lacks permission to update the Webhook or the user does not authorize relaxing the rule, report the block rather than bypassing validation. Since validation happens before the upload loop, a failed attempt does not leave a partially pushed material pack.\n\nThe direct local `material-pack preview` command and MCP preview use the default or temporary policy. They do not automatically read a selected Webhook's persisted policy. Use `webhook ready --file --webhook <idOrName>` or the actual push path when validating against the saved inbound policy.\n\n### Error messages reference\n\n| Error message | Meaning | Fix |\n|---|---|---|\n| `Excel 声明的附件路径在 ZIP 中不存在: <path>` | Cell value references a file not in ZIP | Add the file to ZIP at exactly that path |\n| `ZIP 中的文件未在 Excel 任何 [附件] 列中声明: <path>` | ZIP contains a file not referenced by any `[附件]` column | Add an `[附件]` column entry or remove the file from ZIP |\n| `单据「X」声明了跨单据或非本单据目录的附件路径: <path>` | Document X declared a path inside another document's folder | Move file into Document X's own folder and update Excel |\n| `附件路径「<path>」被重复声明了 N 次` | The same file path was declared in multiple columns/rows/documents | Each declaration must point to a unique file path; duplicate file if needed |\n| `Excel 会议编号「X」在 ZIP 中找不到对应的根目录` | No ZIP root dir matches documentId `X` | Rename the ZIP folder to match the documentId |\n| `ZIP 根目录对应的编号「X」在信息表中找不到` | ZIP folder has no matching documentId in Excel | Remove the folder or add the document to Excel |\n| `ZIP 根目录缺少信息表.xlsx` | No `信息表.xlsx` found at ZIP root | Add the Excel file to the ZIP root |\n| `附件文件过小` | Attachment is below the configured minimum byte size | Replace the empty/truncated file or lower `--min-file-size` |\n| `附件文件过大` | Attachment exceeds the configured maximum byte size | Replace/compress the file or raise `--max-file-size` |\n| `附件后缀不在白名单中` | Attachment extension is not allowed by the Webhook policy | Add the extension with `--allowed-extensions` or convert the file |\n| `附件上传失败 <status>` | Network/server error during file upload | Check webhook URL, secret, and server availability |\n\n## Failure Handling\n\n- CLI commands are short-lived processes. In-memory auth/search caches only live for that single process. Use `seal-use service restart` after updates so the optional local service picks up new code.\n- If no run is found by `sourceDocumentSN`, retry with `sourceDocumentId` or a broader `query`.\n- If date-based summaries look wrong, pass `--timezone Asia/Shanghai` and an explicit `--date`.\n- If `langfuseTraceId` is missing, use `langfuseSessionFallback`.\n- If a write operation fails, report the raw JSON error and do not retry with guessed payloads.\n";var kX0="# Approval Run Lightweight Queries\n\nUse this reference when the user gives a 合思/易快报单号, source document SN, record ID, simulation batch ID, or asks for an approval decision without needing the full raw run payload.\n\n## Locate A Run By Document Number\n\nPrefer `pick` before broad search + bridge + get.\n\n```bash\nseal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --latest\nseal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --batch <batchId> --latest\nseal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --latest --fields recordId,sourceDocumentSN,status,aiDecision,aiSummary\n```\n\nDefault output is intentionally small: `recordId`, `sourceDocumentSN`, `sourceDocumentId`, `simulationBatchId`, `status`, `taskMode`, `ruleSetVersionNumber`, `langfuseTraceId`, `manualResult`, `aiDecision`, and `aiSummary`.\n\nIf there are multiple candidates and `--latest` was not used, report the candidates and ask which one to inspect.\n\n## Read Compact Run Detail\n\nUse `--summary` for most diagnosis and support questions.\n\n```bash\nseal-use approval-runs get <recordId> --corp <corpId> --summary\n```\n\nUse `--fields` when the user needs a particular slice.\n\n```bash\nseal-use approval-runs get <recordId> --corp <corpId> --fields metadata\nseal-use approval-runs get <recordId> --corp <corpId> --fields document.fields,result.summary\nseal-use approval-runs get <recordId> --corp <corpId> --fields result.summary,result.decision,result.riskPoints\nseal-use approval-runs get <recordId> --corp <corpId> --fields document.keyFields,result,manualApprovalRecord,ruleSetVersionNumber\n```\n\nAvoid full `approval-runs get <recordId>` unless the user specifically needs raw document fields, pipeline logs, invoice rawData, or signed URLs. Prefer `--output-file` for full payloads.\n\n## Understand The Case First\n\nBefore pulling the full document, use:\n\n```bash\nseal-use approval-runs document-summary <recordId> --corp <corpId>\n```\n\nThis is for quick case reading: template/title, key fields, amount, expense type, cost company, payee, invoice summary, attachment names, AI result, and manual result.\n\n## Extract AI-Cited Rules\n\nUse this when the user asks \"AI 用了哪条规则\", \"为什么命中这条\", or needs the rule evidence for a specific run.\n\n```bash\nseal-use approval-runs cited-rules <recordId> --corp <corpId>\n```\n\nReturn and discuss `runtimeRuleId`, `ruleCode`, `versionNumber`, `scope`, `strictness`, `appliedAnalysis`, `checkResult`, and `findings` when present.\n\nIf the user then wants the full text of one cited rule, use `rules get --record-id <recordId> --runtime-id rule-205` from `rule-lightweight.md`.\n\n## Attachments Without Raw Payloads\n\nUse:\n\n```bash\n# 查看附件列表摘要(包含文件名、类型、大小及直链可用性)\nseal-use approval-runs attachments <recordId> --corp <corpId> --summary\n\n# 下载全部附件到本地目录(优先使用 ossSignedUrl 签名直链)\nseal-use approval-runs attachments download <recordId> --all --out-dir ./downloads --corp <corpId>\n\n# 按名称或 fileId 过滤下载单个附件\nseal-use approval-runs attachments download <recordId> --name 发票 --corp <corpId>\n```\n\nThis should be enough for file names, file IDs, mime types, positions, invoice/attachment grouping, and links when available. For customer disputes about OCR, receipt/invoice classification, or image content, switch to `approval-attachment-trace.md`.\n\n## Result Summary\n\nUse:\n\n```bash\nseal-use approval-runs result <recordId> --corp <corpId> --summary\n```\n\nThis is for decision, summary, risk point count, matched rule count, trace ID, and record ID.\n\n## Output Discipline\n\nIf a command warns that output is large, do not retry with `--full` reflexively. Narrow with `--summary`, `--fields`, or `--output-file` first.\n";var uX0=`# Approval Attachment Trace Investigation
|
||
|
||
Use this workflow when a customer disputes an AI approval finding about an attachment, invoice, receipt, OCR result, or a UI-highlighted audit result.
|
||
|
||
The goal is to locate where an imprecise claim first entered the pipeline. Do not jump directly from the final approval result to a rule change. Many issues start earlier in the attachment understanding or attachment review stages.
|
||
|
||
## Mental Model
|
||
|
||
Approval traces commonly contain these stages:
|
||
|
||
1. Source document rendering
|
||
- Seal converts the approval document into the Markdown-like "AI saw" document.
|
||
- This may include both structured invoice fields and raw attachment fields.
|
||
2. Rule matching
|
||
- Selects applicable rule scopes such as "存在发票或收据时" or "存在发票时".
|
||
- This stage is not the final source of attachment type judgments; it works from the rendered document.
|
||
3. Image understanding
|
||
- Vision model reads each image attachment and writes \`document_content\`.
|
||
- This is often where loose labels such as "发票(或收据)", "定额发票", "销售单", or "支付凭证" first appear.
|
||
4. Pre-analysis
|
||
- Generates \`attachmentInstructions\` and \`reviewPoints\` for later per-attachment review.
|
||
- This stage can matter when a later attachment review seems to ignore or override values already present in the generated review points.
|
||
5. Document parsing / attachment review
|
||
- A text model checks review points against the image-understanding text.
|
||
- If the review point already says "该附件(定额发票)", it usually inherited that label from the previous stage instead of independently classifying the original image.
|
||
- Check whether this stage uses values passed in the review point, or reclassifies the attachment and discards them.
|
||
6. Final approval review
|
||
- Produces \`rulesResult\`, summaries, and UI findings.
|
||
- Final findings can amplify earlier labels into business conclusions, for example "附件中存在定额发票未上传至发票栏位".
|
||
|
||
## Commands
|
||
|
||
Start from the Seal run and Langfuse trace.
|
||
|
||
\`\`\`bash
|
||
seal-use approval-runs search --corp <corpId> --query <sourceDocumentSN> --limit 50
|
||
seal-use approval-runs get <recordId> --corp <corpId> > /tmp/seal-run.json
|
||
seal-use approval-runs bridge --corp <corpId> --sourceDocumentSN <sourceDocumentSN>
|
||
\`\`\`
|
||
|
||
Refresh and inspect the Langfuse trace.
|
||
|
||
\`\`\`bash
|
||
langfuse-home call langfuse_trace_cache_refresh --json '{"traceId":"<traceId>"}'
|
||
langfuse-home call langfuse_trace_url_get --json '{"traceId":"<traceId>"}'
|
||
langfuse-home call langfuse_trace_outline_get --json '{"traceId":"<traceId>","includeInput":true,"includeOutput":true,"maxPreviewChars":800}'
|
||
\`\`\`
|
||
|
||
If \`langfuse_trace_qrep_search\` does not find Chinese terms reliably, grep the cached JSON directly.
|
||
|
||
\`\`\`bash
|
||
rg -n "发票未上传至发票栏位|附件中存在定额发票|检查该附件(定额发票)|<file-name-or-fileId>" \\
|
||
.cache/langfuse/traces/default/<traceId>.json
|
||
\`\`\`
|
||
|
||
Read focused IO for the relevant observations.
|
||
|
||
\`\`\`bash
|
||
langfuse-home call langfuse_observation_io_get --json '{"traceId":"<traceId>","observationId":"<observationId>","maxChars":30000}'
|
||
\`\`\`
|
||
|
||
## Separate Object IDs Before Judging
|
||
|
||
Never assume same-looking file names are the same object.
|
||
|
||
In Seal run detail, invoice-list entries and raw attachment entries can be separate objects:
|
||
|
||
- \`invoiceForm\` / \`发票列表\` entries often have source invoice IDs, invoice numbers, OCR-derived file names, \`verifyResult\`, \`fileInfo.fileType=invoice\`, and invoice metadata.
|
||
- \`attachments\` / \`附件\` entries often have UI file IDs such as \`file-7\`, Hose file IDs inside \`token\`, \`category=file\`, \`mimeType=image/jpeg\`, and their own OSS path.
|
||
|
||
Use \`jq\` to list them side by side.
|
||
|
||
\`\`\`bash
|
||
jq -r '
|
||
.document.fields[] | select(.key=="details") | .value[0][] | select(.key=="invoiceForm") | .value[] |
|
||
["invoiceForm", .sourceInvoiceId, .invoice.invoiceNumber, .invoice.fileInfo.fileName, .invoice.fileInfo.fileType, .invoice.fileInfo.ossPath, (.invoice.verifyResult.rawData | fromjson? | .form.sourceEntityId // "")] | @tsv
|
||
' /tmp/seal-run.json
|
||
\`\`\`
|
||
|
||
\`\`\`bash
|
||
jq -r '
|
||
.document.fields[] | select(.key=="details") | .value[0][] | select(.key=="attachments") | .value[] |
|
||
["attachments", .fileId, .name, .category, .mimeType, .ossPath, .token] | @tsv
|
||
' /tmp/seal-run.json
|
||
\`\`\`
|
||
|
||
When explaining the result, say precisely whether the disputed item is:
|
||
|
||
- a structured invoice-list object,
|
||
- a raw attachment object,
|
||
- or two distinct objects with similar file names/content.
|
||
|
||
## Find Where A Bad Label First Appeared
|
||
|
||
Search for the UI finding text and the disputed label.
|
||
|
||
\`\`\`bash
|
||
jq -r '
|
||
def walkobs(o): o, ((o.children // [])[] | walkobs(.));
|
||
.trace.observations[] | walkobs(.)
|
||
| select(((.input|tostring)+"\\n"+(.output|tostring))
|
||
| contains("发票未上传至发票栏位")
|
||
or contains("附件中存在定额发票")
|
||
or contains("检查该附件(定额发票)"))
|
||
| [.id,.name,.type,.startTime,((.output|tostring)|gsub("\\n";" ")|.[0:500])] | @tsv
|
||
' .cache/langfuse/traces/default/<traceId>.json
|
||
\`\`\`
|
||
|
||
Then inspect the earliest matching observation. Typical interpretation:
|
||
|
||
- \`image_understanding:ai.streamText\`: the vision stage first assigned the type label.
|
||
- \`pre_analysis:ai.streamText\`: the instruction-generation stage turned matched rules and parsed attachments into per-file \`reviewPoints\`; this is where attachment-side values or labels can be copied into prompts.
|
||
- \`document_parsing:ai.streamText\`: the attachment review inherited the label in its review point or document content.
|
||
- \`approval_review:ai.streamText\`: the final model converted inherited labels into a rule finding.
|
||
|
||
## Check Pre-Analysis For Amount-Total Disputes
|
||
|
||
When the customer says the AI "did not recognize the correct amount", "missed one payment screenshot", or "the total should be X", start with the normal trace: source document, image understanding, attachment review, and final review. Inspect \`pre_analysis\` when the evidence suggests the disputed amount was recognized earlier but later ignored, or when final review is aggregating inconsistent per-attachment conclusions. Treat this as a possible failure mode, not as the default cause.
|
||
|
||
Find the node:
|
||
|
||
\`\`\`bash
|
||
jq -r '
|
||
def walkobs(x; depth): (x + {depth: depth}), ((x.children? // [])[] | walkobs(.; depth+1));
|
||
.trace.observations[] | walkobs(.; 0)
|
||
| select(.name? | test("pre_analysis"))
|
||
| [.startTime,.id,.name,.type,.parentObservationId,((.input|tostring|length)//0),((.output|tostring|length)//0)] | @tsv
|
||
' .cache/langfuse/traces/default/<traceId>.json
|
||
\`\`\`
|
||
|
||
Then inspect its output for the disputed file and rule:
|
||
|
||
\`\`\`bash
|
||
jq -r '
|
||
def walkobs(x): x, ((x.children? // [])[] | walkobs(.));
|
||
.trace.observations[] | walkobs(.)
|
||
| select(.name? == "pre_analysis:ai.streamText")
|
||
| .output
|
||
' .cache/langfuse/traces/default/<traceId>.json | rg -n "fileId|fileName|<file-name>|付款截图金额|收款金额|金额合计"
|
||
\`\`\`
|
||
|
||
Look for these failure patterns:
|
||
|
||
- A global aggregate requirement was split into per-attachment review points, for example each attachment is asked whether its amount plus "other attachments" reaches the reimbursement amount.
|
||
- The pre-analysis prompt says not to write attachment OCR/image-understanding candidate values into review points, but the output still includes values such as "付款截图金额(1850.00元)" or labels such as "收款凭证".
|
||
- The same physical image appears twice because it exists under both form-level attachments and fee-detail attachments, producing duplicate \`fileId\`s and potentially inconsistent later judgments.
|
||
- \`pre_analysis\` passes a value down, but \`document_parsing\` reclassifies the file and ignores that value, for example a review point says "付款截图金额(1850.00元)" while the parser answer says "收款凭证,非付款截图".
|
||
|
||
For these cases, the amount may not be lost in OCR or image understanding. It may be lost when a later attachment-review node overrides the pre-analysis task premise, or when final approval review aggregates inconsistent per-file conclusions. For concrete examples, see \`approval-bad-cases.md\`.
|
||
|
||
## Check Images When The Dispute Is Visual
|
||
|
||
If the issue depends on whether an image is a receipt or invoice, inspect the raw image. Do not rely only on the model's textual description.
|
||
|
||
Extract raw attachment signed URLs from \`/tmp/seal-run.json\` and download the disputed files.
|
||
|
||
\`\`\`bash
|
||
jq -r '
|
||
.document.fields[] | select(.key=="details") | .value[0][] | select(.key=="attachments") | .value[] |
|
||
select(.fileId=="file-7" or .fileId=="file-9") |
|
||
[.fileId,.name,.ossSignedUrl] | @tsv
|
||
' /tmp/seal-run.json
|
||
\`\`\`
|
||
|
||
Look for invoice-specific elements:
|
||
|
||
- "发票" text in the title
|
||
- invoice code / invoice number
|
||
- tax bureau supervision seal
|
||
- tax invoice QR/code metadata
|
||
- buyer/seller tax information
|
||
- taxable amount / tax rate / tax amount fields
|
||
|
||
If those are absent and the document is a store-stamped handwritten slip, it is safer to call it a receipt or sales voucher, not a formal invoice.
|
||
|
||
## Reporting Pattern
|
||
|
||
When answering the user, separate:
|
||
|
||
- What the final UI finding says.
|
||
- The first pipeline stage where the disputed claim appeared.
|
||
- Whether the disputed file is a raw attachment or a structured invoice-list object.
|
||
- Whether the raw image supports the claim.
|
||
- Whether the final decision still stands for other independent reasons.
|
||
|
||
Example wording:
|
||
|
||
\`\`\`text
|
||
The UI finding was produced in final approval review, but the imprecise label started earlier:
|
||
image_understanding labeled file-9 as "定额发票"; document_parsing then inherited that as "该附件(定额发票)"; approval_review converted it into the rule-3 finding.
|
||
|
||
The raw attachment object itself is not structurally marked as invoice; it is category=file, mimeType=image/jpeg. The image lacks formal invoice elements, so the customer's receipt interpretation is reasonable.
|
||
\`\`\`
|
||
|
||
## Case Note: Receipt-Like Attachments Labeled As Invoices
|
||
|
||
This case involved a UI finding:
|
||
|
||
\`\`\`text
|
||
发票未上传至发票栏位:附件中存在定额发票(金额160元、90元),但未上传至发票栏位。
|
||
\`\`\`
|
||
|
||
Important correction:
|
||
|
||
- \`file-7\` and \`file-9\` were raw attachment objects, not the same objects as the invoice-list entries.
|
||
- The invoice list had separate IDs (\`ID01P95oy1RWbB\`, \`ID01P95oy22hnV\`).
|
||
- The raw attachments had separate file IDs (\`file-7\` / Hose \`ID01P95CwuNGLJ\`, and \`file-9\` / Hose \`ID01P95RUC9T79\`).
|
||
|
||
Root of imprecision:
|
||
|
||
- \`file-7\` was first described by \`image_understanding\` as "发票(或收据)", then later attachment review used "定额发票".
|
||
- \`file-9\` was directly described by \`image_understanding\` as "定额发票".
|
||
- Final \`approval_review\` turned those inherited labels into the rule-3 UI warning.
|
||
|
||
Manual image check:
|
||
|
||
- The 160 and 90 slips looked like store-stamped handwritten receipts/sales vouchers.
|
||
- They lacked obvious formal invoice elements.
|
||
- The customer's objection that they were receipts rather than invoices was reasonable.
|
||
|
||
However, the final rejection also had an independent rule-37 reason: payment screenshots totaled 699.48 while reimbursement was 700.00.
|
||
`;var fX0=`# Customer Feedback Rule Remediation
|
||
|
||
Use this low-freedom workflow when the user provides packaged customer feedback from WeChat, screenshots, rejection notifications, a document number, or expected business behavior and wants diagnosis or an approval-rule change.
|
||
|
||
## Workflow states
|
||
|
||
Follow these states in order:
|
||
|
||
1. \`EVIDENCE_RECEIVED\`
|
||
2. \`TENANT_RESOLVED\`
|
||
3. \`RUN_RESOLVED\`
|
||
4. \`CAUSE_CLASSIFIED\`
|
||
5. \`PATCH_PROPOSED\`
|
||
6. \`PATCH_CONFIRMED\`
|
||
7. \`DRAFT_UPDATED\`
|
||
8. \`VERSION_PUBLISHED\`
|
||
9. \`VERSION_VERIFIED\`
|
||
|
||
Stop at \`PATCH_PROPOSED\` unless the user explicitly approves the exact change and publication. A request to analyze, explain, or propose does not authorize a rule update or publish.
|
||
|
||
## 1. Normalize the evidence package
|
||
|
||
Extract only facts supported by the supplied package:
|
||
|
||
- Customer or enterprise hints
|
||
- Source document number
|
||
- Submitter and document template when visible
|
||
- AI rejection or disputed finding
|
||
- Customer-stated business behavior
|
||
- Screenshots, invoices, or attachments relevant to the dispute
|
||
- Requested action: analysis, proposal, update, or publish
|
||
|
||
Treat chat text as the customer's expected behavior, not proof of the current Seal rule or tenant identity.
|
||
|
||
## 2. Resolve and lock the enterprise
|
||
|
||
List configured enterprises first:
|
||
|
||
\`\`\`bash
|
||
seal-use corps list
|
||
\`\`\`
|
||
|
||
If the enterprise is named, resolve its exact \`corpId\`. If the enterprise is unclear but a source document number exists, run compact \`approval-runs pick\` queries across configured tenants and select the tenant that actually contains the document.
|
||
|
||
After resolution, pass the exact \`--corp <corpId>\` to every command. Do not rely on the current/default tenant.
|
||
|
||
Report the enterprise name, \`corpId\`, and how it was resolved.
|
||
|
||
## 3. Resolve the approval run
|
||
|
||
Start compactly:
|
||
|
||
\`\`\`bash
|
||
seal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --latest
|
||
seal-use approval-runs get <recordId> --summary --corp <corpId>
|
||
seal-use approval-runs document-summary <recordId> --corp <corpId>
|
||
seal-use approval-runs result <recordId> --summary --corp <corpId>
|
||
seal-use approval-runs cited-rules <recordId> --corp <corpId>
|
||
\`\`\`
|
||
|
||
Read attachment summaries only when the dispute depends on invoices, receipts, OCR, file type, or upload position. Use the run's historical \`ruleSetVersionNumber\`; do not explain a historical decision from the current draft alone.
|
||
|
||
## 4. Classify the cause
|
||
|
||
Classify the issue before proposing a change:
|
||
|
||
- \`SOURCE_DATA\`: source fields are wrong or incomplete.
|
||
- \`ATTACHMENT_UNDERSTANDING\`: OCR, vision, or attachment classification introduced the disputed fact.
|
||
- \`RULE_DEFINITION\`: the rule is missing, ambiguous, contradictory, or too broad.
|
||
- \`MODEL_INTERPRETATION\`: the supplied rule covers the case, but the model invented or misapplied a requirement.
|
||
- \`SYSTEM_LOGIC\`: deterministic preprocessing, grouping, or aggregation produced the wrong review unit or values.
|
||
|
||
When the editable boundary is rules only, say whether a rule-only mitigation can block the observed false positive and state any residual system limitation.
|
||
|
||
## 5. Trace only when needed
|
||
|
||
Use the Langfuse workflow from \`approval-attachment-trace.md\` when:
|
||
|
||
- The final decision contradicts the supplied rule.
|
||
- Cited rules are missing or incomplete.
|
||
- A disputed requirement may have entered during pre-analysis.
|
||
- The finding depends on attachment understanding.
|
||
|
||
Identify the final UI finding, the earliest stage where the disputed claim appeared, the exact rule supplied to final review, and whether final review followed or contradicted it.
|
||
|
||
## 6. Design the minimal rule patch
|
||
|
||
Fetch and compare:
|
||
|
||
- The historical rule version used by the disputed run.
|
||
- The latest published version.
|
||
- The current draft rule, including its stable rule ID.
|
||
|
||
Apply these defaults:
|
||
|
||
1. Preserve \`scope\`.
|
||
2. Preserve \`strictness\`.
|
||
3. Preserve every unrelated description clause.
|
||
4. Change only the narrowest sentence needed to block the reproduced false positive.
|
||
5. Put an exception or negative constraint next to the clause that was misinterpreted.
|
||
6. If the rule already states a positive allowance but the model still rejects it, add a narrow \`不得因……驳回或建议复核\` constraint covering the actual failure mode.
|
||
7. Do not add new business requirements, broad examples, or unrelated exceptions without explicit user direction.
|
||
|
||
Show a description-only unified diff by default:
|
||
|
||
\`\`\`diff
|
||
unchanged text
|
||
+minimal added or changed sentence
|
||
unchanged text
|
||
\`\`\`
|
||
|
||
State the target enterprise, target rule ID, changed fields, preserved fields, expected behavior, and residual limitation.
|
||
|
||
## 7. Mutation gate and concurrency check
|
||
|
||
Do not update until the user explicitly approves the exact diff.
|
||
|
||
Immediately before updating:
|
||
|
||
1. Fetch the current draft rule again.
|
||
2. Confirm its rule ID, description, scope, strictness, and status.
|
||
3. Compare the current description with the reviewed \`before\` text.
|
||
4. Stop if the rule changed concurrently or more than one rule matches the target.
|
||
|
||
## 8. Update and verify the draft
|
||
|
||
Send only approved fields. For a description-only change:
|
||
|
||
\`\`\`bash
|
||
seal-use tool seal_approval_rule_update --corp <corpId> \\
|
||
--json '{"ruleId":"<ruleId>","description":"<confirmed description>"}'
|
||
\`\`\`
|
||
|
||
Do not send \`scope\` or \`strictness\` when they are unchanged. Fetch the draft again and verify the exact description, scope, strictness, and draft status before publishing.
|
||
|
||
For a complete local rule-set sync, \`rules push\` is incremental: it matches pulled rules by stable \`id\`, updates only changed fields, creates new entries, and removes entries omitted from the local file. It preserves matched rule IDs and does not recode the whole draft. Preview it with \`rules push --dry-run\` before applying.
|
||
|
||
## 9. Publish and verify
|
||
|
||
Publish only when explicitly authorized:
|
||
|
||
\`\`\`bash
|
||
seal-use tool seal_approval_rule_version_publish --corp <corpId> \\
|
||
--json '{"versionName":"<specific business change>"}'
|
||
\`\`\`
|
||
|
||
Verify after publishing:
|
||
|
||
- The new version is latest.
|
||
- Version number and version name are correct.
|
||
- Rule count is unchanged unless intentionally modified.
|
||
- The target rule contains the exact confirmed description.
|
||
- The target rule's \`scope\` and \`strictness\` are unchanged.
|
||
|
||
Do not automatically rerun or resubmit the customer's production document. Run a simulation or regression only when separately requested and authorized.
|
||
|
||
## Final response contract
|
||
|
||
Return a compact report containing:
|
||
|
||
- Enterprise and source document number
|
||
- Root-cause classification
|
||
- Target rule and exact changed text
|
||
- New version number and version name, if published
|
||
- Verification result
|
||
- Whether a regression rerun was performed
|
||
`;var bX0="# Enterprise Onboarding\n\nRead this reference for first installation, zero configured enterprises, incoming credentials or assistance links, and browser-copied cURL. The goal is to identify the enterprise with the least user effort while keeping authentication material confidential.\n\n## Start With Discovery\n\nRun this before asking for setup parameters (if `seal-use` is not installed, first run `curl -fsSL https://git.ying-qing.cn/gitea/seal-use/raw/branch/main/scripts/install.sh | bash`):\n\n```bash\nseal-use version\nseal-use corps list\n```\n\n- If `seal-use` is not installed on the system, run the curl install script above to install it.\n- If the target enterprise is listed, match the user's human enterprise name to its returned `id` and use that value as `--corp` on every command. Do not ask the user for `corpId`.\n- If multiple configured enterprises plausibly match, show their human names and let the user choose. Keep their IDs as implementation details.\n- If none are configured, ask one plain-language question: “你现在手上有哪一种接入材料:合思开放平台 appKey/appSecurity、合思授权/协助链接、Seal 协助链接,还是从已登录的合思或 Seal 网页复制的 cURL?”\n\nDo not open with a JSON template or a list of internal fields.\n\nAll command examples in this reference are for the Agent to run. Do not hand them to the user as setup instructions. Communicate with the user in natural language and translate their answer into CLI/MCP parameters yourself.\n\n## Keep Two Concepts Separate\n\nClassify both the enterprise identity origin and how the current credential was acquired:\n\n| Enterprise identity origin | Credential material the user may have | Meaning |\n| --- | --- | --- |\n| Hose/合思-sourced Seal tenant | Hose `appKey` + `appSecurity` | Stable, refreshable standard integration |\n| Hose/合思-sourced Seal tenant | Hose authorization/assistance link | Temporary Hose authorization that can lead into the Seal SSO session |\n| Hose/合思-sourced Seal tenant | cURL copied from an authenticated Hose or Seal page | Snapshot of a signed-in browser session; it may expire |\n| Seal-native tenant | Seal assistance/delegation link | Temporary delegated access to a Seal tenant |\n| Seal-native tenant | cURL copied from an authenticated Seal page | Snapshot containing the Seal host and session authentication |\n\nCredential shape alone does not define identity origin. In particular, a Hose-sourced user eventually receives a Seal Bearer session after SSO. When `whoami` returns provider metadata, preserve it and use it to describe the tenant accurately.\n\n## Parameter Ownership\n\nAsk the user only for information that cannot be discovered safely:\n\n| Field | Owner and behavior |\n| --- | --- |\n| `appKey`, `appSecurity` | User supplies these for standard Hose OpenAPI onboarding. Explain that they come from the enterprise's 合思开放平台 application credentials. Treat both as secrets. |\n| `domain` | Probe the standard Hose SaaS domains automatically. Ask only when probing fails and the enterprise uses a private or dedicated deployment. |\n| Enterprise name and `corpId` | Discover from the credential response or Seal `whoami`. Do not ask the user to invent or locate them first. |\n| Administrator and `staffId` | Discover administrator candidates. If more than one is eligible, present name and masked phone for the user to choose; pass the selected ID internally. |\n| Seal URL, tenant ID, tenant slug | Discover from the assistance link, cURL host, and Seal `whoami`. |\n| Bearer token, cookies, signed query tokens | Extract only from user-supplied authentication material. Never print them back or include them in summaries. |\n\n## Route 1: Standard Hose Credentials\n\nThis is the preferred durable route for a Hose-sourced tenant. Read `hose-enterprise-init.md`, then use:\n\n```bash\nseal-use corps add-hose --json '{\"appKey\":\"...\",\"appSecurity\":\"...\"}'\n```\n\nThe CLI probes the standard domains, discovers the corporation, and discovers administrator candidates. If it returns multiple candidates, show only useful identifying information and ask which person should be used; retry with `staffName`, `staffPhone`, or the selected `staffId` internally. After creation, run:\n\n```bash\nseal-use auth diagnose --corp <discovered-id>\n```\n\nDo not ask for `domain`, `corpId`, or `proxyStaffBizId` up front. For a dedicated/private Hose deployment, add `domain` only after standard probing reports that it cannot find the enterprise.\n\n## Route 2: Incoming Assistance Link\n\nFirst distinguish the link by its host and purpose:\n\n- A Hose authorization/provisional link opens a Hose session and may continue through Seal SSO. It is not a Seal delegation link.\n- A Seal assistance/delegation link grants temporary delegated access on a Seal tenant. It is not a Hose OpenAPI credential.\n- `seal-use auth hose-link` and `seal-use delegation create` generate links for an enterprise that is already configured. `seal-use corps add-link <url>` imports a received Hose/合思 `thirdparty.html` assistance link and verifies the resulting Seal tenant.\n\nUse the direct import route when the incoming link is an HTTPS `thirdparty.html` URL from a supported `ekuaibao.com` or `hosecloud.com` domain:\n\n```bash\nseal-use corps add-link \"https://wx2.ekuaibao.com/web/thirdparty.html?accessToken=<temporary-token>&ekbCorpId=<corpId>&pageType=home\" [--name \"企业名称\"]\n```\n\nThe command parses `accessToken` and `ekbCorpId`, exchanges the temporary Hose token at the target Seal tenant, verifies `/api/v1/auth/me`, and stores only the normalized short-lived Seal session. It never prints or persists the original URL. Use `--overwrite` only when intentionally replacing an existing enterprise config. To create a Seal delegation link without persisting the session, use `seal-use delegation create --from-link <url> [--note ...]`.\n\nAssistance links are credentials. Do not follow a link merely to inspect it when the user's request was only explanatory, and never publish, log, or commit it.\n\n## Route 3: Browser F12 cURL\n\nWhen the user needs capture instructions, give these concrete steps:\n\n1. Open the already signed-in Hose or Seal page.\n2. Open browser developer tools: `F12` on many keyboards, or `Option+Command+I` on macOS.\n3. Open **Network**, then select **Fetch/XHR**.\n4. Refresh the page or perform one ordinary read-only business action.\n5. Choose a successful business API request from the relevant tenant, not analytics, static assets, upload, delete, publish, or logout requests.\n6. Right-click it and choose **Copy → Copy as cURL**.\n7. Send that complete cURL only to the local trusted Agent handling setup.\n\nWhen receiving cURL:\n\n1. Treat the entire cURL as a secret. Do not echo it, execute it blindly, paste it into another service, or store it in repository files.\n2. Parse it as data. Extract the request host, path, `Authorization` header, cookies, and provider/tenant hints. Ignore the request body unless it is required to identify the tenant.\n3. Classify whether the captured request is to Hose or Seal. A Seal request with `Authorization: Bearer ...` can supply `sealUrl` and a session token even when the user's identity origin is Hose.\n4. Verify with the narrowest read-only identity endpoint available. For a Seal Bearer session, verify `/api/v1/auth/me` through `seal-use corps add-seal`; use returned provider metadata to retain the actual origin.\n5. Persist only the normalized minimum configuration needed by seal-use. Do not preserve the raw cURL, unrelated headers, request body, cookies, or signed URL.\n\nFor a verified Seal Bearer captured from cURL, the existing CLI route is:\n\n```bash\nseal-use corps add-seal --json '{\"sealUrl\":\"https://target-tenant.example\",\"token\":\"<bearer>\"}'\n```\n\nThe current CLI has no raw-cURL import command and `add-seal` requires a Bearer token. If the captured request contains only cookies or an authentication shape the CLI cannot verify, do not improvise a token. Ask the user to copy another successful Seal Fetch/XHR request that contains the Bearer header, or explain the current limitation.\n\n## Verify and Hand Off\n\nAfter adding an enterprise:\n\n```bash\nseal-use corps list\nseal-use corps current --corp <discovered-id>\nseal-use auth diagnose --corp <discovered-id> # Hose source\n```\n\nReport the human enterprise name, identity provider, credential method, and whether verification succeeded. Do not expose internal IDs unless they help with troubleshooting. Do not perform approval, rule, document, simulation, publishing, or other business mutations just because onboarding succeeded; continue only with the user's requested task and its normal confirmation rules.\n\nIf a temporary assistance-link or browser session expires, explain that it must be renewed or recaptured. Recommend standard Hose app credentials when the user needs durable unattended access.\n";var iX0=`# Hose Enterprise Auth
|
||
|
||
Use this reference for Hose/合思 enterprise configuration and user-facing Hose authorization links.
|
||
|
||
## Add or switch an enterprise
|
||
|
||
Use the CLI for normal enterprise setup. Do not inspect source code or hand-edit \`~/.config/seal-use/enterprises/*.json\` unless the CLI fails or the user explicitly asks for low-level config debugging.
|
||
|
||
For first-time setup or when the user has an assistance link or browser cURL instead of standard application credentials, read \`enterprise-onboarding.md\` first. This reference's \`add-hose\` route is specifically for durable Hose OpenAPI credentials.
|
||
|
||
\`\`\`bash
|
||
seal-use corps add-hose --json '{"appKey":"...","appSecurity":"..."}'
|
||
seal-use corps list
|
||
seal-use corps current --corp <corpId>
|
||
seal-use corps switch <corpId>
|
||
\`\`\`
|
||
|
||
\`corps add-hose\` probes standard domains and discovers the enterprise automatically. If it returns multiple administrator candidates, present their names and masked phones for the user to choose, then retry with \`staffName\`, \`staffPhone\`, or the selected \`staffId\`. Do not ask for \`domain\`, \`corpId\`, \`staffId\`, or \`proxyStaffBizId\` before discovery. Ask for a dedicated/private-cloud \`domain\` only after standard probing fails.
|
||
|
||
The command verifies by default and writes the enterprise config. If the user says not to operate business logic, stop at \`corps\` and auth/config commands; do not run approval, rule, document, simulation, or approval-run commands.
|
||
|
||
## Diagnose authentication
|
||
|
||
\`\`\`bash
|
||
seal-use auth diagnose --corp <corpId>
|
||
\`\`\`
|
||
|
||
Read the JSON \`stages\` in order:
|
||
|
||
- \`hose.openapi\`: appKey/appSecurity can get a Hose OpenAPI token and corporation ID.
|
||
- \`hose.provisional\`: \`proxyStaffBizId\`/staff ID can get a provisional auth URL.
|
||
- \`seal.sso\`: Seal accepts the Hose provisional token and returns a bearer session.
|
||
- \`seal.whoami\`: the Seal bearer can read current user and tenant.
|
||
|
||
Do not expect tokens in the output; the command intentionally redacts or omits them.
|
||
|
||
## Get a Hose authorization link
|
||
|
||
When the user asks for a 合思/易快报授权链接、登录链接、入口链接, or says "来一个授权链接" for a Hose sourced enterprise, return the Hose provisional/CloseAPI URL from \`getProvisionalAuth\`'s \`value.message\`.
|
||
|
||
Flow:
|
||
|
||
1. Obtain an OpenAPI token with appKey/appSecurity:
|
||
|
||
\`\`\`text
|
||
POST /api/openapi/v1/auth/getAccessToken
|
||
body: {"appKey":"...","appSecurity":"..."}
|
||
\`\`\`
|
||
|
||
2. Call provisional auth:
|
||
|
||
\`\`\`text
|
||
POST /api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=<openapi-token>
|
||
body: {"uid":"corpId:staffId","pageType":"home","expireDate":7200}
|
||
\`\`\`
|
||
|
||
3. Return the exact \`value.message\` URL.
|
||
|
||
Important:
|
||
|
||
- Do not return the Seal tenant URL such as \`https://<tenant>.sealai.cc\`; that is not the Hose authorization link.
|
||
- Do not manually assemble \`thirdparty.html\` with a global/OpenAPI token.
|
||
- \`seal-use auth diagnose\` proves this stage works but redacts the token, so it is not enough when the user needs the actual clickable Hose link.
|
||
- **Formatting Requirement**: When returning a Hose authorization link to the user, ALWAYS provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) for easy copying without accidental default browser redirection, AND a clickable hyperlink.
|
||
- If the CLI later provides a dedicated command for this, prefer that command.
|
||
`;var nX0=`# Hose Enterprise Initialization & Automated Discovery
|
||
|
||
Use this reference for automated Hose/合思 enterprise onboarding, multi-domain probing (including dedicated private cloud domains like 美年大健康), OpenAPI role and staff discovery, and non-TUI safe administrator selection.
|
||
|
||
---
|
||
|
||
## 1. Domain Tiering & Probing Strategy
|
||
|
||
合思在不同公有云和专有云平台部署了不同的服务端域名。系统采用 **三级域名决策模型**:
|
||
|
||
\`\`\`mermaid
|
||
flowchart TD
|
||
A["输入参数: appKey, appSecurity, [domain]"] --> B{"是否显式提供了 domain?<br/>(如美年大健康等专有云/独立部署域名)"}
|
||
B -->|是 (专属域名优先)| C["直接针对该 domain 验证"]
|
||
B -->|否 (未指定)| D["并发探测 6 大标准公共 SaaS 域名"]
|
||
D --> E{"是否有且仅有 1 个域名验证成功?"}
|
||
E -->|是| F["自动锁定该域名为目标 domain"]
|
||
E -->|否 (全部返回 403 / 失败)| G["❌ 友好降级提示:<br/>'在标准合思 SaaS 环境中未检测到有效凭证。<br/>若是专属域名或私有化部署环境(如美年大健康),请显式提供企业专属 domain。'"]
|
||
\`\`\`
|
||
|
||
### 预置 6 大标准公共 SaaS 域名池(仅作缺省探测使用):
|
||
1. \`https://app.ekuaibao.com\` (合思独立版 / 标准版)
|
||
2. \`https://dd2.hosecloud.com\` (钉钉版)
|
||
3. \`https://wx2.ekuaibao.com\` (企业微信版)
|
||
4. \`https://kdcloud2.ekuaibao.com\` (云之家版)
|
||
5. \`https://ddenterprise.ekuaibao.com\` (钉钉企业自建应用)
|
||
6. \`https://feishu.ekuaibao.com\` (飞书版)
|
||
|
||
---
|
||
|
||
## 2. 核心 OpenAPI 接口契约
|
||
|
||
| 阶段 | 接口用途 | Method & URL 规范 | 关键参数 | 注意事项 |
|
||
| :---: | :--- | :--- | :--- | :--- |
|
||
| **1** | 获取开放凭证 | \`POST {domain}/api/openapi/v1/auth/getAccessToken\` | \`appKey\`, \`appSecurity\` | 确定有效 \`domain\`、\`corpId\` 与 \`accessToken\` |
|
||
| **2** | 查询角色组与角色 | \`GET {domain}/api/openapi/v1/roleDefGroups?accessToken=...\` | \`accessToken\` | 获取企业全部角色分组及 RoleDefId |
|
||
| **3** | 查询角色成员 ID 列表 | \`GET {domain}/api/openapi/v1/roledefs/\${roledefId}?accessToken=...&staffBy=id\` | \`accessToken\`, \`roledefId\` | **URL 中必须带有字面量 \`$\` 字符**(如 \`/roledefs/$ID01...:admin\`) |
|
||
| **4** | 批量查询人员详情 | \`POST {domain}/api/openapi/v1/staffs/getStaffIds?accessToken=...\` | \`{"type": "STAFFID", "conditionIds": [...]}\` | 批量单次上限 100,返回姓名、手机号、是否激活(\`authState\`)、第三方 ID |
|
||
| **5** | 生成临时免密凭据 | \`POST {domain}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=...\` | \`{"uid": "{corpId}:{staffId}", "pageType": "home", "expireDate": 7200}\` | 用于 Seal SSO 换取 Session 会话 |
|
||
|
||
---
|
||
|
||
## 3. CLI 探测与人员发现命令
|
||
|
||
### 1) 企业探测与角色发现 (\`corps probe-hose\`)
|
||
\`\`\`bash
|
||
seal-use corps probe-hose --json '{
|
||
"appKey": "...",
|
||
"appSecurity": "...",
|
||
"domain": "https://custom.ekuaibao.com" # 可选,未传时自动探测 6 域名
|
||
}'
|
||
\`\`\`
|
||
* **输出**:自动探测匹配的 \`domain\`、企业 ID \`corpId\`、企业名称 \`name\`、角色总数以及完整的角色分组列表。
|
||
|
||
### 2) 按角色查询候选员工 (\`corps hose-staffs\`)
|
||
\`\`\`bash
|
||
# 默认查询主管理员角色 (admin)
|
||
seal-use corps hose-staffs --json '{
|
||
"appKey": "...",
|
||
"appSecurity": "...",
|
||
"role": "admin"
|
||
}'
|
||
|
||
# 查询指定业务角色 (如 "财务主管"、"采购申请权限" 或具体 roleDefId)
|
||
seal-use corps hose-staffs --json '{
|
||
"appKey": "...",
|
||
"appSecurity": "...",
|
||
"role": "财务主管"
|
||
}'
|
||
\`\`\`
|
||
* **输出**:返回匹配角色下所有人员的详情列表,包含 \`id\` (\`corpId:staffId\`)、\`name\`、\`cellphone\`、\`active\`(是否在职)、\`authState\`(是否激活)。
|
||
|
||
---
|
||
|
||
## 4. 安全选人与防静默绑定规范 (Anti-Silent Guard)
|
||
|
||
为了防止越权及未授权账号绑定,系统实施**严格的人员选定与安全确认机制**:
|
||
|
||
1. **若用户在初始指令中已指名(姓名或手机号)**:
|
||
\`\`\`bash
|
||
seal-use corps add-hose --json '{
|
||
"appKey": "...",
|
||
"appSecurity": "...",
|
||
"staffName": "于光泽"
|
||
}'
|
||
\`\`\`
|
||
* 系统通过角色人员列表匹配:若**唯一匹配且 \`active == true\`**,直接绑定该 \`staffId\` 完成接入。
|
||
2. **若用户未指定且存在多位候选管理员**:
|
||
\`\`\`bash
|
||
seal-use corps add-hose --json '{
|
||
"appKey": "...",
|
||
"appSecurity": "..."
|
||
}'
|
||
\`\`\`
|
||
* 系统**严禁静默默认挑选第一个管理员**;
|
||
* 命令会以错误形式退出,并列出所有候选管理员详情(姓名、手机号、ID、激活状态);
|
||
* Agent 应将候选人列表以结构化形式呈现给用户确认,待用户选定后,传入 \`staffId\` 或 \`staffName\` 再次执行。
|
||
3. **若已知目标人员 ID**:
|
||
\`\`\`bash
|
||
seal-use corps add-hose --json '{
|
||
"appKey": "...",
|
||
"appSecurity": "...",
|
||
"staffId": "ID01OZVhtzekb5:ID01K9vHULqNj1"
|
||
}'
|
||
\`\`\`
|
||
* 直接使用指定 ID 完成接入并进行连通性验证。
|
||
`;var dX0={"SKILL.md":SX0,"agents/openai.yaml":gX0,"references/rule-lightweight.md":yX0,"references/approval-bad-cases.md":hX0,"references/cli.md":xX0,"references/approval-run-lightweight.md":kX0,"references/approval-attachment-trace.md":uX0,"references/customer-feedback-rule-remediation.md":fX0,"references/enterprise-onboarding.md":bX0,"references/hose-enterprise-auth.md":iX0,"references/hose-enterprise-init.md":nX0};function mX0(){return dX0["SKILL.md"]||""}function DG(){return _x(cX0(),".agents","skills","seal-use")}function lX0(){return _x(cX0(),".agents","skills","seal-home")}function oX0(){let $=lX0();if(jx($))try{return NH1($,{recursive:!0,force:!0}),!0}catch{return!1}return!1}function Sx($=DG()){oX0(),pX0($,{recursive:!0});let I=[];for(let[U,Y]of Object.entries(dX0)){let J=_x($,U);pX0(AH1(J),{recursive:!0}),MH1(J,Y,"utf8"),I.push(U)}return{targetDir:$,files:I}}function gx(){let $=lX0(),I=DG(),U=jx($),Y=jx(I);if(U||Y)return oX0(),Sx(I),{synced:!0,targetDir:I};return{synced:!1}}function tX0($,I,U){if($==="dump"||$==="cat"||$==="show"){process.stdout.write(`${mX0()}
|
||
`);return}if($==="install"||$==="init"||$==="sync"){let Y=N0(U.options.local)||N0(U.options.workspace),J=h(U.options.dir)??h(U.options.target)??I,Q=J?J:Y?CD(process.cwd(),".agents","skills","seal-use"):DG(),K=Sx(Q);B0({installed:!0,targetDir:K.targetDir,fileCount:K.files.length,files:K.files});return}if($==="status"||$==="get"||!$){let Y=DG(),J=CD(process.cwd(),".agents","skills","seal-use");B0({global:{dir:Y,installed:rX0(CD(Y,"SKILL.md"))},local:{dir:J,installed:rX0(CD(J,"SKILL.md"))}});return}throw Error(`Unknown skill command: ${$}. Run 'seal-use help' for available commands.`)}async function aX0($,I){if($==="config"){B0(await EJ(I));return}throw Error(`Unknown source command: ${$??""}. Run 'seal-use help' for available commands.`)}async function sX0($,I,U,Y){if(!$)throw Error("Usage: seal-use tool <toolName> [--json '{...}']");await D0($,I,U,t6(Y.json),V0(Y.options))}function eX0(){B0(GG.map(($)=>({name:$.name,description:$.description})))}import{chmodSync as PH1,mkdirSync as TH1,renameSync as yx,rmSync as EH1,unlinkSync as Jz0,writeFileSync as $z0}from"node:fs";import{dirname as BH1,join as Iz0}from"node:path";import{spawnSync as WI}from"node:child_process";function jD($=process.execPath,I=import.meta.url){if(I.includes("/$bunfs/")||I.includes("\\$bunfs\\"))return!0;let U=$.toLowerCase().replace(/\\/g,"/");return!U.endsWith("/bun")&&!U.endsWith("/bun.exe")&&!U.endsWith("/node")&&!U.endsWith("/node.exe")}var Qz0="yunyingk/seal-use",FG="yunyingk/seal-home";var vH1="SEAL_USE_GITHUB_REPO",RH1="SEAL_HOME_GITHUB_REPO";async function Kz0($,I={}){let U={appRoot:$.appRoot,entryFile:$.entryFile,stateDir:Rx,version:I1,launcher:$.launcher},Y=I.repo||process.env[vH1]?.trim()||process.env[RH1]?.trim()||Qz0,J=I.targetVersion?.trim(),Q=J&&J.toLowerCase()!=="latest"?J:void 0;if(Q){let A=Q.replace(/^v/,""),R=qz0(A,I1);if(R<0){B0({updated:!1,currentVersion:I1,targetVersion:A,mode:jD()?"binary":"source",message:`Cannot downgrade seal-use from v${I1} to older version v${A}. Updates must be forward-only.`});return}if(R===0&&!I.force){B0({updated:!1,currentVersion:I1,targetVersion:A,mode:jD()?"binary":"source",message:`seal-use is already at version v${I1}. Use --force to reinstall.`});return}}if(I.changelogOnly){let A=await hx(Y,I.limit??10);B0({currentVersion:I1,totalQueried:A.length,releases:A.map((R)=>({version:R.version,tagName:R.tagName,publishedAt:R.publishedAt,author:R.author,releaseNotes:R.notes,releaseUrl:R.htmlUrl,isCurrent:R.version===I1,isNewer:OG(R.version,I1)}))});return}if(!jD()){if(I.checkOnly){let R=await hx(Y,30),u=R[0],g=u?.version??I1,b=R.find((n)=>n.version===I1),C=OG(g,I1),p=R.filter((n)=>OG(n.version,I1));B0({updated:!1,updateAvailable:C,currentVersion:I1,currentVersionPublishedAt:b?.publishedAt,latestVersion:g,latestVersionPublishedAt:u?.publishedAt,behindCount:p.length,pendingReleases:p.map((n)=>({version:n.version,tagName:n.tagName,publishedAt:n.publishedAt,author:n.author,releaseNotes:n.notes,releaseUrl:n.htmlUrl})),releaseNotes:u?.notes??"",releaseUrl:u?.htmlUrl??"",mode:"source",message:"Running in source development mode. Run 'seal-use update' to git pull & bun install."});return}let A=vJ(U).running;if(A)await HI("stop",U);try{Yz0("git",["-C",$.appRoot,"pull","--ff-only"])}catch(R){console.error(`git pull skipped: ${R instanceof Error?R.message:String(R)}`)}if(Yz0("bun",["install"],{cwd:$.appRoot}),A)await HI("start",U);B0({updated:!0,serviceRestarted:A,version:I1,mode:"source"});return}let K=CH1(),q=jH1(),G=await hx(Y,30),H=Q?G.find((A)=>A.version===Q||A.tagName===Q||A.tagName===`v${Q}`)??await Uz0(Y,Q):G[0]??await Uz0(Y);if(!H){B0({updated:!1,currentVersion:I1,mode:"binary",message:`Failed to query releases from repository '${Y}'`});return}let W=H.version,V=G.find((A)=>A.version===I1),w=OG(W,I1),Z=w||Boolean(I.force),z=G.filter((A)=>OG(A.version,I1));if(I.checkOnly){B0({updated:!1,updateAvailable:w,currentVersion:I1,currentVersionPublishedAt:V?.publishedAt,latestVersion:W,latestVersionPublishedAt:H.publishedAt,behindCount:z.length,pendingReleases:z.map((A)=>({version:A.version,tagName:A.tagName,publishedAt:A.publishedAt,author:A.author,releaseNotes:A.notes,releaseUrl:A.htmlUrl})),releaseNotes:H.notes,releaseUrl:H.htmlUrl,mode:"binary"});return}if(!Z){B0({updated:!1,currentVersion:I1,currentVersionPublishedAt:V?.publishedAt,latestVersion:W,latestVersionPublishedAt:H.publishedAt,mode:"binary",message:`seal-use is already up to date (v${I1})`});return}let L=_H1(H.assets,K,q);if(!L)throw Error(`No compatible binary found for ${K}-${q} in release v${W}. Available assets: ${H.assets.map((A)=>A.name).join(", ")}`);let D=vJ(U).running;if(D)await HI("stop",U);let F=process.execPath,E=BH1(F),T=Iz0(E,`.tmp-update-${Date.now()}`);TH1(T,{recursive:!0});try{let A=Iz0(T,L.name);await SH1(L.downloadUrl,A,H.tagName,L.name);let R=A;if(L.name.endsWith(".tar.gz")||L.name.endsWith(".tgz"))R=gH1(A,T,K);else if(L.name.endsWith(".zip"))R=yH1(A,T,K);if(PH1(R,493),process.platform==="darwin")try{WI("/usr/bin/codesign",["--remove-signature",R],{stdio:"ignore"}),WI("/usr/bin/codesign",["--force","--sign","-",R],{stdio:"ignore"})}catch{}if(process.platform==="win32"){let g=`${F}.old.${Date.now()}`;try{yx(F,g)}catch{}yx(R,F)}else yx(R,F);if(D)await HI("start",U);let u=gx();B0({updated:!0,fromVersion:I1,toVersion:W,serviceRestarted:D,skillSynced:u.synced?u.targetDir:!1,mode:"binary"})}finally{try{EH1(T,{recursive:!0,force:!0})}catch{}}}function CH1(){if(process.platform==="darwin")return"darwin";if(process.platform==="win32")return"windows";return"linux"}function jH1(){return process.arch==="arm64"?"arm64":"x64"}function xx(){let $=(process.env.SEAL_USE_MIRROR||process.env.SEAL_HOME_MIRROR)?.trim().toLowerCase();if($==="github"||$==="gitea")return $;if(process.env.CI)return"github";return"auto"}async function hx($,I=20){let U=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,Y={"User-Agent":`seal-use/${I1}`,Accept:"application/vnd.github.v3+json",...U?{Authorization:`Bearer ${U}`}:{}},J=xx(),Q=[];if(J!=="github")Q.push(`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases?per_page=${I}`,`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases?per_page=${I}`);if(J!=="gitea"){if(Q.push(`https://api.github.com/repos/${$}/releases?per_page=${I}`),$!==FG)Q.push(`https://api.github.com/repos/${FG}/releases?per_page=${I}`)}for(let K of Q)try{let q=await fetch(K,{headers:Y,signal:AbortSignal.timeout(3000)});if(!q.ok)continue;let G=await q.json();if(!Array.isArray(G)||G.length===0)continue;let H=[];for(let W of G){let V=W.tag_name??"",w=V.replace(/^v/,"");if(!w)continue;let Z=(W.assets??[]).map((z)=>({name:z.name,downloadUrl:z.browser_download_url,size:z.size??0}));H.push({version:w,tagName:V,name:W.name??V,publishedAt:W.published_at,author:W.author?.login,notes:W.body??"",htmlUrl:W.html_url??"",assets:Z})}if(H.length>0)return H}catch{}return[]}async function Uz0($,I){let U=I?I.startsWith("v")?I:`v${I}`:void 0,Y=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,J={"User-Agent":`seal-use/${I1}`,Accept:"application/vnd.github.v3+json",...Y?{Authorization:`Bearer ${Y}`}:{}},Q=xx(),K=[];if(Q!=="github")K.push(U?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/tags/${U}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/latest",U?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/tags/${U}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/latest");if(Q!=="gitea"){if(K.push(U?`https://api.github.com/repos/${$}/releases/tags/${U}`:`https://api.github.com/repos/${$}/releases/latest`),$!==FG)K.push(U?`https://api.github.com/repos/${FG}/releases/tags/${U}`:`https://api.github.com/repos/${FG}/releases/latest`)}let q;for(let G of K)try{let H=await fetch(G,{headers:J,signal:AbortSignal.timeout(3000)});if(!H.ok)continue;let W=await H.json(),V=W.tag_name??"",w=V.replace(/^v/,"");if(!w)continue;let Z=(W.assets??[]).map((L)=>({name:L.name,downloadUrl:L.browser_download_url,size:L.size??0})),z={version:w,tagName:V,name:W.name??V,publishedAt:W.published_at,author:W.author?.login,notes:W.body??"",htmlUrl:W.html_url??"",assets:Z};if(Z.length>0)return z;if(!q)q=z}catch{}return q}function _H1($,I,U){let Y={darwin:["darwin","macos","osx","apple"],linux:["linux"],windows:["windows","win32","win"]},J={arm64:["arm64","aarch64"],x64:["x64","x86_64","amd64"]},Q=Y[I]||[],K=J[U]||[],q=$.filter((W)=>{let V=W.name.toLowerCase(),w=Q.some((z)=>V.includes(z)),Z=K.some((z)=>V.includes(z));return w&&Z}),G=q.find((W)=>!W.name.endsWith(".tar.gz")&&!W.name.endsWith(".tgz")&&!W.name.endsWith(".zip")&&!W.name.endsWith(".sha256"));if(G)return G;return q.find((W)=>W.name.endsWith(".tar.gz")||W.name.endsWith(".tgz")||W.name.endsWith(".zip"))||q[0]}function _D($){try{process.stderr.write(`${$}
|
||
`)}catch{}}async function SH1($,I,U,Y){let J=xx(),Q=[],K=U?U.startsWith("v")?U:`v${U}`:void 0,q=Y||$.split("/").pop()||"";if(J!=="github"){if(K&&q)Q.push(`https://git.ying-qing.cn/gitea/seal-use/releases/download/${K}/${q}`,`https://git.ying-qing.cn/gitea/seal-home/releases/download/${K}/${q}`);if($.startsWith("https://git.ying-qing.cn"))Q.push($)}if(J!=="gitea")if(K&&q){let L=`https://github.com/${Qz0}/releases/download/${K}/${q}`;if(!process.env.CI)Q.push(`https://ghfast.top/${L}`,`https://gh.ddlc.top/${L}`);Q.push(L)}else if($.includes("github.com")){if(!process.env.CI)Q.push(`https://ghfast.top/${$}`,`https://gh.ddlc.top/${$}`);Q.push($)}else Q.push($);let G=Array.from(new Set(Q)),H,W=6000,V=6000,w=307200,Z=1e4,z=180000;for(let L=0;L<G.length;L++){let D=G[L],F=new AbortController,E="",T=(g)=>{E=g;try{F.abort()}catch{}},A=setTimeout(()=>{T("Connection timed out (no response headers within 6s)")},W),R,u;try{_D(`==> [${L+1}/${G.length}] Downloading via: ${D}`);let g=await fetch(D,{signal:F.signal});if(A)clearTimeout(A),A=void 0;if(!g.ok)throw Error(`HTTP ${g.status} ${g.statusText}`);R=setTimeout(()=>{T("Overall download time exceeded 3 minutes")},z);let b=Number(g.headers.get("content-length"))||0,C=g.body?.getReader();if(!C){let i=Buffer.from(await g.arrayBuffer());if(i.length<1000)throw Error(`Downloaded content is suspiciously small (${i.length} bytes)`);$z0(I,i),_D(`✓ Download succeeded (${(i.length/1024/1024).toFixed(1)} MB)`);return}let p=[],n=0,S=0;u=setTimeout(()=>{if(n<w){let i=(n/1024).toFixed(1);T(`Initial transfer too slow (${i} KB < 300 KB in 6s), switching mirror...`)}},V);while(!0){let i=C.read(),Y0,B=new Promise((K0,W0)=>{Y0=setTimeout(()=>{W0(Error("Data transfer stalled (no chunk received for 10s)"))},Z)}),k;try{k=await Promise.race([i,B])}finally{if(Y0)clearTimeout(Y0)}let{done:d,value:t}=k;if(d)break;if(t){if(p.push(t),n+=t.length,u&&n>=w)clearTimeout(u),u=void 0;let K0=Date.now();if(K0-S>200){S=K0;let W0=b?Math.round(n/b*100):0,A0=(n/1048576).toFixed(1),v0=b?(b/1048576).toFixed(1):"?";try{process.stderr.write(`\r ↳ Progress: ${W0}% (${A0} / ${v0} MB)...`)}catch{}}}}try{process.stderr.write(`
|
||
`)}catch{}let f=Buffer.concat(p);if(f.length<1000)throw Error(`Downloaded content is suspiciously small (${f.length} bytes)`);$z0(I,f),_D(`✓ Download completed successfully (${(f.length/1024/1024).toFixed(1)} MB)`);return}catch(g){if(A)clearTimeout(A);if(u)clearTimeout(u);if(R)clearTimeout(R);let b=E||(g instanceof Error?g.message:String(g));H=Error(b),_D(`
|
||
↳ Mirror failed: ${H.message}`)}finally{if(A)clearTimeout(A);if(u)clearTimeout(u);if(R)clearTimeout(R)}}throw Error(`Failed to download asset from all mirrors: ${H?.message}`)}function gH1($,I,U){let Y=WI("tar",["-xzf",$,"-C",I],{stdio:"pipe"});if(Y.status!==0)throw Error(`Failed to extract tar archive: ${Y.stderr.toString()}`);Jz0($);let J=U==="windows"?"seal-use.exe":"seal-use",Q=WI("find",[I,"-type","f"],{encoding:"utf8"}).stdout.trim().split(`
|
||
`).filter(Boolean),K=Q.find((q)=>q.endsWith(`/${J}`)||q.endsWith(J));if(K)return K;return Q[0]||$}function yH1($,I,U){let Y=WI("unzip",["-q","-o",$,"-d",I],{stdio:"pipe"});if(Y.status!==0)throw Error(`Failed to extract zip archive: ${Y.stderr.toString()}`);Jz0($);let J=U==="windows"?"seal-use.exe":"seal-use",Q=WI("find",[I,"-type","f"],{encoding:"utf8"}).stdout.trim().split(`
|
||
`).filter(Boolean),K=Q.find((q)=>q.endsWith(`/${J}`)||q.endsWith(J));if(K)return K;return Q[0]||$}function qz0($,I){let U=$.replace(/^v/,"").split(".").map((J)=>Number.parseInt(J,10)||0),Y=I.replace(/^v/,"").split(".").map((J)=>Number.parseInt(J,10)||0);for(let J=0;J<Math.max(U.length,Y.length);J++){let Q=U[J]??0,K=Y[J]??0;if(Q>K)return 1;if(Q<K)return-1}return 0}function OG($,I){return qz0($,I)>0}function Yz0($,I,U={}){let Y=WI($,I,{cwd:U.cwd,encoding:"utf8",stdio:["ignore","pipe","pipe"]});if(Y.stdout)console.error(Y.stdout.trimEnd());if(Y.stderr)console.error(Y.stderr.trimEnd());if(Y.status!==0)throw Error(`${$} ${I.join(" ")} failed with status ${Y.status}`)}async function Gz0($,I,U,Y,J){if($==="create"){let Q=h(J.options.name)??I,K=h(J.options.phone);if(!Q||!K)throw Error("Usage: seal-use users create --name <name> --phone <phone> [--dept <deptId>]");let q=h(J.options.dept)??h(J.options.departmentId);await D0("seal_user_create",U,Y,{name:Q,phone:K,departmentIds:q?[q]:void 0},V0(J.options));return}if($==="reset-password"){let Q=I??h(J.options.userId);if(!Q)throw Error("Usage: seal-use users reset-password <userId>");await D0("seal_user_reset_password",U,Y,{userId:Q},V0(J.options));return}if($==="search"||$==="list"){let Q=I??h(J.options.keyword)??h(J.options.query)??"";await D0("seal_user_search",U,Y,{keyword:Q},V0(J.options));return}if($==="get"){let Q=I??h(J.options.userId);if(!Q)throw Error("Usage: seal-use users get <userId>");await D0("seal_user_get",U,Y,{userId:Q},V0(J.options));return}if($==="delete"){let Q=I??h(J.options.userId);if(!Q)throw Error("Usage: seal-use users delete <userId>");await D0("seal_user_delete",U,Y,{userId:Q},V0(J.options));return}if($==="activate"){let Q=I??h(J.options.userId);if(!Q)throw Error("Usage: seal-use users activate <userId>");await D0("seal_user_activate",U,Y,{userId:Q},V0(J.options));return}if($==="delegation"||$==="impersonate"){let Q=I??h(J.options.userId)??h(J.options.phone);if(!Q)throw Error("Usage: seal-use users delegation <userIdOrPhone> [--note <note>]");let K=h(J.options.note);await D0("seal_user_delegation_create",U,Y,{userIdOrPhone:Q,note:K},V0(J.options));return}throw Error(`Unknown users command: ${$??""}. Run 'seal-use help' for available commands.`)}import{existsSync as Hz0}from"node:fs";async function Wz0($,I){if(!Hz0($))throw Error(`File not found: ${$}`);let U=JI($);console.log(JSON.stringify(await YI(U.fileBuffer,U.fileName,I),null,2))}async function Vz0($,I,U,Y,J){if($==="ready"||$==="status"){let Q=I??h(J.options.file)??h(J.options.input),K=await QD(U,Y,{filePath:Q,webhook:h(J.options.webhook)??h(J.options.selector)});if(console.error(`[webhook-ready] 企业环境: ${K.corp.name} (${K.corp.id}) [${K.stateMode}]`),K.corp.tenant?.name)console.error(`[webhook-ready] 租户信息: ${K.corp.tenant.name} (${K.corp.tenant.id})`);console.error(`[webhook-ready] 凭证状态: ${K.authStatus==="ok"?"OK":`异常 (${K.authError})`}`),console.error(`[webhook-ready] Webhook 通道: ${K.activeWebhooks.length} 个可用`);for(let q of K.activeWebhooks){let G=q.isDefault?" [默认通道]":"";console.error(` - ${q.name} (${q.id}) mode=${q.mode}${G}`)}if(K.materialPack)console.error(`[webhook-ready] 材料包预检: ${K.materialPack.valid?`通过 (${K.materialPack.documentCount} 单)`:`失败 (${K.materialPack.errors?.join("; ")})`}`);if(K.ready)console.error(`\uD83D\uDFE2 ${K.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${K.nextAction}`);else console.error(`\uD83D\uDD34 准备阶段未通过: ${K.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${K.nextAction}`);console.log(JSON.stringify(K,null,2));return}if($==="material-pack"||$==="material-pack-push"){let Q=$==="material-pack-push"?"push":I,K=$==="material-pack-push"?h(J.options.file)??h(J.options.input):J.command[3]??h(J.options.file)??h(J.options.input);if(!K)throw Error("Usage: seal-use webhook material-pack <preview|push> <材料包.zip>");if(!Hz0(K))throw Error(`File not found: ${K}`);let q=JI(K);if(Q==="preview"){console.log(JSON.stringify(await YI(q.fileBuffer,q.fileName),null,2));return}if(Q!=="push")throw Error("Usage: seal-use webhook material-pack <preview|push> <材料包.zip>");let G=h(J.options.webhook)??h(J.options.selector),H=await X9(U,Y.seal.endpoints.approvalStylePreferences),W;if(G)W=z9(H,G);else if(H.length===1)W=H[0],console.error(`\uD83D\uDC49 自动锁定唯一可用 Webhook 通道: ${W.name} (${W.id})`);else if(H.length>1){let w=H.map((Z)=>`"${Z.name}" (${Z.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${w}],请通过 --webhook <idOrName> 指定目标通道。`)}else throw new c8("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name <name> --result-url <url> --corp ${Y.id}`);let V=await JD(q.fileBuffer,q.fileName,{webhookUrl:W.incomingDocumentWebhook.url,secret:W.secret,materialPackFilePolicy:W.materialPackFilePolicy});console.log(JSON.stringify(V,null,2));return}if($==="list"){await D0("seal_webhook_list",U,Y,{query:h(J.options.query)??h(J.options.keyword),includeSecret:Ox(J.options)},V0(J.options));return}if($==="get"||$==="find"){let Q=I??h(J.options.selector)??h(J.options.id);if(!Q)throw Error("Usage: seal-use webhook get <idOrName> [--show-secret]");await D0("seal_webhook_get",U,Y,{selector:Q,includeSecret:Ox(J.options)},V0(J.options));return}if($==="add"||$==="create"){let Q=h(J.options.name)??I,K=h(J.options.resultUrl)??h(J.options["result-url"])??h(J.options.outgoingResultWebhook)??h(J.options["outgoing-result-webhook"]);if(!Q||!K)throw Error("Usage: seal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic]");let q=Dx(J.options),G=VG(J.options),H=N0(J.options.dryRun)??N0(J.options["dry-run"]);await D0("seal_webhook_add",U,Y,{name:Q,mode:Lx(h(J.options.mode)),outgoingResultWebhook:K,autoApprovalRate:q,secret:h(J.options.secret),materialPackFilePolicy:G,dryRun:H},V0(J.options));return}if($==="update"){let Q=I??h(J.options.selector)??h(J.options.id);if(!Q)throw Error("Usage: seal-use webhook update <idOrName> [options]");let K=h(J.options.secret),q=N0(J.options.rotateSecret)??N0(J.options["rotate-secret"]);if(K!==void 0&&q)throw Error("Use either --secret or --rotate-secret, not both");let G=h(J.options.name),H=Lx(h(J.options.mode)),W=h(J.options.resultUrl)??h(J.options["result-url"])??h(J.options.outgoingResultWebhook)??h(J.options["outgoing-result-webhook"]),V=Dx(J.options),w=VG(J.options),Z=N0(J.options.dryRun)??N0(J.options["dry-run"]);if(G===void 0&&H===void 0&&W===void 0&&V===void 0&&K===void 0&&!q&&w===void 0&&!Z)throw Error("Webhook update requires at least one field option");await D0("seal_webhook_update",U,Y,{selector:Q,name:G,mode:H,outgoingResultWebhook:W,autoApprovalRate:V,secret:K,rotateSecret:q,materialPackFilePolicy:w,dryRun:Z},V0(J.options));return}if($==="delete"){let Q=I??h(J.options.selector)??h(J.options.id),K=N0(J.options.dryRun)??N0(J.options["dry-run"]);if(!Q)throw Error("Usage: seal-use webhook delete <idOrName> [--yes|--dry-run]");if(N0(J.options.yes)!==!0&&!K)throw zD("Refusing to delete Webhook integration without --yes",`seal-use webhook delete ${Q} --corp ${Y.id} --yes`);await D0("seal_webhook_delete",U,Y,{selector:Q,confirm:!0,dryRun:K},V0(J.options));return}throw Error(`Unknown webhook command: ${$??""}. Run 'seal-use help' for available commands.`)}var wz0=kx(kx(kx(xH1(import.meta.url)))),kH1=new Set(["config","service","stop","http","serve","update","tools","corps","tool","source","auth","delegation","users","contacts","data","llm","permissions","billing","webhook","webhooks","context","rules","approval-runs","analytics","simulation","deploy","preference","preferences","mcp","server","mcp-config","skill","openapi","probe","changelog"]),uH1=new Set(["http","server","web","mcp"]);function fH1($){if(!$.length)return!1;let I=$[0]?.toLowerCase(),U=$[1]?.toLowerCase();if(I&&uH1.has(I))return!0;if((I==="service"||I==="daemon")&&U==="run")return!0;return!1}var Zz0=Promise.resolve();function zG($,I={}){if(fH1($))return Xz0($,I);let U=Zz0.then(()=>Xz0($,I));return Zz0=U.then(()=>{return},()=>{return}),U}async function Xz0($,I){let U=[],Y=[],J=console.log,Q=console.error,K={appRoot:I.appRoot??wz0,entryFile:I.entryFile??hH1(I.appRoot??wz0,"src","cli.ts"),launcher:I.launcher};console.log=(...q)=>{U.push(Fx(q))},console.error=(...q)=>{Y.push(Fx(q))};try{return await bH1($,K),{stdout:wG(U),stderr:wG(Y),isError:!1,exitCode:0}}catch(q){let G=ZG(q instanceof Error?q.message:String(q)),H=LD(q);if(Y.push(G),H.nextAction&&!G.includes("Next action:"))Y.push(`\uD83D\uDC49 Next action: ${H.nextAction}`);return{stdout:wG(U),stderr:wG(Y),isError:!0,exitCode:H.exitCode}}finally{console.log=J,console.error=Q}}async function bH1($,I){let U=kZ0($),[Y,J,Q]=U.command;if(Y==="version"||Y==="v"||Boolean(U.options.version)||Boolean(U.options.v)||Boolean(U.options.V)){B0({name:"seal-use",version:I1});return}if(!Y||Y==="help"||U.options.help){dZ0();return}if(!kH1.has(Y))throw Error(`Unknown command: ${U.command.join(" ")}. Run 'seal-use help' for available commands.`);if(Y==="webhook"&&J==="material-pack"&&Q==="preview"){let G=U.command[3]??h(U.options.file)??h(U.options.input);if(!G)throw Error("Usage: seal-use webhook material-pack preview <材料包.zip>");await Wz0(G,VG(U.options));return}if(Y==="openapi"){NX0(U);return}if(Y==="mcp-config"){Ax();return}if(Y==="skill"){tX0(J,Q,U);return}if(Y==="mcp"||Y==="server"){await FX0(J,U);return}if(Y==="probe"){await EX0(J,Q,U);return}if(Y==="config"){$X0(J,Q,U);return}if(Y==="service"){await Cx(J,I,U);return}if(Y==="stop"){await Cx("stop",I,U);return}if(Y==="http"||Y==="serve"){await DX0(U);return}if(Y==="update"||Y==="changelog"){let G=Y==="changelog"||J==="changelog"||J==="log"||J==="history"||N0(U.options.changelog)===!0,H=J==="check"||N0(U.options.check)===!0||N0(U.options["check-only"])===!0,W=h(U.options.version)??h(U.options.tag)??(!G&&!H&&J&&!J.startsWith("-")?J:void 0);await Kz0(I,{checkOnly:H,changelogOnly:G,limit:d0(U.options.limit),force:N0(U.options.force),targetVersion:W,repo:h(U.options.repo)});return}if(Y==="tools"&&J==="list"){eX0();return}if(Y==="corps"){await GX0(J,Q,U);return}if(Y==="delegation"&&J==="create"&&(("from-link"in U.options)||("link"in U.options))){let G=h(U.options["from-link"])??h(U.options.link);if(!G)throw Error("Usage: seal-use delegation create --from-link <url> [--note <note>]");await VX0(G,h(U.options.note));return}if(Y==="rules"&&J==="lint"&&(("file"in U.options)||("f"in U.options))){let G;try{G=D4(h(U.options.corp))}catch{G={id:"local",name:"Local Workspace",source:{type:"native"}}}await Tx(J,Q,null,G,U);return}let K=D4(h(U.options.corp));if(Y==="source"){await aX0(J,K);return}if(Y==="auth"){await tZ0(J,K,U);return}let q=await Y4(K);if(Y==="delegation"){await wX0(J,Q,q,K,U);return}if(Y==="users"){await Gz0(J,Q,q,K,U);return}if(Y==="contacts"){await IX0(J,Q,q,K,U);return}if(Y==="data"){await UX0(J,q,K,U);return}if(Y==="llm"){await OX0(J,q,K,U);return}if(Y==="permissions"){await MX0(J,q,K,U);return}if(Y==="billing"){await eZ0(J,q,K,U);return}if(Y==="webhook"||Y==="webhooks"){await Vz0(J,Q,q,K,U);return}if(Y==="context"){await YX0(q,K,U);return}if(Y==="rules"){await Tx(J,Q,q,K,U);return}if(Y==="approval-runs"){await mZ0(J,Q,q,K,U);return}if(Y==="analytics"){await lZ0(J,q,K,U);return}if(Y==="simulation"){await _X0(J,Q,q,K,U);return}if(Y==="deploy"){await ZX0(J,Q,U.command[3],q,K,U);return}if(Y==="preference"||Y==="preferences"){await PX0(J,Q,U.command[3],U.command[4],q,K,U);return}if(Y==="tool"){await sX0(J,q,K,U);return}throw Error(`Unknown command: ${U.command.join(" ")}. Run 'seal-use help' for available commands.`)}var c5=iH1(import.meta.url),Lz0=c5.includes("/dist/mcp/")||c5.includes("\\dist\\mcp\\")?NG(NG(NG(c5))):NG(NG(c5)),nH1="seal_cli",pH1="SEAL_USE_MCP_ENABLED",cH1="SEAL_HOME_MCP_ENABLED";function dH1($=process.env[pH1]??process.env[cH1]){if($===void 0)return!1;return["1","true","yes","on"].includes($.trim().toLowerCase())}function mH1($={}){let I=$.enableCli??!0,U=new UE({name:"seal-use",version:I1},{capabilities:{tools:{}}});if(U.setRequestHandler(pP,async()=>({tools:I?[{name:nH1,description:"Run seal-use CLI commands. See the seal-use skill for command reference.",inputSchema:{type:"object",properties:{command:{type:"string",description:"A seal-use CLI command, with or without the leading 'seal-use' or 'seal-home'."}},required:["command"],additionalProperties:!1}}]:[]})),I)U.setRequestHandler(RQ,async(Y)=>{let J=Y.params.arguments,Q=J&&typeof J.command==="string"?J.command:void 0;if(!Q?.trim())return ux({stdout:"",stderr:"seal_cli requires a non-empty command string",isError:!0,exitCode:2});try{let K=Mx(Q),q=lH1(K);if(!q.length)throw Error("seal_cli requires a non-empty command string");return ux(await zG(q,{appRoot:Lz0,entryFile:c5,launcher:{command:process.execPath,args:[c5,"--seal-home-cli"]}}))}catch(K){let q=LD(K);return ux({stdout:"",stderr:K instanceof Error?K.message:String(K),isError:!0,exitCode:q.exitCode})}});return U}async function Px(){let $=dH1();await mH1({enableCli:$}).connect(new JE),console.error($?"seal-use MCP server running on stdio":"seal-use MCP server connected with seal_cli disabled by configuration")}function Mx($){let I=[],U="",Y,J=!1,Q=!1;for(let K of $){if(J){U+=K,J=!1,Q=!0;continue}if(K==="\\"&&Y!=="'"){J=!0,Q=!0;continue}if(Y){if(K===Y)Y=void 0;else U+=K;Q=!0;continue}if(K==="'"||K==='"'){Y=K,Q=!0;continue}if(/\s/.test(K)){if(Q)I.push(U),U="",Q=!1;continue}U+=K,Q=!0}if(J)throw Error("Invalid command: trailing escape");if(Y)throw Error("Invalid command: unterminated quote");if(Q)I.push(U);return I}function lH1($){let I=$[0];if(!I)return[];if(I==="seal-use"||I==="seal-home"||I.endsWith("/seal-use")||I.endsWith("/seal-home"))return $.slice(1);return $}function ux($){return{content:[{type:"text",text:$.isError?$.stderr||$.stdout:$.stdout}],isError:$.isError}}async function oH1(){let $=await zG(process.argv.slice(3),{appRoot:Lz0,entryFile:c5,launcher:{command:process.execPath,args:[c5,"--seal-use-cli"]}});if($.stdout)process.stdout.write($.stdout);if($.stderr)process.stderr.write(`${$.stderr}${$.stderr.endsWith(`
|
||
`)?"":`
|
||
`}`);process.exitCode=$.exitCode}var rH1=Boolean(r.main==r.module||!import.meta.url.includes("$bunfs")&&process.argv[1]&&zz0(process.argv[1])===zz0(c5));if(rH1)if(process.argv[2]==="--seal-use-cli"||process.argv[2]==="--seal-home-cli")await oH1();else Px().catch(($)=>{console.error($),process.exitCode=1});export{Mx as tokenizeCommand,Px as startServer,dH1 as resolveMcpEnabled,mH1 as createServer,pH1 as SEAL_MCP_ENABLED_ENV,nH1 as SEAL_CLI_TOOL_NAME,cH1 as LEGACY_SEAL_MCP_ENABLED_ENV};
|